[INFO] cloning repository https://github.com/lochnesscookie/randomthings [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lochnesscookie/randomthings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9905bab310144703121b596819c8045c84647f8c [INFO] checking lochnesscookie/randomthings against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lochnesscookie/randomthings 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/lochnesscookie/randomthings [INFO] finished tweaking git repo https://github.com/lochnesscookie/randomthings [INFO] tweaked toml for git repo https://github.com/lochnesscookie/randomthings written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/lochnesscookie/randomthings 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] a7b8fee39261da9355d47b0f63eff26d8f1f485200c367b5630716a00a5e58ff [INFO] running `"docker" "start" "-a" "a7b8fee39261da9355d47b0f63eff26d8f1f485200c367b5630716a00a5e58ff"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking stuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | if max < max_primes { [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | max = max_primes; [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `i` in this scope [INFO] [stderr] --> src/main.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | let sign = i * 2 - 1; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stderr] | ^^^^^^^ expected struct `std::vec::Vec`, found struct `std::iter::Rev` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&std::vec::Vec` [INFO] [stderr] found reference `&std::iter::Rev>` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `usize` with `&usize` [INFO] [stderr] --> src/main.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | if max > p { [INFO] [stderr] | ^ no implementation for `usize < &usize` and `usize > &usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialOrd<&usize>` is not implemented for `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `stuff`. [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[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | if max < max_primes { [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stderr] --> src/main.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | max = max_primes; [INFO] [stderr] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stderr] ... [INFO] [stderr] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stderr] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `i` in this scope [INFO] [stderr] --> src/main.rs:48:20 [INFO] [stderr] | [INFO] [stderr] 48 | let sign = i * 2 - 1; [INFO] [stderr] | ^ help: a local variable with a similar name exists: `a` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:9:51 [INFO] [stderr] | [INFO] [stderr] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stderr] | ^^^^^^^ expected struct `std::vec::Vec`, found struct `std::iter::Rev` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&std::vec::Vec` [INFO] [stderr] found reference `&std::iter::Rev>` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `usize` with `&usize` [INFO] [stderr] --> src/main.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | if max > p { [INFO] [stderr] | ^ no implementation for `usize < &usize` and `usize > &usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialOrd<&usize>` is not implemented for `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `stuff`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a7b8fee39261da9355d47b0f63eff26d8f1f485200c367b5630716a00a5e58ff"` [INFO] running `"docker" "rm" "-f" "a7b8fee39261da9355d47b0f63eff26d8f1f485200c367b5630716a00a5e58ff"` [INFO] [stdout] a7b8fee39261da9355d47b0f63eff26d8f1f485200c367b5630716a00a5e58ff