[INFO] fetching crate cfg 0.5.0... [INFO] testing cfg-0.5.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate cfg 0.5.0 into /workspace/builds/worker-51/source [INFO] validating manifest of crates.io crate cfg 0.5.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-51/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ad56e713bab24e8b3550ca232b18b381372cdad10e82039948e69c4edf698f [INFO] running `Command { std: "docker" "start" "-a" "66ad56e713bab24e8b3550ca232b18b381372cdad10e82039948e69c4edf698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ad56e713bab24e8b3550ca232b18b381372cdad10e82039948e69c4edf698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ad56e713bab24e8b3550ca232b18b381372cdad10e82039948e69c4edf698f", kill_on_drop: false }` [INFO] [stdout] 66ad56e713bab24e8b3550ca232b18b381372cdad10e82039948e69c4edf698f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d87c2f40a115a05b23b371ca7cb7b192c6a7590bc02b211e0b3219d4bd8b197c [INFO] running `Command { std: "docker" "start" "-a" "d87c2f40a115a05b23b371ca7cb7b192c6a7590bc02b211e0b3219d4bd8b197c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling optional v0.5.0 [INFO] [stderr] Compiling bit-matrix v0.6.0 [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] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 60 | impl_generate!( [INFO] [stdout] | _- [INFO] [stdout] | |_| [INFO] [stdout] | | [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] | | - [INFO] [stdout] | |_| [INFO] [stdout] | |_in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_generate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] 48 + impl SymbolContainer for Symbol $(, $T)* { [INFO] [stdout] | [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 12.01s [INFO] running `Command { std: "docker" "inspect" "d87c2f40a115a05b23b371ca7cb7b192c6a7590bc02b211e0b3219d4bd8b197c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87c2f40a115a05b23b371ca7cb7b192c6a7590bc02b211e0b3219d4bd8b197c", kill_on_drop: false }` [INFO] [stdout] d87c2f40a115a05b23b371ca7cb7b192c6a7590bc02b211e0b3219d4bd8b197c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f555cc477a61cffd6a432c983b69a368a64d6585dfaa90f70daa33e825a26c1 [INFO] running `Command { std: "docker" "start" "-a" "2f555cc477a61cffd6a432c983b69a368a64d6585dfaa90f70daa33e825a26c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 60 | impl_generate!( [INFO] [stdout] | _- [INFO] [stdout] | |_| [INFO] [stdout] | | [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] | | - [INFO] [stdout] | |_| [INFO] [stdout] | |_in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_generate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] 48 + impl SymbolContainer for Symbol $(, $T)* { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cfg v0.5.0 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] ... [INFO] [stdout] 60 | impl_generate!( [INFO] [stdout] | _- [INFO] [stdout] | |_| [INFO] [stdout] | | [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] | | - [INFO] [stdout] | |_| [INFO] [stdout] | |_in this macro invocation [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 the macro `impl_generate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - impl SymbolContainer for ( Symbol $(, $T)* ) { [INFO] [stdout] 48 + impl SymbolContainer for Symbol $(, $T)* { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: 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_must_use)]` implied by `#[deny(warnings)]` [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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2f555cc477a61cffd6a432c983b69a368a64d6585dfaa90f70daa33e825a26c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f555cc477a61cffd6a432c983b69a368a64d6585dfaa90f70daa33e825a26c1", kill_on_drop: false }` [INFO] [stdout] 2f555cc477a61cffd6a432c983b69a368a64d6585dfaa90f70daa33e825a26c1