[INFO] fetching crate rustyle 0.1.0... [INFO] checking rustyle-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rustyle 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rustyle 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate rustyle 0.1.0 [INFO] finished tweaking crates.io crate rustyle 0.1.0 [INFO] tweaked toml for crates.io crate rustyle 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding seahash v3.0.7 (available: v4.1.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding xoroshiro128 v0.3.0 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xoroshiro128 v0.3.0 [INFO] [stderr] Downloaded fasthash v0.4.0 [INFO] [stderr] Downloaded seahash v3.0.7 [INFO] [stderr] Downloaded fasthash-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65eab0ae0caadad14f8e02b2c47b0562c1d9cb57eb91064739ff91feffc4fa6 [INFO] running `Command { std: "docker" "start" "-a" "e65eab0ae0caadad14f8e02b2c47b0562c1d9cb57eb91064739ff91feffc4fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65eab0ae0caadad14f8e02b2c47b0562c1d9cb57eb91064739ff91feffc4fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65eab0ae0caadad14f8e02b2c47b0562c1d9cb57eb91064739ff91feffc4fa6", kill_on_drop: false }` [INFO] [stdout] e65eab0ae0caadad14f8e02b2c47b0562c1d9cb57eb91064739ff91feffc4fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 661e7ccf2f989b48937a6544834455b414c7ef2043893343b8daf4fde3b67397 [INFO] running `Command { std: "docker" "start" "-a" "661e7ccf2f989b48937a6544834455b414c7ef2043893343b8daf4fde3b67397", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Compiling fasthash v0.4.0 [INFO] [stderr] Checking rustyle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ruleset::*` [INFO] [stdout] --> src/core/parse/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use ruleset::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ruleset::*` [INFO] [stdout] --> src/core/parse/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use ruleset::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/node/declaration.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/node/declaration.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ruleset::*` [INFO] [stdout] --> src/core/parse/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use ruleset::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/node/declaration.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub value: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_rustyle(stream: TokenStream) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `proc_macro::Span` [INFO] [stdout] --> src/core/parse/declaration.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | if end_span.end() != start_span.start() { [INFO] [stdout] | -------------- ^^ ------------------ proc_macro::Span [INFO] [stdout] | | [INFO] [stdout] | proc_macro::Span [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `proc_macro::Span` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/proc_macro/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `proc_macro::Span` [INFO] [stdout] --> src/core/parse/declaration.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | if end_span.end() != start_span.start() { [INFO] [stdout] | -------------- ^^ ------------------ proc_macro::Span [INFO] [stdout] | | [INFO] [stdout] | proc_macro::Span [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `proc_macro::Span` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/proc_macro/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `proc_macro::Span` [INFO] [stdout] --> src/core/parse/declaration.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | if end_span.end() != start_span.start() { [INFO] [stdout] | -------------- ^^ ------------------ proc_macro::Span [INFO] [stdout] | | [INFO] [stdout] | proc_macro::Span [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `proc_macro::Span` doesn't implement `PartialEq` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/proc_macro/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/parse/root.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = Vec::>::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyle` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustyle` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyle` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "661e7ccf2f989b48937a6544834455b414c7ef2043893343b8daf4fde3b67397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661e7ccf2f989b48937a6544834455b414c7ef2043893343b8daf4fde3b67397", kill_on_drop: false }` [INFO] [stdout] 661e7ccf2f989b48937a6544834455b414c7ef2043893343b8daf4fde3b67397