[INFO] cloning repository https://github.com/Byron/catchit-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Byron/catchit-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByron%2Fcatchit-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByron%2Fcatchit-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e79b10923aa877f81bb0c79e02fb08b29d4ddbc [INFO] testing Byron/catchit-rs against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FByron%2Fcatchit-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [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 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 108488533b3d1e186fa9f7acf47942228fabeaa36fb18949889f67b3135f845c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "108488533b3d1e186fa9f7acf47942228fabeaa36fb18949889f67b3135f845c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108488533b3d1e186fa9f7acf47942228fabeaa36fb18949889f67b3135f845c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108488533b3d1e186fa9f7acf47942228fabeaa36fb18949889f67b3135f845c", kill_on_drop: false }` [INFO] [stdout] 108488533b3d1e186fa9f7acf47942228fabeaa36fb18949889f67b3135f845c [INFO] running `Command { std: "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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a375fc9434bfa7f3ecff689be6fdc5e1e6e6abd94fbdc3610b1b341d10132e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a375fc9434bfa7f3ecff689be6fdc5e1e6e6abd94fbdc3610b1b341d10132e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.68.0 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pistoncore-window v0.46.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling pistoncore-event_loop v0.51.0 [INFO] [stderr] Compiling piston v0.51.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.65.0 [INFO] [stderr] Compiling piston_window v0.110.0 [INFO] [stderr] Compiling catchit v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `XorShiftRng` in crate `rand` [INFO] [stdout] --> src/engine.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | rng: RefCell, [INFO] [stdout] | ^^^^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XorShiftRng` in crate `rand` [INFO] [stdout] --> src/engine.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | ... rng: &mut rand::XorShiftRng) [INFO] [stdout] | ^^^^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `weak_rng` in crate `rand` [INFO] [stdout] --> src/engine.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rng = rand::weak_rng(); [INFO] [stdout] | ^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XorShiftRng` in crate `rand` [INFO] [stdout] --> src/engine.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn new_obstacle(rng: &mut rand::XorShiftRng, s: &mut State, min_distance: Scalar) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `weak_rng` in crate `rand` [INFO] [stdout] --> src/engine.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | rng: RefCell::new(rand::weak_rng()), [INFO] [stdout] | ^^^^^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/engine.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "4a375fc9434bfa7f3ecff689be6fdc5e1e6e6abd94fbdc3610b1b341d10132e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a375fc9434bfa7f3ecff689be6fdc5e1e6e6abd94fbdc3610b1b341d10132e9", kill_on_drop: false }` [INFO] [stdout] 4a375fc9434bfa7f3ecff689be6fdc5e1e6e6abd94fbdc3610b1b341d10132e9