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