[INFO] updating cached repository https://github.com/evanisko/2048 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 14838bbe0c8215a0ef331c4eb719d009a0b29647 [INFO] testing evanisko/2048 against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanisko%2F2048" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evanisko/2048 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/evanisko/2048 [INFO] finished tweaking git repo https://github.com/evanisko/2048 [INFO] tweaked toml for git repo https://github.com/evanisko/2048 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/evanisko/2048 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://bitbucket.org/AdrienChampion/rust_2048.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8fda98a88b79543ff8fbde99f3528d6f355fc80961616cbfd98bb64fb013dac [INFO] running `"docker" "start" "-a" "e8fda98a88b79543ff8fbde99f3528d6f355fc80961616cbfd98bb64fb013dac"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling pistoncore-input v0.28.1 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling lib_2048 v0.1.0 (https://bitbucket.org/AdrienChampion/rust_2048.git?rev=4751eb6#4751eb6b) [INFO] [stderr] error[E0432]: unresolved import `rand::IsaacRng` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rust_2048-e4b2572afb50011c/4751eb6/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/4751eb6/src/common.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | 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/4751eb6/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/4751eb6/src/grid.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | 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/4751eb6/src/common.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | 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/4751eb6/src/common.rs:112:26 [INFO] [stderr] | [INFO] [stderr] 112 | 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/4751eb6/src/grid.rs:246:34 [INFO] [stderr] | [INFO] [stderr] 246 | 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/4751eb6/src/grid.rs:247:24 [INFO] [stderr] | [INFO] [stderr] 247 | 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e8fda98a88b79543ff8fbde99f3528d6f355fc80961616cbfd98bb64fb013dac"` [INFO] running `"docker" "rm" "-f" "e8fda98a88b79543ff8fbde99f3528d6f355fc80961616cbfd98bb64fb013dac"` [INFO] [stdout] e8fda98a88b79543ff8fbde99f3528d6f355fc80961616cbfd98bb64fb013dac