[INFO] fetching crate ni 0.1.0... [INFO] checking ni-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ni 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ni 0.1.0 [INFO] finished tweaking crates.io crate ni 0.1.0 [INFO] tweaked toml for crates.io crate ni 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ni 0.1.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0ce8deeb4135f12495b98cc94ef5305843d53227c6132bdcb5affb1d93e60f28 [INFO] running `Command { std: "docker" "start" "-a" "0ce8deeb4135f12495b98cc94ef5305843d53227c6132bdcb5affb1d93e60f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ce8deeb4135f12495b98cc94ef5305843d53227c6132bdcb5affb1d93e60f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce8deeb4135f12495b98cc94ef5305843d53227c6132bdcb5affb1d93e60f28", kill_on_drop: false }` [INFO] [stdout] 0ce8deeb4135f12495b98cc94ef5305843d53227c6132bdcb5affb1d93e60f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 32d4036ee12f612007422ed426185f0d884ea45ca07453ae52b592204576d4e6 [INFO] running `Command { std: "docker" "start" "-a" "32d4036ee12f612007422ed426185f0d884ea45ca07453ae52b592204576d4e6", kill_on_drop: false }` [INFO] [stderr] Checking ni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/executor/files.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait File: std::fmt::Debug { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/executor/files.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Files { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 63 | files: Vec>>, [INFO] [stdout] 64 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Files` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `LIMIT`, `open`, and `close` are never used [INFO] [stdout] --> src/executor/files.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 68 | impl Files { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 69 | pub const LIMIT: usize = 64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn open(&mut self, file: F) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn close(&mut self, idx: UWord) -> Result, FilesError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/executor/memory.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn update(&mut self, ptr: UWord, f: F) -> Result<(), MemoryError> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `types` is never read [INFO] [stdout] --> src/nil/layout.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Layout<'n, 't> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub(super) fields: View>, [INFO] [stdout] 15 | pub(super) types: View>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ptr` are never read [INFO] [stdout] --> src/nil/layout.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field<'n, 't> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub(super) name: &'n str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(super) ty: Ty<'t>, [INFO] [stdout] 30 | pub(super) ptr: UWord, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/executor/executor/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | fn current_call(&self) -> Result<&FunctionCall, ExecutionError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn current_call(&self) -> Result<&FunctionCall<'_>, ExecutionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `types` is never read [INFO] [stdout] --> src/nil/layout.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Layout<'n, 't> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub(super) fields: View>, [INFO] [stdout] 15 | pub(super) types: View>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ptr` are never read [INFO] [stdout] --> src/nil/layout.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field<'n, 't> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub(super) name: &'n str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(super) ty: Ty<'t>, [INFO] [stdout] 30 | pub(super) ptr: UWord, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/executor/executor/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | fn current_call(&self) -> Result<&FunctionCall, ExecutionError> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn current_call(&self) -> Result<&FunctionCall<'_>, ExecutionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "32d4036ee12f612007422ed426185f0d884ea45ca07453ae52b592204576d4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d4036ee12f612007422ed426185f0d884ea45ca07453ae52b592204576d4e6", kill_on_drop: false }` [INFO] [stdout] 32d4036ee12f612007422ed426185f0d884ea45ca07453ae52b592204576d4e6