[INFO] fetching crate pwasm-abi-derive 0.2.3... [INFO] checking pwasm-abi-derive-0.2.3 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate pwasm-abi-derive 0.2.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pwasm-abi-derive 0.2.3 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pwasm-abi-derive 0.2.3 [INFO] finished tweaking crates.io crate pwasm-abi-derive 0.2.3 [INFO] tweaked toml for crates.io crate pwasm-abi-derive 0.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages [INFO] [stderr] Adding fixed-hash v0.3.2 (latest: v0.8.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding static_assertions v0.2.5 (latest: v1.1.0) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.57) [INFO] [stderr] Adding tiny-keccak v1.5.0 (latest: v2.0.2) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded fixed-hash v0.3.2 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48a7e7ea2409743d30846cb8bda8bea096e27e9ae51c3fe1818b6b05ea4c60f9 [INFO] running `Command { std: "docker" "start" "-a" "48a7e7ea2409743d30846cb8bda8bea096e27e9ae51c3fe1818b6b05ea4c60f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48a7e7ea2409743d30846cb8bda8bea096e27e9ae51c3fe1818b6b05ea4c60f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a7e7ea2409743d30846cb8bda8bea096e27e9ae51c3fe1818b6b05ea4c60f9", kill_on_drop: false }` [INFO] [stdout] 48a7e7ea2409743d30846cb8bda8bea096e27e9ae51c3fe1818b6b05ea4c60f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9942b690368b9bc184f0f1109926141db6cb64c039d5822a6de8f7ca76a4b7c4 [INFO] running `Command { std: "docker" "start" "-a" "9942b690368b9bc184f0f1109926141db6cb64c039d5822a6de8f7ca76a4b7c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking pwasm-abi-derive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tiny_keccak::Keccak` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tiny_keccak::Keccak; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Keccak` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tiny_keccak::Keccak` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tiny_keccak::Keccak; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Keccak` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused extern crate [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate proc_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_extern_crates)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused extern crate [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate proc_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_extern_crates)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/items.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | use {quote, syn, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/items.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use {quote, syn, utils}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/items.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | use {quote, syn, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/items.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use proc_macro2::{self, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate proc_macro2; [INFO] [stdout] | ------------------------- the item `proc_macro2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/items.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use {quote, syn, utils}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | use {syn, quote}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/items.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use proc_macro2::{self, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate proc_macro2; [INFO] [stdout] | ------------------------- the item `proc_macro2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use {syn, quote}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | use {syn, quote}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/json.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use {syn, quote}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `std` is imported redundantly [INFO] [stdout] --> src/json.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{self, io}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/json.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `std` is imported redundantly [INFO] [stdout] --> src/json.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{self, io}; [INFO] [stdout] | ^^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/json.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 66 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/json.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 66 | fn cause(&self) -> Option<&dyn std::error::Error> { [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/error.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | ErrorKind::JsonError(err) => 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/error.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | ErrorKind::JsonError(err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwasm-abi-derive` (lib) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pwasm-abi-derive` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9942b690368b9bc184f0f1109926141db6cb64c039d5822a6de8f7ca76a4b7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9942b690368b9bc184f0f1109926141db6cb64c039d5822a6de8f7ca76a4b7c4", kill_on_drop: false }` [INFO] [stdout] 9942b690368b9bc184f0f1109926141db6cb64c039d5822a6de8f7ca76a4b7c4