[INFO] fetching crate catj 0.2.3... [INFO] building catj-0.2.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate catj 0.2.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate catj 0.2.3 [INFO] finished tweaking crates.io crate catj 0.2.3 [INFO] tweaked toml for crates.io crate catj 0.2.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate catj 0.2.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate catj 0.2.3 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 681bbfd49ca0c1a33ad787790af79cecc642582bdb9d99bb8cfb8a23f34044f6 [INFO] running `Command { std: "docker" "start" "-a" "681bbfd49ca0c1a33ad787790af79cecc642582bdb9d99bb8cfb8a23f34044f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "681bbfd49ca0c1a33ad787790af79cecc642582bdb9d99bb8cfb8a23f34044f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681bbfd49ca0c1a33ad787790af79cecc642582bdb9d99bb8cfb8a23f34044f6", kill_on_drop: false }` [INFO] [stdout] 681bbfd49ca0c1a33ad787790af79cecc642582bdb9d99bb8cfb8a23f34044f6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e6351e12dd7afdc1707092f083782efe2bb8348f96d43883b90fa28883de73 [INFO] running `Command { std: "docker" "start" "-a" "b5e6351e12dd7afdc1707092f083782efe2bb8348f96d43883b90fa28883de73", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling cvt v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling normpath v1.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling fs_at v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.8.2 [INFO] [stderr] Compiling cgroups-rs v0.3.3 [INFO] [stderr] Compiling flexi_logger v0.27.2 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling catj v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CatBoxOptionBuilder` [INFO] [stdout] --> src/context/mod.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use builder::{CatBoxBuilder, CatBoxOptionBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/preset/preset.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn append_write_mount(mut self) -> Self { [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: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.93s [INFO] running `Command { std: "docker" "inspect" "b5e6351e12dd7afdc1707092f083782efe2bb8348f96d43883b90fa28883de73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e6351e12dd7afdc1707092f083782efe2bb8348f96d43883b90fa28883de73", kill_on_drop: false }` [INFO] [stdout] b5e6351e12dd7afdc1707092f083782efe2bb8348f96d43883b90fa28883de73 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e30ea4ba3d2add7248e7712bca70c40e9db06c5da1238f003ad24ac826ca24e5 [INFO] running `Command { std: "docker" "start" "-a" "e30ea4ba3d2add7248e7712bca70c40e9db06c5da1238f003ad24ac826ca24e5", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling catj v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CatBoxOptionBuilder` [INFO] [stdout] --> src/context/mod.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use builder::{CatBoxBuilder, CatBoxOptionBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/preset/preset.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn append_write_mount(mut self) -> Self { [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: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CatBoxOptionBuilder` [INFO] [stdout] --> src/context/mod.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub use builder::{CatBoxBuilder, CatBoxOptionBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CatBoxReadPipe` and `CatBoxWritePipe` [INFO] [stdout] --> src/utils/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use pipe::{CatBoxPipe, CatBoxReadPipe, CatBoxWritePipe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/preset/preset.rs:143:36 [INFO] [stdout] | [INFO] [stdout] 143 | pub(crate) fn append_write_mount(mut self) -> Self { [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: irrefutable `if let` pattern [INFO] [stdout] --> src/catbox.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/context/mod.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | fn add_result(&mut self, _label: &String, result: CatBoxResult) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn commands(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 115 | pub fn commands(&self) -> Iter<'_, CatBoxOption> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "e30ea4ba3d2add7248e7712bca70c40e9db06c5da1238f003ad24ac826ca24e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30ea4ba3d2add7248e7712bca70c40e9db06c5da1238f003ad24ac826ca24e5", kill_on_drop: false }` [INFO] [stdout] e30ea4ba3d2add7248e7712bca70c40e9db06c5da1238f003ad24ac826ca24e5