[INFO] updating cached repository https://github.com/Altefore/2048-GUI [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d6aa4e6f6da3cc591dbf798b0f285899b93d3757 [INFO] testing Altefore/2048-GUI against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltefore%2F2048-GUI" "work/builds/worker-9/source"` [INFO] [stderr] Cloning into 'work/builds/worker-9/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 87% (447/510) Checking out files: 88% (449/510) Checking out files: 89% (454/510) Checking out files: 90% (459/510) Checking out files: 91% (465/510) Checking out files: 91% (469/510) Checking out files: 92% (470/510) Checking out files: 93% (475/510) Checking out files: 94% (480/510) Checking out files: 95% (485/510) Checking out files: 96% (490/510) Checking out files: 97% (495/510) Checking out files: 98% (500/510) Checking out files: 99% (505/510) Checking out files: 99% (509/510) Checking out files: 100% (510/510) Checking out files: 100% (510/510), done. [INFO] validating manifest of git repo https://github.com/Altefore/2048-GUI on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Altefore/2048-GUI [INFO] finished tweaking git repo https://github.com/Altefore/2048-GUI [INFO] tweaked toml for git repo https://github.com/Altefore/2048-GUI written to work/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Altefore/2048-GUI already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://bitbucket.org/AdrienChampion/rust_2048.git` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 96afe62b2a2509c6fbb071ef5d520695891b5287e5af7cb0fb8653229cf23f3a [INFO] running `"docker" "start" "-a" "96afe62b2a2509c6fbb071ef5d520695891b5287e5af7cb0fb8653229cf23f3a"` [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling piston2d-graphics v0.35.0 [INFO] [stderr] Compiling lib_2048 v0.1.0 (https://bitbucket.org/AdrienChampion/rust_2048.git?rev=3791048#3791048f) [INFO] [stderr] error[E0432]: unresolved import `rand::IsaacRng` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/common.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use rand::IsaacRng ; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `IsaacRng` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::Rand` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/common.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | use rand::Rand ; [INFO] [stderr] | ^^^^^^^^^^ no `Rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::IsaacRng` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/grid.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use rand::IsaacRng ; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `IsaacRng` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand::Rand` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/grid.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | use rand::Rand ; [INFO] [stderr] | ^^^^^^^^^^ no `Rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `StdRng` in `rand` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/common.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | match rand::StdRng::new() { [INFO] [stderr] | ^^^^^^ could not find `StdRng` in `rand` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `rand` found for type `u8` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/common.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 111 | let val = (u8::rand(& mut rng) % 26) + 97 ; [INFO] [stderr] | ^^^^ function or associated item not found in `u8` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `rand` found for type `u8` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/grid.rs:231:34 [INFO] [stderr] | [INFO] [stderr] 231 | let (row, col) = free[(u8::rand(& mut self.rng) as usize) % free.len()] ; [INFO] [stderr] | ^^^^ function or associated item not found in `u8` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `rand` found for type `u8` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/3791048/src/grid.rs:232:24 [INFO] [stderr] | [INFO] [stderr] 232 | let pow = if u8::rand(& mut self.rng) % 100u8 > 80u8 { [INFO] [stderr] | ^^^^ function or associated item not found in `u8` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `lib_2048`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "96afe62b2a2509c6fbb071ef5d520695891b5287e5af7cb0fb8653229cf23f3a"` [INFO] running `"docker" "rm" "-f" "96afe62b2a2509c6fbb071ef5d520695891b5287e5af7cb0fb8653229cf23f3a"` [INFO] [stdout] 96afe62b2a2509c6fbb071ef5d520695891b5287e5af7cb0fb8653229cf23f3a