[INFO] fetching crate sigstore 0.10.0... [INFO] checking sigstore-0.10.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sigstore 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate sigstore 0.10.0 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 sigstore 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sigstore 0.10.0 [INFO] tweaked toml for crates.io crate sigstore 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate sigstore 0.10.0 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 521f115e2ef1e4b1b7a50856d3c07056c6360fcc74da2d9c02fdaf6d410321cb [INFO] running `Command { std: "docker" "start" "-a" "521f115e2ef1e4b1b7a50856d3c07056c6360fcc74da2d9c02fdaf6d410321cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "521f115e2ef1e4b1b7a50856d3c07056c6360fcc74da2d9c02fdaf6d410321cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521f115e2ef1e4b1b7a50856d3c07056c6360fcc74da2d9c02fdaf6d410321cb", kill_on_drop: false }` [INFO] [stdout] 521f115e2ef1e4b1b7a50856d3c07056c6360fcc74da2d9c02fdaf6d410321cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e344517fffff02d5c4d64e27c36f7781ef3b7c80707ea3aaff018129dc6a7e00 [INFO] running `Command { std: "docker" "start" "-a" "e344517fffff02d5c4d64e27c36f7781ef3b7c80707ea3aaff018129dc6a7e00", 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] Fixed Cargo.toml (25 fixes) [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling snafu-derive v0.8.4 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking olpc-cjson v0.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling prost-reflect-derive v0.12.0 [INFO] [stderr] Compiling tls_codec_derive v0.4.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking json-number v0.4.8 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking prost-reflect v0.12.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tls_codec v0.4.1 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking snafu v0.8.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Compiling locspan-derive v0.6.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking http-auth v0.1.10 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling sigstore-protobuf-specs-derive v0.0.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking locspan v0.8.2 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking sdd v3.0.3 [INFO] [stderr] Checking decoded-char v0.1.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking utf8-decode v1.0.1 [INFO] [stderr] Checking typed-path v0.9.1 [INFO] [stderr] Checking parse-display v0.9.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking json-syntax v0.12.5 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Checking scc v2.1.17 [INFO] [stderr] Checking sigstore_protobuf_specs v0.3.6 [INFO] [stderr] Checking openidconnect v3.5.0 [INFO] [stderr] Checking tough v0.18.0 [INFO] [stderr] Checking oci-distribution v0.11.0 [INFO] [stderr] Checking crypto_secretbox v0.1.1 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking webbrowser v1.0.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking docker_credential v1.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Checking sigstore v0.10.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking bollard v0.17.1 [INFO] [stderr] Checking testcontainers v0.22.0 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sigstore` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bundle/verify/policy.rs [INFO] [stderr] * src/crypto/signing_key/ecdsa/mod.rs [INFO] [stderr] * src/crypto/signing_key/mod.rs [INFO] [stderr] * src/crypto/signing_key/rsa/mod.rs [INFO] [stderr] * src/fulcio/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/signing_key/ecdsa/mod.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | ($func: ident ($($args:expr_2021),*), $errorinfo: literal) => { [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/crypto/signing_key/rsa/mod.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: 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/crypto/signing_key/rsa/mod.rs:108:75 [INFO] [stderr] | [INFO] [stderr] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: 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/crypto/signing_key/mod.rs:154:22 [INFO] [stderr] | [INFO] [stderr] 154 | ($func: ident ($($args: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/crypto/signing_key/mod.rs:169:22 [INFO] [stderr] | [INFO] [stderr] 169 | ($func: ident ($($args:expr_2021),*), $obj:ident) => { [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/fulcio/mod.rs:218:16 [INFO] [stderr] | [INFO] [stderr] 218 | ($($key:expr_2021 => $val: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/fulcio/mod.rs:218:34 [INFO] [stderr] | [INFO] [stderr] 218 | ($($key:expr_2021 => $val: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/bundle/verify/policy.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | ($policy:ident, $oid:expr_2021, $doc:literal) => { [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 8 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/crypto/signing_key/kdf.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | res.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | ($func: ident ($($args:expr),*), $errorinfo: literal) => { [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] 108 | ($func: ident ($($args:expr_2021),*), $errorinfo: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/rsa/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: 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] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: 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/crypto/signing_key/rsa/mod.rs:108:77 [INFO] [stdout] | [INFO] [stdout] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: 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] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: 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/crypto/signing_key/mod.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | ($func: ident ($($args: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] 154 | ($func: ident ($($args: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/crypto/signing_key/mod.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | ($func: ident ($($args:expr),*), $obj:ident) => { [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] 169 | ($func: ident ($($args:expr_2021),*), $obj:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fulcio/mod.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | ($($key:expr => $val: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] 218 | ($($key:expr_2021 => $val: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/fulcio/mod.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ($($key:expr => $val: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] 218 | ($($key:expr => $val: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/bundle/verify/policy.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | ($policy:ident, $oid:expr, $doc:literal) => { [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] 31 | ($policy:ident, $oid:expr_2021, $doc:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/keyring.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let (algo, params) = if let Some(params) = &spki.algorithm.parameters { [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/crypto/keyring.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [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] 53 ~ let (algo, params) = match &spki.algorithm.parameters { Some(params) => { [INFO] [stdout] 54 | // Special-case RSA keys, which don't have SPKI parameters. [INFO] [stdout] ... [INFO] [stdout] 60 | (spki.algorithm.oid, params.decode_as()?) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | return Err(KeyringError::AlgoUnsupported); [INFO] [stdout] 63 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/verification_key.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | } else if let Ok(rsapk) = rsa::RsaPublicKey::from_public_key_der(der_data) { [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/crypto/verification_key.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ } else { match rsa::RsaPublicKey::from_public_key_der(der_data) { Ok(rsapk) => { [INFO] [stdout] 221 | Ok(Self::RSA_PKCS1_SHA256(pkcs1v15::VerifyingKey::new(rsapk))) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | Err(SigstoreError::InvalidKeyFormat { [INFO] [stdout] 224 | error: "Failed to parse the public key.".to_string(), [INFO] [stdout] 225 | }) [INFO] [stdout] 226 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trust/sigstore/mod.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let data = if let Some(Ok(local_data)) = local_path.as_ref().map(std::fs::read) { [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] 107 | } else if let Ok(remote_data) = read_remote_target().await { [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/trust/sigstore/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Some(embedded_data) = constants::static_resource(name.raw()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/trust/sigstore/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ let data = match local_path.as_ref().map(std::fs::read) { Some(Ok(local_data)) => { [INFO] [stdout] 100 | debug!("{}: reading from disk cache", name.raw()); [INFO] [stdout] 101 | local_data.to_vec() [INFO] [stdout] 102 | // Try reading the target embedded into the binary. [INFO] [stdout] 103 ~ } _ => if let Some(embedded_data) = constants::static_resource(name.raw()) { [INFO] [stdout] 104 | debug!("{}: reading from embedded resources", name.raw()); [INFO] [stdout] 105 | embedded_data.to_vec() [INFO] [stdout] 106 | // If all else fails, read the data from the TUF repo. [INFO] [stdout] 107 ~ } else { match read_remote_target().await { Ok(remote_data) => { [INFO] [stdout] 108 | debug!("{}: reading from remote", name.raw()); [INFO] [stdout] 109 | remote_data.to_vec() [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | return Err(SigstoreError::TufTargetNotFoundError(name.raw().to_owned())); [INFO] [stdout] 112 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oauth/openidflow.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if let Ok(mut stream) = stream { [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/oauth/openidflow.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match stream { Ok(mut stream) => { [INFO] [stdout] 229 | let code; [INFO] [stdout] ... [INFO] [stdout] 269 | return Ok(code); [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bundle/sign.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(detached_sct) = &self.certs.detached_sct { [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/bundle/sign.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match &self.certs.detached_sct { Some(detached_sct) => { [INFO] [stdout] 138 | verify_sct(detached_sct, &self.context.ctfe_keyring)?; [INFO] [stdout] 139 ~ } _ => { [INFO] [stdout] 140 | let sct = CertificateEmbeddedSCT::new(&self.certs.cert, &self.certs.chain)?; [INFO] [stdout] 141 | verify_sct(&sct, &self.context.ctfe_keyring)?; [INFO] [stdout] 142 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/fulcio/cert/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sigstore` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bundle/verify/policy.rs [INFO] [stderr] * src/crypto/signing_key/ecdsa/mod.rs [INFO] [stderr] * src/crypto/signing_key/mod.rs [INFO] [stderr] * src/crypto/signing_key/rsa/mod.rs [INFO] [stderr] * src/fulcio/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/crypto/signing_key/ecdsa/mod.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | ($func: ident ($($args:expr_2021),*), $errorinfo: literal) => { [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/crypto/signing_key/rsa/mod.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: 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/crypto/signing_key/rsa/mod.rs:108:75 [INFO] [stderr] | [INFO] [stderr] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: 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/crypto/signing_key/mod.rs:154:22 [INFO] [stderr] | [INFO] [stderr] 154 | ($func: ident ($($args: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/crypto/signing_key/mod.rs:169:22 [INFO] [stderr] | [INFO] [stderr] 169 | ($func: ident ($($args:expr_2021),*), $obj:ident) => { [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/fulcio/mod.rs:218:16 [INFO] [stderr] | [INFO] [stderr] 218 | ($($key:expr_2021 => $val: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/fulcio/mod.rs:218:34 [INFO] [stderr] | [INFO] [stderr] 218 | ($($key:expr_2021 => $val: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/bundle/verify/policy.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | ($policy:ident, $oid:expr_2021, $doc:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/kdf.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | res.push(rand::thread_rng().gen()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | ($func: ident ($($args:expr),*), $errorinfo: literal) => { [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] 108 | ($func: ident ($($args:expr_2021),*), $errorinfo: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/rsa/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: 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] 108 | ($domain: ident, $match_item: expr_2021, $signer: ident, $key: ident, $func: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/rsa/mod.rs:108:77 [INFO] [stdout] | [INFO] [stdout] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: 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] 108 | ($domain: ident, $match_item: expr, $signer: ident, $key: ident, $func: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/crypto/signing_key/mod.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | ($func: ident ($($args: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] 154 | ($func: ident ($($args: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/crypto/signing_key/mod.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | ($func: ident ($($args:expr),*), $obj:ident) => { [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] 169 | ($func: ident ($($args:expr_2021),*), $obj:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fulcio/mod.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | ($($key:expr => $val: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] 218 | ($($key:expr_2021 => $val:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/fulcio/mod.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ($($key:expr => $val: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] 218 | ($($key:expr => $val: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/bundle/verify/policy.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | ($policy:ident, $oid:expr, $doc:literal) => { [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] 31 | ($policy:ident, $oid:expr_2021, $doc:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/keyring.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let (algo, params) = if let Some(params) = &spki.algorithm.parameters { [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/crypto/keyring.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } else { [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] 53 ~ let (algo, params) = match &spki.algorithm.parameters { Some(params) => { [INFO] [stdout] 54 | // Special-case RSA keys, which don't have SPKI parameters. [INFO] [stdout] ... [INFO] [stdout] 60 | (spki.algorithm.oid, params.decode_as()?) [INFO] [stdout] 61 ~ } _ => { [INFO] [stdout] 62 | return Err(KeyringError::AlgoUnsupported); [INFO] [stdout] 63 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/verification_key.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | } else if let Ok(rsapk) = rsa::RsaPublicKey::from_public_key_der(der_data) { [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/crypto/verification_key.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ } else { match rsa::RsaPublicKey::from_public_key_der(der_data) { Ok(rsapk) => { [INFO] [stdout] 221 | Ok(Self::RSA_PKCS1_SHA256(pkcs1v15::VerifyingKey::new(rsapk))) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | Err(SigstoreError::InvalidKeyFormat { [INFO] [stdout] 224 | error: "Failed to parse the public key.".to_string(), [INFO] [stdout] 225 | }) [INFO] [stdout] 226 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 181 | sigstore_keypair_from!(from_pem(pem_data)) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 186 | sigstore_keypair_from!(from_der(private_key)) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if let Ok(keys) = ECDSAKeys::$func($($args,)*) { [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] 156 | Ok(SigStoreKeyPair::ECDSA(keys)) [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 158 | Ok(SigStoreKeyPair::ED25519(keys)) [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [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] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Ok(keys) = Ed25519Keys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Ok(keys) = RSAKeys::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | sigstore_keypair_from!(from_encrypted_pem(pem_data, password)) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `sigstore_keypair_from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 141 | / iterate_on_curves!( [INFO] [stdout] 142 | | from_encrypted_pem(private_key, password), [INFO] [stdout] 143 | | "Ecdsa keys from encrypted PEM private key" [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | iterate_on_curves!(from_pem(pem_data), "Ecdsa keys from PEM private key") [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 110 | Ok(ECDSAKeys::P256(keys)) [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [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] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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/crypto/signing_key/ecdsa/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | } else if let Ok(keys) = EcdsaKeys::::$func($($args,)*) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/crypto/signing_key/ecdsa/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | iterate_on_curves!(from_der(private_key), "Ecdsa keys from DER private key") [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `iterate_on_curves` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/crypto/mod.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | if let Some(url) = settings.subject_url { [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/crypto/mod.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 432 ~ match settings.subject_url { Some(url) => { [INFO] [stdout] 433 | let x509_extension_san = SubjectAlternativeName::new() [INFO] [stdout] ... [INFO] [stdout] 438 | extensions.push(x509_extension_san); [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/trust/sigstore/mod.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let data = if let Some(Ok(local_data)) = local_path.as_ref().map(std::fs::read) { [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] 107 | } else if let Ok(remote_data) = read_remote_target().await { [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/trust/sigstore/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Some(embedded_data) = constants::static_resource(name.raw()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/trust/sigstore/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ let data = match local_path.as_ref().map(std::fs::read) { Some(Ok(local_data)) => { [INFO] [stdout] 100 | debug!("{}: reading from disk cache", name.raw()); [INFO] [stdout] 101 | local_data.to_vec() [INFO] [stdout] 102 | // Try reading the target embedded into the binary. [INFO] [stdout] 103 ~ } _ => if let Some(embedded_data) = constants::static_resource(name.raw()) { [INFO] [stdout] 104 | debug!("{}: reading from embedded resources", name.raw()); [INFO] [stdout] 105 | embedded_data.to_vec() [INFO] [stdout] 106 | // If all else fails, read the data from the TUF repo. [INFO] [stdout] 107 ~ } else { match read_remote_target().await { Ok(remote_data) => { [INFO] [stdout] 108 | debug!("{}: reading from remote", name.raw()); [INFO] [stdout] 109 | remote_data.to_vec() [INFO] [stdout] 110 ~ } _ => { [INFO] [stdout] 111 | return Err(SigstoreError::TufTargetNotFoundError(name.raw().to_owned())); [INFO] [stdout] 112 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/oauth/openidflow.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if let Ok(mut stream) = stream { [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/oauth/openidflow.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match stream { Ok(mut stream) => { [INFO] [stdout] 229 | let code; [INFO] [stdout] ... [INFO] [stdout] 269 | return Ok(code); [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bundle/sign.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(detached_sct) = &self.certs.detached_sct { [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/bundle/sign.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match &self.certs.detached_sct { Some(detached_sct) => { [INFO] [stdout] 138 | verify_sct(detached_sct, &self.context.ctfe_keyring)?; [INFO] [stdout] 139 ~ } _ => { [INFO] [stdout] 140 | let sct = CertificateEmbeddedSCT::new(&self.certs.cert, &self.certs.chain)?; [INFO] [stdout] 141 | verify_sct(&sct, &self.context.ctfe_keyring)?; [INFO] [stdout] 142 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/fulcio/cert/main.rs (1 fix) [INFO] [stderr] Migrating examples/key_interface/key_pair_gen_and_export/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/cosign/verify-blob/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/create_log_entry/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/search_index/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/get_log_info/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/get_log_proof/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/cosign/verify/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/get_public_key/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/rekor/get_public_key/main.rs (1 fix) [INFO] [stderr] Migrating examples/cosign/verify-bundle/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/search_log_query/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/get_log_entry_by_index/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/cosign/sign/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/key_interface/key_pair_gen_sign_verify/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rekor/get_log_entry_by_uuid/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/openidflow/openidconnect/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/key_interface/key_pair_import/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.03s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sigstore v0.10.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/crypto/signing_key/kdf.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | res.push(rand::thread_rng().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] 207 | res.push(rand::thread_rng().r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/crypto/signing_key/kdf.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | res.push(rand::thread_rng().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] 207 | res.push(rand::thread_rng().r#gen()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sigstore` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sigstore` (lib test) due to 2 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" "e344517fffff02d5c4d64e27c36f7781ef3b7c80707ea3aaff018129dc6a7e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e344517fffff02d5c4d64e27c36f7781ef3b7c80707ea3aaff018129dc6a7e00", kill_on_drop: false }` [INFO] [stdout] e344517fffff02d5c4d64e27c36f7781ef3b7c80707ea3aaff018129dc6a7e00