[INFO] fetching crate bpaf 0.9.19... [INFO] checking bpaf-0.9.19 against master#8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 for pr-133502-5 [INFO] extracting crate bpaf 0.9.19 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bpaf 0.9.19 on toolchain 8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "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-7-tc1/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" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded bpaf_derive v0.5.17 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a2d25b25383661e1d2262b16fe271a136ce54ddaa28168f1dca841cdbcf0ec [INFO] running `Command { std: "docker" "start" "-a" "f6a2d25b25383661e1d2262b16fe271a136ce54ddaa28168f1dca841cdbcf0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a2d25b25383661e1d2262b16fe271a136ce54ddaa28168f1dca841cdbcf0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a2d25b25383661e1d2262b16fe271a136ce54ddaa28168f1dca841cdbcf0ec", kill_on_drop: false }` [INFO] [stdout] f6a2d25b25383661e1d2262b16fe271a136ce54ddaa28168f1dca841cdbcf0ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6cc2d92e5111eafa15a86e5b2d6c540fb968c854c00b922ca2d322ad75c9c9 [INFO] running `Command { std: "docker" "start" "-a" "8d6cc2d92e5111eafa15a86e5b2d6c540fb968c854c00b922ca2d322ad75c9c9", 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] 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] [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[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_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.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: 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[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[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] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/env_logger.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/env_logger.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[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 E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "sensors") due to 1 previous error [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/env_logger.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[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[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/env_logger.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[bpaf(fallback(3))] [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[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/derive-smart-pointer.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | #[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] 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[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-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] [stderr] error: could not compile `bpaf` (example "basic") due to 4 previous errors [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] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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[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[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> examples/env_logger.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | println!("{:#?}", 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 "filenames") due to 2 previous errors [INFO] [stderr] error: could not compile `bpaf` (example "env_logger") due to 5 previous errors [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/dynamic.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Bool(bool), [INFO] [stdout] 7 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/dynamic.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Number(usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Number(usize), [INFO] [stdout] 8 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/dynamic.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - String(String), [INFO] [stdout] 9 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive_show_asm") due to 18 previous errors [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] [stderr] error: could not compile `bpaf` (example "csample") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "derive-smart-pointer") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8d6cc2d92e5111eafa15a86e5b2d6c540fb968c854c00b922ca2d322ad75c9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6cc2d92e5111eafa15a86e5b2d6c540fb968c854c00b922ca2d322ad75c9c9", kill_on_drop: false }` [INFO] [stdout] 8d6cc2d92e5111eafa15a86e5b2d6c540fb968c854c00b922ca2d322ad75c9c9