[INFO] cloning repository https://github.com/lochnesscookie/randomthings [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9905bab310144703121b596819c8045c84647f8c [INFO] checking lochnesscookie/randomthings against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lochnesscookie/randomthings on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/lochnesscookie/randomthings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b4cbfc862ac006817153bd6a2084174a45d97120c948d52571c8db04dedbab0 [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" "0b4cbfc862ac006817153bd6a2084174a45d97120c948d52571c8db04dedbab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b4cbfc862ac006817153bd6a2084174a45d97120c948d52571c8db04dedbab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4cbfc862ac006817153bd6a2084174a45d97120c948d52571c8db04dedbab0", kill_on_drop: false }` [INFO] [stdout] 0b4cbfc862ac006817153bd6a2084174a45d97120c948d52571c8db04dedbab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a637b60289705575295d035777ca4ebc7d48ec3403671776d13c722d4dbbec68 [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" "a637b60289705575295d035777ca4ebc7d48ec3403671776d13c722d4dbbec68", kill_on_drop: false }` [INFO] [stderr] Checking stuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if max < max_primes { [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | max = max_primes; [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let sign = i * 2 - 1; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if max < max_primes { [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_primes` in this scope [INFO] [stdout] --> src/main.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | max = max_primes; [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `make_primes` [INFO] [stdout] ... [INFO] [stdout] 18 | fn make_primes(upper: usize) -> Vec{ [INFO] [stdout] | ------------------------------------------ similarly named function `make_primes` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let sign = i * 2 - 1; [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stdout] | ^^^^^^^ expected struct `std::vec::Vec`, found struct `std::iter::Rev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::vec::Vec` [INFO] [stdout] found reference `&std::iter::Rev>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `usize` with `&usize` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | if max > p { [INFO] [stdout] | ^ no implementation for `usize < &usize` and `usize > &usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialOrd<&usize>` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | max_primes = max_quadratic_primes(*p, &primes); [INFO] [stdout] | ^^^^^^^ expected struct `std::vec::Vec`, found struct `std::iter::Rev` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::vec::Vec` [INFO] [stdout] found reference `&std::iter::Rev>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `usize` with `&usize` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | if max > p { [INFO] [stdout] | ^ no implementation for `usize < &usize` and `usize > &usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialOrd<&usize>` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a637b60289705575295d035777ca4ebc7d48ec3403671776d13c722d4dbbec68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a637b60289705575295d035777ca4ebc7d48ec3403671776d13c722d4dbbec68", kill_on_drop: false }` [INFO] [stdout] a637b60289705575295d035777ca4ebc7d48ec3403671776d13c722d4dbbec68