[INFO] fetching crate noosphere-storage 0.10.1... [INFO] checking noosphere-storage-0.10.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate noosphere-storage 0.10.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate noosphere-storage 0.10.1 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 noosphere-storage 0.10.1 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate noosphere-storage 0.10.1 [INFO] tweaked toml for crates.io crate noosphere-storage 0.10.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate noosphere-storage 0.10.1 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] 08ab65c3b4f374ef8b2e36b650fd721c5dbdf058c58764575bdfc5655d88c998 [INFO] running `Command { std: "docker" "start" "-a" "08ab65c3b4f374ef8b2e36b650fd721c5dbdf058c58764575bdfc5655d88c998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08ab65c3b4f374ef8b2e36b650fd721c5dbdf058c58764575bdfc5655d88c998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ab65c3b4f374ef8b2e36b650fd721c5dbdf058c58764575bdfc5655d88c998", kill_on_drop: false }` [INFO] [stdout] 08ab65c3b4f374ef8b2e36b650fd721c5dbdf058c58764575bdfc5655d88c998 [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] 677281b8433d7f6a671e6f2c98b07c130ebadfcb8267f9269a7be776c7929a0e [INFO] running `Command { std: "docker" "start" "-a" "677281b8433d7f6a671e6f2c98b07c130ebadfcb8267f9269a7be776c7929a0e", 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.76 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking bs58 v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking witty-phrase-generator v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking data-encoding-macro v0.1.13 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Checking js-sys v0.3.66 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking noosphere-common v0.1.2 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.39 [INFO] [stderr] Checking wasm-bindgen-test v0.3.37 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libipld-core v0.16.0 [INFO] [stderr] Checking libipld-cbor v0.16.0 [INFO] [stderr] Checking libipld-json v0.16.0 [INFO] [stderr] Checking ucan v0.4.0 [INFO] [stderr] Checking noosphere-storage v0.10.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/db.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/db.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 183 | / try_stream! { [INFO] [stdout] 184 | | for await cid in self.stream_links(cid) { [INFO] [stdout] | | --- [INFO] [stdout] | | | [INFO] [stdout] | | `cid` calls a custom destructor [INFO] [stdout] | | `cid` will be dropped later as of Edition 2024 [INFO] [stdout] 185 | | let cid = cid?; [INFO] [stdout] 186 | | if let Some(block) = self.block_store.get_block(&cid).await? { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 189 | | } [INFO] [stdout] 190 | | } [INFO] [stdout] | |_________- now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.75/src/error.rs:586:1 [INFO] [stdout] | [INFO] [stdout] 586 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `cid` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.75/src/error.rs:586:1 [INFO] [stdout] | [INFO] [stdout] 586 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/implementation/tracking.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 55 | let mut stats = self.stats.lock().await; [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `stats` calls a custom destructor [INFO] [stdout] | `stats` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | self.store.write(key, bytes).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 59 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `stats` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.33.0/src/sync/mutex.rs:950:1 [INFO] [stdout] | [INFO] [stdout] 950 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/space.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | while let Some(entry) = dir.next_entry().await? { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `entry` calls a custom destructor [INFO] [stdout] | `entry` will be dropped later as of Edition 2024 [INFO] [stdout] 24 | let size = match entry.metadata().await? { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 25 | data if data.is_dir() => { [INFO] [stdout] 26 | dir_size(tokio::fs::read_dir(entry.path()).await?).await? [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `entry` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.33.0/src/runtime/task/join.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | impl Drop for JoinHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sys/pal/unix/fs.rs:857:1 [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.75/src/error.rs:586:1 [INFO] [stdout] | [INFO] [stdout] 586 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/bench/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> examples/bench/main.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | let mut random_bytes = Vec::from(rng.gen::<[u8; 32]>()); [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] [stderr] error: could not compile `noosphere-storage` (example "bench") due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> examples/bench/main.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | bytes.append(&mut Vec::from(rng.gen::<[u8; 32]>())); [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[E0463]: can't find crate for `noosphere_core_dev` [INFO] [stdout] --> examples/bench/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate noosphere_core_dev as noosphere_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `noosphere_common::helpers` [INFO] [stdout] --> examples/bench/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use noosphere_common::helpers::TestEntropy; [INFO] [stdout] | ^^^^^^^ could not find `helpers` in `noosphere_common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/noosphere-common-0.1.2/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod helpers; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/noosphere-common-0.1.2/src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(test, feature = "helpers"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> examples/bench/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | ($($v:expr),+) => { println!($($v,)*) } [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] 35 | ($($v:expr_2021),+) => { println!($($v,)*) } [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an 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" "677281b8433d7f6a671e6f2c98b07c130ebadfcb8267f9269a7be776c7929a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677281b8433d7f6a671e6f2c98b07c130ebadfcb8267f9269a7be776c7929a0e", kill_on_drop: false }` [INFO] [stdout] 677281b8433d7f6a671e6f2c98b07c130ebadfcb8267f9269a7be776c7929a0e