[INFO] updating cached repository https://github.com/lochnesscookie/randomthings
[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] 9905bab310144703121b596819c8045c84647f8c
[INFO] checking lochnesscookie/randomthings against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lochnesscookie/randomthings on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-7/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 56b7ff84324037d6ea352397a77070d5a3f4abd7ef5803c9978b3ce157c3ba77
[INFO] running `"docker" "start" "-a" "56b7ff84324037d6ea352397a77070d5a3f4abd7ef5803c9978b3ce157c3ba77"`
[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<usize>{
[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<usize>{
[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<usize>{
[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[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<usize>{
[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<usize>{
[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<usize>{
[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<usize>`
[INFO] [stderr]              found reference `&std::iter::Rev<std::slice::Iter<'_, usize>>`
[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[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<usize>`
[INFO] [stderr]              found reference `&std::iter::Rev<std::slice::Iter<'_, usize>>`
[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" "56b7ff84324037d6ea352397a77070d5a3f4abd7ef5803c9978b3ce157c3ba77"`
[INFO] running `"docker" "rm" "-f" "56b7ff84324037d6ea352397a77070d5a3f4abd7ef5803c9978b3ce157c3ba77"`
[INFO] [stdout] 56b7ff84324037d6ea352397a77070d5a3f4abd7ef5803c9978b3ce157c3ba77
