[INFO] cloning repository https://github.com/RaspberryCheesecake/guessing_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaspberryCheesecake/guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspberryCheesecake%2Fguessing_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspberryCheesecake%2Fguessing_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ed6a6fc4022bfbe0adbc6f550d3b9c9f45a5004 [INFO] checking RaspberryCheesecake/guessing_game against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspberryCheesecake%2Fguessing_game" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RaspberryCheesecake/guessing_game on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RaspberryCheesecake/guessing_game [INFO] finished tweaking git repo https://github.com/RaspberryCheesecake/guessing_game [INFO] tweaked toml for git repo https://github.com/RaspberryCheesecake/guessing_game written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/RaspberryCheesecake/guessing_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded libc v0.2.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f627377c2d931ddbb41b4cf461147f2041c263e70d93fae6f81dd988c7f66f [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" "c5f627377c2d931ddbb41b4cf461147f2041c263e70d93fae6f81dd988c7f66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f627377c2d931ddbb41b4cf461147f2041c263e70d93fae6f81dd988c7f66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f627377c2d931ddbb41b4cf461147f2041c263e70d93fae6f81dd988c7f66f", kill_on_drop: false }` [INFO] [stdout] c5f627377c2d931ddbb41b4cf461147f2041c263e70d93fae6f81dd988c7f66f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c1517ec0d58c38153b819d8bc3e87bfd011f37f7571e994a27b7fa8ec242ac7 [INFO] running `Command { std: "docker" "start" "-a" "0c1517ec0d58c38153b819d8bc3e87bfd011f37f7571e994a27b7fa8ec242ac7", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `random_comparison_win` in this scope [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let result = random_comparison_win(num, num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 60 | use random_comparison_win; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YAY` in this scope [INFO] [stdout] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(result, YAY); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 | use YAY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_comparison_win` in this scope [INFO] [stdout] --> src/main.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | let result = random_comparison_win(num, other_num); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 60 | use random_comparison_win; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YAY` in this scope [INFO] [stdout] --> src/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | assert_ne!(result, YAY); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 | use YAY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | let num: u32 = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.17/src/lib.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::Rng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | let num: u32 = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.17/src/lib.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::Rng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "0c1517ec0d58c38153b819d8bc3e87bfd011f37f7571e994a27b7fa8ec242ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1517ec0d58c38153b819d8bc3e87bfd011f37f7571e994a27b7fa8ec242ac7", kill_on_drop: false }` [INFO] [stdout] 0c1517ec0d58c38153b819d8bc3e87bfd011f37f7571e994a27b7fa8ec242ac7