[INFO] fetching crate kameo 0.10.0... [INFO] checking kameo-0.10.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate kameo 0.10.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate kameo 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 kameo 0.10.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kameo 0.10.0 [INFO] tweaked toml for crates.io crate kameo 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate kameo 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c25306e57fc20c4d06586240ba1d50b9cb64796e280b7ce0931c8b8ad7d030ad [INFO] running `Command { std: "docker" "start" "-a" "c25306e57fc20c4d06586240ba1d50b9cb64796e280b7ce0931c8b8ad7d030ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c25306e57fc20c4d06586240ba1d50b9cb64796e280b7ce0931c8b8ad7d030ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25306e57fc20c4d06586240ba1d50b9cb64796e280b7ce0931c8b8ad7d030ad", kill_on_drop: false }` [INFO] [stdout] c25306e57fc20c4d06586240ba1d50b9cb64796e280b7ce0931c8b8ad7d030ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d1a4d294a212d3dfbf24086891e761b9da5b475446c3d12688d32a16cffc344a [INFO] running `Command { std: "docker" "start" "-a" "d1a4d294a212d3dfbf24086891e761b9da5b475446c3d12688d32a16cffc344a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking asn1_der v0.7.6 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling linkme-impl v0.3.28 [INFO] [stderr] Compiling kameo_macros v0.10.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking linkme v0.3.28 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking quinn-udp v0.5.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking cbor4ii v0.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking libp2p-identity v0.2.9 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking quinn-proto v0.11.6 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking libp2p-core v0.42.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking libp2p-tls v0.5.0 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking libp2p-swarm v0.45.1 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking quinn v0.11.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking netlink-proto v0.10.0 [INFO] [stderr] Checking rtnetlink v0.10.1 [INFO] [stderr] Checking if-watch v3.2.0 [INFO] [stderr] Checking libp2p-quic v0.11.1 [INFO] [stderr] Checking libp2p-kad v0.46.2 [INFO] [stderr] Checking libp2p-allow-block-list v0.4.0 [INFO] [stderr] Checking libp2p-request-response v0.27.0 [INFO] [stderr] Checking libp2p-connection-limits v0.4.0 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking libp2p-mdns v0.46.0 [INFO] [stderr] Checking libp2p-dns v0.42.0 [INFO] [stderr] Checking libp2p v0.54.1 [INFO] [stderr] Checking kameo v0.10.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 `kameo` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/request/ask.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/request/ask.rs:179:90 [INFO] [stderr] | [INFO] [stderr] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_... [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/request/ask.rs:179:123 [INFO] [stderr] | [INFO] [stderr] 179 | ...ent, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:467:90 [INFO] [stderr] | [INFO] [stderr] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_... [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/request/ask.rs:467:123 [INFO] [stderr] | [INFO] [stderr] 467 | ...ent, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/request/ask.rs:179:112 [INFO] [stdout] | [INFO] [stdout] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:... [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] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:179:138 [INFO] [stdout] | [INFO] [stdout] 179 | ...t, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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/request/ask.rs:467:112 [INFO] [stdout] | [INFO] [stdout] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:... [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] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:467:138 [INFO] [stdout] | [INFO] [stdout] 467 | ...t, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/actor_ref.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | while let Some(msg) = 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] --> src/actor/actor_ref.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/kind.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(reason) = self [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 76 | || .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 77 | || .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] | [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/actor/kind.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self [INFO] [stdout] 76 | .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 77 | .await [INFO] [stdout] 78 ~ { Some(reason) => { [INFO] [stdout] 79 | return Some(reason); [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(reason) = state.on_shutdown(reason).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] --> src/actor/spawn.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 265 ~ match state.on_shutdown(reason).await { Some(reason) => { [INFO] [stdout] 266 | return reason; [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(reason) = state.handle_startup_finished().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] --> src/actor/spawn.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match state.handle_startup_finished().await { Some(reason) => { [INFO] [stdout] 283 | return reason; [INFO] [stdout] 284 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(reason) = state [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 293 | || .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 294 | || .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] | [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/actor/spawn.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match state [INFO] [stdout] 293 | .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 294 | .await [INFO] [stdout] 295 ~ { Some(reason) => { [INFO] [stdout] 296 | return reason; [INFO] [stdout] 297 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(reason) = state.handle_link_died(id, reason).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] --> src/actor/spawn.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 300 ~ match state.handle_link_died(id, reason).await { Some(reason) => { [INFO] [stdout] 301 | return reason; [INFO] [stdout] 302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(reason) = state.handle_stop().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] --> src/actor/spawn.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match state.handle_stop().await { Some(reason) => { [INFO] [stdout] 306 | return reason; [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(reply_sender) = reply_sender { [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/message.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match reply_sender { Some(reply_sender) => { [INFO] [stdout] 166 | reply_sender.send(reply); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(tx) = reply_sender.take() { [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/message.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | } 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] 205 ~ match reply_sender.take() { Some(tx) => { [INFO] [stdout] 206 | tx.send(reply.into_value()); [INFO] [stdout] 207 | None [INFO] [stdout] 208 ~ } _ => { [INFO] [stdout] 209 | reply.into_boxed_err() [INFO] [stdout] 210 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | if let Some(tx) = self.get_queries.remove(&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/remote/swarm.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 460 ~ match self.get_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 461 | let _ = tx.send(Ok(record)); [INFO] [stdout] 462 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | if let Some(tx) = self.get_queries.remove(&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/remote/swarm.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 466 ~ match self.get_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 467 | let _ = tx.send(Err(err)); [INFO] [stdout] 468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | if let Some(tx) = self.put_queries.remove(&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/remote/swarm.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ match self.put_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 472 | let _ = tx.send(res); [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | if let Some(tx) = self.put_queries.remove(&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/remote/swarm.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 476 ~ match self.put_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 477 | let _ = tx.send(res); [INFO] [stdout] 478 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(tx) = self.requests.remove(&request_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/remote/swarm.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match self.requests.remove(&request_id) { Some(tx) => { [INFO] [stdout] 555 | let _ = tx.send(response); [INFO] [stdout] 556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:563:20 [INFO] [stdout] | [INFO] [stdout] 563 | if let Some(tx) = self.requests.remove(&request_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/remote/swarm.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 563 ~ match self.requests.remove(&request_id) { Some(tx) => { [INFO] [stdout] 564 | let err = match error { [INFO] [stdout] ... [INFO] [stdout] 573 | let _ = tx.send(SwarmResp::OutboundFailure(err)); [INFO] [stdout] 574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/stream.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `kameo` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/request/ask.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/request/ask.rs:179:90 [INFO] [stderr] | [INFO] [stderr] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_... [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/request/ask.rs:179:123 [INFO] [stderr] | [INFO] [stderr] 179 | ...ent, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:467:90 [INFO] [stderr] | [INFO] [stderr] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_... [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/request/ask.rs:467:123 [INFO] [stderr] | [INFO] [stderr] 467 | ...ent, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body:expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/request/ask.rs:179:112 [INFO] [stdout] | [INFO] [stdout] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:... [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] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:179:138 [INFO] [stdout] | [INFO] [stdout] 179 | ...t, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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] 179 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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/request/ask.rs:467:112 [INFO] [stdout] | [INFO] [stdout] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:... [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] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr_2021, $reply_timeout_body: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/request/ask.rs:467:138 [INFO] [stdout] | [INFO] [stdout] 467 | ...t, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body: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] 467 | (remote, $mailbox:ident, $mailbox_timeout:ident, $reply_timeout:ident, |$req:ident| ($mailbox_timeout_body:expr, $reply_timeout_body:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/actor_ref.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | while let Some(msg) = 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] --> src/actor/actor_ref.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/kind.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(reason) = self [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 76 | || .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 77 | || .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] | [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/actor/kind.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match self [INFO] [stdout] 76 | .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 77 | .await [INFO] [stdout] 78 ~ { Some(reason) => { [INFO] [stdout] 79 | return Some(reason); [INFO] [stdout] 80 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(reason) = state.on_shutdown(reason).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] --> src/actor/spawn.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 265 ~ match state.on_shutdown(reason).await { Some(reason) => { [INFO] [stdout] 266 | return reason; [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(reason) = state.handle_startup_finished().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] --> src/actor/spawn.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match state.handle_startup_finished().await { Some(reason) => { [INFO] [stdout] 283 | return reason; [INFO] [stdout] 284 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(reason) = state [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 293 | || .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 294 | || .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] | [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/actor/spawn.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match state [INFO] [stdout] 293 | .handle_message(message, actor_ref, reply, sent_within_actor) [INFO] [stdout] 294 | .await [INFO] [stdout] 295 ~ { Some(reason) => { [INFO] [stdout] 296 | return reason; [INFO] [stdout] 297 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(reason) = state.handle_link_died(id, reason).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] --> src/actor/spawn.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 300 ~ match state.handle_link_died(id, reason).await { Some(reason) => { [INFO] [stdout] 301 | return reason; [INFO] [stdout] 302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/actor/spawn.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(reason) = state.handle_stop().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] --> src/actor/spawn.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match state.handle_stop().await { Some(reason) => { [INFO] [stdout] 306 | return reason; [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(reply_sender) = reply_sender { [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/message.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match reply_sender { Some(reply_sender) => { [INFO] [stdout] 166 | reply_sender.send(reply); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/message.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(tx) = reply_sender.take() { [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/message.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | } 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] 205 ~ match reply_sender.take() { Some(tx) => { [INFO] [stdout] 206 | tx.send(reply.into_value()); [INFO] [stdout] 207 | None [INFO] [stdout] 208 ~ } _ => { [INFO] [stdout] 209 | reply.into_boxed_err() [INFO] [stdout] 210 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | if let Some(tx) = self.get_queries.remove(&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/remote/swarm.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 460 ~ match self.get_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 461 | let _ = tx.send(Ok(record)); [INFO] [stdout] 462 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | if let Some(tx) = self.get_queries.remove(&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/remote/swarm.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 466 ~ match self.get_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 467 | let _ = tx.send(Err(err)); [INFO] [stdout] 468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | if let Some(tx) = self.put_queries.remove(&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/remote/swarm.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ match self.put_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 472 | let _ = tx.send(res); [INFO] [stdout] 473 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | if let Some(tx) = self.put_queries.remove(&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/remote/swarm.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 476 ~ match self.put_queries.remove(&id) { Some(tx) => { [INFO] [stdout] 477 | let _ = tx.send(res); [INFO] [stdout] 478 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(tx) = self.requests.remove(&request_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/remote/swarm.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match self.requests.remove(&request_id) { Some(tx) => { [INFO] [stdout] 555 | let _ = tx.send(response); [INFO] [stdout] 556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/remote/swarm.rs:563:20 [INFO] [stdout] | [INFO] [stdout] 563 | if let Some(tx) = self.requests.remove(&request_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/remote/swarm.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 563 ~ match self.requests.remove(&request_id) { Some(tx) => { [INFO] [stdout] 564 | let err = match error { [INFO] [stdout] ... [INFO] [stdout] 573 | let _ = tx.send(SwarmResp::OutboundFailure(err)); [INFO] [stdout] 574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/macro.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/ask.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/overhead.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pool.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> benches/overhead.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some((msg, tx)) = rx.recv().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] --> benches/overhead.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | } [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] --> benches/overhead.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | while let Some((msg, tx)) = rx.recv().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] --> benches/overhead.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> benches/overhead.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | while let Some((msg, tx)) = rx.recv().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] --> benches/overhead.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/remote.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/basic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/fibonacci.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pubsub.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.59s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking kameo v0.10.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/remote.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[remote_message("3b9128f1-0593-44a0-b83a-f4188baa05bf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `::kameo::remote::_internal::REMOTE_MESSAGES` which comes from the expansion of the attribute macro `remote_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/remote/_internal.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[unsafe(linkme::distributed_slice)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/remote.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[remote_message("20185b42-8645-47d2-8d65-2d1c68d26823")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `::kameo::remote::_internal::REMOTE_MESSAGES` which comes from the expansion of the attribute macro `remote_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/remote/_internal.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[unsafe(linkme::distributed_slice)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kameo` (example "remote") due to 3 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" "d1a4d294a212d3dfbf24086891e761b9da5b475446c3d12688d32a16cffc344a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a4d294a212d3dfbf24086891e761b9da5b475446c3d12688d32a16cffc344a", kill_on_drop: false }` [INFO] [stdout] d1a4d294a212d3dfbf24086891e761b9da5b475446c3d12688d32a16cffc344a