[INFO] fetching crate bpaf 0.9.6... [INFO] checking bpaf-0.9.6 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate bpaf 0.9.6 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bpaf 0.9.6 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bpaf 0.9.6 [INFO] finished tweaking crates.io crate bpaf 0.9.6 [INFO] tweaked toml for crates.io crate bpaf 0.9.6 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate bpaf 0.9.6 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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded supports-color v2.0.0 [INFO] [stderr] Downloaded is-terminal v0.4.8 [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded is_ci v1.1.1 [INFO] [stderr] Downloaded errno v0.3.1 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded unicode-ident v1.0.8 [INFO] [stderr] Downloaded bpaf_derive v0.5.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] [stderr] Downloaded rustix v0.38.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded hermit-abi v0.3.1 [INFO] [stderr] Downloaded bitflags v2.3.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d3b55c862d2a75d040a756cf694c4c5dc027affeb5243f975b59f9a74f81ace [INFO] running `Command { std: "docker" "start" "-a" "2d3b55c862d2a75d040a756cf694c4c5dc027affeb5243f975b59f9a74f81ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d3b55c862d2a75d040a756cf694c4c5dc027affeb5243f975b59f9a74f81ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3b55c862d2a75d040a756cf694c4c5dc027affeb5243f975b59f9a74f81ace", kill_on_drop: false }` [INFO] [stdout] 2d3b55c862d2a75d040a756cf694c4c5dc027affeb5243f975b59f9a74f81ace [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f048d99ebef4bab59ef77cbda84a745a9703740e4ef137a8faac76e1e3c5be44 [INFO] running `Command { std: "docker" "start" "-a" "f048d99ebef4bab59ef77cbda84a745a9703740e4ef137a8faac76e1e3c5be44", kill_on_drop: false }` [INFO] [stderr] Checking bpaf v0.9.6 (/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 undeclared crate or module `bpaf` [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: the item `Metavar` is imported redundantly [INFO] [stdout] --> src/args.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 729 | use super::*; [INFO] [stdout] | -------- the item `Metavar` is already imported here [INFO] [stdout] 730 | use crate::meta_help::Metavar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/params.rs:794:5 [INFO] [stdout] | [INFO] [stdout] 794 | 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:794:5 [INFO] [stdout] | [INFO] [stdout] 794 | 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [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 3 previous errors; 2 warnings emitted [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/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[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:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | pub use bpaf_derive::Bpaf; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `bpaf_derive` feature [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] warning: unused import: `bpaf` [INFO] [stdout] --> examples/many_comma_separated_args_derive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bpaf::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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] 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/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] [stderr] error: could not compile `bpaf` (example "many_comma_separated_args_derive") due to 4 previous errors; 1 warning emitted [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/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] 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] error: aborting due to 7 previous errors [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] [stderr] error: could not compile `bpaf` (example "derive") due to 8 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: `#[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(()), [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] 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(()), [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] 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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bpaf` (example "env_logger") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f048d99ebef4bab59ef77cbda84a745a9703740e4ef137a8faac76e1e3c5be44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f048d99ebef4bab59ef77cbda84a745a9703740e4ef137a8faac76e1e3c5be44", kill_on_drop: false }` [INFO] [stdout] f048d99ebef4bab59ef77cbda84a745a9703740e4ef137a8faac76e1e3c5be44