[INFO] fetching crate multihash-codetable 0.1.4... [INFO] checking multihash-codetable-0.1.4 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate multihash-codetable 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate multihash-codetable 0.1.4 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate multihash-codetable 0.1.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate multihash-codetable 0.1.4 [INFO] tweaked toml for crates.io crate multihash-codetable 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate multihash-codetable 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2bfb8681b86b7797be4f9cfef8e7a306b4a489673ff81d8d8c954034a8091eb [INFO] running `Command { std: "docker" "start" "-a" "a2bfb8681b86b7797be4f9cfef8e7a306b4a489673ff81d8d8c954034a8091eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2bfb8681b86b7797be4f9cfef8e7a306b4a489673ff81d8d8c954034a8091eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2bfb8681b86b7797be4f9cfef8e7a306b4a489673ff81d8d8c954034a8091eb", kill_on_drop: false }` [INFO] [stdout] a2bfb8681b86b7797be4f9cfef8e7a306b4a489673ff81d8d8c954034a8091eb [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a42b147988a5f6d2cf0fffd72982ebdd365fda672a7ff71d1b101220e882092d [INFO] running `Command { std: "docker" "start" "-a" "a42b147988a5f6d2cf0fffd72982ebdd365fda672a7ff71d1b101220e882092d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking multihash v0.19.2 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling multihash-derive-impl v0.1.2 [INFO] [stderr] Checking multihash-derive v0.9.1 [INFO] [stderr] Checking multihash-codetable v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating benches/multihash.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | let data: Vec = (0..1024).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | let data: Vec = (0..1024).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `multihash_codetable::Blake2b256`, `multihash_codetable::Blake2b512`, `multihash_codetable::Blake2s128`, `multihash_codetable::Blake2s256`, `multihash_codetable::Blake3_256`, `multihash_codetable::Keccak224`, `multihash_codetable::Keccak256`, `multihash_codetable::Keccak384`, `multihash_codetable::Keccak512`, `multihash_codetable::Sha1`, `multihash_codetable::Sha2_256`, `multihash_codetable::Sha2_512`, `multihash_codetable::Sha3_224`, `multihash_codetable::Sha3_256`, `multihash_codetable::Sha3_384`, `multihash_codetable::Sha3_512`, `multihash_codetable::Strobe256`, `multihash_codetable::Strobe512` [INFO] [stdout] --> benches/multihash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Blake2b256, Blake2b512, Blake2s128, Blake2s256, Blake3_256, Keccak224, Keccak256, Keccak384, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `Keccak384` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `Keccak256` in the root [INFO] [stdout] | | | | | | no `Keccak224` in the root [INFO] [stdout] | | | | | no `Blake3_256` in the root [INFO] [stdout] | | | | no `Blake2s256` in the root [INFO] [stdout] | | | no `Blake2s128` in the root [INFO] [stdout] | | no `Blake2b512` in the root [INFO] [stdout] | no `Blake2b256` in the root [INFO] [stdout] 6 | Keccak512, Sha1, Sha2_256, Sha2_512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, Strobe256, [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Sha1` in the root [INFO] [stdout] | no `Keccak512` in the root [INFO] [stdout] 7 | Strobe512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::hasher_impl::blake2b::{Blake2b256, Blake2b512, Blake2bHasher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `blake2b` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "blake2b")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::hasher_impl::blake2b::{Blake2b256, Blake2b512, Blake2bHasher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `blake2b` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "blake2b")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | pub use crate::hasher_impl::blake2s::{Blake2s128, Blake2s256, Blake2sHasher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `blake2s` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "blake2s")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub use crate::hasher_impl::blake2s::{Blake2s128, Blake2s256, Blake2sHasher}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `blake2s` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "blake2s")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | pub use crate::hasher_impl::blake3::{Blake3Hasher, Blake3_256}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `blake3` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "blake3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Keccak224, Keccak256, Keccak384, Keccak512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sha3` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "sha3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Keccak224, Keccak256, Keccak384, Keccak512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sha3` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "sha3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Keccak224, Keccak256, Keccak384, Keccak512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sha3` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "sha3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | Keccak224, Keccak256, Keccak384, Keccak512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sha3` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "sha3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::hasher_impl::sha1::Sha1; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `sha1` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "sha1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multihash-codetable` (bench "multihash") due to 1 previous error; 6 warnings emitted [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($criterion:ident, $( $id:expr_2021 => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 12 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr_2021)* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ($criterion:ident, $( $id:expr_2021 => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> benches/multihash.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr)* ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ($criterion:ident, $( $id:expr => $hash:ident, $input:expr_2021)* ) => {{ [INFO] [stdout] | ~~~~~~~~~ [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" "a42b147988a5f6d2cf0fffd72982ebdd365fda672a7ff71d1b101220e882092d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42b147988a5f6d2cf0fffd72982ebdd365fda672a7ff71d1b101220e882092d", kill_on_drop: false }` [INFO] [stdout] a42b147988a5f6d2cf0fffd72982ebdd365fda672a7ff71d1b101220e882092d