[INFO] fetching crate fli 1.2.0... [INFO] testing fli-1.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fli 1.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fli 1.2.0 [INFO] finished tweaking crates.io crate fli 1.2.0 [INFO] tweaked toml for crates.io crate fli 1.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fli 1.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fli 1.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f52a9b4743e4b5fab6b3343b99eaee9d47554778f6cf890f18cbee4d06e2ec49 [INFO] running `Command { std: "docker" "start" "-a" "f52a9b4743e4b5fab6b3343b99eaee9d47554778f6cf890f18cbee4d06e2ec49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f52a9b4743e4b5fab6b3343b99eaee9d47554778f6cf890f18cbee4d06e2ec49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52a9b4743e4b5fab6b3343b99eaee9d47554778f6cf890f18cbee4d06e2ec49", kill_on_drop: false }` [INFO] [stdout] f52a9b4743e4b5fab6b3343b99eaee9d47554778f6cf890f18cbee4d06e2ec49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf2e0feb955709bad9eeddf889d49378665178572595422ea7e84fefb02a84d [INFO] running `Command { std: "docker" "start" "-a" "9cf2e0feb955709bad9eeddf889d49378665178572595422ea7e84fefb02a84d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling fli v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::Colorize; [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 import: `crate::command::FliCommand` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::command::FliCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/option_parser/input_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn with_debug(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: `data` [INFO] [stdout] --> src/app.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | |data| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/command.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let prefix = basic.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let mut chain_iter = chain.iter(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_iter` [INFO] [stdout] --> src/command.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let mut chain_iter = chain.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/option_parser/input_parser.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/option_parser/input_parser.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 394 | ValueTypes::RequiredSingle(_) | ValueTypes::RequiredMultiple(_, _) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 397 | ValueTypes::OptionalSingle(_) | ValueTypes::OptionalMultiple(_, _) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 410 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserved_option` [INFO] [stdout] --> src/option_parser/input_parser.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | if let Some(preserved_option) = command.get_preserved_option(arg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserved_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.38s [INFO] running `Command { std: "docker" "inspect" "9cf2e0feb955709bad9eeddf889d49378665178572595422ea7e84fefb02a84d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf2e0feb955709bad9eeddf889d49378665178572595422ea7e84fefb02a84d", kill_on_drop: false }` [INFO] [stdout] 9cf2e0feb955709bad9eeddf889d49378665178572595422ea7e84fefb02a84d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f119d2010db0e31e8939cce9730d880dc04454cb86a9c14de10a5b26a322459 [INFO] running `Command { std: "docker" "start" "-a" "2f119d2010db0e31e8939cce9730d880dc04454cb86a9c14de10a5b26a322459", kill_on_drop: false }` [INFO] [stderr] Compiling fli v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::Colorize; [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 import: `crate::command::FliCommand` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::command::FliCommand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/option_parser/input_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn with_debug(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: `data` [INFO] [stdout] --> src/app.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | |data| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/command.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let prefix = basic.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/command.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let mut chain_iter = chain.iter(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_iter` [INFO] [stdout] --> src/command.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let mut chain_iter = chain.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/option_parser/input_parser.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/option_parser/input_parser.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 394 | ValueTypes::RequiredSingle(_) | ValueTypes::RequiredMultiple(_, _) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 397 | ValueTypes::OptionalSingle(_) | ValueTypes::OptionalMultiple(_, _) => { [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 410 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserved_option` [INFO] [stdout] --> src/option_parser/input_parser.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | if let Some(preserved_option) = command.get_preserved_option(arg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserved_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "2f119d2010db0e31e8939cce9730d880dc04454cb86a9c14de10a5b26a322459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f119d2010db0e31e8939cce9730d880dc04454cb86a9c14de10a5b26a322459", kill_on_drop: false }` [INFO] [stdout] 2f119d2010db0e31e8939cce9730d880dc04454cb86a9c14de10a5b26a322459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11e73ba5b9f245dbb9436da75b694e7dfa8f8a402564866a1a461fff23d61d7f [INFO] running `Command { std: "docker" "start" "-a" "11e73ba5b9f245dbb9436da75b694e7dfa8f8a402564866a1a461fff23d61d7f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/command.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::command::FliCommand` [INFO] [stderr] --> src/error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::command::FliCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::default` [INFO] [stderr] --> src/option_parser/input_parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::default; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:307:23 [INFO] [stderr] | [INFO] [stderr] 307 | pub fn with_debug(mut self) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/app.rs:321:14 [INFO] [stderr] | [INFO] [stderr] 321 | |data| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> src/command.rs:378:17 [INFO] [stderr] | [INFO] [stderr] 378 | let prefix = basic.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/command.rs:817:13 [INFO] [stderr] | [INFO] [stderr] 817 | let mut chain_iter = chain.iter(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chain_iter` [INFO] [stderr] --> src/command.rs:817:13 [INFO] [stderr] | [INFO] [stderr] 817 | let mut chain_iter = chain.iter(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_iter` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/option_parser/input_parser.rs:410:17 [INFO] [stderr] | [INFO] [stderr] 410 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/option_parser/input_parser.rs:410:17 [INFO] [stderr] | [INFO] [stderr] 394 | ValueTypes::RequiredSingle(_) | ValueTypes::RequiredMultiple(_, _) => { [INFO] [stderr] | ------------------------------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 397 | ValueTypes::OptionalSingle(_) | ValueTypes::OptionalMultiple(_, _) => { [INFO] [stderr] | ------------------------------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 410 | _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `preserved_option` [INFO] [stderr] --> src/option_parser/input_parser.rs:320:25 [INFO] [stderr] | [INFO] [stderr] 320 | if let Some(preserved_option) = command.get_preserved_option(arg) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserved_option` [INFO] [stderr] [INFO] [stderr] warning: `fli` (lib test) generated 11 warnings (run `cargo fix --lib -p fli --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fli-2c0ee3c4bd0b338e) [INFO] [stdout] [INFO] [stdout] running 184 tests [INFO] [stdout] test tests::app_test::test_add_command ... ok [INFO] [stdout] test tests::app_test::test_add_debug_option ... ok [INFO] [stdout] test tests::app_test::test_app_clone_fields ... ok [INFO] [stdout] test tests::app_test::test_command_method ... ok [INFO] [stdout] test tests::app_test::test_add_option_to_app ... ok [INFO] [stdout] test tests::app_test::test_command_chaining ... ok [INFO] [stdout] test tests::app_test::test_add_multiple_options ... ok [INFO] [stdout] test tests::app_test::test_command_with_options ... ok [INFO] [stdout] test tests::app_test::test_fli_new ... ok [INFO] [stdout] test tests::app_test::test_mark_inheritable_using_long_flag ... ok [INFO] [stdout] test tests::app_test::test_inheritable_options_with_values ... ok [INFO] [stdout] test tests::app_test::test_inherited_options_dont_affect_parent ... ok [INFO] [stdout] test tests::app_test::test_mark_inheritable_many_with_invalid_option ... ok [INFO] [stdout] test tests::app_test::test_mark_inheritable_nonexistent_option ... ok [INFO] [stdout] test tests::app_test::test_mark_inheritable_single_option ... ok [INFO] [stdout] test tests::app_test::test_nested_commands ... ok [INFO] [stdout] test tests::app_test::test_multiple_commands ... ok [INFO] [stdout] test tests::app_test::test_multiple_subcommands_inherit_same_options ... ok [INFO] [stdout] test tests::app_test::test_subcommand_can_override_inherited_option ... ok [INFO] [stdout] test tests::app_test::test_subcommand_inherits_options ... ok [INFO] [stdout] test tests::app_test::test_with_debug ... ok [INFO] [stdout] test tests::command_test::test_add_option_to_command ... ok [INFO] [stdout] test tests::command_test::test_add_sub_command ... ok [INFO] [stdout] test tests::command_test::test_callback_data_creation ... ok [INFO] [stdout] test tests::command_test::test_callback_data_get_option_value ... ok [INFO] [stdout] test tests::command_test::test_callback_data_get_option_with_dash ... ok [INFO] [stdout] test tests::command_test::test_command_clone ... ok [INFO] [stdout] test tests::command_test::test_command_with_parser_constructor ... ok [INFO] [stdout] test tests::command_test::test_fli_command_creation ... ok [INFO] [stdout] test tests::command_test::test_get_nonexistent_sub_command ... ok [INFO] [stdout] test tests::command_test::test_get_sub_command ... ok [INFO] [stdout] test tests::app_test::test_mark_inheritable_many_options ... ok [INFO] [stdout] test tests::app_test::test_root_command_has_no_name ... ok [INFO] [stdout] test tests::command_test::test_inheritable_options_builder_creates_independent_copy ... ok [INFO] [stdout] test tests::command_test::test_has_sub_command ... ok [INFO] [stdout] test tests::command_test::test_inheritable_options_with_default_values ... ok [INFO] [stdout] test tests::command_test::test_mark_inheritable_many_mixed_flags ... ok [INFO] [stdout] test tests::command_test::test_nested_subcommands_inherit_options ... ok [INFO] [stdout] test tests::command_test::test_mark_inheritable_with_long_flag ... ok [INFO] [stdout] test tests::command_test::test_mark_nonexistent_option_as_inheritable ... ok [INFO] [stdout] test tests::command_test::test_multiple_options ... ok [INFO] [stdout] test tests::command_test::test_nested_subcommands ... ok [INFO] [stdout] test tests::command_test::test_subcommand_adds_help_flag_to_inherited_options ... ok [INFO] [stdout] test tests::command_test::test_subcommand_inherits_only_marked_options ... ok [INFO] [stdout] test tests::command_test::test_subcommand_inherits_parent_options ... ok [INFO] [stdout] test tests::display_test::test_debug_enabled_default ... ok [INFO] [stdout] test tests::display_test::test_debug_struct_when_disabled ... ok [INFO] [stdout] test tests::display_test::test_disable_debug ... ok [INFO] [stdout] test tests::display_test::test_table_style_clone ... ok [INFO] [stdout] test tests::display_test::test_debug_print_when_disabled ... ok [INFO] [stdout] test tests::error_test::test_command_mismatch_error ... ok [INFO] [stdout] test tests::display_test::test_debug_print_when_enabled ... ok [INFO] [stdout] test tests::display_test::test_debug_struct_when_enabled ... ok [INFO] [stdout] test tests::display_test::test_debug_toggle ... ok [INFO] [stdout] test tests::display_test::test_enable_debug ... ok [INFO] [stdout] test tests::display_test::test_table_style_custom ... ok [INFO] [stdout] test tests::display_test::test_table_style_default ... ok [INFO] [stdout] test tests::error_test::test_error_helper_functions ... ok [INFO] [stdout] test tests::error_test::test_invalid_value_error ... ok [INFO] [stdout] test tests::error_test::test_parser_not_prepared_error ... ok [INFO] [stdout] test tests::error_test::test_unknown_command_error ... ok [INFO] [stdout] test tests::error_test::test_internal_error ... ok [INFO] [stdout] test tests::fli_test::test_can_create_fli_app ... ok [INFO] [stdout] test tests::error_test::test_invalid_flag_format_error ... ok [INFO] [stdout] test tests::error_test::test_missing_value_error ... ok [INFO] [stdout] test tests::error_test::test_option_not_found_error ... ok [INFO] [stdout] test tests::error_test::test_unexpected_value_error ... ok [INFO] [stdout] test tests::error_test::test_unknown_option_error ... ok [INFO] [stdout] test tests::error_test::test_value_count_mismatch_error ... ok [INFO] [stdout] test tests::fli_test::test_levenshtein_distance ... ok [INFO] [stdout] test tests::input_parser_test::test_equals_syntax_long_option ... ok [INFO] [stdout] test tests::input_parser_test::test_get_command_chain_vs_parsed_chain ... ok [INFO] [stdout] test tests::input_parser_test::test_complex_command_chain ... ok [INFO] [stdout] test tests::input_parser_test::test_double_dash_separator ... ok [INFO] [stdout] test tests::input_parser_test::test_empty_args ... ok [INFO] [stdout] test tests::input_parser_test::test_flag_not_passed_but_option_exists ... ok [INFO] [stdout] test tests::input_parser_test::test_flag_passed_option_exists ... ok [INFO] [stdout] test tests::input_parser_test::test_flags_before_arguments ... ok [INFO] [stdout] test tests::input_parser_test::test_help_flag_as_preserved_option ... ok [INFO] [stdout] test tests::input_parser_test::test_long_flag_option ... ok [INFO] [stdout] test tests::input_parser_test::test_multiple_options_with_values ... ok [INFO] [stdout] test tests::input_parser_test::test_option_not_passed_results_in_empty_chain ... ok [INFO] [stdout] test tests::input_parser_test::test_long_option_with_value ... ok [INFO] [stdout] test tests::input_parser_test::test_missing_required_value ... ok [INFO] [stdout] test tests::input_parser_test::test_multiple_flags ... ok [INFO] [stdout] test tests::input_parser_test::test_multiple_value_option ... ok [INFO] [stdout] test tests::input_parser_test::test_numeric_option_parsing ... ok [INFO] [stdout] test tests::input_parser_test::test_only_chain_can_distinguish_flag_usage ... ok [INFO] [stdout] test tests::input_parser_test::test_option_with_value ... ok [INFO] [stdout] test tests::input_parser_test::test_option_with_value_and_arguments ... ok [INFO] [stdout] test tests::input_parser_test::test_root_option_before_subcommand ... ok [INFO] [stdout] test tests::input_parser_test::test_parser_not_prepared ... ok [INFO] [stdout] test tests::input_parser_test::test_unknown_option ... ok [INFO] [stdout] test tests::input_parser_test::test_parser_prepared_multiple_times ... ok [INFO] [stdout] test tests::input_parser_test::test_positional_arguments ... ok [INFO] [stdout] test tests::input_parser_test::test_short_option_clustering ... ok [INFO] [stdout] test tests::input_parser_test::test_single_flag_option ... ok [INFO] [stdout] test tests::input_parser_test::test_subcommand_parsing ... ok [INFO] [stdout] test tests::input_parser_test::test_subcommand_with_options ... ok [INFO] [stdout] test tests::input_parser_test::test_valuetypes_none_design_question ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_empty_input ... ok [INFO] [stdout] test tests::lib_test::test_add ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_case_sensitive ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_close_match ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_exact_match ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_limit ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_threshold ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_empty_strings ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_identical ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_multiple_matches ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_no_match ... ok [INFO] [stdout] test tests::lib_test::test_find_similar_single_option ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_complete_change ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_deletion ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_examples ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_insertion ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_single_char_diff ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_can_add_options ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_multiple_calls ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_distance_transposition ... ok [INFO] [stdout] test tests::lib_test::test_levenshtein_unicode ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_can_add_commands ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_description ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_macro ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_name ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_returns_fli ... ok [INFO] [stdout] test tests::macros_test::test_init_fli_from_toml_version ... ok [INFO] [stdout] test tests::option_parser_test::test_builder_pattern ... ok [INFO] [stdout] test tests::option_parser_test::test_get_option_by_long_flag ... ok [INFO] [stdout] test tests::option_parser_test::test_get_option_by_short_flag ... ok [INFO] [stdout] test tests::option_parser_test::test_multiple_options_different_flags ... ok [INFO] [stdout] test tests::option_parser_test::test_single_option_creation ... ok [INFO] [stdout] test tests::option_parser_test::test_add_option ... ok [INFO] [stdout] test tests::option_parser_test::test_builder_chaining ... ok [INFO] [stdout] test tests::option_parser_test::test_command_options_parser_new ... ok [INFO] [stdout] test tests::option_parser_test::test_get_option_expected_value_type ... ok [INFO] [stdout] test tests::option_parser_test::test_has_option ... ok [INFO] [stdout] test tests::option_parser_test::test_update_nonexistent_option ... ok [INFO] [stdout] test tests::option_parser_test::test_update_option_value ... ok [INFO] [stdout] test tests::value_types_test::test_as_str_with_optional_single ... ok [INFO] [stdout] test tests::value_types_test::test_as_strings_filters_non_strings ... ok [INFO] [stdout] test tests::value_types_test::test_as_strings_with_optional_multiple ... ok [INFO] [stdout] test tests::value_types_test::test_as_strings_with_single ... ok [INFO] [stdout] test tests::value_types_test::test_as_str_with_int ... ok [INFO] [stdout] test tests::value_types_test::test_as_str_with_none ... ok [INFO] [stdout] test tests::value_types_test::test_as_str_with_required_single ... ok [INFO] [stdout] test tests::value_types_test::test_as_strings_with_none ... ok [INFO] [stdout] test tests::value_types_test::test_as_strings_with_required_multiple ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_bool ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_float ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_int ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_preserves_template ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_string ... ok [INFO] [stdout] test tests::value_types_test::test_replace_bool_value_failure ... ok [INFO] [stdout] test tests::value_types_test::test_replace_bool_value_false_variants ... ok [INFO] [stdout] test tests::value_types_test::test_replace_bool_value_invalid_number ... ok [INFO] [stdout] test tests::value_types_test::test_from_str_with_type_int_failure ... ok [INFO] [stdout] test tests::value_types_test::test_replace_bool_value_true_variants ... ok [INFO] [stdout] test tests::value_types_test::test_replace_int_value_failure ... ok [INFO] [stdout] test tests::value_types_test::test_replace_float_value_failure ... ok [INFO] [stdout] test tests::value_types_test::test_replace_float_value_integer_string ... ok [INFO] [stdout] test tests::value_types_test::test_replace_float_value_negative ... ok [INFO] [stdout] test tests::value_types_test::test_replace_float_value_scientific ... ok [INFO] [stdout] test tests::value_types_test::test_replace_float_value_success ... ok [INFO] [stdout] test tests::value_types_test::test_replace_int_value_float_string ... ok [INFO] [stdout] test tests::value_types_test::test_replace_int_value_success ... ok [INFO] [stdout] test tests::value_types_test::test_value_bool_creation ... ok [INFO] [stdout] test tests::value_types_test::test_value_equality_same_type ... ok [INFO] [stdout] test tests::value_types_test::test_value_inequality_different_types ... ok [INFO] [stdout] test tests::value_types_test::test_replace_int_value_large ... ok [INFO] [stdout] test tests::value_types_test::test_replace_int_value_negative ... ok [INFO] [stdout] test tests::value_types_test::test_replace_string_value ... ok [INFO] [stdout] test tests::value_types_test::test_value_clone ... ok [INFO] [stdout] test tests::value_types_test::test_value_float_creation ... ok [INFO] [stdout] test tests::value_types_test::test_value_inequality_different_values ... ok [INFO] [stdout] test tests::value_types_test::test_value_int_creation ... ok [INFO] [stdout] test tests::value_types_test::test_value_str_creation ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_clone ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_optional_multiple_expects_value ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_optional_single_expects_value ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_required_multiple_expects_value ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_required_single_expects_value ... ok [INFO] [stdout] test tests::option_parser_test::test_parser_clone ... ok [INFO] [stdout] test tests::value_types_test::test_value_types_none_expects_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 184 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11e73ba5b9f245dbb9436da75b694e7dfa8f8a402564866a1a461fff23d61d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e73ba5b9f245dbb9436da75b694e7dfa8f8a402564866a1a461fff23d61d7f", kill_on_drop: false }` [INFO] [stdout] 11e73ba5b9f245dbb9436da75b694e7dfa8f8a402564866a1a461fff23d61d7f