[INFO] updating cached repository https://github.com/RaspberryCheesecake/guessing_game [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] 4ed6a6fc4022bfbe0adbc6f550d3b9c9f45a5004 [INFO] checking RaspberryCheesecake/guessing_game against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaspberryCheesecake%2Fguessing_game" "/workspace/builds/worker-1/source"` [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 e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] f38b3affc304df165357100210d4c6ec82e945f9b15232781433f5b7ed439933 [INFO] running `"docker" "start" "-a" "f38b3affc304df165357100210d4c6ec82e945f9b15232781433f5b7ed439933"` [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] [stderr] error[E0425]: cannot find function `random_comparison_win` in this scope [INFO] [stderr] --> src/main.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | let result = random_comparison_win(num, num); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use random_comparison_win; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `YAY` in this scope [INFO] [stderr] --> src/main.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | assert_eq!(result, YAY); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use YAY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `random_comparison_win` in this scope [INFO] [stderr] --> src/main.rs:69:15 [INFO] [stderr] | [INFO] [stderr] 69 | let result = random_comparison_win(num, other_num); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use random_comparison_win; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `YAY` in this scope [INFO] [stderr] --> src/main.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | assert_ne!(result, YAY); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 60 | use YAY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_range` found for struct `rand::ThreadRng` in the current scope [INFO] [stderr] --> src/main.rs:61:36 [INFO] [stderr] | [INFO] [stderr] 61 | let num: u32 = rand::thread_rng().gen_range(1, 101); [INFO] [stderr] | ^^^^^^^^^ method not found in `rand::ThreadRng` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.17/src/lib.rs:502:8 [INFO] [stderr] | [INFO] [stderr] 502 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use rand::Rng;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_range` found for struct `rand::ThreadRng` in the current scope [INFO] [stderr] --> src/main.rs:67:36 [INFO] [stderr] | [INFO] [stderr] 67 | let num: u32 = rand::thread_rng().gen_range(1, 101); [INFO] [stderr] | ^^^^^^^^^ method not found in `rand::ThreadRng` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.3.17/src/lib.rs:502:8 [INFO] [stderr] | [INFO] [stderr] 502 | fn gen_range(&mut self, low: T, high: T) -> T where Self: Sized { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use rand::Rng;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `guessing_game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f38b3affc304df165357100210d4c6ec82e945f9b15232781433f5b7ed439933"` [INFO] running `"docker" "rm" "-f" "f38b3affc304df165357100210d4c6ec82e945f9b15232781433f5b7ed439933"` [INFO] [stdout] f38b3affc304df165357100210d4c6ec82e945f9b15232781433f5b7ed439933