[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspberryCheesecake%2Fguessing_game" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RaspberryCheesecake/guessing_game on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] 003604b68f3b138b3ee2e4ea92fd58a810c54d9f6368f5dc3dee6e2e3ae3b584 [INFO] running `Command { std: "docker" "start" "-a" "003604b68f3b138b3ee2e4ea92fd58a810c54d9f6368f5dc3dee6e2e3ae3b584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "003604b68f3b138b3ee2e4ea92fd58a810c54d9f6368f5dc3dee6e2e3ae3b584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003604b68f3b138b3ee2e4ea92fd58a810c54d9f6368f5dc3dee6e2e3ae3b584", kill_on_drop: false }` [INFO] [stdout] 003604b68f3b138b3ee2e4ea92fd58a810c54d9f6368f5dc3dee6e2e3ae3b584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767753871ca9131b0ef851c443c1e5c74cd9088996bb5bf033f7a920714171af [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" "767753871ca9131b0ef851c443c1e5c74cd9088996bb5bf033f7a920714171af", 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 `Box` 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 `Box` 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "767753871ca9131b0ef851c443c1e5c74cd9088996bb5bf033f7a920714171af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767753871ca9131b0ef851c443c1e5c74cd9088996bb5bf033f7a920714171af", kill_on_drop: false }` [INFO] [stdout] 767753871ca9131b0ef851c443c1e5c74cd9088996bb5bf033f7a920714171af