[INFO] fetching crate ni 0.1.0... [INFO] checking ni-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ni 0.1.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ni 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c70ddb6fae3dc3ccda3a865801ac538ed26cede8106c927d7bc5c55577d873 [INFO] running `Command { std: "docker" "start" "-a" "25c70ddb6fae3dc3ccda3a865801ac538ed26cede8106c927d7bc5c55577d873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c70ddb6fae3dc3ccda3a865801ac538ed26cede8106c927d7bc5c55577d873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c70ddb6fae3dc3ccda3a865801ac538ed26cede8106c927d7bc5c55577d873", kill_on_drop: false }` [INFO] [stdout] 25c70ddb6fae3dc3ccda3a865801ac538ed26cede8106c927d7bc5c55577d873 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eae067fa3a8a466464c49a44f982c1c9d232a5fcbf1611af8ea05aded7ee4994 [INFO] running `Command { std: "docker" "start" "-a" "eae067fa3a8a466464c49a44f982c1c9d232a5fcbf1611af8ea05aded7ee4994", 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.94s [INFO] running `Command { std: "docker" "inspect" "eae067fa3a8a466464c49a44f982c1c9d232a5fcbf1611af8ea05aded7ee4994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae067fa3a8a466464c49a44f982c1c9d232a5fcbf1611af8ea05aded7ee4994", kill_on_drop: false }` [INFO] [stdout] eae067fa3a8a466464c49a44f982c1c9d232a5fcbf1611af8ea05aded7ee4994