[INFO] fetching crate cfg 0.5.0... [INFO] testing cfg-0.5.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate cfg 0.5.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate cfg 0.5.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69ec01e58fbbb4e38195121b43842da9adf0dfb95818211b273048c820e31380 [INFO] running `Command { std: "docker" "start" "-a" "69ec01e58fbbb4e38195121b43842da9adf0dfb95818211b273048c820e31380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69ec01e58fbbb4e38195121b43842da9adf0dfb95818211b273048c820e31380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ec01e58fbbb4e38195121b43842da9adf0dfb95818211b273048c820e31380", kill_on_drop: false }` [INFO] [stdout] 69ec01e58fbbb4e38195121b43842da9adf0dfb95818211b273048c820e31380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e88ecfd5367326d3c11001d5cbe253646a79f92b7849763a2d16a8cf737918 [INFO] running `Command { std: "docker" "start" "-a" "25e88ecfd5367326d3c11001d5cbe253646a79f92b7849763a2d16a8cf737918", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling optional v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling bit-matrix v0.6.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [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.27s [INFO] running `Command { std: "docker" "inspect" "25e88ecfd5367326d3c11001d5cbe253646a79f92b7849763a2d16a8cf737918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e88ecfd5367326d3c11001d5cbe253646a79f92b7849763a2d16a8cf737918", kill_on_drop: false }` [INFO] [stdout] 25e88ecfd5367326d3c11001d5cbe253646a79f92b7849763a2d16a8cf737918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21895affadac95bf7556efd2e3171c4720da9ce72673901f289e54257765341b [INFO] running `Command { std: "docker" "start" "-a" "21895affadac95bf7556efd2e3171c4720da9ce72673901f289e54257765341b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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" "21895affadac95bf7556efd2e3171c4720da9ce72673901f289e54257765341b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21895affadac95bf7556efd2e3171c4720da9ce72673901f289e54257765341b", kill_on_drop: false }` [INFO] [stdout] 21895affadac95bf7556efd2e3171c4720da9ce72673901f289e54257765341b