[INFO] fetching crate rustyle 0.1.0... [INFO] testing rustyle-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustyle 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustyle 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad6f353c5ad383aa3072ad078c125a6553e37e03423e399ed589ef438394cbf8 [INFO] running `Command { std: "docker" "start" "-a" "ad6f353c5ad383aa3072ad078c125a6553e37e03423e399ed589ef438394cbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad6f353c5ad383aa3072ad078c125a6553e37e03423e399ed589ef438394cbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6f353c5ad383aa3072ad078c125a6553e37e03423e399ed589ef438394cbf8", kill_on_drop: false }` [INFO] [stdout] ad6f353c5ad383aa3072ad078c125a6553e37e03423e399ed589ef438394cbf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ba1f8cc394df6a583fbe4df3d155e2cbedeb18652203baff47abb85af9fc8a33 [INFO] running `Command { std: "docker" "start" "-a" "ba1f8cc394df6a583fbe4df3d155e2cbedeb18652203baff47abb85af9fc8a33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling seahash v3.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling xoroshiro128 v0.3.0 [INFO] [stderr] Compiling fasthash v0.4.0 [INFO] [stderr] Compiling 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: 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 a dyn-compatible 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 a dyn-compatible 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/proc_macro/src/lib.rs:453: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 a dyn-compatible 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] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyle` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba1f8cc394df6a583fbe4df3d155e2cbedeb18652203baff47abb85af9fc8a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1f8cc394df6a583fbe4df3d155e2cbedeb18652203baff47abb85af9fc8a33", kill_on_drop: false }` [INFO] [stdout] ba1f8cc394df6a583fbe4df3d155e2cbedeb18652203baff47abb85af9fc8a33