[INFO] cloning repository https://github.com/exphp-share/rust-sols [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exphp-share/rust-sols" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexphp-share%2Frust-sols", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexphp-share%2Frust-sols'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfd91187e759a56f8b38063e0066568773729df3 [INFO] checking exphp-share/rust-sols against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexphp-share%2Frust-sols" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/exphp-share/rust-sols on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/exphp-share/rust-sols [INFO] finished tweaking git repo https://github.com/exphp-share/rust-sols [INFO] tweaked toml for git repo https://github.com/exphp-share/rust-sols written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/exphp-share/rust-sols already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] dffe6a07c88af72955ad816f1214eac932496dd4dae9e0940b466429ca756bbb [INFO] running `Command { std: "docker" "start" "-a" "dffe6a07c88af72955ad816f1214eac932496dd4dae9e0940b466429ca756bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dffe6a07c88af72955ad816f1214eac932496dd4dae9e0940b466429ca756bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffe6a07c88af72955ad816f1214eac932496dd4dae9e0940b466429ca756bbb", kill_on_drop: false }` [INFO] [stdout] dffe6a07c88af72955ad816f1214eac932496dd4dae9e0940b466429ca756bbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c18ad9e9f4100deccbae30468af2449b966a889251886fac13e778f8928b3911 [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" "c18ad9e9f4100deccbae30468af2449b966a889251886fac13e778f8928b3911", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.69 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-bigint v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.69 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking all-pats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/test-ac.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/test-ac.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/pqk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isqrt` [INFO] [stdout] --> bins/pqk.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use all_pats::{isqrt, gcd, qsqrt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::collections::HashMap` [INFO] [stdout] --> bins/pqk.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | use ::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/pq.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> bins/pqk.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | let a = vec![()]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/test-bc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/pq.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `c` as mutable, as it is not declared as mutable [INFO] [stdout] --> bins/pqk.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 219 | $crate::CallHelper(($($ident),*)).call(|$($ident),*| $body) [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut c` [INFO] [stdout] ... [INFO] [stdout] 272 | c.sort(); // c is Vec<()>. It was moved. [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bins/pqk.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let mut c = vec![()]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bins/pqk.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | pat: [$a $ident] [INFO] [stdout] | ^^^^^^ help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 270 | / using!{[b, mut c, ref d, ref mut e] { [INFO] [stdout] 271 | | let _ = b; // b is Vec<()>. It was moved. [INFO] [stdout] 272 | | c.sort(); // c is Vec<()>. It was moved. [INFO] [stdout] 273 | | let _ = d.iter(); // d is &Vec<()> [INFO] [stdout] 274 | | let _ = e.iter_mut(); // e is &mut Vec<()> [INFO] [stdout] 275 | | // let _ = a.iter(); // a cannot be used. [INFO] [stdout] 276 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `_using_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `all-pats` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/test-bc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> bins/pq.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn letter_2((a,b,c): (i64,i64,i64)) -> char { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> bins/pq.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | for ((a, b, c), value) in map.into_iter().filter(|(k,v)| v.is_none()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> bins/pq.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | for ((a, b, c), value) in map.into_iter().filter(|(k,v)| v.is_none()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> bins/pq.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn letter_2((a,b,c): (i64,i64,i64)) -> char { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> bins/pq.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 125 | for ((a, b, c), value) in map.into_iter().filter(|(k,v)| v.is_none()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> bins/pq.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | for ((a, b, c), value) in map.into_iter().filter(|(k,v)| v.is_none()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bins/pqk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isqrt` [INFO] [stdout] --> bins/pqk.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use all_pats::{isqrt, gcd, qsqrt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::collections::HashMap` [INFO] [stdout] --> bins/pqk.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | use ::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> bins/pqk.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | let a = vec![()]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `c` as mutable, as it is not declared as mutable [INFO] [stdout] --> bins/pqk.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 219 | $crate::CallHelper(($($ident),*)).call(|$($ident),*| $body) [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut c` [INFO] [stdout] ... [INFO] [stdout] 272 | c.sort(); // c is Vec<()>. It was moved. [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bins/pqk.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | let mut c = vec![()]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bins/pqk.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | pat: [$a $ident] [INFO] [stdout] | ^^^^^^ help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 270 | / using!{[b, mut c, ref d, ref mut e] { [INFO] [stdout] 271 | | let _ = b; // b is Vec<()>. It was moved. [INFO] [stdout] 272 | | c.sort(); // c is Vec<()>. It was moved. [INFO] [stdout] 273 | | let _ = d.iter(); // d is &Vec<()> [INFO] [stdout] 274 | | let _ = e.iter_mut(); // e is &mut Vec<()> [INFO] [stdout] 275 | | // let _ = a.iter(); // a cannot be used. [INFO] [stdout] 276 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `_using_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c18ad9e9f4100deccbae30468af2449b966a889251886fac13e778f8928b3911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18ad9e9f4100deccbae30468af2449b966a889251886fac13e778f8928b3911", kill_on_drop: false }` [INFO] [stdout] c18ad9e9f4100deccbae30468af2449b966a889251886fac13e778f8928b3911