[INFO] cloning repository https://github.com/arcanis/clipanion-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arcanis/clipanion-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcanis%2Fclipanion-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcanis%2Fclipanion-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85dba1d6998584e468889994ac9820a4bd254362 [INFO] building arcanis/clipanion-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcanis%2Fclipanion-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arcanis/clipanion-rs [INFO] finished tweaking git repo https://github.com/arcanis/clipanion-rs [INFO] tweaked toml for git repo https://github.com/arcanis/clipanion-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arcanis/clipanion-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arcanis/clipanion-rs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v2.0.7 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.63 [INFO] [stderr] Downloaded redox_syscall v0.5.11 [INFO] [stderr] Downloaded thiserror v1.0.63 [INFO] [stderr] Downloaded miniz_oxide v0.8.8 [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded proc-macro2 v1.0.92 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] [stderr] Downloaded rand_seeder v0.4.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.7 [INFO] [stderr] Downloaded autocfg v1.3.0 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded regex-syntax v0.8.4 [INFO] [stderr] Downloaded regex v1.10.6 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded regex-automata v0.4.7 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d989006313acb739416ff6de9bf8dd1460bbe3bfe8c1ece814dd59a3426eb2 [INFO] running `Command { std: "docker" "start" "-a" "38d989006313acb739416ff6de9bf8dd1460bbe3bfe8c1ece814dd59a3426eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d989006313acb739416ff6de9bf8dd1460bbe3bfe8c1ece814dd59a3426eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d989006313acb739416ff6de9bf8dd1460bbe3bfe8c1ece814dd59a3426eb2", kill_on_drop: false }` [INFO] [stdout] 38d989006313acb739416ff6de9bf8dd1460bbe3bfe8c1ece814dd59a3426eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b243d92758b87ec5684c4b4831993db018f2ac3f20b651ab42403073e31103b8 [INFO] running `Command { std: "docker" "start" "-a" "b243d92758b87ec5684c4b4831993db018f2ac3f20b651ab42403073e31103b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling clipanion-derive v0.8.1 (/opt/rustwide/workdir/packages/clipanion-derive) [INFO] [stderr] Compiling clipanion-core v0.8.1 (/opt/rustwide/workdir/packages/clipanion-core) [INFO] [stderr] Compiling clipanion v0.8.1 (/opt/rustwide/workdir/packages/clipanion) [INFO] [stderr] Compiling clipanion-demo v0.1.0 (/opt/rustwide/workdir/packages/clipanion-demo) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let x = COMMAND_SPEC.deref(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorList` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | ColorList, [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorList` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | struct ColorList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cp` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | Cp, [INFO] [stdout] | ^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Cp` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | struct Cp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Grep` is more private than the item `MyCliEnum::_Variant3::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | Grep, [INFO] [stdout] | ^^^^ field `MyCliEnum::_Variant3::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Grep` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | struct Grep { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Ssh` is more private than the item `MyCliEnum::_Variant4::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | Ssh, [INFO] [stdout] | ^^^ field `MyCliEnum::_Variant4::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Ssh` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct Ssh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unimplemented` is more private than the item `MyCliEnum::_Variant5::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ field `MyCliEnum::_Variant5::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Unimplemented` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | struct Unimplemented {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnInstall` is more private than the item `MyCliEnum::_Variant6::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | YarnInstall, [INFO] [stdout] | ^^^^^^^^^^^ field `MyCliEnum::_Variant6::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnInstall` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | struct YarnInstall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnRun` is more private than the item `MyCliEnum::_Variant7::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | YarnRun, [INFO] [stdout] | ^^^^^^^ field `MyCliEnum::_Variant7::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnRun` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | struct YarnRun { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnRunDefault` is more private than the item `MyCliEnum::_Variant8::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | YarnRunDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `MyCliEnum::_Variant8::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnRunDefault` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | struct YarnRunDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | struct HexColor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub r: u8, [INFO] [stdout] | ^ [INFO] [stdout] 14 | pub g: u8, [INFO] [stdout] | ^ [INFO] [stdout] 15 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `HexColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Foo {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn foo() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.32s [INFO] running `Command { std: "docker" "inspect" "b243d92758b87ec5684c4b4831993db018f2ac3f20b651ab42403073e31103b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b243d92758b87ec5684c4b4831993db018f2ac3f20b651ab42403073e31103b8", kill_on_drop: false }` [INFO] [stdout] b243d92758b87ec5684c4b4831993db018f2ac3f20b651ab42403073e31103b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3606aabc8918fd36dd9163ae1e27d034cbcbb57518080762b50bc9f1d5cc15d3 [INFO] running `Command { std: "docker" "start" "-a" "3606aabc8918fd36dd9163ae1e27d034cbcbb57518080762b50bc9f1d5cc15d3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling clipanion-derive v0.8.1 (/opt/rustwide/workdir/packages/clipanion-derive) [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_seeder v0.4.0 [INFO] [stderr] Compiling clipanion v0.8.1 (/opt/rustwide/workdir/packages/clipanion) [INFO] [stderr] Compiling clipanion-demo v0.1.0 (/opt/rustwide/workdir/packages/clipanion-demo) [INFO] [stdout] warning: unused import: `test_cli_success` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_hydration_error_with_default.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use clipanion::{prelude::*, program, test_cli_failure, test_cli_success, CommandError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_empty.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_empty.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_prefix_no_path.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_prefix_no_path.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_required_and_proxy.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_required_and_proxy.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_optional_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_optional_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_optional_positional.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_optional_positional.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_prefix_small_path.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_prefix_small_path.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyFooCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_path_commands.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | program!(MyCli, [MyFooCommand, MyBarCommand]); [INFO] [stdout] | ^^^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyFooCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_path_commands.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyFooCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyBarCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_path_commands.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | program!(MyCli, [MyFooCommand, MyBarCommand]); [INFO] [stdout] | ^^^^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyBarCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_path_commands.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyBarCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyProxyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_proxy_and_default.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyProxyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_proxy_and_default.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyProxyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_proxy_and_default.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_proxy_and_default.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct MyCommand {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_simple_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_simple_path.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyCommand {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_tolerate_boolean.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_tolerate_boolean.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_proxy.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_proxy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_required_and_rest.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_required_and_rest.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyProxyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_hydration_error_with_default.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyProxyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_hydration_error_with_default.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyProxyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_hydration_error_with_default.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_hydration_error_with_default.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_bool_options.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_bool_options.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let x = COMMAND_SPEC.deref(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_long_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_long_path.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyCommand {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorList` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | ColorList, [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorList` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | struct ColorList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cp` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | Cp, [INFO] [stdout] | ^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Cp` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | struct Cp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Grep` is more private than the item `MyCliEnum::_Variant3::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | Grep, [INFO] [stdout] | ^^^^ field `MyCliEnum::_Variant3::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Grep` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | struct Grep { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Ssh` is more private than the item `MyCliEnum::_Variant4::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | Ssh, [INFO] [stdout] | ^^^ field `MyCliEnum::_Variant4::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Ssh` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct Ssh { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unimplemented` is more private than the item `MyCliEnum::_Variant5::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Unimplemented, [INFO] [stdout] | ^^^^^^^^^^^^^ field `MyCliEnum::_Variant5::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Unimplemented` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | struct Unimplemented {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnInstall` is more private than the item `MyCliEnum::_Variant6::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | YarnInstall, [INFO] [stdout] | ^^^^^^^^^^^ field `MyCliEnum::_Variant6::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnInstall` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | struct YarnInstall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnRun` is more private than the item `MyCliEnum::_Variant7::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | YarnRun, [INFO] [stdout] | ^^^^^^^ field `MyCliEnum::_Variant7::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnRun` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | struct YarnRun { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YarnRunDefault` is more private than the item `MyCliEnum::_Variant8::0` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | YarnRunDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^ field `MyCliEnum::_Variant8::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `YarnRunDefault` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | struct YarnRunDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | struct HexColor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub r: u8, [INFO] [stdout] | ^ [INFO] [stdout] 14 | pub g: u8, [INFO] [stdout] | ^ [INFO] [stdout] 15 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `HexColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Foo {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> packages/clipanion-demo/src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn foo() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_optional_and_proxy.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_optional_and_proxy.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_vec_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_vec_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyProxyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_default_and_path.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyProxyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_default_and_path.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyProxyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_default_and_path.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | program!(MyCli, [MyProxyCommand, MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_two_commands_default_and_path.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_default_bool_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_default_bool_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_double_dash.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_double_dash.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_vec_tuple_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_vec_tuple_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_path_and_options.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_path_and_options.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FooCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_complex_arg.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | program!(MyCli, [FooCommand, BarCommand]); [INFO] [stdout] | ^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FooCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_complex_arg.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | struct FooCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BarCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_complex_arg.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | program!(MyCli, [FooCommand, BarCommand]); [INFO] [stdout] | ^^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BarCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_overlapping_complex_arg.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct BarCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_aliases.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_aliases.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyCommand {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `test_cli_failure` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use clipanion::{prelude::*, program, test_cli_failure, test_cli_success, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_complex_arg_type.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_complex_arg_type.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_complex_tuple_vector_type.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_complex_tuple_vector_type.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FooCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | program!(MyCli, [FooCommand, BazCommand, BarCommand]); [INFO] [stdout] | ^^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FooCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct FooCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BazCommand` is more private than the item `MyCliEnum::_Variant2::0` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | program!(MyCli, [FooCommand, BazCommand, BarCommand]); [INFO] [stdout] | ^^^^^^^^^^ field `MyCliEnum::_Variant2::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BazCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct BazCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BarCommand` is more private than the item `MyCliEnum::_Variant3::0` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | program!(MyCli, [FooCommand, BazCommand, BarCommand]); [INFO] [stdout] | ^^^^^^^^^^ field `MyCliEnum::_Variant3::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BarCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_select_path.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct BarCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_required_bool_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_required_bool_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_required_arg.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_required_arg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyCommand` is more private than the item `MyCliEnum::_Variant1::0` [INFO] [stdout] --> packages/clipanion/tests/command_tuple_option.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | program!(MyCli, [MyCommand]); [INFO] [stdout] | ^^^^^^^^^ field `MyCliEnum::_Variant1::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MyCommand` is only usable at visibility `pub(crate)` [INFO] [stdout] --> packages/clipanion/tests/command_tuple_option.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clipanion-core v0.8.1 (/opt/rustwide/workdir/packages/clipanion-core) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.60s [INFO] running `Command { std: "docker" "inspect" "3606aabc8918fd36dd9163ae1e27d034cbcbb57518080762b50bc9f1d5cc15d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3606aabc8918fd36dd9163ae1e27d034cbcbb57518080762b50bc9f1d5cc15d3", kill_on_drop: false }` [INFO] [stdout] 3606aabc8918fd36dd9163ae1e27d034cbcbb57518080762b50bc9f1d5cc15d3