[INFO] fetching crate rebos 3.5.1... [INFO] checking rebos-3.5.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rebos 3.5.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rebos 3.5.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rebos 3.5.1 [INFO] finished tweaking crates.io crate rebos 3.5.1 [INFO] tweaked toml for crates.io crate rebos 3.5.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate rebos 3.5.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daaced9808840e9002e37ebd7939c0a7ff52b615fd6b7a9dc1837736711730b0 [INFO] running `Command { std: "docker" "start" "-a" "daaced9808840e9002e37ebd7939c0a7ff52b615fd6b7a9dc1837736711730b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daaced9808840e9002e37ebd7939c0a7ff52b615fd6b7a9dc1837736711730b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daaced9808840e9002e37ebd7939c0a7ff52b615fd6b7a9dc1837736711730b0", kill_on_drop: false }` [INFO] [stdout] daaced9808840e9002e37ebd7939c0a7ff52b615fd6b7a9dc1837736711730b0 [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b873ff01f2bc616737ed4175a15199745f8289f9136fe3936f5361c8866ffd84 [INFO] running `Command { std: "docker" "start" "-a" "b873ff01f2bc616737ed4175a15199745f8289f9136fe3936f5361c8866ffd84", 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.67 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.35 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking filenamify v0.1.0 [INFO] [stderr] Checking fspp v2.2.1 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking piglog v1.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rebos v3.5.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rebos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/generation/mod.rs [INFO] [stderr] * src/hook.rs [INFO] [stderr] * src/obj_print_boilerplate.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generation/mod.rs:241:19 [INFO] [stderr] | [INFO] [stderr] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generation/mod.rs:241:54 [INFO] [stderr] | [INFO] [stderr] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/obj_print_boilerplate.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | $entry_name: expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/obj_print_boilerplate.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | $gen_field_name: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hook.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | $hook_name: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:161:56 [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::gen(ConfigSide::User) { [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] --> src/generation/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut gen = super::legacy_2::Generation::default(); [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] --> src/generation/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | gen.imports = self.imports; [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] --> src/generation/mod.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | gen.pkg_managers.insert("system".to_string(), super::legacy_2::Packages { pkgs: self.pkgs }); [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] --> src/generation/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | gen.pkg_managers.insert("flatpak".to_string(), super::legacy_2::Packages { pkgs: self.flatpaks }); [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] --> src/generation/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | gen.pkg_managers.insert("cargo".to_string(), super::legacy_2::Packages { pkgs: self.crates }); [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] --> src/generation/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | 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] --> src/generation/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut gen = super::Generation::default(); [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] --> src/generation/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | gen.imports = self.imports; [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] --> src/generation/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | gen.managers.insert("system".to_string(), super::Items { items: self.pkgs }); [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] --> src/generation/mod.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | gen.managers.insert("flatpak".to_string(), super::Items { items: self.flatpaks }); [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] --> src/generation/mod.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | gen.managers.insert("cargo".to_string(), super::Items { items: self.crates }); [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] --> src/generation/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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] --> src/generation/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = super::Generation::default(); [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] --> src/generation/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | gen.imports = self.imports; [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] --> src/generation/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | gen.managers.insert(key, super::Items { [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] --> src/generation/mod.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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] --> src/generation/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn gen(side: ConfigSide) -> Result { [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] --> src/generation/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let mut gen: Option> = None; [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] --> src/generation/mod.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [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] --> src/generation/mod.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [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] --> src/generation/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | match 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] --> src/generation/mod.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let user_gen = match gen(ConfigSide::User) { [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] --> src/generation/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(gen: &Generation) -> Result, io::Error> { [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] --> src/generation/mod.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | for k in gen.managers.keys() { [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] --> src/generation/mod.rs:466:42 [INFO] [stdout] | [INFO] [stdout] 466 | order.into_iter().filter(|x| gen.managers.contains_key(x)).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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | gen.managers.keys().into_iter().map(|x| x.to_string()).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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | let curr_gen = match gen(ConfigSide::System) { [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] --> src/obj_print.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(gen: &Generation) { [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] --> src/obj_print.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | for i in gen.managers.keys() { [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] --> src/obj_print.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | print_entry!(i, gen.managers.get(i).unwrap().items); [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:241:59 [INFO] [stdout] | [INFO] [stdout] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] --> src/obj_print_boilerplate.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | $entry_name: 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] 6 | $entry_name: 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] --> src/obj_print_boilerplate.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | $gen_field_name: 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] 7 | $gen_field_name: 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] --> src/hook.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | $hook_name: 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] 5 | $hook_name: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/proc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | std::env::set_var(ID_ENV_NAME, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 6 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 7 ~ unsafe { std::env::set_var(ID_ENV_NAME, proc_id) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generation/management.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(ref s) = comparison { [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/generation/management.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [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] 32 ~ match comparison { Some(ref s) => { [INFO] [stdout] 33 | if generation == *s { [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | comparison = Some(generation); [INFO] [stdout] 81 | comp_num = Some(i); [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rebos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/generation/mod.rs [INFO] [stderr] * src/hook.rs [INFO] [stderr] * src/obj_print_boilerplate.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generation/mod.rs:241:19 [INFO] [stderr] | [INFO] [stderr] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/generation/mod.rs:241:54 [INFO] [stderr] | [INFO] [stderr] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/obj_print_boilerplate.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | $entry_name: expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/obj_print_boilerplate.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | $gen_field_name: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hook.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | $hook_name: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:161:56 [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::gen(ConfigSide::User) { [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] --> src/generation/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut gen = super::legacy_2::Generation::default(); [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] --> src/generation/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | gen.imports = self.imports; [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] --> src/generation/mod.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | gen.pkg_managers.insert("system".to_string(), super::legacy_2::Packages { pkgs: self.pkgs }); [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] --> src/generation/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | gen.pkg_managers.insert("flatpak".to_string(), super::legacy_2::Packages { pkgs: self.flatpaks }); [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] --> src/generation/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | gen.pkg_managers.insert("cargo".to_string(), super::legacy_2::Packages { pkgs: self.crates }); [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] --> src/generation/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | 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] --> src/generation/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut gen = super::Generation::default(); [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] --> src/generation/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | gen.imports = self.imports; [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] --> src/generation/mod.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | gen.managers.insert("system".to_string(), super::Items { items: self.pkgs }); [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] --> src/generation/mod.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | gen.managers.insert("flatpak".to_string(), super::Items { items: self.flatpaks }); [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] --> src/generation/mod.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | gen.managers.insert("cargo".to_string(), super::Items { items: self.crates }); [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] --> src/generation/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | 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] --> src/generation/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = super::Generation::default(); [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] --> src/generation/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | gen.imports = self.imports; [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] --> src/generation/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | gen.managers.insert(key, super::Items { [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] --> src/generation/mod.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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] --> src/generation/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn gen(side: ConfigSide) -> Result { [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] --> src/generation/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let mut gen: Option> = None; [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] --> src/generation/mod.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [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] --> src/generation/mod.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [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] --> src/generation/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | match 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] --> src/generation/mod.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let user_gen = match gen(ConfigSide::User) { [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] --> src/generation/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(gen: &Generation) -> Result, io::Error> { [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] --> src/generation/mod.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | for k in gen.managers.keys() { [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] --> src/generation/mod.rs:466:42 [INFO] [stdout] | [INFO] [stdout] 466 | order.into_iter().filter(|x| gen.managers.contains_key(x)).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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | gen.managers.keys().into_iter().map(|x| x.to_string()).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] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | let curr_gen = match gen(ConfigSide::System) { [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] --> src/obj_print.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(gen: &Generation) { [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] --> src/obj_print.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | for i in gen.managers.keys() { [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] --> src/obj_print.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | print_entry!(i, gen.managers.get(i).unwrap().items); [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] 241 | ($gen: ident, $string: expr_2021, $gen_type: ty, $version: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/generation/mod.rs:241:59 [INFO] [stdout] | [INFO] [stdout] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] 241 | ($gen: ident, $string: expr, $gen_type: ty, $version: 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] --> src/obj_print_boilerplate.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | $entry_name: 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] 6 | $entry_name: 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] --> src/obj_print_boilerplate.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | $gen_field_name: 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] 7 | $gen_field_name: 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] --> src/hook.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | $hook_name: 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] 5 | $hook_name: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/proc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | std::env::set_var(ID_ENV_NAME, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 6 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 7 ~ unsafe { std::env::set_var(ID_ENV_NAME, proc_id) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generation/management.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(ref s) = comparison { [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/generation/management.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [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] 32 ~ match comparison { Some(ref s) => { [INFO] [stdout] 33 | if generation == *s { [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] 79 ~ } _ => { [INFO] [stdout] 80 | comparison = Some(generation); [INFO] [stdout] 81 | comp_num = Some(i); [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.80s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rebos v3.5.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:161:56 [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::gen(ConfigSide::User) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::r#gen(ConfigSide::User) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut gen = super::legacy_2::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 73 | let mut r#gen = super::legacy_2::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:161:56 [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::gen(ConfigSide::User) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 161 | let generation = match generation::r#gen(ConfigSide::User) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut gen = super::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 87 | let mut r#gen = super::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = super::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut r#gen = super::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn gen(side: ConfigSide) -> Result { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 202 | pub fn r#gen(side: ConfigSide) -> Result { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let mut gen: Option> = None; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 286 | let mut r#gen: Option> = None; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut gen = super::legacy_2::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 73 | let mut r#gen = super::legacy_2::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut gen = super::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 87 | let mut r#gen = super::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut gen = super::Generation::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 140 | let mut r#gen = super::Generation::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | gen.imports = self.imports; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn gen(side: ConfigSide) -> Result { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 202 | pub fn r#gen(side: ConfigSide) -> Result { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let mut gen: Option> = None; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 286 | let mut r#gen: Option> = None; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | Some(s) => { [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 292 | Some(s) >= { [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | Some(s) => { [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 292 | Some(s) >= { [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `}` [INFO] [stdout] --> src/generation/mod.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 291 | match gen { [INFO] [stdout] | ----- while parsing this `match` expression [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] | - expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] 306 | }, [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `}` [INFO] [stdout] --> src/generation/mod.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 291 | match gen { [INFO] [stdout] | ----- while parsing this `match` expression [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] | - expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] 306 | }, [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let user_gen = match gen(ConfigSide::User) { [INFO] [stdout] | ----- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let user_gen = match gen(ConfigSide::User) { [INFO] [stdout] | ----- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(gen: &Generation) -> Result, io::Error> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(r#gen: &Generation) -> Result, io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(gen: &Generation) -> Result, io::Error> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 417 | fn get_order(r#gen: &Generation) -> Result, io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | for k in gen.managers.keys() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | for k in gen.managers.keys() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | gen.managers.keys().into_iter().map(|x| x.to_string()).collect() [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | gen.managers.keys().into_iter().map(|x| x.to_string()).collect() [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | let curr_gen = match gen(ConfigSide::System) { [INFO] [stdout] | ----- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/generation/mod.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | let curr_gen = match gen(ConfigSide::System) { [INFO] [stdout] | ----- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/obj_print.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(gen: &Generation) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(r#gen: &Generation) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/obj_print.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | for i in gen.managers.keys() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/obj_print.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(gen: &Generation) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generation(r#gen: &Generation) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/obj_print.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | for i in gen.managers.keys() { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | None => should_try = true, [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 245 | None >= should_try = true, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/generation/mod.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] ... [INFO] [stdout] 252 | }; [INFO] [stdout] | ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | None => should_try = true, [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 245 | None >= should_try = true, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/generation/mod.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] ... [INFO] [stdout] 252 | }; [INFO] [stdout] | ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | None => should_try = true, [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 245 | None >= should_try = true, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/generation/mod.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] ... [INFO] [stdout] 252 | }; [INFO] [stdout] | ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/generation/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | None => should_try = true, [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to write a "greater than or equal to" comparison [INFO] [stdout] | [INFO] [stdout] 245 | None >= should_try = true, [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/generation/mod.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] | help: try removing this `match` [INFO] [stdout] ... [INFO] [stdout] 252 | }; [INFO] [stdout] | ^ expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | match gen { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::management::load_manager` [INFO] [stdout] --> src/generation/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::management::load_manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piglog::prelude::*` [INFO] [stdout] --> src/obj_print.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use piglog::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj_print_boilerplate::macros::*` [INFO] [stdout] --> src/obj_print.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::obj_print_boilerplate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_entry` [INFO] [stdout] --> src/obj_print_boilerplate.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! print_entry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print_entry` [INFO] [stdout] --> src/obj_print_boilerplate.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use print_entry; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | match gen { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | deserialize_legacy!(gen, &gen_string, legacy_1::Generation, 1); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: gen blocks are experimental [INFO] [stdout] --> src/generation/mod.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | match $gen { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | deserialize_legacy!(gen, &gen_string, legacy_2::Generation, 2); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #117078 for more information [INFO] [stdout] = help: add `#![feature(gen_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `deserialize_legacy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::management::load_manager` [INFO] [stdout] --> src/generation/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::management::load_manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piglog::prelude::*` [INFO] [stdout] --> src/obj_print.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use piglog::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj_print_boilerplate::macros::*` [INFO] [stdout] --> src/obj_print.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::obj_print_boilerplate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_entry` [INFO] [stdout] --> src/obj_print_boilerplate.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! print_entry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print_entry` [INFO] [stdout] --> src/obj_print_boilerplate.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use print_entry; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/proc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | std::env::set_var(ID_ENV_NAME, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/proc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | std::env::set_var(ID_ENV_NAME, proc_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rebos` (bin "rebos" test) due to 27 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 26 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rebos` (bin "rebos") due to 27 previous errors; 5 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b873ff01f2bc616737ed4175a15199745f8289f9136fe3936f5361c8866ffd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b873ff01f2bc616737ed4175a15199745f8289f9136fe3936f5361c8866ffd84", kill_on_drop: false }` [INFO] [stdout] b873ff01f2bc616737ed4175a15199745f8289f9136fe3936f5361c8866ffd84