[INFO] crate cfg 0.5.0 is already in cache [INFO] testing cfg-0.5.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate cfg 0.5.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate cfg 0.5.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfg 0.5.0 [INFO] finished tweaking crates.io crate cfg 0.5.0 [INFO] tweaked toml for crates.io crate cfg 0.5.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b26945ffc7ebf6ad39448394bfe8760f09b2dbe2c478f0337c19200cf17121aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b26945ffc7ebf6ad39448394bfe8760f09b2dbe2c478f0337c19200cf17121aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b26945ffc7ebf6ad39448394bfe8760f09b2dbe2c478f0337c19200cf17121aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26945ffc7ebf6ad39448394bfe8760f09b2dbe2c478f0337c19200cf17121aa", kill_on_drop: false }` [INFO] [stdout] b26945ffc7ebf6ad39448394bfe8760f09b2dbe2c478f0337c19200cf17121aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb466325792626ac3bc4a2c32e0e5836e83a70567ab6699b9df15831fa3f23db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb466325792626ac3bc4a2c32e0e5836e83a70567ab6699b9df15831fa3f23db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling optional v0.5.0 [INFO] [stderr] Compiling bit-matrix v0.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cfg v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/symbol/source.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 60 | / impl_generate!( [INFO] [stdout] 61 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 62 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 63 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] ... | [INFO] [stdout] 106 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 107 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/remap.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | mem::replace(self.grammar.sym_source_mut(), intern.source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.98s [INFO] running `Command { std: "docker" "inspect" "cb466325792626ac3bc4a2c32e0e5836e83a70567ab6699b9df15831fa3f23db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb466325792626ac3bc4a2c32e0e5836e83a70567ab6699b9df15831fa3f23db", kill_on_drop: false }` [INFO] [stdout] cb466325792626ac3bc4a2c32e0e5836e83a70567ab6699b9df15831fa3f23db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056b138cf7d8dd9b767c3252193990cadd57fe034f4edeb33368a1ee8aa401be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "056b138cf7d8dd9b767c3252193990cadd57fe034f4edeb33368a1ee8aa401be", kill_on_drop: false }` [INFO] [stderr] Compiling cfg v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/symbol/source.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 60 | / impl_generate!( [INFO] [stdout] 61 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 62 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 63 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] ... | [INFO] [stdout] 106 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 107 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/remap.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | mem::replace(self.grammar.sym_source_mut(), intern.source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/symbol/source.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 60 | / impl_generate!( [INFO] [stdout] 61 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 62 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 63 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] ... | [INFO] [stdout] 106 | | Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, Symbol, next_sym, [INFO] [stdout] 107 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "056b138cf7d8dd9b767c3252193990cadd57fe034f4edeb33368a1ee8aa401be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056b138cf7d8dd9b767c3252193990cadd57fe034f4edeb33368a1ee8aa401be", kill_on_drop: false }` [INFO] [stdout] 056b138cf7d8dd9b767c3252193990cadd57fe034f4edeb33368a1ee8aa401be