[INFO] cloning repository https://github.com/AfoHT/cfgstruct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AfoHT/cfgstruct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfoHT%2Fcfgstruct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfoHT%2Fcfgstruct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b754ff66c962e54a98f38af34a8c04c2aaf71dc6 [INFO] checking AfoHT/cfgstruct against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfoHT%2Fcfgstruct" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AfoHT/cfgstruct on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AfoHT/cfgstruct [INFO] finished tweaking git repo https://github.com/AfoHT/cfgstruct [INFO] tweaked toml for git repo https://github.com/AfoHT/cfgstruct written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AfoHT/cfgstruct 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8699e12754d7c5c01788fb2f2dc46146f45aeeafe6f0936f361e819d61be5f19 [INFO] running `Command { std: "docker" "start" "-a" "8699e12754d7c5c01788fb2f2dc46146f45aeeafe6f0936f361e819d61be5f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8699e12754d7c5c01788fb2f2dc46146f45aeeafe6f0936f361e819d61be5f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8699e12754d7c5c01788fb2f2dc46146f45aeeafe6f0936f361e819d61be5f19", kill_on_drop: false }` [INFO] [stdout] 8699e12754d7c5c01788fb2f2dc46146f45aeeafe6f0936f361e819d61be5f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78723c8723d4ef0c9d82b7ca5938c0e1e2f70178bee70d72c13254be2d61a2e [INFO] running `Command { std: "docker" "start" "-a" "a78723c8723d4ef0c9d82b7ca5938c0e1e2f70178bee70d72c13254be2d61a2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling cfgstruct-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking cfgstruct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] Input to proc_macro_attribute: [INFO] [stdout] ##################################################### [INFO] [stdout] fn main() [INFO] [stdout] { [INFO] [stdout] let res = LateResources { #[cfg(feature = "feature_x")] x: 0, dummy: () }; [INFO] [stdout] println!("{:#?}", res); #[cfg(feature = "feature_x")] [INFO] [stdout] println!("Hello, world!"); [INFO] [stdout] } [INFO] [stdout] ##################################################### [INFO] [stdout] End of proc macro input. [INFO] [stdout] Input to proc_macro_attribute: [INFO] [stdout] ##################################################### [INFO] [stdout] fn main() [INFO] [stdout] { [INFO] [stdout] let res = LateResources { #[cfg(feature = "feature_x")] x: 0, dummy: () }; [INFO] [stdout] println!("{:#?}", res); #[cfg(feature = "feature_x")] [INFO] [stdout] println!("Hello, world!"); [INFO] [stdout] } [INFO] [stdout] ##################################################### [INFO] [stdout] End of proc macro input. [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct LateResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | dummy: (), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LateResources` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct LateResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | dummy: (), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LateResources` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "a78723c8723d4ef0c9d82b7ca5938c0e1e2f70178bee70d72c13254be2d61a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78723c8723d4ef0c9d82b7ca5938c0e1e2f70178bee70d72c13254be2d61a2e", kill_on_drop: false }` [INFO] [stdout] a78723c8723d4ef0c9d82b7ca5938c0e1e2f70178bee70d72c13254be2d61a2e [INFO] checking AfoHT/cfgstruct against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfoHT%2Fcfgstruct" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AfoHT/cfgstruct on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AfoHT/cfgstruct [INFO] finished tweaking git repo https://github.com/AfoHT/cfgstruct [INFO] tweaked toml for git repo https://github.com/AfoHT/cfgstruct written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AfoHT/cfgstruct 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3869ec5c49a21c972c506a4512b818c65c070703c41174c234c6fe537e7483fe [INFO] running `Command { std: "docker" "start" "-a" "3869ec5c49a21c972c506a4512b818c65c070703c41174c234c6fe537e7483fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3869ec5c49a21c972c506a4512b818c65c070703c41174c234c6fe537e7483fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3869ec5c49a21c972c506a4512b818c65c070703c41174c234c6fe537e7483fe", kill_on_drop: false }` [INFO] [stdout] 3869ec5c49a21c972c506a4512b818c65c070703c41174c234c6fe537e7483fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 841f4deef5399484dd1187d70645f8de500db323e21ae9056d322f0b693ae294 [INFO] running `Command { std: "docker" "start" "-a" "841f4deef5399484dd1187d70645f8de500db323e21ae9056d322f0b693ae294", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling cfgstruct-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking cfgstruct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] Input to proc_macro_attribute: [INFO] [stdout] ##################################################### [INFO] [stdout] fn main() [INFO] [stdout] { [INFO] [stdout] let res = LateResources { #[cfg(feature = "feature_x")] x: 0, dummy: () }; [INFO] [stdout] println!("{:#?}", res); #[cfg(feature = "feature_x")] [INFO] [stdout] println!("Hello, world!"); [INFO] [stdout] } [INFO] [stdout] ##################################################### [INFO] [stdout] End of proc macro input. [INFO] [stdout] Input to proc_macro_attribute: [INFO] [stdout] ##################################################### [INFO] [stdout] fn main() [INFO] [stdout] { [INFO] [stdout] let res = LateResources { #[cfg(feature = "feature_x")] x: 0, dummy: () }; [INFO] [stdout] println!("{:#?}", res); #[cfg(feature = "feature_x")] [INFO] [stdout] println!("Hello, world!"); [INFO] [stdout] } [INFO] [stdout] ##################################################### [INFO] [stdout] End of proc macro input. [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `feature_x` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "feature_x")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `feature_x` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct LateResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | dummy: (), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LateResources` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dummy` is never read [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct LateResources { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | dummy: (), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LateResources` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfgstruct` (bin "cfgstruct" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cfgstruct` (bin "cfgstruct") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "841f4deef5399484dd1187d70645f8de500db323e21ae9056d322f0b693ae294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841f4deef5399484dd1187d70645f8de500db323e21ae9056d322f0b693ae294", kill_on_drop: false }` [INFO] [stdout] 841f4deef5399484dd1187d70645f8de500db323e21ae9056d322f0b693ae294