[INFO] cloning repository https://github.com/anatawa12/something-releaser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anatawa12/something-releaser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fsomething-releaser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fsomething-releaser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a313024880a7241640e30a00a4a7844c10a8ff9c [INFO] checking anatawa12/something-releaser/a313024880a7241640e30a00a4a7844c10a8ff9c against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatawa12%2Fsomething-releaser" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anatawa12/something-releaser 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 git repo https://github.com/anatawa12/something-releaser [INFO] finished tweaking git repo https://github.com/anatawa12/something-releaser [INFO] tweaked toml for git repo https://github.com/anatawa12/something-releaser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anatawa12/something-releaser 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] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../../cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../../cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../../cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../../cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50a2bf15b4745685150d3a4593d4dbd4e2cf0772153e4d7a180f2184a70b896a [INFO] running `Command { std: "docker" "start" "-a" "50a2bf15b4745685150d3a4593d4dbd4e2cf0772153e4d7a180f2184a70b896a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a2bf15b4745685150d3a4593d4dbd4e2cf0772153e4d7a180f2184a70b896a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a2bf15b4745685150d3a4593d4dbd4e2cf0772153e4d7a180f2184a70b896a", kill_on_drop: false }` [INFO] [stdout] 50a2bf15b4745685150d3a4593d4dbd4e2cf0772153e4d7a180f2184a70b896a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed88c448a0b01c5c986e3d0990f02a8f4e34bfecb0e982cdd17ecc09e2bca79 [INFO] running `Command { std: "docker" "start" "-a" "bed88c448a0b01c5c986e3d0990f02a8f4e34bfecb0e982cdd17ecc09e2bca79", 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] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking winnow v0.5.32 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking concolor-query v0.0.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking concolor-control v0.0.7 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking clap-cargo v0.12.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml_edit v0.22.4 [INFO] [stderr] Checking env_proxy v0.4.1 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking cargo-edit v0.12.2 (https://github.com/anatawa12/cargo-edit.git?rev=4a69e9f#4a69e9f4) [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking httptest v0.15.5 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking something-releaser v3.0.3-SNAPSHOT (/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 `something_releaser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | $value: 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/macros.rs:24:22 [INFO] [stderr] | [INFO] [stderr] 24 | $( @prefix = $prefix: 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/macros.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | $( @suffix = $suffix: 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/macros.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | $( $pattern: pat => $replacement: 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 4 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $value: 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] 23 | $value: 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/macros.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $( @prefix = $prefix: 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] 24 | $( @prefix = $prefix: 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/macros.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | $( @suffix = $suffix: 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] 25 | $( @suffix = $suffix: 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/macros.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | $( $pattern: pat => $replacement: 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] 26 | $( $pattern: pat => $replacement: 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/commands/gradle_maven.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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] 140 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 141 ~ unsafe { std::env::set_var("GRADLE_USER_HOME", new_home.path()) }; [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/commands/gradle_plugin_portal.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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] 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] 82 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 83 ~ unsafe { std::env::set_var("GRADLE_USER_HOME", new_home.path()) }; [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/commands/gradle_signing.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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] 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] 146 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 147 ~ unsafe { std::env::set_var("GRADLE_USER_HOME", new_home.path()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(usize), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/properties/parsing.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | while let Some((line_num, line_in)) = lines.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/utils/properties/parsing.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/version_changer/cargo.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new_req) = upgrade_requirement(old_req, next).expect("updating requirement"){ [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/version_changer/cargo.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match upgrade_requirement(old_req, next).expect("updating requirement"){ Some(new_req) => { [INFO] [stdout] 216 | debug!("Updating {name}'s dependency from {old_req} to {new_req}"); [INFO] [stdout] 217 | dep.insert("version", toml_edit::value(new_req)); [INFO] [stdout] 218 | changed = true; [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $value: 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] 23 | $value: expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `something_releaser` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $( @prefix = $prefix: 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] 24 | $( @prefix = $prefix: expr_2021, )? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | $( @suffix = $suffix: 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] 25 | $( @suffix = $suffix: expr_2021, )? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | $value: 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/macros.rs:24:22 [INFO] [stderr] | [INFO] [stderr] 24 | $( @prefix = $prefix: 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/macros.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | $( @suffix = $suffix: 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/macros.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | $( $pattern: pat => $replacement: expr_2021 ),+ $(,)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | $( $pattern: pat => $replacement: 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] 26 | $( $pattern: pat => $replacement: expr_2021 ),+ $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(usize), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [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 4 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: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/properties/parsing.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | while let Some((line_num, line_in)) = lines.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/utils/properties/parsing.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/version_changer/cargo.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new_req) = upgrade_requirement(old_req, next).expect("updating requirement"){ [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/version_changer/cargo.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match upgrade_requirement(old_req, next).expect("updating requirement"){ Some(new_req) => { [INFO] [stdout] 216 | debug!("Updating {name}'s dependency from {old_req} to {new_req}"); [INFO] [stdout] 217 | dep.insert("version", toml_edit::value(new_req)); [INFO] [stdout] 218 | changed = true; [INFO] [stdout] 219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.16s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/in/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] error: expected `.`, `=` [INFO] [stderr] --> ../../opt/rustwide/cargo-home/git/checkouts/cargo-edit-edd129c2a802a9f3/4a69e9f/tests/cargo-upgrade/invalid_workspace_root_manifest/out/Cargo.toml:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | This is clearly not a valid Cargo.toml. [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] Checking something-releaser v3.0.3-SNAPSHOT (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/gradle_maven.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/gradle_plugin_portal.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/commands/gradle_signing.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | std::env::set_var("GRADLE_USER_HOME", new_home.path()); [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] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | LeadingZero(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(usize), [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | InvalidEscape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils/json.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | InvalidChar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `something-releaser` (bin "something-releaser" test) due to 4 previous errors [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" "bed88c448a0b01c5c986e3d0990f02a8f4e34bfecb0e982cdd17ecc09e2bca79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed88c448a0b01c5c986e3d0990f02a8f4e34bfecb0e982cdd17ecc09e2bca79", kill_on_drop: false }` [INFO] [stdout] bed88c448a0b01c5c986e3d0990f02a8f4e34bfecb0e982cdd17ecc09e2bca79