[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] testing AfoHT/cfgstruct against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfoHT%2Fcfgstruct" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AfoHT/cfgstruct on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c25d1de7c6f0b618c9331c71a3797d20a44f88d49982a85d59672697c5d61e92
[INFO] running `Command { std: "docker" "start" "-a" "c25d1de7c6f0b618c9331c71a3797d20a44f88d49982a85d59672697c5d61e92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c25d1de7c6f0b618c9331c71a3797d20a44f88d49982a85d59672697c5d61e92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c25d1de7c6f0b618c9331c71a3797d20a44f88d49982a85d59672697c5d61e92", kill_on_drop: false }`
[INFO] [stdout] c25d1de7c6f0b618c9331c71a3797d20a44f88d49982a85d59672697c5d61e92
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c59a92d6c0e934ba2e4f9df2e183d65108f248ffc98449bcf8e2cb604063ff6f
[INFO] running `Command { std: "docker" "start" "-a" "c59a92d6c0e934ba2e4f9df2e183d65108f248ffc98449bcf8e2cb604063ff6f", 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]    Compiling 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] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.17s
[INFO] running `Command { std: "docker" "inspect" "c59a92d6c0e934ba2e4f9df2e183d65108f248ffc98449bcf8e2cb604063ff6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c59a92d6c0e934ba2e4f9df2e183d65108f248ffc98449bcf8e2cb604063ff6f", kill_on_drop: false }`
[INFO] [stdout] c59a92d6c0e934ba2e4f9df2e183d65108f248ffc98449bcf8e2cb604063ff6f
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72c5c4032524b2d059d335549af35d1efd134f7cb4d1be85797d71646af966a5
[INFO] running `Command { std: "docker" "start" "-a" "72c5c4032524b2d059d335549af35d1efd134f7cb4d1be85797d71646af966a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "72c5c4032524b2d059d335549af35d1efd134f7cb4d1be85797d71646af966a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72c5c4032524b2d059d335549af35d1efd134f7cb4d1be85797d71646af966a5", kill_on_drop: false }`
[INFO] [stdout] 72c5c4032524b2d059d335549af35d1efd134f7cb4d1be85797d71646af966a5
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a61072cbabe2409ea4f8d54b5db8dfa46ae719d431747cf6cdc6e405db42e6c3
[INFO] running `Command { std: "docker" "start" "-a" "a61072cbabe2409ea4f8d54b5db8dfa46ae719d431747cf6cdc6e405db42e6c3", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `feature_x`
[INFO] [stderr]  --> src/main.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 |     #[cfg(feature = "feature_x")]
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `feature_x` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `feature_x`
[INFO] [stderr]   --> src/main.rs:22:11
[INFO] [stderr]    |
[INFO] [stderr] 22 |     #[cfg(feature = "feature_x")]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `feature_x` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `feature_x`
[INFO] [stderr]   --> src/main.rs:14:15
[INFO] [stderr]    |
[INFO] [stderr] 14 |         #[cfg(feature = "feature_x")]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `feature_x` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: field `dummy` is never read
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct LateResources {
[INFO] [stderr]   |        ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 7 |     dummy: (),
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `LateResources` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cfgstruct` (bin "cfgstruct" test) generated 4 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cfgstruct-514d0a09f716085d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a61072cbabe2409ea4f8d54b5db8dfa46ae719d431747cf6cdc6e405db42e6c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a61072cbabe2409ea4f8d54b5db8dfa46ae719d431747cf6cdc6e405db42e6c3", kill_on_drop: false }`
[INFO] [stdout] a61072cbabe2409ea4f8d54b5db8dfa46ae719d431747cf6cdc6e405db42e6c3
