Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo + gitlab + cache build issues #560

Closed
azban opened this issue Feb 13, 2019 · 2 comments
Closed

cargo + gitlab + cache build issues #560

azban opened this issue Feb 13, 2019 · 2 comments
Labels
C-housekeeping Category: Refactoring, cleanups, code quality
Milestone

Comments

@azban
Copy link
Contributor

azban commented Feb 13, 2019

current gitlab configuration is causing fairly regular intermittent failures:

error[E0460]: found possibly newer version of crate `beacon` which `client` depends on
 --> /builds/nearprotocol/nearcore/node/devnet/src/lib.rs:9:5
  |
9 | use client::Client;
  |     ^^^^^^
  |
  = note: perhaps that crate needs to be recompiled?
  = note: the following crate versions were found:

it's sometimes other crates, but same error

ex: https://gitlab.com/nearprotocol/nearcore/-/jobs/160508079

current workaround is to log on to gitlab runners and clear cache dirs

cc: @ilblackdragon @bowenwang1996 @frol

@frol
Copy link
Collaborator

frol commented Feb 13, 2019

Well, it seems to be a bug in Rust: rust-lang/rust#49979

I think the trigger is that some PRs may introduce newer dependencies and while the upgrade works fine, the other PR using the "old" set of cached dependencies gets into troubles.

@ilblackdragon
Copy link
Member

Close for now as we didn't observed this in awhile.

@ilblackdragon ilblackdragon added this to the AlphaNet milestone Mar 26, 2019
@ilblackdragon ilblackdragon added the C-housekeeping Category: Refactoring, cleanups, code quality label Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-housekeeping Category: Refactoring, cleanups, code quality
Projects
None yet
Development

No branches or pull requests

3 participants