[INFO] fetching crate rkyv 0.8.8... [INFO] checking rkyv-0.8.8 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate rkyv 0.8.8 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rkyv 0.8.8 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 rkyv 0.8.8 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rkyv 0.8.8 [INFO] tweaked toml for crates.io crate rkyv 0.8.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate rkyv 0.8.8 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] abf9e93b42d41ad216cf495e3e682e0242079a04dfa088d8d5714d0d75fc6242 [INFO] running `Command { std: "docker" "start" "-a" "abf9e93b42d41ad216cf495e3e682e0242079a04dfa088d8d5714d0d75fc6242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abf9e93b42d41ad216cf495e3e682e0242079a04dfa088d8d5714d0d75fc6242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf9e93b42d41ad216cf495e3e682e0242079a04dfa088d8d5714d0d75fc6242", kill_on_drop: false }` [INFO] [stdout] abf9e93b42d41ad216cf495e3e682e0242079a04dfa088d8d5714d0d75fc6242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cb4a3d520c0ddf401fa86a5f7acfbfc36db28913d2d685195b79b3a72ff3dfc3 [INFO] running `Command { std: "docker" "start" "-a" "cb4a3d520c0ddf401fa86a5f7acfbfc36db28913d2d685195b79b3a72ff3dfc3", 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 libc v0.2.158 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.0 [INFO] [stderr] Compiling munge_macro v0.4.1 [INFO] [stderr] Compiling rkyv_derive v0.8.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling divan-macros v0.1.14 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Checking munge v0.4.1 [INFO] [stderr] Checking rancor v0.1.0 [INFO] [stderr] Checking bytecheck v0.8.0 [INFO] [stderr] Checking divan v0.1.14 [INFO] [stderr] Checking rend v0.5.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rkyv v0.8.8 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rkyv` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/impls/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected a destructuring pattern [INFO] [stderr] --> src/impls/mod.rs:264:28 [INFO] [stderr] | [INFO] [stderr] 264 | munge!(let &Self(mut inner) = this); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected a destructuring pattern [INFO] [stderr] --> src/impls/mod.rs:740:24 [INFO] [stderr] | [INFO] [stderr] 740 | munge!(let &ArchivedTest { mut a, mut b } = archived); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `inner` in this scope [INFO] [stderr] --> src/impls/mod.rs:265:18 [INFO] [stderr] | [INFO] [stderr] 265 | *inner = value.into(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `a` in this scope [INFO] [stderr] --> src/impls/mod.rs:742:36 [INFO] [stderr] | [INFO] [stderr] 742 | *ArchivedBox::get_seal(a.as_mut()) = 50.into(); [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `a` in this scope [INFO] [stderr] --> src/impls/mod.rs:743:26 [INFO] [stderr] | [INFO] [stderr] 743 | assert_eq!(**a, 50); [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `b` in this scope [INFO] [stderr] --> src/impls/mod.rs:745:56 [INFO] [stderr] | [INFO] [stderr] 745 | let mut slice = ArchivedVec::as_slice_seal(b.as_mut()); [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `b` in this scope [INFO] [stderr] --> src/impls/mod.rs:750:24 [INFO] [stderr] | [INFO] [stderr] 750 | assert_eq!(b[0], "HELLO"); [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `b` in this scope [INFO] [stderr] --> src/impls/mod.rs:751:24 [INFO] [stderr] | [INFO] [stderr] 751 | assert_eq!(b[1], "WORLD"); [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/impls/mod.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | munge!(let Self(mut inner) = this); [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/impls/mod.rs:740:24 [INFO] [stdout] | [INFO] [stdout] 740 | munge!(let ArchivedTest { mut a, mut b } = archived); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/option.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let ArchivedOption::Some(ref mut value) = self { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:407:32 [INFO] [stdout] | [INFO] [stdout] 407 | ... if let Some(mut inner) = open_inners.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:422:29 [INFO] [stdout] | [INFO] [stdout] 422 | ... } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match open_inners.pop() { Some(mut inner) => { [INFO] [stdout] 408 | while inner.len() < inner.capacity() { [INFO] [stdout] ... [INFO] [stdout] 421 | )?); [INFO] [stdout] 422 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:409:40 [INFO] [stdout] | [INFO] [stdout] 409 | ... if let Some((k, v)) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/collections/btree_map/mod.rs:412:37 [INFO] [stdout] | [INFO] [stdout] 412 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match iter.next() { Some((k, v)) => { [INFO] [stdout] 410 | inner.push((k, v, child_node_pos)); [INFO] [stdout] 411 | child_node_pos = None; [INFO] [stdout] 412 ~ } _ => { [INFO] [stdout] 413 | break; [INFO] [stdout] 414 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/option.rs (1 fix) [INFO] [stderr] Fixed src/collections/btree_map/mod.rs (2 fixes) [INFO] [stderr] Migrating examples/backwards_compat.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/remote_types.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/minecraft_savedata.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | count: rng.gen(), [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/minecraft_savedata.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | slot: rng.gen(), [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] [stderr] error: could not compile `rkyv` (bench "minecraft_savedata") due to 3 previous errors; 21 warnings emitted [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | walk_speed: rng.gen(), [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fly_speed: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | fall_distance: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | fire: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | air: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | portal_cooldown: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | score: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | selected_item_slot: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | spawn_x: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | spawn_y: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | spawn_z: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | sleep_timer: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:256:40 [INFO] [stdout] | [INFO] [stdout] 256 | food_exhaustion_level: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:257:40 [INFO] [stdout] | [INFO] [stdout] 257 | food_saturation_level: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | food_tick_timer: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:259:27 [INFO] [stdout] | [INFO] [stdout] 259 | xp_level: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:260:23 [INFO] [stdout] | [INFO] [stdout] 260 | xp_p: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | xp_total: rng.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/minecraft_savedata.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | xp_seed: rng.gen(), [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 import `benchlib` [INFO] [stdout] --> benches/minecraft_savedata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use benchlib::{bench_dataset, generate_vec, Generate, Rng}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `minecraft_savedata` [INFO] [stdout] --> benches/minecraft_savedata.rs:287:46 [INFO] [stdout] | [INFO] [stdout] 287 | bench_dataset!(Players = generate_players()); [INFO] [stdout] | ^ consider adding a `main` function to `benches/minecraft_savedata.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `benchlib` [INFO] [stdout] --> benches/minecraft_savedata.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | let mut rng = benchlib::rng(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] Migrating examples/complex_wrapper_types.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/explicit_enum_discriminants.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/derive_partial_ord.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/json_like_schema.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/readme.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ui.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/log.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/mesh.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `benchlib` [INFO] [stdout] --> benches/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use benchlib::{bench_dataset, generate_vec, Generate, Rng}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `log` [INFO] [stdout] --> benches/log.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | bench_dataset!(Logs = generate_logs()); [INFO] [stdout] | ^ consider adding a `main` function to `benches/log.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `benchlib` [INFO] [stdout] --> benches/log.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let mut rng = benchlib::rng(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rkyv` (bench "log") due to 3 previous errors [INFO] [stderr] error: could not compile `rkyv` (bench "mesh") due to 3 previous errors; 3 warnings emitted [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/mesh.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | x: rand.gen(), [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/mesh.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | y: rand.gen(), [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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> benches/mesh.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | z: rand.gen(), [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 import `benchlib` [INFO] [stdout] --> benches/mesh.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use benchlib::{bench_dataset, generate_vec, Generate, Rng}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `mesh` [INFO] [stdout] --> benches/mesh.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | bench_dataset!(Mesh = generate_mesh()); [INFO] [stdout] | ^ consider adding a `main` function to `benches/mesh.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `benchlib` [INFO] [stdout] --> benches/mesh.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let mut rng = benchlib::rng(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `benchlib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [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" "cb4a3d520c0ddf401fa86a5f7acfbfc36db28913d2d685195b79b3a72ff3dfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4a3d520c0ddf401fa86a5f7acfbfc36db28913d2d685195b79b3a72ff3dfc3", kill_on_drop: false }` [INFO] [stdout] cb4a3d520c0ddf401fa86a5f7acfbfc36db28913d2d685195b79b3a72ff3dfc3