[INFO] fetching crate lk_math 0.5.0... [INFO] checking lk_math-0.5.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate lk_math 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate lk_math 0.5.0 [INFO] finished tweaking crates.io crate lk_math 0.5.0 [INFO] tweaked toml for crates.io crate lk_math 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lk_math 0.5.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lk_math 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13c5b9e2fb28695c35796b65f7a92424d3322e3d1805596271e985ba313f2a55 [INFO] running `Command { std: "docker" "start" "-a" "13c5b9e2fb28695c35796b65f7a92424d3322e3d1805596271e985ba313f2a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13c5b9e2fb28695c35796b65f7a92424d3322e3d1805596271e985ba313f2a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c5b9e2fb28695c35796b65f7a92424d3322e3d1805596271e985ba313f2a55", kill_on_drop: false }` [INFO] [stdout] 13c5b9e2fb28695c35796b65f7a92424d3322e3d1805596271e985ba313f2a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa5e22d2da74fff5dadcfdd00177355b60dd7ef4e42b13967a4564a84ef7ac6 [INFO] running `Command { std: "docker" "start" "-a" "caa5e22d2da74fff5dadcfdd00177355b60dd7ef4e42b13967a4564a84ef7ac6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking serde_arrays v0.1.0 [INFO] [stderr] Checking lk_math v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/arraynd.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 401 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 402 | [].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching` [INFO] [stdout] --> src/arraynd.rs:400:38 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter_block(&mut self, mut matching: [Option; N]) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arraynd.rs:400:34 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter_block(&mut self, mut matching: [Option; N]) -> impl Iterator { [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: unreachable expression [INFO] [stdout] --> src/arraynd.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 401 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 402 | [].into_iter() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matching` [INFO] [stdout] --> src/arraynd.rs:400:38 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter_block(&mut self, mut matching: [Option; N]) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matching` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/arraynd.rs:400:34 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter_block(&mut self, mut matching: [Option; N]) -> impl Iterator { [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: irrefutable `if let` pattern [INFO] [stdout] --> src/arraynd.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if let Ok(a) = (*i).try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | array_vector_linear_index!(i32, usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `array_vector_linear_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Perm` is never constructed [INFO] [stdout] --> src/permutations.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Perm([usize; M]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chain` is never used [INFO] [stdout] --> src/permutations.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Perm { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 7 | fn chain(&self, other: &Self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermId` is never constructed [INFO] [stdout] --> src/permutations.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct PermId(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `perm` is never used [INFO] [stdout] --> src/permutations.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl PermId { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 34 | pub fn perm(self) -> Perm { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/arraynd.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | if let Ok(a) = (*i).try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | array_vector_linear_index!(i32, usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `array_vector_linear_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.85s [INFO] running `Command { std: "docker" "inspect" "caa5e22d2da74fff5dadcfdd00177355b60dd7ef4e42b13967a4564a84ef7ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa5e22d2da74fff5dadcfdd00177355b60dd7ef4e42b13967a4564a84ef7ac6", kill_on_drop: false }` [INFO] [stdout] caa5e22d2da74fff5dadcfdd00177355b60dd7ef4e42b13967a4564a84ef7ac6