[INFO] cloning repository https://github.com/env-store/rusty-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/env-store/rusty-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenv-store%2Frusty-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenv-store%2Frusty-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2cc49ba2070c7402ccf6dff9624f2b9e895bee9 [INFO] checking env-store/rusty-cli/a2cc49ba2070c7402ccf6dff9624f2b9e895bee9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenv-store%2Frusty-cli" "/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/env-store/rusty-cli 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/env-store/rusty-cli [INFO] finished tweaking git repo https://github.com/env-store/rusty-cli [INFO] tweaked toml for git repo https://github.com/env-store/rusty-cli written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/env-store/rusty-cli 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08653c2d9c17202a0ff54f1d7e9132ad72caecfab05f2f5fa1465421a1daa168 [INFO] running `Command { std: "docker" "start" "-a" "08653c2d9c17202a0ff54f1d7e9132ad72caecfab05f2f5fa1465421a1daa168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08653c2d9c17202a0ff54f1d7e9132ad72caecfab05f2f5fa1465421a1daa168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08653c2d9c17202a0ff54f1d7e9132ad72caecfab05f2f5fa1465421a1daa168", kill_on_drop: false }` [INFO] [stdout] 08653c2d9c17202a0ff54f1d7e9132ad72caecfab05f2f5fa1465421a1daa168 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bfcf2a35fbb44722e1fd57ce12a3e10ee49dedc4f8fa735e3166d3b15db3b62 [INFO] running `Command { std: "docker" "start" "-a" "3bfcf2a35fbb44722e1fd57ce12a3e10ee49dedc4f8fa735e3166d3b15db3b62", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking buffer-redux v1.0.1 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking keyring v3.2.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking box_drawing v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking dbl v0.3.2 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking cmac v0.7.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha1-checked v0.10.0 [INFO] [stderr] Checking ocb3 v0.1.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking eax v0.5.0 [INFO] [stderr] Checking idea v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking twofish v0.7.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking camellia v0.1.0 [INFO] [stderr] Checking cfb-mode v0.8.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking cast5 v0.11.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking clap_complete v4.5.23 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking p521 v0.13.3 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking dsa v0.6.3 [INFO] [stderr] Checking pgp v0.13.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking envx v2.0.3 (/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 `envx` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | ($message: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] 29 | ($message:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:29:6 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 29 | ($message: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 1 previous error [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:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `envx` [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/commands/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:29:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | ($message: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] 29 | ($message:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 29 | ($message: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 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking envx v2.0.3 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/commands/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 6 | enum Commands { [INFO] [stdout] | -------- while parsing this enum [INFO] [stdout] 7 | $( [INFO] [stdout] 8 | [<$module:camel>]($module::Args), [INFO] [stdout] | ^^^^^^^ expected type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] = note: this error originates in the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | Commands::[<$module:camel>](args) => $module::command(args).await?, [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 6 | enum Commands { [INFO] [stdout] | -------- while parsing this enum [INFO] [stdout] 7 | $( [INFO] [stdout] 8 | [<$module:camel>]($module::Args), [INFO] [stdout] | ^^^^^^^ expected type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] = note: this error originates in the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | Commands::[<$module:camel>](args) => $module::command(args).await?, [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> src/macros.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] | ^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive produced unparsable tokens [INFO] [stdout] --> src/macros.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/commands/list_keys.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::commands::get::keys::{command, Args}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/commands/list_keys.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::commands::get::keys::{command, Args}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/macros.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ expected 0 fields, found 1 [INFO] [stdout] ... [INFO] [stdout] 8 | [<$module:camel>]($module::Args), [INFO] [stdout] | ----------------- tuple variant has 0 fields [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Subcommand` which comes from the expansion of the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 1 field, but the corresponding tuple variant has 0 fields [INFO] [stdout] --> src/macros.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Subcommand)] [INFO] [stdout] | ^^^^^^^^^^ expected 0 fields, found 1 [INFO] [stdout] ... [INFO] [stdout] 8 | [<$module:camel>]($module::Args), [INFO] [stdout] | ----------------- tuple variant has 0 fields [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / commands_enum!( [INFO] [stdout] 30 | | auth, decrypt, encrypt, export, gen, import, link, list_keys, run, set, [INFO] [stdout] 31 | | shell, sign, unlink, unset, upload, variables, version, [INFO] [stdout] 32 | | // commands with subcommands [INFO] [stdout] 33 | | config, delete, get, keyring, new, project [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Subcommand` which comes from the expansion of the macro `commands_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envx` (bin "envx") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `envx` (bin "envx" test) due to 7 previous errors; 1 warning 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" "3bfcf2a35fbb44722e1fd57ce12a3e10ee49dedc4f8fa735e3166d3b15db3b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bfcf2a35fbb44722e1fd57ce12a3e10ee49dedc4f8fa735e3166d3b15db3b62", kill_on_drop: false }` [INFO] [stdout] 3bfcf2a35fbb44722e1fd57ce12a3e10ee49dedc4f8fa735e3166d3b15db3b62