[INFO] updating cached repository benstreb/vs-game [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/benstreb/vs-game [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/benstreb/vs-game" "work/ex/beta-1.38-1/sources/1.37.0/gh/benstreb/vs-game"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/benstreb/vs-game'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/benstreb/vs-game" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/benstreb/vs-game"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/benstreb/vs-game'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] eabbb5a37eef0cc9ff000c3a6ce79c4f4ca74b92 [INFO] sha for GitHub repo benstreb/vs-game: eabbb5a37eef0cc9ff000c3a6ce79c4f4ca74b92 [INFO] validating manifest of benstreb/vs-game on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of benstreb/vs-game on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing benstreb/vs-game [INFO] finished frobbing benstreb/vs-game [INFO] frobbed toml for benstreb/vs-game written to work/ex/beta-1.38-1/sources/1.37.0/gh/benstreb/vs-game/Cargo.toml [INFO] started frobbing benstreb/vs-game [INFO] finished frobbing benstreb/vs-game [INFO] frobbed toml for benstreb/vs-game written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/benstreb/vs-game/Cargo.toml [INFO] crate benstreb/vs-game already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/benstreb/vs-game/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing benstreb/vs-game against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/benstreb/vs-game:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 59f540a264b05e08c5e4d893842f8416e01252797309448b61e6bd37ff4f9cea [INFO] running `"docker" "start" "-a" "59f540a264b05e08c5e4d893842f8416e01252797309448b61e6bd37ff4f9cea"` [INFO] [stderr] Compiling piston2d-opengl_graphics v0.68.0 [INFO] [stderr] Compiling vs-game-rust v0.0.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rand::Rand` [INFO] [stderr] --> src/game.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::{Rand, Rng}; [INFO] [stderr] | ^^^^ no `Rand` in the root [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game.rs:140:37 [INFO] [stderr] | [INFO] [stderr] 140 | fn transform(&mut self, f: &mut FnMut(&mut Option)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Option)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::thread_rng` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use rand::thread_rng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::event_loop::Events` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use piston::event_loop::Events; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UnnamedGame` [INFO] [stderr] --> src/main.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | use game::{Game, UnnamedGame}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `vs-game-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "59f540a264b05e08c5e4d893842f8416e01252797309448b61e6bd37ff4f9cea"` [INFO] running `"docker" "rm" "-f" "59f540a264b05e08c5e4d893842f8416e01252797309448b61e6bd37ff4f9cea"` [INFO] [stdout] 59f540a264b05e08c5e4d893842f8416e01252797309448b61e6bd37ff4f9cea