[INFO] fetching crate bpaf 0.9.19... [INFO] checking bpaf-0.9.19 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate bpaf 0.9.19 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bpaf 0.9.19 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bpaf 0.9.19 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bpaf 0.9.19 [INFO] tweaked toml for crates.io crate bpaf 0.9.19 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate bpaf 0.9.19 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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15c4243ed8a17b5fac54baa576714c5099511d5eb9b194810f788776e2a0b6cd [INFO] running `Command { std: "docker" "start" "-a" "15c4243ed8a17b5fac54baa576714c5099511d5eb9b194810f788776e2a0b6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15c4243ed8a17b5fac54baa576714c5099511d5eb9b194810f788776e2a0b6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c4243ed8a17b5fac54baa576714c5099511d5eb9b194810f788776e2a0b6cd", kill_on_drop: false }` [INFO] [stdout] 15c4243ed8a17b5fac54baa576714c5099511d5eb9b194810f788776e2a0b6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7522e0014e9e83cad8cfa5e9ee33a2d4b8a5f76ffc34c1dbd81e4e4fbda3f15 [INFO] running `Command { std: "docker" "start" "-a" "b7522e0014e9e83cad8cfa5e9ee33a2d4b8a5f76ffc34c1dbd81e4e4fbda3f15", kill_on_drop: false }` [INFO] [stderr] Checking bpaf v0.9.19 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bpaf` [INFO] [stdout] --> src/tests.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use bpaf::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `bpaf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bpaf`, use `cargo add bpaf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `construct` in this scope [INFO] [stdout] --> src/tests.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let parser = construct!(a(short('a').switch()), b(short('b').switch())).to_options(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::construct; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/params.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | help: &Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/params.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | help: &Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] 241 | pub use bpaf_derive::Bpaf; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `bpaf_derive` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "bpaf_derive")] [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] 235 | pub use crate::complete_shell::ShellComp; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `autocomplete` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:234:7 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "autocomplete")] [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] [stderr] error: could not compile `bpaf` (lib test) due to 2 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/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[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[E0432]: unresolved import `bpaf::Bpaf` [INFO] [stdout] --> examples/derive.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use bpaf::{short, Bpaf, Parser}; [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] 241 | pub use bpaf_derive::Bpaf; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `bpaf_derive` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:240:7 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "bpaf_derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/derive.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[bpaf(options, version)] [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.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[bpaf(short, long)] [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.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[bpaf(external(verbose))] [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.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[bpaf(argument("SPEED"), fallback(42.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.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[bpaf(guard(positive, "must be positive"), fallback(1))] [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_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] 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] [stderr] error: could not compile `bpaf` (example "derive_show_asm") due to 19 previous errors [INFO] [stdout] error[E0425]: cannot find function `opts` in this scope [INFO] [stdout] --> examples/derive.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | 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] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [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 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] [stderr] error: could not compile `bpaf` (example "derive") due to 7 previous errors [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] 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[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] 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] For more information about this error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `bpaf` (example "derive-smart-pointer") due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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] [stderr] error: could not compile `bpaf` (example "csample") due to 1 previous error [INFO] [stderr] error: could not compile `bpaf` (example "positional_derive") due to 5 previous errors [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)]` 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] running `Command { std: "docker" "inspect" "b7522e0014e9e83cad8cfa5e9ee33a2d4b8a5f76ffc34c1dbd81e4e4fbda3f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7522e0014e9e83cad8cfa5e9ee33a2d4b8a5f76ffc34c1dbd81e4e4fbda3f15", kill_on_drop: false }` [INFO] [stdout] b7522e0014e9e83cad8cfa5e9ee33a2d4b8a5f76ffc34c1dbd81e4e4fbda3f15