[INFO] fetching crate interactive-clap 0.3.1... [INFO] checking interactive-clap-0.3.1 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate interactive-clap 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate interactive-clap 0.3.1 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate interactive-clap 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate interactive-clap 0.3.1 [INFO] tweaked toml for crates.io crate interactive-clap 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate interactive-clap 0.3.1 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d709d9fb0c386d73745c7e429a0d1ec8346a45c7023063ff36e8bbb2c46ed351 [INFO] running `Command { std: "docker" "start" "-a" "d709d9fb0c386d73745c7e429a0d1ec8346a45c7023063ff36e8bbb2c46ed351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d709d9fb0c386d73745c7e429a0d1ec8346a45c7023063ff36e8bbb2c46ed351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d709d9fb0c386d73745c7e429a0d1ec8346a45c7023063ff36e8bbb2c46ed351", kill_on_drop: false }` [INFO] [stdout] d709d9fb0c386d73745c7e429a0d1ec8346a45c7023063ff36e8bbb2c46ed351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33de316e375a030d68fb0e7fa71d7915c4f95778b209a9d1322798bd9f104d3f [INFO] running `Command { std: "docker" "start" "-a" "33de316e375a030d68fb0e7fa71d7915c4f95778b209a9d1322798bd9f104d3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling interactive-clap-derive v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking interactive-clap v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stdout] warning: unused variable: `previous_context` [INFO] [stdout] --> examples/struct_with_flatten.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | previous_context: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> examples/struct_with_flatten.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | scope: &::InteractiveClapContextScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> examples/struct_with_flatten.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 102 | interactive_clap::ResultFromCli::Cancel(option_cli_field) => { [INFO] [stdout] | --------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 106 | interactive_clap::ResultFromCli::Cancel(option_cli_field) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_context` [INFO] [stdout] --> examples/struct_with_flatten.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let output_context = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `build_command_args` is never read [INFO] [stdout] --> examples/struct_with_flatten.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct BuildCommandlContext { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 163 | build_command_args: BuildCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildCommandlContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `()` to `()` [INFO] [stdout] --> examples/struct_with_flatten.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | context.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interactive-clap` (example "struct_with_flatten") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "33de316e375a030d68fb0e7fa71d7915c4f95778b209a9d1322798bd9f104d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33de316e375a030d68fb0e7fa71d7915c4f95778b209a9d1322798bd9f104d3f", kill_on_drop: false }` [INFO] [stdout] 33de316e375a030d68fb0e7fa71d7915c4f95778b209a9d1322798bd9f104d3f