[INFO] fetching crate mintyml-cli 0.1.19... [INFO] testing mintyml-cli-0.1.19 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mintyml-cli 0.1.19 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate mintyml-cli 0.1.19 [INFO] finished tweaking crates.io crate mintyml-cli 0.1.19 [INFO] tweaked toml for crates.io crate mintyml-cli 0.1.19 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mintyml-cli 0.1.19 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mintyml-cli 0.1.19 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6399e1a7620c73d391bb5161c001884bcd6dcaa4dfadad0d0c265e7e02c81245 [INFO] running `Command { std: "docker" "start" "-a" "6399e1a7620c73d391bb5161c001884bcd6dcaa4dfadad0d0c265e7e02c81245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6399e1a7620c73d391bb5161c001884bcd6dcaa4dfadad0d0c265e7e02c81245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6399e1a7620c73d391bb5161c001884bcd6dcaa4dfadad0d0c265e7e02c81245", kill_on_drop: false }` [INFO] [stdout] 6399e1a7620c73d391bb5161c001884bcd6dcaa4dfadad0d0c265e7e02c81245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04f4de87db423d5c5288f64a3264cf1c08228398248eea365724277e1784bae7 [INFO] running `Command { std: "docker" "start" "-a" "04f4de87db423d5c5288f64a3264cf1c08228398248eea365724277e1784bae7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling gramma v0.2.23 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling mintyml v0.1.19 [INFO] [stderr] Compiling mintyml-cli v0.1.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `OptionExt` is never used [INFO] [stdout] --> src/utils.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait OptionExt: Into> + From> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait UtilExt: Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 40 | fn also(mut self, f: impl FnOnce(&mut Self)) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn also_with(mut self, f: impl FnOnce(&mut Self) -> T) -> (Self, T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn also_with_ok( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn also_with_some(mut self, f: impl FnOnce(&mut Self) -> Option) -> Option<(Self, T)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn also_ok(mut self, f: impl FnOnce(&mut Self) -> Result<(), E>) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn pipe(self, f: impl FnOnce(Self) -> R) -> R { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn err(self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn pipe_ok(self, f: impl FnOnce(Self) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn pipe_some(self, f: impl FnOnce(Self) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn into_(self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn try_into_(self) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn drop_ok(self) -> Result<(), Self::ErrVal> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn try_map(self, f: impl FnOnce(Self::Val) -> Result) -> Result, E> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn try_and_then( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_name` is never used [INFO] [stdout] --> src/convert.rs:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | pub(crate) fn output_name( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_file` and `is_dir` are never used [INFO] [stdout] --> src/io_helper.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) trait IoHelper: Clone + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 56 | fn is_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn is_dir(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/convert.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig { [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] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.48s [INFO] running `Command { std: "docker" "inspect" "04f4de87db423d5c5288f64a3264cf1c08228398248eea365724277e1784bae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f4de87db423d5c5288f64a3264cf1c08228398248eea365724277e1784bae7", kill_on_drop: false }` [INFO] [stdout] 04f4de87db423d5c5288f64a3264cf1c08228398248eea365724277e1784bae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c177e15676a4da5242f06430187c18c17380da9d95315cad88a892fcba228768 [INFO] running `Command { std: "docker" "start" "-a" "c177e15676a4da5242f06430187c18c17380da9d95315cad88a892fcba228768", kill_on_drop: false }` [INFO] [stderr] Compiling mintyml-cli v0.1.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/tests.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | io_helper::test_helper::{any, contains}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionExt` is never used [INFO] [stdout] --> src/utils.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait OptionExt: Into> + From> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait UtilExt: Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 40 | fn also(mut self, f: impl FnOnce(&mut Self)) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn also_with(mut self, f: impl FnOnce(&mut Self) -> T) -> (Self, T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn also_with_ok( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn also_with_some(mut self, f: impl FnOnce(&mut Self) -> Option) -> Option<(Self, T)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn also_ok(mut self, f: impl FnOnce(&mut Self) -> Result<(), E>) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn pipe(self, f: impl FnOnce(Self) -> R) -> R { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn err(self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn pipe_ok(self, f: impl FnOnce(Self) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn pipe_some(self, f: impl FnOnce(Self) -> Option) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn into_(self) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn try_into_(self) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn drop_ok(self) -> Result<(), Self::ErrVal> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn try_map(self, f: impl FnOnce(Self::Val) -> Result) -> Result, E> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn try_and_then( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_name` is never used [INFO] [stdout] --> src/convert.rs:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | pub(crate) fn output_name( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_file` and `is_dir` are never used [INFO] [stdout] --> src/io_helper.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) trait IoHelper: Clone + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 56 | fn is_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn is_dir(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `any` is never used [INFO] [stdout] --> src/io_helper.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn any() -> Option Result>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/convert.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig { [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] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io_helper.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | fn lock(target: &Mutex) -> MutexGuard { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | fn lock(target: &Mutex) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io_helper.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | fn lock(&mut self) -> (MutexGuard>, &mut usize) { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 582 | fn lock(&mut self) -> (MutexGuard<'_, Vec>, &mut usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "c177e15676a4da5242f06430187c18c17380da9d95315cad88a892fcba228768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c177e15676a4da5242f06430187c18c17380da9d95315cad88a892fcba228768", kill_on_drop: false }` [INFO] [stdout] c177e15676a4da5242f06430187c18c17380da9d95315cad88a892fcba228768 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f75e8259f851120dcc724f0b26a96fbc4f8193524975fbe51e6bc406d1d08c6 [INFO] running `Command { std: "docker" "start" "-a" "3f75e8259f851120dcc724f0b26a96fbc4f8193524975fbe51e6bc406d1d08c6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `any` [INFO] [stderr] --> src/tests.rs:2:30 [INFO] [stderr] | [INFO] [stderr] 2 | io_helper::test_helper::{any, contains}, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `OptionExt` is never used [INFO] [stderr] --> src/utils.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub trait OptionExt: Into> + From> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/utils.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub trait UtilExt: Sized { [INFO] [stderr] | ------- methods in this trait [INFO] [stderr] 40 | fn also(mut self, f: impl FnOnce(&mut Self)) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | fn also_with(mut self, f: impl FnOnce(&mut Self) -> T) -> (Self, T) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | fn also_with_ok( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | fn also_with_some(mut self, f: impl FnOnce(&mut Self) -> Option) -> Option<(Self, T)> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn also_ok(mut self, f: impl FnOnce(&mut Self) -> Result<(), E>) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | fn pipe(self, f: impl FnOnce(Self) -> R) -> R { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn err(self) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | fn pipe_ok(self, f: impl FnOnce(Self) -> Result) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | fn pipe_some(self, f: impl FnOnce(Self) -> Option) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | fn into_(self) -> T [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | fn try_into_(self) -> Result [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | fn drop_ok(self) -> Result<(), Self::ErrVal> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | fn try_map(self, f: impl FnOnce(Self::Val) -> Result) -> Result, E> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | fn try_and_then( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `output_name` is never used [INFO] [stderr] --> src/convert.rs:506:15 [INFO] [stderr] | [INFO] [stderr] 506 | pub(crate) fn output_name( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_file` and `is_dir` are never used [INFO] [stderr] --> src/io_helper.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) trait IoHelper: Clone + Send + Sync { [INFO] [stderr] | -------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 56 | fn is_file(&self, path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | fn is_dir(&self, path: &Path) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `any` is never used [INFO] [stderr] --> src/io_helper.rs:458:12 [INFO] [stderr] | [INFO] [stderr] 458 | pub fn any() -> Option Result>> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/convert.rs:444:29 [INFO] [stderr] | [INFO] [stderr] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 444 | pub(crate) fn as_config(&self) -> mintyml::OutputConfig<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/io_helper.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | fn lock(target: &Mutex) -> MutexGuard { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 176 | fn lock(target: &Mutex) -> MutexGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/io_helper.rs:582:17 [INFO] [stderr] | [INFO] [stderr] 582 | fn lock(&mut self) -> (MutexGuard>, &mut usize) { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 582 | fn lock(&mut self) -> (MutexGuard<'_, Vec>, &mut usize) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `mintyml-cli` (bin "mintyml-cli" test) generated 9 warnings (run `cargo fix --bin "mintyml-cli" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mintyml_cli-2b282117ea69d5c0) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test args::cli_valid ... ok [INFO] [stdout] test tests::convert_explicit_file_explicit_dest ... ok [INFO] [stdout] test tests::convert_explicit_file_explicit_absolute_dest ... ok [INFO] [stdout] test tests::complete_page_implicit ... ok [INFO] [stdout] test tests::convert_dir_implicit_dest_no_recurse ... ok [INFO] [stdout] test tests::basic_test ... ok [INFO] [stdout] test tests::convert_explicit_files_explicit_dest ... ok [INFO] [stdout] test tests::convert_explicit_files_explicit_absolute_dest ... ok [INFO] [stdout] test tests::convert_explicit_file_implicit_dest ... ok [INFO] [stdout] test tests::complete_page_explicit ... ok [INFO] [stdout] test tests::convert_explicit_files_implicit_dest ... ok [INFO] [stdout] test tests::convert_dir_implicit_dest_recurse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f75e8259f851120dcc724f0b26a96fbc4f8193524975fbe51e6bc406d1d08c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f75e8259f851120dcc724f0b26a96fbc4f8193524975fbe51e6bc406d1d08c6", kill_on_drop: false }` [INFO] [stdout] 3f75e8259f851120dcc724f0b26a96fbc4f8193524975fbe51e6bc406d1d08c6