[INFO] fetching crate commandlines 0.8.0... [INFO] testing commandlines-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate commandlines 0.8.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate commandlines 0.8.0 [INFO] finished tweaking crates.io crate commandlines 0.8.0 [INFO] tweaked toml for crates.io crate commandlines 0.8.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate commandlines 0.8.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84ed9012e6a5d49594aeffde7639b54ecd0271226be2377e3550d5f059d324b6 [INFO] running `Command { std: "docker" "start" "-a" "84ed9012e6a5d49594aeffde7639b54ecd0271226be2377e3550d5f059d324b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84ed9012e6a5d49594aeffde7639b54ecd0271226be2377e3550d5f059d324b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84ed9012e6a5d49594aeffde7639b54ecd0271226be2377e3550d5f059d324b6", kill_on_drop: false }` [INFO] [stdout] 84ed9012e6a5d49594aeffde7639b54ecd0271226be2377e3550d5f059d324b6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87ffec6802d4d0893ce1cabe17bbc8cde283ee289dc2a8fd4f2080e8cc7c2241 [INFO] running `Command { std: "docker" "start" "-a" "87ffec6802d4d0893ce1cabe17bbc8cde283ee289dc2a8fd4f2080e8cc7c2241", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling commandlines v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:416:16 [INFO] [stdout] | [INFO] [stdout] 416 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [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] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:31 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [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] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:32 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:544:28 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [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] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:566:46 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [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] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:592:31 [INFO] [stdout] | [INFO] [stdout] 592 | pub fn get_argument_first(&self) -> Option> { [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] 592 | pub fn get_argument_first(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:613:30 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn get_argument_last(&self) -> Option> { [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] 613 | pub fn get_argument_last(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn get_executable(&self) -> Cow { [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] 630 | pub fn get_executable(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "87ffec6802d4d0893ce1cabe17bbc8cde283ee289dc2a8fd4f2080e8cc7c2241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ffec6802d4d0893ce1cabe17bbc8cde283ee289dc2a8fd4f2080e8cc7c2241", kill_on_drop: false }` [INFO] [stdout] 87ffec6802d4d0893ce1cabe17bbc8cde283ee289dc2a8fd4f2080e8cc7c2241 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991675a6b5409ae7764c73c060b5af2d3318631107266faca10aaf2f63cf6c0b [INFO] running `Command { std: "docker" "start" "-a" "991675a6b5409ae7764c73c060b5af2d3318631107266faca10aaf2f63cf6c0b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling commandlines v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:416:16 [INFO] [stdout] | [INFO] [stdout] 416 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [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] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:31 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [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] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:32 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:544:28 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [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] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:566:46 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [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] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:592:31 [INFO] [stdout] | [INFO] [stdout] 592 | pub fn get_argument_first(&self) -> Option> { [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] 592 | pub fn get_argument_first(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:613:30 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn get_argument_last(&self) -> Option> { [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] 613 | pub fn get_argument_last(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn get_executable(&self) -> Cow { [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] 630 | pub fn get_executable(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:416:16 [INFO] [stdout] | [INFO] [stdout] 416 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [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] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:31 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [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] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:32 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:544:28 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [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] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:566:46 [INFO] [stdout] | [INFO] [stdout] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [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] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:592:31 [INFO] [stdout] | [INFO] [stdout] 592 | pub fn get_argument_first(&self) -> Option> { [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] 592 | pub fn get_argument_first(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:613:30 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn get_argument_last(&self) -> Option> { [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] 613 | pub fn get_argument_last(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn get_executable(&self) -> Cow { [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] 630 | pub fn get_executable(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "991675a6b5409ae7764c73c060b5af2d3318631107266faca10aaf2f63cf6c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991675a6b5409ae7764c73c060b5af2d3318631107266faca10aaf2f63cf6c0b", kill_on_drop: false }` [INFO] [stdout] 991675a6b5409ae7764c73c060b5af2d3318631107266faca10aaf2f63cf6c0b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42ccafc7f90a76a6f523c2a3ee5ad2c97035b0d18a8752b190a3244b5fcf5812 [INFO] running `Command { std: "docker" "start" "-a" "42ccafc7f90a76a6f523c2a3ee5ad2c97035b0d18a8752b190a3244b5fcf5812", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:106:16 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:416:16 [INFO] [stderr] | [INFO] [stderr] 416 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:448:31 [INFO] [stderr] | [INFO] [stderr] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [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] 448 | pub fn get_definition_for(&self, needle: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:476:31 [INFO] [stderr] | [INFO] [stderr] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [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] 476 | pub fn get_argument_after(&self, needle: &str) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:502:32 [INFO] [stderr] | [INFO] [stderr] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden 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] 502 | pub fn get_arguments_after(&self, needle: &str) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:544:28 [INFO] [stderr] | [INFO] [stderr] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [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] 544 | pub fn get_argument_at(&self, needle: usize) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:566:46 [INFO] [stderr] | [INFO] [stderr] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [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] 566 | pub fn get_arguments_after_double_hyphen(&self) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:592:31 [INFO] [stderr] | [INFO] [stderr] 592 | pub fn get_argument_first(&self) -> Option> { [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] 592 | pub fn get_argument_first(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:613:30 [INFO] [stderr] | [INFO] [stderr] 613 | pub fn get_argument_last(&self) -> Option> { [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] 613 | pub fn get_argument_last(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:630:27 [INFO] [stderr] | [INFO] [stderr] 630 | pub fn get_executable(&self) -> Cow { [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] 630 | pub fn get_executable(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `commandlines` (lib) generated 11 warnings (run `cargo fix --lib -p commandlines` to apply 8 suggestions) [INFO] [stderr] warning: `commandlines` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/commandlines-e9f86c97c23b5861) [INFO] [stdout] [INFO] [stdout] running 71 tests [INFO] [stdout] test parsers::tests::function_get_definition_parts ... ok [INFO] [stdout] test parsers::tests::function_is_double_hyphen_option_false ... ok [INFO] [stdout] test parsers::tests::function_is_definition_option_false ... ok [INFO] [stdout] test parsers::tests::function_is_definition_option_true ... ok [INFO] [stdout] test parsers::tests::function_is_double_hyphen_option_true ... ok [INFO] [stdout] test parsers::tests::function_is_mops_option ... ok [INFO] [stdout] test parsers::tests::function_parse_definitions_multi_def ... ok [INFO] [stdout] test parsers::tests::function_parse_definitions_single_def ... ok [INFO] [stdout] test parsers::tests::function_parse_double_hyphen_args ... ok [INFO] [stdout] test parsers::tests::function_parse_double_hyphen_args_no_double_hyphen ... ok [INFO] [stdout] test parsers::tests::function_parse_double_hyphen_args_no_post_args ... ok [INFO] [stdout] test parsers::tests::function_parse_first_arg ... ok [INFO] [stdout] test parsers::tests::function_parse_last_arg_executable_only ... ok [INFO] [stdout] test parsers::tests::function_parse_first_arg_executable_only ... ok [INFO] [stdout] test parsers::tests::function_parse_mops ... ok [INFO] [stdout] test parsers::tests::function_parse_last_arg ... ok [INFO] [stdout] test parsers::tests::function_parse_mops_without_mops ... ok [INFO] [stdout] test parsers::tests::function_parse_options ... ok [INFO] [stdout] test parsers::tests::function_parse_options_no_options ... ok [INFO] [stdout] test tests::command_has_mops_true ... ok [INFO] [stdout] test tests::command_has_mops_false ... ok [INFO] [stdout] test tests::command_instantiation_argc_field_one_arg ... ok [INFO] [stdout] test tests::command_instantiation_double_hyphen_argv_no_double_hyphen ... ok [INFO] [stdout] test tests::command_instantiation_double_hyphen_argv_no_args ... ok [INFO] [stdout] test tests::command_instantiation_executable_field ... ok [INFO] [stdout] test tests::command_instantiation_first_arg_field ... ok [INFO] [stdout] test tests::command_instantiation_last_arg_field_executable_only ... ok [INFO] [stdout] test tests::command_instantiation_last_arg_field ... ok [INFO] [stdout] test tests::command_method_contains_all_mops_false ... ok [INFO] [stdout] test tests::command_method_contains_all_mops_true ... ok [INFO] [stdout] test tests::command_method_contains_all_options ... ok [INFO] [stdout] test tests::command_method_contains_any_mops_missing_mops ... ok [INFO] [stdout] test tests::command_instantiation_argc_field_two_args ... ok [INFO] [stdout] test tests::command_method_contains_any_mops ... ok [INFO] [stdout] test tests::command_method_contains_definition ... ok [INFO] [stdout] test tests::command_method_contains_any_option ... ok [INFO] [stdout] test tests::command_method_contains_option ... ok [INFO] [stdout] test tests::command_method_contains_mops_false ... ok [INFO] [stdout] test tests::command_method_contains_arg ... ok [INFO] [stdout] test tests::command_instantiation_partial_eq ... ok [INFO] [stdout] test tests::command_method_contains_sequence ... ok [INFO] [stdout] test tests::command_method_get_argument_after_arg_present ... ok [INFO] [stdout] test tests::command_method_get_argument_after_arg_absent ... ok [INFO] [stdout] test tests::command_method_get_argument_after_missing_needle_arg ... ok [INFO] [stdout] test tests::command_instantiation_first_arg_field_executable_only ... ok [INFO] [stdout] test tests::command_instantiation_double_hyphen_argv ... ok [INFO] [stdout] test tests::command_method_get_argument_last ... ok [INFO] [stdout] test tests::command_method_get_arguments_after ... ok [INFO] [stdout] test tests::command_method_contains_mops_true ... ok [INFO] [stdout] test tests::command_instantiation_environment_args_test ... ok [INFO] [stdout] test tests::command_method_get_argument_at ... ok [INFO] [stdout] test tests::command_instantiation_definitions_field_multi_def ... ok [INFO] [stdout] test tests::command_method_get_arguments_after_double_hyphen ... ok [INFO] [stdout] test tests::command_method_get_definition_for_def_absent ... ok [INFO] [stdout] test tests::command_method_contains_all_mops_missing_mops ... ok [INFO] [stdout] test tests::command_method_get_definition_for_def_present ... ok [INFO] [stdout] test tests::command_method_get_index_of ... ok [INFO] [stdout] test tests::command_instantiation_argv_field ... ok [INFO] [stdout] test tests::command_method_has_options_true ... ok [INFO] [stdout] test tests::command_method_is_help_request ... ok [INFO] [stdout] test tests::command_method_has_definitions_true ... ok [INFO] [stdout] test tests::command_method_is_usage_request ... ok [INFO] [stdout] test tests::command_method_has_double_hyphen_args ... ok [INFO] [stdout] test tests::command_method_get_argument_first ... ok [INFO] [stdout] test tests::command_method_has_options_false ... ok [INFO] [stdout] test tests::command_method_is_version_request ... ok [INFO] [stdout] test tests::command_method_has_definitions_false ... ok [INFO] [stderr] Doc-tests commandlines [INFO] [stdout] test tests::command_method_has_args_true ... ok [INFO] [stdout] test tests::command_method_get_executable ... ok [INFO] [stdout] test tests::command_instantiation_definitions_field_single_def ... ok [INFO] [stdout] test tests::command_method_has_args_false ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 71 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/lib.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / /// A command line argument object [INFO] [stderr] 17 | | /// [INFO] [stderr] 18 | | /// The `Command` struct defines fields that hold parsed command line argument data and provides methods that can be used to define the logic of a command lin... [INFO] [stderr] 19 | | /// [INFO] [stderr] ... | [INFO] [stderr] 47 | | /// [INFO] [stderr] 48 | | /// See the documentation for the `Command` struct methods and fields to learn how to use the parsed data in your command line interface application logic. [INFO] [stderr] | |___________________________________________________________________________________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / /// Instantiates and returns a new `Command` struct with the command line argument data in `std::env::args().collect()` [INFO] [stderr] 81 | | /// [INFO] [stderr] 82 | | /// # Remarks [INFO] [stderr] 83 | | /// [INFO] [stderr] ... | [INFO] [stderr] 95 | | /// } [INFO] [stderr] 96 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test src/lib.rs - Command::get_argument_last (line 605) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_arg (line 235) ... ok [INFO] [stdout] test src/lib.rs - Command::get_argument_first (line 584) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_option (line 291) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_sequence (line 409) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_all_options (line 338) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_mops (line 273) ... ok [INFO] [stdout] test src/lib.rs - Command::get_argument_at (line 530) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_any_option (line 389) ... ok [INFO] [stdout] test src/lib.rs - Command::get_arguments_after (line 494) ... ok [INFO] [stdout] test src/lib.rs - Command::get_arguments_after_double_hyphen (line 558) ... ok [INFO] [stdout] test src/lib.rs - Command::get_definition_for (line 440) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_all_mops (line 311) ... ok [INFO] [stdout] test src/lib.rs - Command::has_args (line 136) ... ok [INFO] [stdout] test src/lib.rs - Command::get_argument_after (line 468) ... ok [INFO] [stdout] test src/lib.rs - Command::get_index_of (line 642) ... ok [INFO] [stdout] test src/lib.rs - Command::is_usage_request (line 688) ... ok [INFO] [stdout] test src/lib.rs - Command::has_mops (line 195) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_any_mops (line 362) ... ok [INFO] [stdout] test src/lib.rs - Command (line 38) ... ok [INFO] [stdout] test src/lib.rs - Command::contains_definition (line 250) ... ok [INFO] [stdout] test src/lib.rs - Command::has_options (line 220) ... ok [INFO] [stdout] test src/lib.rs - Command::has_double_hyphen_args (line 174) ... ok [INFO] [stdout] test src/lib.rs - Command::has_definitions (line 159) ... ok [INFO] [stdout] test src/lib.rs - Command::get_executable (line 624) ... ok [INFO] [stdout] test src/lib.rs - Command::is_help_request (line 658) ... ok [INFO] [stdout] test src/lib.rs - Command::is_version_request (line 673) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42ccafc7f90a76a6f523c2a3ee5ad2c97035b0d18a8752b190a3244b5fcf5812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ccafc7f90a76a6f523c2a3ee5ad2c97035b0d18a8752b190a3244b5fcf5812", kill_on_drop: false }` [INFO] [stdout] 42ccafc7f90a76a6f523c2a3ee5ad2c97035b0d18a8752b190a3244b5fcf5812