[INFO] updating cached repository https://github.com/Byron/catchit-rs
[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] 6e79b10923aa877f81bb0c79e02fb08b29d4ddbc
[INFO] checking Byron/catchit-rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByron%2Fcatchit-rs" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Byron/catchit-rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Byron/catchit-rs
[INFO] finished tweaking git repo https://github.com/Byron/catchit-rs
[INFO] tweaked toml for git repo https://github.com/Byron/catchit-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Byron/catchit-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 7785861e9668cf3bae7441284464b4b9e24f01140fe19d2242c6d93792ed0594
[INFO] running `"docker" "start" "-a" "7785861e9668cf3bae7441284464b4b9e24f01140fe19d2242c6d93792ed0594"`
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking piston2d-graphics v0.36.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.72.0
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.68.0
[INFO] [stderr]     Checking glutin v0.21.2
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking piston_window v0.107.0
[INFO] [stderr]     Checking catchit v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |     rng: RefCell<rand::XorShiftRng>,
[INFO] [stderr]    |                        ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:42:45
[INFO] [stderr]    |
[INFO] [stderr] 42 | ...                   rng: &mut rand::XorShiftRng)
[INFO] [stderr]    |                                       ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `weak_rng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:75:29
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let mut rng = rand::weak_rng();
[INFO] [stderr]    |                             ^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]    --> src/engine.rs:112:37
[INFO] [stderr]     |
[INFO] [stderr] 112 |     fn new_obstacle(rng: &mut rand::XorShiftRng, s: &mut State, min_distance: Scalar) {
[INFO] [stderr]     |                                     ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `weak_rng` in crate `rand`
[INFO] [stderr]    --> src/engine.rs:193:37
[INFO] [stderr]     |
[INFO] [stderr] 193 |             rng: RefCell::new(rand::weak_rng()),
[INFO] [stderr]     |                                     ^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Rng`
[INFO] [stderr]  --> src/engine.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::{self, Rng};
[INFO] [stderr]   |                  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `catchit`.
[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[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |     rng: RefCell<rand::XorShiftRng>,
[INFO] [stderr]    |                        ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:42:45
[INFO] [stderr]    |
[INFO] [stderr] 42 | ...                   rng: &mut rand::XorShiftRng)
[INFO] [stderr]    |                                       ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `weak_rng` in crate `rand`
[INFO] [stderr]   --> src/engine.rs:75:29
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let mut rng = rand::weak_rng();
[INFO] [stderr]    |                             ^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `XorShiftRng` in crate `rand`
[INFO] [stderr]    --> src/engine.rs:112:37
[INFO] [stderr]     |
[INFO] [stderr] 112 |     fn new_obstacle(rng: &mut rand::XorShiftRng, s: &mut State, min_distance: Scalar) {
[INFO] [stderr]     |                                     ^^^^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `weak_rng` in crate `rand`
[INFO] [stderr]    --> src/engine.rs:193:37
[INFO] [stderr]     |
[INFO] [stderr] 193 |             rng: RefCell::new(rand::weak_rng()),
[INFO] [stderr]     |                                     ^^^^^^^^ not found in `rand`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::TransitionState::*`
[INFO] [stderr]    --> src/transition.rs:126:9
[INFO] [stderr]     |
[INFO] [stderr] 126 |     use super::TransitionState::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Rng`
[INFO] [stderr]  --> src/engine.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::{self, Rng};
[INFO] [stderr]   |                  ^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `catchit`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7785861e9668cf3bae7441284464b4b9e24f01140fe19d2242c6d93792ed0594"`
[INFO] running `"docker" "rm" "-f" "7785861e9668cf3bae7441284464b4b9e24f01140fe19d2242c6d93792ed0594"`
[INFO] [stdout] 7785861e9668cf3bae7441284464b4b9e24f01140fe19d2242c6d93792ed0594
