[INFO] fetching crate bpaf 0.9.20... [INFO] testing bpaf-0.9.20 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bpaf 0.9.20 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bpaf 0.9.20 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 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 394642f7fa4c9e143ec633e117389b10bb513424714230e8e727a9573d39779b [INFO] running `Command { std: "docker" "start" "-a" "394642f7fa4c9e143ec633e117389b10bb513424714230e8e727a9573d39779b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394642f7fa4c9e143ec633e117389b10bb513424714230e8e727a9573d39779b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394642f7fa4c9e143ec633e117389b10bb513424714230e8e727a9573d39779b", kill_on_drop: false }` [INFO] [stdout] 394642f7fa4c9e143ec633e117389b10bb513424714230e8e727a9573d39779b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4907d2a620901a1adc8b8f57c728c735002cc5de610db6e4fd88172cfc19af07 [INFO] running `Command { std: "docker" "start" "-a" "4907d2a620901a1adc8b8f57c728c735002cc5de610db6e4fd88172cfc19af07", 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.43s [INFO] running `Command { std: "docker" "inspect" "4907d2a620901a1adc8b8f57c728c735002cc5de610db6e4fd88172cfc19af07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4907d2a620901a1adc8b8f57c728c735002cc5de610db6e4fd88172cfc19af07", kill_on_drop: false }` [INFO] [stdout] 4907d2a620901a1adc8b8f57c728c735002cc5de610db6e4fd88172cfc19af07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 026357bf74ae56f2e95eeb510f9cca01d95822b3f435102a1427bc8d3a77beb2 [INFO] running `Command { std: "docker" "start" "-a" "026357bf74ae56f2e95eeb510f9cca01d95822b3f435102a1427bc8d3a77beb2", kill_on_drop: false }` [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] Compiling bpaf v0.9.20 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/many_comma_separated_args_derive.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/many_comma_separated_args_derive.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[bpaf( [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[E0425]: cannot find function `opts` in this scope [INFO] [stdout] --> examples/many_comma_separated_args_derive.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | println!("{:?}", opts().to_options().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] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/shared_args.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/shared_args.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bpaf::ShellComp` [INFO] [stdout] --> examples/filenames.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use bpaf::{positional, Parser, ShellComp}; [INFO] [stdout] | ^^^^^^^^^ no `ShellComp` in the root [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[E0425]: cannot find function `action` in this scope [INFO] [stdout] --> examples/shared_args.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let action = action().map(Command::Action); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "many_comma_separated_args_derive") due to 3 previous errors [INFO] [stdout] error[E0425]: cannot find function `build` in this scope [INFO] [stdout] --> examples/shared_args.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let build = build().map(Command::Build); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `complete_shell` found for struct `ParsePositional` in the current scope [INFO] [stdout] --> examples/filenames.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | let parser = positional::("FILE") [INFO] [stdout] | __________________- [INFO] [stdout] 10 | | .complete_shell(ShellComp::File { [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `ParsePositional` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "filenames") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "shared_args") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive-smart-pointer") due to 5 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "positional_derive") due to 5 previous errors [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/derive-smart-pointer.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/positional_derive.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive-smart-pointer.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[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-smart-pointer.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[bpaf(argument::("NAME"), map(Box::from))] [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-smart-pointer.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[bpaf(positional::("COIN"), many, map(Arc::from))] [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/positional_derive.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[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/positional_derive.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[bpaf(argument("VAL"), fallback(42))] [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/positional_derive.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[bpaf(positional("FILE"))] [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[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> examples/derive-smart-pointer.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let xs = options().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] [stdout] error[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> examples/positional_derive.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let opts = options().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] [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: 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: 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[E0432]: unresolved import `bpaf::Bpaf` [INFO] [stdout] --> examples/derive_this_or_that.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bpaf::Bpaf; [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] [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: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive_this_or_that.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[bpaf(options, fallback(Opts::Undecided))] [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_this_or_that.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[bpaf(skip)] [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] 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] 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] 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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opts` in this scope [INFO] [stdout] --> examples/derive_this_or_that.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | println!("{:?}", opts().run()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "very_custom_usage") due to 7 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive_this_or_that") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "026357bf74ae56f2e95eeb510f9cca01d95822b3f435102a1427bc8d3a77beb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026357bf74ae56f2e95eeb510f9cca01d95822b3f435102a1427bc8d3a77beb2", kill_on_drop: false }` [INFO] [stdout] 026357bf74ae56f2e95eeb510f9cca01d95822b3f435102a1427bc8d3a77beb2