[INFO] fetching crate lk_math 0.5.0... [INFO] checking lk_math-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lk_math 0.5.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lk_math 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_arrays v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b7b280a6c0682174c7b3fd15ef1a4755aebdc3baebbb41a2af0546b43d2093 [INFO] running `Command { std: "docker" "start" "-a" "d0b7b280a6c0682174c7b3fd15ef1a4755aebdc3baebbb41a2af0546b43d2093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b7b280a6c0682174c7b3fd15ef1a4755aebdc3baebbb41a2af0546b43d2093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b7b280a6c0682174c7b3fd15ef1a4755aebdc3baebbb41a2af0546b43d2093", kill_on_drop: false }` [INFO] [stdout] d0b7b280a6c0682174c7b3fd15ef1a4755aebdc3baebbb41a2af0546b43d2093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 815f565d6a23ab56d5642a1c1e0714394bccbbf4f6ffe8a569d1f243000589b2 [INFO] running `Command { std: "docker" "start" "-a" "815f565d6a23ab56d5642a1c1e0714394bccbbf4f6ffe8a569d1f243000589b2", 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.02s [INFO] running `Command { std: "docker" "inspect" "815f565d6a23ab56d5642a1c1e0714394bccbbf4f6ffe8a569d1f243000589b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815f565d6a23ab56d5642a1c1e0714394bccbbf4f6ffe8a569d1f243000589b2", kill_on_drop: false }` [INFO] [stdout] 815f565d6a23ab56d5642a1c1e0714394bccbbf4f6ffe8a569d1f243000589b2