[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] checking evanisko/2048 against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevanisko%2F2048" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evanisko/2048 on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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-12/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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aa31327c10a38962dff290bc8262395aa91602673638a8911d32cd4c0e7de545 [INFO] running `"docker" "start" "-a" "aa31327c10a38962dff290bc8262395aa91602673638a8911d32cd4c0e7de545"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking lib_2048 v0.1.0 (https://bitbucket.org/AdrienChampion/rust_2048.git?rev=4751eb6#4751eb6b) [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [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] Checking andrew v0.2.1 [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" "aa31327c10a38962dff290bc8262395aa91602673638a8911d32cd4c0e7de545"` [INFO] running `"docker" "rm" "-f" "aa31327c10a38962dff290bc8262395aa91602673638a8911d32cd4c0e7de545"` [INFO] [stdout] aa31327c10a38962dff290bc8262395aa91602673638a8911d32cd4c0e7de545