[INFO] fetching crate hedera 0.28.0... [INFO] checking hedera-0.28.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate hedera 0.28.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate hedera 0.28.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] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate hedera 0.28.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hedera 0.28.0 [INFO] tweaked toml for crates.io crate hedera 0.28.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate hedera 0.28.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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `pkcs8` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1be7bd6a50db5fc5918d5d2fa5f1cf76acc3845073a2da635a7ab5cecfa80e4b [INFO] running `Command { std: "docker" "start" "-a" "1be7bd6a50db5fc5918d5d2fa5f1cf76acc3845073a2da635a7ab5cecfa80e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1be7bd6a50db5fc5918d5d2fa5f1cf76acc3845073a2da635a7ab5cecfa80e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be7bd6a50db5fc5918d5d2fa5f1cf76acc3845073a2da635a7ab5cecfa80e4b", kill_on_drop: false }` [INFO] [stdout] 1be7bd6a50db5fc5918d5d2fa5f1cf76acc3845073a2da635a7ab5cecfa80e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 04670ab44a9a8053746e7395da875876112a348f7c94ded17844d6e5b1f4396b [INFO] running `Command { std: "docker" "start" "-a" "04670ab44a9a8053746e7395da875876112a348f7c94ded17844d6e5b1f4396b", 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 (1 fix) [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling syn v2.0.72 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking clap_builder v4.5.14 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling mini-internal v0.1.39 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking miniserde v0.1.39 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking clap v4.5.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling hedera-proto v0.13.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking hedera v0.28.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hedera` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/protobuf/get.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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/key/private_key/mod.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | Self::new_derivable(data.into(), csprng.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] [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/protobuf/get.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($expr:expr_2021, $field: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/protobuf/get.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($expr:expr, $field: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] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($expr:expr_2021, $field:ident) => {{ [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/protobuf/get.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr, $variant:ident, $ty:ty) => {{ [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] 33 | ($expr:expr_2021, $variant:ident, $ty:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/protobuf/get.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($expr:expr_2021, $variant:ident, $ty:ty) => {{ [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 2 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: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node_address_book_query.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node_address_book_query.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query/cost.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(transaction_id) = self.0.data.transaction_id() { [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/query/cost.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else if let Some(transaction_id) = transaction_id { [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] 123 ~ match self.0.data.transaction_id() { Some(transaction_id) => { [INFO] [stdout] 124 | crate::Error::QueryPreCheckStatus { status, transaction_id: Box::new(transaction_id) } [INFO] [stdout] 125 ~ } _ => if let Some(transaction_id) = transaction_id { [INFO] [stdout] 126 | crate::Error::QueryPaymentPreCheckStatus { [INFO] [stdout] ... [INFO] [stdout] 131 | crate::Error::QueryNoPaymentPreCheckStatus { status } [INFO] [stdout] 132 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query/execute.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(transaction_id) = self.data.transaction_id() { [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/query/execute.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else if let Some(transaction_id) = transaction_id { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.data.transaction_id() { Some(transaction_id) => { [INFO] [stdout] 168 | crate::Error::QueryPreCheckStatus { status, transaction_id: Box::new(transaction_id) } [INFO] [stdout] 169 ~ } _ => if let Some(transaction_id) = transaction_id { [INFO] [stdout] 170 | crate::Error::QueryPaymentPreCheckStatus { [INFO] [stdout] ... [INFO] [stdout] 175 | crate::Error::QueryNoPaymentPreCheckStatus { status } [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/retry.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(duration) = backoff.next_backoff() { [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/retry.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 42 ~ match backoff.next_backoff() { Some(duration) => { [INFO] [stdout] 43 | let duration_ms = duration.as_millis(); [INFO] [stdout] ... [INFO] [stdout] 49 | log::warn!("Backed off for {duration_ms}ms after failure of attempt {attempt_number}{err_suffix}"); [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | let last_error = last_error.expect("timeout while network had no healthy nodes"); [INFO] [stdout] 52 | return Err(crate::Error::TimedOut(last_error.into())); [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/topic/topic_message_query.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/topic/topic_message_query.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/consensus_pub_sub.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hedera` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/key/private_key/mod.rs [INFO] [stderr] * src/protobuf/get.rs [INFO] [stderr] * src/semantic_version/tests.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: ambiguous `+` in a type [INFO] [stderr] --> src/key/private_key/mod.rs:152:43 [INFO] [stderr] | [INFO] [stderr] 152 | pub(crate) fn debug_pretty(&self) -> &impl Debug + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 152 | pub(crate) fn debug_pretty(&self) -> &(impl Debug + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/protobuf/get.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($expr:expr_2021, $field: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/protobuf/get.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($expr:expr_2021, $variant:ident, $ty:ty) => {{ [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/semantic_version/tests.rs:64:46 [INFO] [stderr] | [INFO] [stderr] 64 | ( $( fn $name:ident ($lit:literal) = $e:expr_2021 ),* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/key/private_key/mod.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | Self::new_derivable(data.into(), csprng.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] [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/protobuf/get.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($expr:expr, $field: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] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($expr:expr_2021, $field: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/protobuf/get.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | ($expr:expr, $variant:ident, $ty:ty) => {{ [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] 33 | ($expr:expr_2021, $variant:ident, $ty:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/semantic_version/tests.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | ( $( fn $name:ident ($lit:literal) = $e: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] 64 | ( $( fn $name:ident ($lit:literal) = $e:expr_2021 ),* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Debug` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/key/private_key/mod.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) fn debug_pretty(&self) -> &impl Debug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/key/private_key/mod.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) fn debug_pretty(&self) -> &impl Debug { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) fn debug_pretty(&self) -> &impl Debug + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node_address_book_query.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node_address_book_query.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 71 | fn map_stream<'a, S>(stream: S) -> impl Stream> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query/cost.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(transaction_id) = self.0.data.transaction_id() { [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/query/cost.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else if let Some(transaction_id) = transaction_id { [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] 123 ~ match self.0.data.transaction_id() { Some(transaction_id) => { [INFO] [stdout] 124 | crate::Error::QueryPreCheckStatus { status, transaction_id: Box::new(transaction_id) } [INFO] [stdout] 125 ~ } _ => if let Some(transaction_id) = transaction_id { [INFO] [stdout] 126 | crate::Error::QueryPaymentPreCheckStatus { [INFO] [stdout] ... [INFO] [stdout] 131 | crate::Error::QueryNoPaymentPreCheckStatus { status } [INFO] [stdout] 132 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/query/execute.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(transaction_id) = self.data.transaction_id() { [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/query/execute.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | } else if let Some(transaction_id) = transaction_id { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.data.transaction_id() { Some(transaction_id) => { [INFO] [stdout] 168 | crate::Error::QueryPreCheckStatus { status, transaction_id: Box::new(transaction_id) } [INFO] [stdout] 169 ~ } _ => if let Some(transaction_id) = transaction_id { [INFO] [stdout] 170 | crate::Error::QueryPaymentPreCheckStatus { [INFO] [stdout] ... [INFO] [stdout] 175 | crate::Error::QueryNoPaymentPreCheckStatus { status } [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/retry.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(duration) = backoff.next_backoff() { [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/retry.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 42 ~ match backoff.next_backoff() { Some(duration) => { [INFO] [stdout] 43 | let duration_ms = duration.as_millis(); [INFO] [stdout] ... [INFO] [stdout] 49 | log::warn!("Backed off for {duration_ms}ms after failure of attempt {attempt_number}{err_suffix}"); [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | let last_error = last_error.expect("timeout while network had no healthy nodes"); [INFO] [stdout] 52 | return Err(crate::Error::TimedOut(last_error.into())); [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/topic/topic_message_query.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/topic/topic_message_query.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 91 | fn map_stream<'a, S>(stream: S) -> impl Stream> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/consensus_pub_sub.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | while let Some(tm) = stream.try_next().await? { [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] --> examples/consensus_pub_sub.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/multi_sig_offline.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/transfer_crypto_cost.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/account_allowance.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/generate_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/file_append_chunked.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/validate_checksum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/create_account_threshold_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/create_file.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/update_account_public_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/get_file_contents.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/get_exchange_rates.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/create_simple_contract.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/consensus_pub_sub_chunked.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/modify_token_keys.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/consensus_pub_sub_chunked.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | while let Some(elem) = stream.next().await { [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] --> examples/consensus_pub_sub_chunked.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/create_stateful_contract.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/schedule_identical_transaction.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/token_update_metadata_with_metadata_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/create_account.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/schedule.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/consensus_pub_sub_with_submit_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/create_topic.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/consensus_pub_sub_with_submit_key.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | while let Some(elem) = stream.next().await { [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] --> examples/consensus_pub_sub_with_submit_key.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/get_account_info.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/staking_with_update.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/staking.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/topic_with_admin_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/schedule_multi_sig_transaction.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/delete_file.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/multi_app_transfer.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/transfer_tokens.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/account_alias.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/get_account_balance.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sign_transaction.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/nft_update_metadata.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/token_update_metadata_with_admin_key.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/scheduled_transaction_multi_sig_threshold.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/transfer_crypto.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/e2e/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/e2e/token/reject_flow.rs (1 fix) [INFO] [stderr] Fixed tests/e2e/token/reject.rs (1 fix) [INFO] [stderr] Migrating examples/prng.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/e2e/token/update.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/e2e/token/mod.rs:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | while let Some(response) = tasks.join_next().await { [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] --> tests/e2e/token/mod.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/e2e/token/mod.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 404 | while let Some(receipt) = tasks.join_next().await { [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] --> tests/e2e/token/mod.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/scheduled_transfer.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling hedera-proto v0.13.0 [INFO] [stderr] Checking hedera v0.28.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/key/private_key/mod.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | Self::new_derivable(data.into(), csprng.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] 181 | Self::new_derivable(data.into(), csprng.r#gen()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/key/private_key/mod.rs:181:49 [INFO] [stdout] | [INFO] [stdout] 181 | Self::new_derivable(data.into(), csprng.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] 181 | Self::new_derivable(data.into(), csprng.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 `hedera` (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 `hedera` (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" "04670ab44a9a8053746e7395da875876112a348f7c94ded17844d6e5b1f4396b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04670ab44a9a8053746e7395da875876112a348f7c94ded17844d6e5b1f4396b", kill_on_drop: false }` [INFO] [stdout] 04670ab44a9a8053746e7395da875876112a348f7c94ded17844d6e5b1f4396b