[INFO] fetching crate bpaf 0.9.20... [INFO] checking bpaf-0.9.20 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded bpaf_derive v0.5.17 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6081c970d18b48187b67edda93f6ef11223e4ff4525daa16af4bd52c1161b98 [INFO] running `Command { std: "docker" "start" "-a" "e6081c970d18b48187b67edda93f6ef11223e4ff4525daa16af4bd52c1161b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6081c970d18b48187b67edda93f6ef11223e4ff4525daa16af4bd52c1161b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6081c970d18b48187b67edda93f6ef11223e4ff4525daa16af4bd52c1161b98", kill_on_drop: false }` [INFO] [stdout] e6081c970d18b48187b67edda93f6ef11223e4ff4525daa16af4bd52c1161b98 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92077f1855f2d05f298437fdf0e284be995501958f7c07040a49df125172d297 [INFO] running `Command { std: "docker" "start" "-a" "92077f1855f2d05f298437fdf0e284be995501958f7c07040a49df125172d297", kill_on_drop: false }` [INFO] [stderr] Checking bpaf v0.9.20 (/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: 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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: 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 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] [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] 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: 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: 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] [stderr] error: could not compile `bpaf` (example "positional_derive") due to 5 previous errors [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] 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/fallback_command.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [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: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/fallback_command.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[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/fallback_command.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[bpaf(command)] [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/fallback_command.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Fallback(#[bpaf(external(fallback), hide)] Fallback), [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/fallback_command.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/fallback_command.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[bpaf(positional("COMMAND"))] [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/fallback_command.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[bpaf(any("ARG", Some))] [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/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 "env_logger") due to 5 previous errors [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/simple_dynamic.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bpaf` in this scope [INFO] [stdout] --> examples/simple_dynamic.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[bpaf(fallback(Format::Text))] [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:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Bpaf)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bpaf` in this scope [INFO] [stdout] --> examples/simple_dynamic.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/simple_dynamic.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[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[E0425]: cannot find function `commands` in this scope [INFO] [stdout] --> examples/fallback_command.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let opts = commands().run(); [INFO] [stdout] | ^^^^^^^^ help: a function with a similar name exists: `command` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1407:1 [INFO] [stdout] | [INFO] [stdout] 1407 | / pub fn command(name: &'static str, subparser: OptionParser) -> ParseCommand [INFO] [stdout] 1408 | | where [INFO] [stdout] 1409 | | T: 'static, [INFO] [stdout] | |_______________- similarly named function `command` defined here [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 attribute `bpaf` in this scope [INFO] [stdout] --> examples/simple_dynamic.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[bpaf(long("crate"), argument("NAME"), complete(crates))] [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/simple_dynamic.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[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/simple_dynamic.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[bpaf(positional("URL"))] [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] 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/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[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] [stderr] error: could not compile `bpaf` (example "fallback_command") due to 8 previous errors [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] [stderr] error: could not compile `bpaf` (example "basic") due to 4 previous errors [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] error[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> examples/simple_dynamic.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | 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] [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] [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] [stderr] error: could not compile `bpaf` (example "simple_dynamic") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "92077f1855f2d05f298437fdf0e284be995501958f7c07040a49df125172d297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92077f1855f2d05f298437fdf0e284be995501958f7c07040a49df125172d297", kill_on_drop: false }` [INFO] [stdout] 92077f1855f2d05f298437fdf0e284be995501958f7c07040a49df125172d297