[INFO] fetching crate bpaf 0.9.20... [INFO] testing bpaf-0.9.20 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bpaf 0.9.20 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bpaf 0.9.20 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bpaf 0.9.20 [INFO] tweaked toml for crates.io crate bpaf 0.9.20 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bpaf 0.9.20 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bpaf 0.9.20 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a27acde67f1039713fe1d0ce2cc51b50988348187ddfc3503e9a9fcf88abb59 [INFO] running `Command { std: "docker" "start" "-a" "6a27acde67f1039713fe1d0ce2cc51b50988348187ddfc3503e9a9fcf88abb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a27acde67f1039713fe1d0ce2cc51b50988348187ddfc3503e9a9fcf88abb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a27acde67f1039713fe1d0ce2cc51b50988348187ddfc3503e9a9fcf88abb59", kill_on_drop: false }` [INFO] [stdout] 6a27acde67f1039713fe1d0ce2cc51b50988348187ddfc3503e9a9fcf88abb59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3edd2b9de4964486de3b1b6034afe21a6c5935030c162f3412362d24210da09c [INFO] running `Command { std: "docker" "start" "-a" "3edd2b9de4964486de3b1b6034afe21a6c5935030c162f3412362d24210da09c", kill_on_drop: false }` [INFO] [stderr] Compiling bpaf v0.9.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer/splitter.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn split(input: &str) -> Splitter { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn split(input: &str) -> Splitter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | fn textual_part(args: &State, ix: Option) -> Option> { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | fn textual_part(args: &State, ix: Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta_help.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn items_of_ty(&self, target: HiTy) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | fn items_of_ty(&self, target: HiTy) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "3edd2b9de4964486de3b1b6034afe21a6c5935030c162f3412362d24210da09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edd2b9de4964486de3b1b6034afe21a6c5935030c162f3412362d24210da09c", kill_on_drop: false }` [INFO] [stdout] 3edd2b9de4964486de3b1b6034afe21a6c5935030c162f3412362d24210da09c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 785dcde1978b7ec4bfdf1cbc0b0596082bf539695c7b2f674ad3548e9da10cc9 [INFO] running `Command { std: "docker" "start" "-a" "785dcde1978b7ec4bfdf1cbc0b0596082bf539695c7b2f674ad3548e9da10cc9", kill_on_drop: false }` [INFO] [stderr] Compiling bpaf v0.9.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer/splitter.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn split(input: &str) -> Splitter { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn split(input: &str) -> Splitter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | fn textual_part(args: &State, ix: Option) -> Option> { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | fn textual_part(args: &State, ix: Option) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/meta_help.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn items_of_ty(&self, target: HiTy) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | fn items_of_ty(&self, target: HiTy) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bpaf::Bpaf`, `bpaf::ShellComp` [INFO] [stdout] --> examples/derive_show_asm.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use bpaf::{construct, long, Bpaf, Parser, ShellComp}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ no `ShellComp` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Bpaf` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "bpaf_derive")] [INFO] [stdout] | ----------------------- the item is gated behind the `bpaf_derive` feature [INFO] [stdout] 241 | pub use bpaf_derive::Bpaf; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "autocomplete")] [INFO] [stdout] | ------------------------ the item is gated behind the `autocomplete` feature [INFO] [stdout] 235 | pub use crate::complete_shell::ShellComp; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[bpaf(options("asm"))] // derives cargo helper for cargo-asm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[bpaf(external(parse_manifest_path))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[bpaf(argument("DIR"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[bpaf(long, short, argument("SPEC"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[bpaf(external, optional)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[bpaf(external)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[bpaf(external, fallback(Syntax::Intel))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[bpaf(external)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[bpaf(positional("FUNCTION"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[bpaf(positional("INDEX"), fallback(0))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[bpaf(external(color_detection))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | #[bpaf(long("test"), argument("TEST"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | #[bpaf(long("bench"), argument("BENCH"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | #[bpaf(long("example"), argument("EXAMPLE"), complete(comp_examples))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | #[bpaf(long("bin"), argument("BIN"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `complete_shell` found for struct `ParseArgument` in the current scope [INFO] [stdout] --> examples/basic.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 43 | let output = short('o') [INFO] [stdout] | __________________- [INFO] [stdout] 44 | | .long("output") [INFO] [stdout] 45 | | .help("output file") [INFO] [stdout] 46 | | .argument::("OUTPUT") // but it's optional when rustc can derive it [INFO] [stdout] 47 | | .complete_shell(ShellComp::File { mask: None }); [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `ParseArgument` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `complete_shell` found for struct `ParseArgument` in the current scope [INFO] [stdout] --> examples/basic.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 60 | let file_to_proces = short('f') [INFO] [stdout] | __________________________- [INFO] [stdout] 61 | | .long("file") [INFO] [stdout] 62 | | .help("File to process") [INFO] [stdout] 63 | | .argument::("FILE") [INFO] [stdout] 64 | | .complete_shell(ShellComp::File { mask: Some("*.rs") }); [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `ParseArgument` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `complete` found for struct `ParseArgument` in the current scope [INFO] [stdout] --> examples/csample.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 18 | let c = long("calculator") [INFO] [stdout] | _____________- [INFO] [stdout] 19 | | .help("calculator expression") [INFO] [stdout] 20 | | .argument::("EXPR") [INFO] [stdout] 21 | | .complete(complete_calculator); [INFO] [stdout] | | -^^^^^^^^ method not found in `ParseArgument` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> examples/confusing.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Complex1(String, i32), [INFO] [stdout] | -------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - Complex1(String, i32), [INFO] [stdout] 17 + Complex1((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> examples/confusing.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Complex2(String, i16), [INFO] [stdout] | -------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 - Complex2(String, i16), [INFO] [stdout] 18 + Complex2((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "csample") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShellComp` [INFO] [stdout] --> examples/basic.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | .complete_shell(ShellComp::File { mask: None }); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ShellComp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShellComp` [INFO] [stdout] --> examples/basic.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | .complete_shell(ShellComp::File { mask: Some("*.rs") }); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ShellComp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `complete_shell` found for struct `ParseArgument` in the current scope [INFO] [stdout] --> examples/derive_show_asm.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 49 | / long("manifest-path") [INFO] [stdout] 50 | | .help("Path to Cargo.toml") [INFO] [stdout] 51 | | .argument::("PATH") [INFO] [stdout] 52 | | .complete_shell(ShellComp::File { [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `ParseArgument` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[bpaf(options)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Cmd(#[bpaf(external(cmd_usage))] Cmd), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/derive_show_asm.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .parse(|p| { [INFO] [stdout] | ^ [INFO] [stdout] 56 | // cargo-metadata wants to see [INFO] [stdout] 57 | if p.is_absolute() { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | .parse(|p: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[bpaf(options)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[bpaf(options("hackerman"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "basic") due to 4 previous errors [INFO] [stdout] error[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> examples/derive_show_asm.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | println!("{:#?}", options().run()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[bpaf(command("explain"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[bpaf(positional("CRATE"))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[bpaf(external(feature_if))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_commands.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[bpaf(external(version_if))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bpaf` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cmd` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | cmd().usage("A very custom usage goes here").command("cmd") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opts` in this scope [INFO] [stdout] --> examples/very_custom_usage.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | println!("{:?}", opts().run()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "very_custom_usage") due to 7 previous errors [INFO] [stderr] error: could not compile `bpaf` (example "derive_show_asm") due to 19 previous errors [INFO] [stdout] error[E0425]: cannot find function `action` in this scope [INFO] [stdout] --> examples/derive_commands.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | println!("{:?}", action().fallback_to_usage().run()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive_commands") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `complete` found for struct `ParseArgument` in the current scope [INFO] [stdout] --> examples/sensors.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 57 | let device = long("sensor-device") [INFO] [stdout] | __________________- [INFO] [stdout] 58 | | .argument::("DEVICE") [INFO] [stdout] 59 | | .complete(sensor_device_comp); [INFO] [stdout] | | -^^^^^^^^ method not found in `ParseArgument` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "sensors") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "785dcde1978b7ec4bfdf1cbc0b0596082bf539695c7b2f674ad3548e9da10cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785dcde1978b7ec4bfdf1cbc0b0596082bf539695c7b2f674ad3548e9da10cc9", kill_on_drop: false }` [INFO] [stdout] 785dcde1978b7ec4bfdf1cbc0b0596082bf539695c7b2f674ad3548e9da10cc9