[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 beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochnesscookie%2Frandomthings" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lochnesscookie/randomthings on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-4/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 121205937e163fcd813ce2371cde8e5ec84b266372ba20d71658807a7821a714
[INFO] running `Command { std: "docker" "start" "-a" "121205937e163fcd813ce2371cde8e5ec84b266372ba20d71658807a7821a714", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "121205937e163fcd813ce2371cde8e5ec84b266372ba20d71658807a7821a714", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "121205937e163fcd813ce2371cde8e5ec84b266372ba20d71658807a7821a714", kill_on_drop: false }`
[INFO] [stdout] 121205937e163fcd813ce2371cde8e5ec84b266372ba20d71658807a7821a714
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92e6cafa37fc033c24fe6e0b8ad125ffc81138713f0f19e39fc41972ffcf8909
[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" "92e6cafa37fc033c24fe6e0b8ad125ffc81138713f0f19e39fc41972ffcf8909", 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<usize>{
[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<usize>{
[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<usize>{
[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<usize>{
[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<usize>{
[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<usize>{
[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<usize>`
[INFO] [stdout]              found reference `&std::iter::Rev<std::slice::Iter<'_, usize>>`
[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<usize>`
[INFO] [stdout]              found reference `&std::iter::Rev<std::slice::Iter<'_, usize>>`
[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[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] [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] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "92e6cafa37fc033c24fe6e0b8ad125ffc81138713f0f19e39fc41972ffcf8909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92e6cafa37fc033c24fe6e0b8ad125ffc81138713f0f19e39fc41972ffcf8909", kill_on_drop: false }`
[INFO] [stdout] 92e6cafa37fc033c24fe6e0b8ad125ffc81138713f0f19e39fc41972ffcf8909
