[INFO] fetching crate inv 0.2.0... [INFO] testing inv-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate inv 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate inv 0.2.0 [INFO] finished tweaking crates.io crate inv 0.2.0 [INFO] tweaked toml for crates.io crate inv 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate inv 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate inv 0.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ec8b94fe9a67bb40a831d034c82937012d06270edb9cfc5923393fcb5799e6b [INFO] running `Command { std: "docker" "start" "-a" "1ec8b94fe9a67bb40a831d034c82937012d06270edb9cfc5923393fcb5799e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ec8b94fe9a67bb40a831d034c82937012d06270edb9cfc5923393fcb5799e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec8b94fe9a67bb40a831d034c82937012d06270edb9cfc5923393fcb5799e6b", kill_on_drop: false }` [INFO] [stdout] 1ec8b94fe9a67bb40a831d034c82937012d06270edb9cfc5923393fcb5799e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eba773da00681746ae49fe1b09fc966ddc4f124811ab8cc3b862cc65524dd41 [INFO] running `Command { std: "docker" "start" "-a" "9eba773da00681746ae49fe1b09fc966ddc4f124811ab8cc3b862cc65524dd41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling inv_manager v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling inv v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | if let Some(mut item_type) = inventory.item_types.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(mut item_instance) = inventory.item_instances.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.48s [INFO] running `Command { std: "docker" "inspect" "9eba773da00681746ae49fe1b09fc966ddc4f124811ab8cc3b862cc65524dd41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eba773da00681746ae49fe1b09fc966ddc4f124811ab8cc3b862cc65524dd41", kill_on_drop: false }` [INFO] [stdout] 9eba773da00681746ae49fe1b09fc966ddc4f124811ab8cc3b862cc65524dd41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 268bbceef517abdc31f78c1985a2f69247611f6cf0d75815c69f46b0f394bdb8 [INFO] running `Command { std: "docker" "start" "-a" "268bbceef517abdc31f78c1985a2f69247611f6cf0d75815c69f46b0f394bdb8", kill_on_drop: false }` [INFO] [stderr] Compiling inv v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | if let Some(mut item_type) = inventory.item_types.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(mut item_instance) = inventory.item_instances.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "268bbceef517abdc31f78c1985a2f69247611f6cf0d75815c69f46b0f394bdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268bbceef517abdc31f78c1985a2f69247611f6cf0d75815c69f46b0f394bdb8", kill_on_drop: false }` [INFO] [stdout] 268bbceef517abdc31f78c1985a2f69247611f6cf0d75815c69f46b0f394bdb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1241779e1c27312012a6a198dbb6694eb09b3b3ca2dc5ab2bd55e1faa8b0fdcc [INFO] running `Command { std: "docker" "start" "-a" "1241779e1c27312012a6a198dbb6694eb09b3b3ca2dc5ab2bd55e1faa8b0fdcc", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:449:17 [INFO] [stderr] | [INFO] [stderr] 449 | if let Some(mut item_type) = inventory.item_types.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:496:17 [INFO] [stderr] | [INFO] [stderr] 496 | if let Some(mut item_instance) = inventory.item_instances.iter_mut().find(|t| t.id == cmd.id) { [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `inv` (bin "inv" test) generated 2 warnings (run `cargo fix --bin "inv" -p inv --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/inv-8df0cde70a2a9444) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1241779e1c27312012a6a198dbb6694eb09b3b3ca2dc5ab2bd55e1faa8b0fdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1241779e1c27312012a6a198dbb6694eb09b3b3ca2dc5ab2bd55e1faa8b0fdcc", kill_on_drop: false }` [INFO] [stdout] 1241779e1c27312012a6a198dbb6694eb09b3b3ca2dc5ab2bd55e1faa8b0fdcc