[INFO] fetching crate libipld-cbor 0.16.0... [INFO] checking libipld-cbor-0.16.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate libipld-cbor 0.16.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate libipld-cbor 0.16.0 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 libipld-cbor 0.16.0 [INFO] finished tweaking crates.io crate libipld-cbor 0.16.0 [INFO] tweaked toml for crates.io crate libipld-cbor 0.16.0 written to /workspace/builds/worker-3-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages [INFO] [stderr] Adding cid v0.10.1 (latest: v0.11.1) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.3) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] [stderr] Adding multihash v0.17.0 (latest: v0.19.1) [INFO] [stderr] Adding multihash v0.18.1 (latest: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.8.1 (latest: v0.9.0) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (latest: v3.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.12) [INFO] [stderr] Adding unsigned-varint v0.7.2 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [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 cid v0.10.1 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded multihash v0.18.1 [INFO] [stderr] Downloaded libipld-core v0.16.0 [INFO] [stderr] Downloaded half v1.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9f6a905701454eaac9f12bc383cea35f65ce40ea07d413ff391399ced22cf888 [INFO] running `Command { std: "docker" "start" "-a" "9f6a905701454eaac9f12bc383cea35f65ce40ea07d413ff391399ced22cf888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f6a905701454eaac9f12bc383cea35f65ce40ea07d413ff391399ced22cf888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6a905701454eaac9f12bc383cea35f65ce40ea07d413ff391399ced22cf888", kill_on_drop: false }` [INFO] [stdout] 9f6a905701454eaac9f12bc383cea35f65ce40ea07d413ff391399ced22cf888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 05b3a48a3f4279106f7aeb0efd5f2fd3b338d1c2b0bd8393da587ff6ae246fe1 [INFO] running `Command { std: "docker" "start" "-a" "05b3a48a3f4279106f7aeb0efd5f2fd3b338d1c2b0bd8393da587ff6ae246fe1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking multihash v0.17.0 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libipld-core v0.16.0 [INFO] [stderr] Checking libipld-cbor v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cbor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/decode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/encode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_core::multihash::Code` [INFO] [stdout] --> src/lib.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | use libipld_core::multihash::{Code, MultihashDigest}; [INFO] [stdout] | ^^^^ no `Code` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] multihash::Code [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/multihash-0.18.1/src/lib.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | pub use crate::multihash_impl::{Code, Multihash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `multihash-impl` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_macro` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use libipld_macro::ipld; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `libipld_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 46 | use libipld_core::ipld; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cbor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/decode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `UnexpectedEof` is imported redundantly [INFO] [stdout] --> src/decode.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 571 | use super::*; [INFO] [stdout] | -------- the item `UnexpectedEof` is already imported here [INFO] [stdout] 572 | use crate::{error::UnexpectedEof, DagCborCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/encode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `MultihashDigest` [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | use libipld_core::multihash::{Code, MultihashDigest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-cbor` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-cbor` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "05b3a48a3f4279106f7aeb0efd5f2fd3b338d1c2b0bd8393da587ff6ae246fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b3a48a3f4279106f7aeb0efd5f2fd3b338d1c2b0bd8393da587ff6ae246fe1", kill_on_drop: false }` [INFO] [stdout] 05b3a48a3f4279106f7aeb0efd5f2fd3b338d1c2b0bd8393da587ff6ae246fe1 [INFO] checking libipld-cbor-0.16.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate libipld-cbor 0.16.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libipld-cbor 0.16.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libipld-cbor 0.16.0 [INFO] finished tweaking crates.io crate libipld-cbor 0.16.0 [INFO] tweaked toml for crates.io crate libipld-cbor 0.16.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 938ad8117737bf029834d12b4f9f5b56107f773ed8b3d62d11ca52818f40909f [INFO] running `Command { std: "docker" "start" "-a" "938ad8117737bf029834d12b4f9f5b56107f773ed8b3d62d11ca52818f40909f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "938ad8117737bf029834d12b4f9f5b56107f773ed8b3d62d11ca52818f40909f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938ad8117737bf029834d12b4f9f5b56107f773ed8b3d62d11ca52818f40909f", kill_on_drop: false }` [INFO] [stdout] 938ad8117737bf029834d12b4f9f5b56107f773ed8b3d62d11ca52818f40909f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9d871b2693ec165120aba364e8ead52ba5027dc0d7f5f99d45c42d2fc6f3f8b [INFO] running `Command { std: "docker" "start" "-a" "b9d871b2693ec165120aba364e8ead52ba5027dc0d7f5f99d45c42d2fc6f3f8b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking multihash v0.17.0 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libipld-core v0.16.0 [INFO] [stderr] Checking libipld-cbor v0.16.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cbor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/decode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-cbor` (lib) due to 5 previous errors [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/encode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_core::multihash::Code` [INFO] [stdout] --> src/lib.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | use libipld_core::multihash::{Code, MultihashDigest}; [INFO] [stdout] | ^^^^ no `Code` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] multihash::Code [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/multihash-0.18.1/src/lib.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | pub use crate::multihash_impl::{Code, Multihash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `multihash-impl` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_macro` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use libipld_macro::ipld; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `libipld_macro` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 46 | use libipld_core::ipld; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-cbor` (lib test) due to 9 previous errors [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/cbor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/decode.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `UnexpectedEof` is imported redundantly [INFO] [stdout] --> src/decode.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 571 | use super::*; [INFO] [stdout] | -------- the item `UnexpectedEof` is already imported here [INFO] [stdout] 572 | use crate::{error::UnexpectedEof, DagCborCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/encode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `MultihashDigest` [INFO] [stdout] --> src/lib.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | use libipld_core::multihash::{Code, MultihashDigest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b9d871b2693ec165120aba364e8ead52ba5027dc0d7f5f99d45c42d2fc6f3f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d871b2693ec165120aba364e8ead52ba5027dc0d7f5f99d45c42d2fc6f3f8b", kill_on_drop: false }` [INFO] [stdout] b9d871b2693ec165120aba364e8ead52ba5027dc0d7f5f99d45c42d2fc6f3f8b