[INFO] fetching crate beetle-bitswap-next 0.5.1... [INFO] checking beetle-bitswap-next-0.5.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate beetle-bitswap-next 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate beetle-bitswap-next 0.5.1 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 beetle-bitswap-next 0.5.1 [INFO] finished tweaking crates.io crate beetle-bitswap-next 0.5.1 [INFO] tweaked toml for crates.io crate beetle-bitswap-next 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 380 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding async-broadcast v0.5.1 (available: v0.7.1) [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding asynchronous-codec v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding attohttpc v0.24.1 (available: v0.28.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cid v0.10.1 (available: v0.11.1) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding idna v0.4.0 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding if-addrs v0.10.2 (available: v0.13.3) [INFO] [stderr] Adding igd-next v0.14.3 (available: v0.15.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding libp2p v0.53.2 (available: v0.54.1) [INFO] [stderr] Adding libp2p-allow-block-list v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libp2p-connection-limits v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding libp2p-core v0.41.3 (available: v0.42.0) [INFO] [stderr] Adding libp2p-dns v0.41.1 (available: v0.42.0) [INFO] [stderr] Adding libp2p-mdns v0.45.1 (available: v0.46.0) [INFO] [stderr] Adding libp2p-metrics v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding libp2p-noise v0.44.0 (available: v0.45.0) [INFO] [stderr] Adding libp2p-ping v0.44.1 (available: v0.45.0) [INFO] [stderr] Adding libp2p-quic v0.10.3 (available: v0.11.1) [INFO] [stderr] Adding libp2p-swarm v0.44.2 (available: v0.45.1) [INFO] [stderr] Adding libp2p-tcp v0.41.0 (available: v0.42.0) [INFO] [stderr] Adding libp2p-tls v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding libp2p-upnp v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding libp2p-yamux v0.45.2 (available: v0.46.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding multihash v0.18.1 (available: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding netlink-packet-core v0.4.2 (available: v0.7.0) [INFO] [stderr] Adding netlink-packet-route v0.12.0 (available: v0.21.0) [INFO] [stderr] Adding netlink-proto v0.10.0 (available: v0.11.3) [INFO] [stderr] Adding nix v0.24.3 (available: v0.29.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.6.1 (available: v0.7.3) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rcgen v0.11.3 (available: v0.13.1) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rtnetlink v0.10.1 (available: v0.14.1) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.51.1 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.51.1 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding xmltree v0.10.3 (available: v0.11.0) [INFO] [stderr] Adding yamux v0.12.1 (available: v0.13.3) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ced84179f52becbd8d1ed15ea1af204244dc69e6a3efc7a4474c592310ef023b [INFO] running `Command { std: "docker" "start" "-a" "ced84179f52becbd8d1ed15ea1af204244dc69e6a3efc7a4474c592310ef023b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ced84179f52becbd8d1ed15ea1af204244dc69e6a3efc7a4474c592310ef023b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced84179f52becbd8d1ed15ea1af204244dc69e6a3efc7a4474c592310ef023b", kill_on_drop: false }` [INFO] [stdout] ced84179f52becbd8d1ed15ea1af204244dc69e6a3efc7a4474c592310ef023b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 963a84057cfb1ec9710691e1d98079e75a07a522acb547e6354618194fb4d0c8 [INFO] running `Command { std: "docker" "start" "-a" "963a84057cfb1ec9710691e1d98079e75a07a522acb547e6354618194fb4d0c8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling names v0.14.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking yamux v0.13.3 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking libp2p-identity v0.2.9 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking deadqueue v0.2.4 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-context v0.1.3 [INFO] [stderr] Checking tokio-util v0.7.12 [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 multiaddr v0.18.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libp2p-core v0.41.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking libp2p-swarm v0.44.2 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking libp2p-yamux v0.45.2 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-ping v0.44.1 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking beetle-bitswap-next v0.5.1 (/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 `beetle_bitswap_next` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client/peer_want_manager.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/client/peer_want_manager.rs:198:14 [INFO] [stderr] | [INFO] [stderr] 198 | ($peer:expr_2021, $peer_wants: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/client/peer_want_manager.rs:198:31 [INFO] [stderr] | [INFO] [stderr] 198 | ($peer:expr_2021, $peer_wants: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 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/session/peer_response_tracker.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/client/peer_want_manager.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr, $peer_wants:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr_2021, $peer_wants: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/client/peer_want_manager.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr, $peer_wants: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] 198 | ($peer:expr, $peer_wants:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | let (server, cb) = if let Some(config) = config.server { [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/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ let (server, cb) = match config.server { Some(config) => { [INFO] [stdout] 130 | let server = Server::new(network.clone(), store.clone(), config).await; [INFO] [stdout] 131 | let cb = server.received_blocks_cb(); [INFO] [stdout] 132 | (Some(server), Some(cb)) [INFO] [stdout] 133 ~ } _ => { [INFO] [stdout] 134 | (None, None) [INFO] [stdout] 135 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | while let Some((peer, mut message)) = receiver_msg.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/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(ref server) = server { [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/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | } 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] 156 ~ match server { Some(ref server) => { [INFO] [stdout] 157 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 161 | .await; [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | client.receive_message(&peer, &message).await; [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | while let Some(peer) = receiver_con.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/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(ref server) = server { [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/lib.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 176 ~ match server { Some(ref server) => { [INFO] [stdout] 177 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 181 | .await; [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | client.peer_connected(&peer).await; [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | while let Some(peer) = receiver_dis.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/lib.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(ref server) = server { [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/lib.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } 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] 196 ~ match server { Some(ref server) => { [INFO] [stdout] 197 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 201 | .await; [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | client.peer_disconnected(&peer).await; [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(server) = self.server { [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/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } 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] 235 ~ match self.server { Some(server) => { [INFO] [stdout] 236 | futures::future::try_join(self.client.stop(), server.stop()).await?; [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | self.client.stop().await?; [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some(ref server) = self.server { [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/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 258 ~ match self.server { Some(ref server) => { [INFO] [stdout] 259 | server.wantlist_for_peer(peer).await [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | Vec::new() [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | if let Err(err) = self.peers_connected.clone().try_send(peer) { [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/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match self.peers_connected.clone().try_send(peer) { Err(err) => { [INFO] [stdout] 267 | warn!( [INFO] [stdout] ... [INFO] [stdout] 270 | ); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | if let Err(err) = self.peers_disconnected.clone().try_send(peer) { [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/lib.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match self.peers_disconnected.clone().try_send(peer) { Err(err) => { [INFO] [stdout] 276 | warn!( [INFO] [stdout] ... [INFO] [stdout] 279 | ); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | if let Err(err) = self.incoming_messages.clone().try_send((peer, message)) { [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/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match self.incoming_messages.clone().try_send((peer, message)) { Err(err) => { [INFO] [stdout] 286 | warn!( [INFO] [stdout] ... [INFO] [stdout] 289 | ); [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 388 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 389 | while let Some((_id, sender)) = dials.pop() { [INFO] [stdout] 390 | let _ = sender.send(Err(error.to_string())); [INFO] [stdout] 391 | } [INFO] [stdout] 392 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | while let Some((_id, sender)) = dials.pop() { [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/lib.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 420 | while let Some((id, sender)) = dials.pop() { [INFO] [stdout] ... [INFO] [stdout] 424 | } [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:420:31 [INFO] [stdout] | [INFO] [stdout] 420 | while let Some((id, sender)) = dials.pop() { [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/lib.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | ... if let Err(err) = sender.send(Ok((connection, Some(protocol)))) { [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/lib.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 421 ~ match sender.send(Ok((connection, Some(protocol)))) { Err(err) => { [INFO] [stdout] 422 | warn!("dial:{}: failed to send dial response {:?}", id, err) [INFO] [stdout] 423 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 433 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 434 | while let Some((id, sender)) = dials.pop() { [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | while let Some((id, sender)) = dials.pop() { [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/lib.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | ... if let Err(err) = sender.send(Err("protocol not supported".into())) { [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/lib.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 435 ~ match sender.send(Err("protocol not supported".into())) { Err(err) => { [INFO] [stdout] 436 | warn!("dial:{} failed to send dial response {:?}", id, err) [INFO] [stdout] 437 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:488:32 [INFO] [stdout] | [INFO] [stdout] 488 | ... if let Err(err) = response.send(Ok((**conn, Some(*protocol_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/lib.rs:490:29 [INFO] [stdout] | [INFO] [stdout] 490 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match response.send(Ok((**conn, Some(*protocol_id)))) { Err(err) => { [INFO] [stdout] 489 | debug!("dial:{}: failed to send dial response {:?}", id, err) [INFO] [stdout] 490 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | if let Err(err) = self.notify.broadcast(block.clone()).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/client.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.notify.broadcast(block.clone()).await { Err(err) => { [INFO] [stdout] 178 | error!("failed to broadcast block {}: {:?}", block.cid(), err); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | if let Err(err) = self.notify.broadcast((*block).clone()).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/client.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 224 ~ match self.notify.broadcast((*block).clone()).await { Err(err) => { [INFO] [stdout] 225 | error!("failed to broadcast block {}: {:?}", block.cid(), err); [INFO] [stdout] 226 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 254 | || .receive_blocks_from(peer, incoming, &haves, &dont_haves) [INFO] [stdout] 255 | || .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/client.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self [INFO] [stdout] 254 | .receive_blocks_from(peer, incoming, &haves, &dont_haves) [INFO] [stdout] 255 | .await [INFO] [stdout] 256 ~ { Err(err) => { [INFO] [stdout] 257 | warn!("ReceiveMessage recvBlockFrom error: {:?}", err); [INFO] [stdout] 258 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/block_presence_manager.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(list) = presence.get(cid) { [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/client/block_presence_manager.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 45 ~ match presence.get(cid) { Some(list) => { [INFO] [stdout] 46 | if let Some(have) = list.get(peer) { [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | false [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(ref sender) = self.sender_wants { [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/client/message_queue.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 123 ~ match self.sender_wants { Some(ref sender) => { [INFO] [stdout] 124 | !sender.is_closed() [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | false [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(ref sender) = self.sender_wants { [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/client/message_queue.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | } 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] 173 ~ match self.sender_wants { Some(ref sender) => { [INFO] [stdout] 174 | if let Err(err) = sender.send(update).await { [INFO] [stdout] ... [INFO] [stdout] 179 | } [INFO] [stdout] 180 ~ } _ => { [INFO] [stdout] 181 | warn!( [INFO] [stdout] ... [INFO] [stdout] 184 | ); [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | if let Err(err) = sender.send(update).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/client/message_queue.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match sender.send(update).await { Err(err) => { [INFO] [stdout] 175 | warn!( [INFO] [stdout] ... [INFO] [stdout] 178 | ); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(ref sender) = self.sender_responses { [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/client/message_queue.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match self.sender_responses { Some(ref sender) => { [INFO] [stdout] 198 | let _ = sender.try_send(cids); [INFO] [stdout] 199 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | if let Err(err) = actor.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/client/message_queue.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 304 ~ match actor.stop().await { Err(err) => { [INFO] [stdout] 305 | error!( [INFO] [stdout] ... [INFO] [stdout] 308 | ); [INFO] [stdout] 309 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:565:16 [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(at) = self.wants.peer_wants.sent_at.get(&cid) { [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/client/message_queue.rs:574:13 [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] 565 ~ match self.wants.peer_wants.sent_at.get(&cid) { Some(at) => { [INFO] [stdout] 566 | if (earliest.is_none() || at < earliest.as_ref().unwrap()) [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] 574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(next) = inner.lock().await.check_for_timeouts().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/client/message_queue/dont_have_timeout_manager.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match inner.lock().await.check_for_timeouts().await { Some(next) => { [INFO] [stdout] 153 | delay.as_mut().reset(tokio::time::Instant::now() + next); [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(next) = inner.lock().await.check_for_timeouts().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/client/message_queue/dont_have_timeout_manager.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } 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] 157 ~ match inner.lock().await.check_for_timeouts().await { Some(next) => { [INFO] [stdout] 158 | delay.as_mut().reset(tokio::time::Instant::now() + next); [INFO] [stdout] 159 ~ } _ => { [INFO] [stdout] 160 | delay.as_mut().reset(tokio::time::Instant::now() + Duration::from_secs(60 * 5)); [INFO] [stdout] 161 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some((trigger, _, _)) = self.worker.as_ref() { [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/client/message_queue/dont_have_timeout_manager.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.worker.as_ref() { Some((trigger, _, _)) => { [INFO] [stdout] 238 | let _ = trigger.send(()).await; [INFO] [stdout] 239 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(err) = self.sender.send(message).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/client/peer_manager.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.sender.send(message).await { Err(err) => { [INFO] [stdout] 113 | warn!("failed to send message: {:?}", err); [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | if let Err(err) = actor.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/client/peer_manager.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match actor.stop().await { Err(err) => { [INFO] [stdout] 408 | warn!("failed to shutdown peer manager: {:?}", err); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(peer_state) = self.peers.remove(&peer) { [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/client/peer_manager.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ match self.peers.remove(&peer) { Some(peer_state) => { [INFO] [stdout] 498 | // inform the sessions that the peer has disconnected [INFO] [stdout] ... [INFO] [stdout] 504 | } [INFO] [stdout] 505 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | if let Err(err) = peer_state.message_queue.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/client/peer_manager.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 502 ~ match peer_state.message_queue.stop().await { Err(err) => { [INFO] [stdout] 503 | error!("failed to shutdown message queue for {}: {:?}", peer, err); [INFO] [stdout] 504 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 510 | peer_state.message_queue.response_received(cids).await; [INFO] [stdout] 511 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 529 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 530 | self.peer_want_manager [INFO] [stdout] 531 | .send_wants(&peer, &want_blocks, &want_haves, &peer_state.message_queue) [INFO] [stdout] 532 | .await; [INFO] [stdout] 533 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 615 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 616 | for session_id in &peer_state.sessions { [INFO] [stdout] ... [INFO] [stdout] 620 | } [INFO] [stdout] 621 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:617:20 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(session) = self.sessions.get(session_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/client/peer_manager.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 617 ~ match self.sessions.get(session_id) { Some(session) => { [INFO] [stdout] 618 | session.signaler.signal_availability(peer, is_connected); [INFO] [stdout] 619 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | if let Some(session) = self.sessions.get_mut(&session_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/client/peer_manager.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | } 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] 631 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 632 | debug!("found session: {}: {}", peer, session_id); [INFO] [stdout] ... [INFO] [stdout] 641 | let _ = response.send(true); [INFO] [stdout] 642 ~ } _ => { [INFO] [stdout] 643 | debug!("found no session: {}: {}", peer, session_id); [INFO] [stdout] 644 | // TODO: better handling [INFO] [stdout] 645 | let _ = response.send(true); [INFO] [stdout] 646 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(session) = self.sessions.get_mut(&session) { [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/client/peer_manager.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } 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] 674 ~ match self.sessions.get_mut(&session) { Some(session) => { [INFO] [stdout] 675 | let existed = session.peers.remove(&peer); [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | let _ = response.send(false); [INFO] [stdout] 683 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | } 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] 688 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 689 | let _ = response.send(session.peers_discovered); [INFO] [stdout] 690 ~ } _ => { [INFO] [stdout] 691 | let _ = response.send(false); [INFO] [stdout] 692 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 696 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | } 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] 696 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 697 | let _ = response.send(session.peers.iter().copied().collect()); [INFO] [stdout] 698 ~ } _ => { [INFO] [stdout] 699 | let _ = response.send(Vec::new()); [INFO] [stdout] 700 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | } 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] 704 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 705 | let _ = response.send(!session.peers.is_empty()); [INFO] [stdout] 706 ~ } _ => { [INFO] [stdout] 707 | let _ = response.send(false); [INFO] [stdout] 708 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | } 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] 712 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 713 | let _ = response.send(session.peers.contains(&peer)); [INFO] [stdout] 714 ~ } _ => { [INFO] [stdout] 715 | let _ = response.send(false); [INFO] [stdout] 716 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(peer_wants) = self.peer_wants.remove(peer) { [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/client/peer_want_manager.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match self.peer_wants.remove(peer) { Some(peer_wants) => { [INFO] [stdout] 54 | // Clean up want-block [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(peer_wants) = self.peer_wants.get_mut(peer) { [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/client/peer_want_manager.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 126 ~ match self.peer_wants.get_mut(peer) { Some(peer_wants) => { [INFO] [stdout] 127 | // iterate over the requested want-blocks [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | error!("send_wants called with peer {}, but peer not found", peer); [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(peer_wants) = self.peer_wants.get_mut(&peer) { [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/client/peer_want_manager.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | } 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] 237 ~ match self.peer_wants.get_mut(&peer) { Some(peer_wants) => { [INFO] [stdout] 238 | send!(&peer, peer_wants); [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | error!("index missing for peer {}", peer); [INFO] [stdout] 241 | continue; [INFO] [stdout] 242 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(peer_wants) = self.peer_wants.get(peer) { [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/client/peer_want_manager.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | } 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] 277 ~ match self.peer_wants.get(peer) { Some(peer_wants) => { [INFO] [stdout] 278 | if peer_wants.want_blocks.contains(cid) { [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] 283 ~ } _ => { [INFO] [stdout] 284 | error!( [INFO] [stdout] ... [INFO] [stdout] 287 | ); [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(peers) = self.want_peers.get_mut(cid) { [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/client/peer_want_manager.rs:302:9 [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] 297 ~ match self.want_peers.get_mut(cid) { Some(peers) => { [INFO] [stdout] 298 | peers.remove(peer); [INFO] [stdout] ... [INFO] [stdout] 301 | } [INFO] [stdout] 302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Err(err) = loop_state.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/client/session.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match loop_state.stop().await { Err(err) => { [INFO] [stdout] 165 | error!("failed to shutdown session loop: {:?}", err); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 246 | || .inner [INFO] [stdout] 247 | || .incoming [INFO] [stdout] 248 | || .send(Op::UpdateWantSender { [INFO] [stdout] ... || [INFO] [stdout] 253 | || }) [INFO] [stdout] 254 | || .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/client/session.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self [INFO] [stdout] 246 | .inner [INFO] [stdout] ... [INFO] [stdout] 254 | .await [INFO] [stdout] 255 ~ { Err(err) => { [INFO] [stdout] 256 | warn!("failed to send update want sender: {:?}", err); [INFO] [stdout] 257 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Err(err) = self.inner.incoming.send(Op::Receive(keys)).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/client/session.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 self.inner.incoming.send(Op::Receive(keys)).await { Err(err) => { [INFO] [stdout] 266 | warn!("failed to send receive: {:?}", err); [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(err) = incoming [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 347 | || .send(Op::Cancel(remaining.into_iter().collect())) [INFO] [stdout] 348 | || .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/client/session.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match incoming [INFO] [stdout] 347 | .send(Op::Cancel(remaining.into_iter().collect())) [INFO] [stdout] 348 | .await [INFO] [stdout] 349 ~ { Err(err) => { [INFO] [stdout] 350 | warn!("failed to send cancel: {:?}", err); [INFO] [stdout] 351 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | if let Ok(chan) = network.find_providers(cid, MAX_PROVIDERS).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/client/session.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match network.find_providers(cid, MAX_PROVIDERS).await { Ok(chan) => { [INFO] [stdout] 410 | let stream = chan; [INFO] [stdout] ... [INFO] [stdout] 444 | .await; [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:474:15 [INFO] [stdout] | [INFO] [stdout] 474 | while let Some(worker) = self.workers.pop() { [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/client/session.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | if let Some(random_want) = self.session_wants.random_live_want() { [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/client/session.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 520 ~ match self.session_wants.random_live_want() { Some(random_want) => { [INFO] [stdout] 521 | // TODO: come up with a better strategy for determining when to search [INFO] [stdout] ... [INFO] [stdout] 525 | .await; [INFO] [stdout] 526 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | if let Some(closer) = self.closer.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/client/session.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match self.closer.take() { Some(closer) => { [INFO] [stdout] 672 | let _ = closer.send(()); [INFO] [stdout] 673 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(err) = changes.try_send(Change::Availability(availability)) { [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/client/session/session_want_sender.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match changes.try_send(Change::Availability(availability)) { Err(err) => { [INFO] [stdout] 135 | warn!("unable to deliver changes: {:?}", err); [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Err(err) = loop_state.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/client/session/session_want_sender.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 187 ~ match loop_state.stop().await { Err(err) => { [INFO] [stdout] 188 | error!( [INFO] [stdout] ... [INFO] [stdout] 191 | ); [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Err(err) = self.changes.send(change).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/client/session/session_want_sender.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match self.changes.send(change).await { Err(err) => { [INFO] [stdout] 252 | warn!( [INFO] [stdout] ... [INFO] [stdout] 255 | ); [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | if let Ok(change) = self.changes.try_recv() { [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/client/session/session_want_sender.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 438 ~ match self.changes.try_recv() { Ok(change) => { [INFO] [stdout] 439 | changes.push(change); [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | break; [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:674:24 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(wi) = self.wants.get_mut(cid) { [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/client/session/session_want_sender.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 674 ~ match self.wants.get_mut(cid) { Some(wi) => { [INFO] [stdout] 675 | wi.update_want_block_presence( [INFO] [stdout] ... [INFO] [stdout] 680 | .await; [INFO] [stdout] 681 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:772:16 [INFO] [stdout] | [INFO] [stdout] 772 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 773 | || .session_ops [INFO] [stdout] 774 | || .send(super::Op::Broadcast(newly_exhausted.into_iter().collect())) [INFO] [stdout] 775 | || .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/client/session/session_want_sender.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 772 ~ match self [INFO] [stdout] 773 | .session_ops [INFO] [stdout] 774 | .send(super::Op::Broadcast(newly_exhausted.into_iter().collect())) [INFO] [stdout] 775 | .await [INFO] [stdout] 776 ~ { Err(err) => { [INFO] [stdout] 777 | warn!("unabel to send broadcast op: {:?}", err); [INFO] [stdout] 778 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:858:16 [INFO] [stdout] | [INFO] [stdout] 858 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 859 | || .session_ops [INFO] [stdout] 860 | || .send(super::Op::WantsSent(want_blocks)) [INFO] [stdout] 861 | || .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/client/session/session_want_sender.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 858 ~ match self [INFO] [stdout] 859 | .session_ops [INFO] [stdout] 860 | .send(super::Op::WantsSent(want_blocks)) [INFO] [stdout] 861 | .await [INFO] [stdout] 862 ~ { Err(err) => { [INFO] [stdout] 863 | warn!("unabel to send broadcast op: {:?}", err); [INFO] [stdout] 864 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:925:12 [INFO] [stdout] | [INFO] [stdout] 925 | if let Some(wi) = self.wants.get_mut(cid) { [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/client/session/session_want_sender.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 925 ~ match self.wants.get_mut(cid) { Some(wi) => { [INFO] [stdout] 926 | wi.sent_to = peer; [INFO] [stdout] 927 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_wants.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(cid) = self.to_fetch.pop() { [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/client/session/session_wants.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 74 ~ match self.to_fetch.pop() { Some(cid) => { [INFO] [stdout] 75 | live.insert(cid); [INFO] [stdout] 76 | self.live_wants_order.push(cid); [INFO] [stdout] 77 | self.live_wants.insert(cid, now); [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | // no more available [INFO] [stdout] 80 | break; [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | while let Some(message) = substream.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/handler.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Err(err) = substream.close().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/handler.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match substream.close().await { Err(err) => { [INFO] [stdout] 330 | warn!("failed to close stream: {:?}", err); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Err(error) = substream.feed(message).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/handler.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 340 ~ match substream.feed(message).await { Err(error) => { [INFO] [stdout] 341 | warn!("failed to write item: {:?}", error); [INFO] [stdout] ... [INFO] [stdout] 345 | ); [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | // Message sent [INFO] [stdout] 348 | response.send(Ok(())).ok(); [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | if let Err(err) = substream.close().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/handler.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 355 ~ match substream.close().await { Err(err) => { [INFO] [stdout] 356 | warn!("failed to close stream: {:?}", err); [INFO] [stdout] 357 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if let std::io::ErrorKind::PermissionDenied = e.kind() { [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/protocol.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | } 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] 202 ~ match e.kind() { std::io::ErrorKind::PermissionDenied => { [INFO] [stdout] 203 | BitswapHandlerError::MaxTransmissionSize [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | BitswapHandlerError::Io(e) [INFO] [stdout] 206 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | ... if let Err(err) = provide_keys.send(block_key).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/server.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match provide_keys.send(block_key).await { Err(err) => { [INFO] [stdout] 154 | error!("failed to send provide key: {:?}", err); [INFO] [stdout] 155 | break; [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | ... if let Err(err) = network.provide(key).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/server.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match network.provide(key).await { Err(err) => { [INFO] [stdout] 187 | warn!("failed to provide: {}: {:?}", key, err); [INFO] [stdout] 188 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | while let Some((closer, handle)) = inner.workers.pop() { [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/server.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | if let Err(err) = self.inner.new_blocks.clone().send(*block.cid()).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/server.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match self.inner.new_blocks.clone().send(*block.cid()).await { Err(err) => { [INFO] [stdout] 284 | warn!("failed to send new blocks: {:?}", err); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(size) = store.get_size(&cid).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/server/blockstore_manager.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 37 ~ match store.get_size(&cid).await { Ok(size) => { [INFO] [stdout] 38 | s.send(Some((cid, size))).await.ok(); [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | s.send(None).await.ok(); [INFO] [stdout] 41 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | while let Some(r) = r.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] --> src/server/blockstore_manager.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(block) = store.get(&cid).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/server/blockstore_manager.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } 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] 65 ~ match store.get(&cid).await { Ok(block) => { [INFO] [stdout] 66 | s.send(Some((cid, block))).await.ok(); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | s.send(None).await.ok(); [INFO] [stdout] 69 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | while let Some(r) = r.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] --> src/server/blockstore_manager.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some((cid, block)) = r { [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/server/blockstore_manager.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match r { Some((cid, block)) => { [INFO] [stdout] 75 | res.insert(cid, block); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | ... if let Some((peer, next_tasks, pending_bytes)) = peer_task_queue.pop_tasks(target_message_size).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/server/decision.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match peer_task_queue.pop_tasks(target_message_size).await { Some((peer, next_tasks, pending_bytes)) => { [INFO] [stdout] 187 | if next_tasks.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 254 | } [INFO] [stdout] 255 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | ... if let Some(block) = blocks.remove(&cid) { [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/server/decision.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | ... } 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] 229 ~ match blocks.remove(&cid) { Some(block) => { [INFO] [stdout] 230 | msg.add_block(block); [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | // block was not found [INFO] [stdout] ... [INFO] [stdout] 235 | } [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:252:36 [INFO] [stdout] | [INFO] [stdout] 252 | ... if let Err(err) = outbox.send(envelope).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/server/decision.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ match outbox.send(envelope).await { Err(err) => { [INFO] [stdout] 253 | error!("failed to deliver envelope: {:?}", err); [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | while let Some((closer, handle)) = self.workers.pop() { [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/server/decision.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | } else if let Some(ref filter) = self.peer_block_request_filter { [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/server/decision.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 496 ~ } else { match self.peer_block_request_filter { Some(ref filter) => { [INFO] [stdout] 497 | if (filter)(peer, &entry.cid) { [INFO] [stdout] ... [INFO] [stdout] 501 | } [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | wants.push(entry); [INFO] [stdout] 504 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | if let Some(l) = ledger_map.get(&peer) { [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/server/decision.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | } 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] 593 ~ match ledger_map.get(&peer) { Some(l) => { [INFO] [stdout] 594 | let ledger = l.lock().await; [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | for cid in wants { [INFO] [stdout] 603 | peer_ledger.cancel_want(&peer, &cid); [INFO] [stdout] 604 | } [INFO] [stdout] 605 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 181 | // tell the peer what was done [INFO] [stdout] ... [INFO] [stdout] 185 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 194 | if peer_tracker.remove(topic) { [INFO] [stdout] ... [INFO] [stdout] 204 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 213 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 214 | peer_tracker.full_thaw(); [INFO] [stdout] 215 | this.frozen_peers.remove(&peer); [INFO] [stdout] 216 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 217 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 229 | if peer_tracker.thaw() { [INFO] [stdout] ... [INFO] [stdout] 232 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | if let Err(err) = hook.send(event.clone()).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/peer_task_queue.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match hook.send(event.clone()).await { Err(err) => { [INFO] [stdout] 242 | warn!("failed to call hook for {:?}: {:?}", event, err); [INFO] [stdout] 243 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue/peer_tracker.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some((_, qtask)) = self.pending_tasks.pop() { [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/peer_task_queue/peer_tracker.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match self.pending_tasks.pop() { Some((_, qtask)) => { [INFO] [stdout] 135 | // start the task [INFO] [stdout] ... [INFO] [stdout] 139 | out.push(task); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue/peer_tracker.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(active_tasks) = self.active_tasks.get_mut(&task.topic) { [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/peer_task_queue/peer_tracker.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match self.active_tasks.get_mut(&task.topic) { Some(active_tasks) => { [INFO] [stdout] 163 | let mut work_done = 0; [INFO] [stdout] ... [INFO] [stdout] 181 | } [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 312 | while let Some((_, received, _)) = ptq.pop_tasks(100).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/peer_task_queue.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 101 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `beetle_bitswap_next` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client/peer_want_manager.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/client/peer_want_manager.rs:198:14 [INFO] [stderr] | [INFO] [stderr] 198 | ($peer:expr_2021, $peer_wants: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/client/peer_want_manager.rs:198:31 [INFO] [stderr] | [INFO] [stderr] 198 | ($peer:expr_2021, $peer_wants: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 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/client/session/peer_response_tracker.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/client/peer_want_manager.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr, $peer_wants:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr_2021, $peer_wants: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/client/peer_want_manager.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | ($peer:expr, $peer_wants: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] 198 | ($peer:expr, $peer_wants:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | let (server, cb) = if let Some(config) = config.server { [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/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ let (server, cb) = match config.server { Some(config) => { [INFO] [stdout] 130 | let server = Server::new(network.clone(), store.clone(), config).await; [INFO] [stdout] 131 | let cb = server.received_blocks_cb(); [INFO] [stdout] 132 | (Some(server), Some(cb)) [INFO] [stdout] 133 ~ } _ => { [INFO] [stdout] 134 | (None, None) [INFO] [stdout] 135 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | while let Some((peer, mut message)) = receiver_msg.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/lib.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(ref server) = server { [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/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | } 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] 156 ~ match server { Some(ref server) => { [INFO] [stdout] 157 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 161 | .await; [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | client.receive_message(&peer, &message).await; [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | while let Some(peer) = receiver_con.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/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(ref server) = server { [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/lib.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 176 ~ match server { Some(ref server) => { [INFO] [stdout] 177 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 181 | .await; [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | client.peer_connected(&peer).await; [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | while let Some(peer) = receiver_dis.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/lib.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(ref server) = server { [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/lib.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | } 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] 196 ~ match server { Some(ref server) => { [INFO] [stdout] 197 | futures::future::join( [INFO] [stdout] ... [INFO] [stdout] 201 | .await; [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | client.peer_disconnected(&peer).await; [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(server) = self.server { [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/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } 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] 235 ~ match self.server { Some(server) => { [INFO] [stdout] 236 | futures::future::try_join(self.client.stop(), server.stop()).await?; [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | self.client.stop().await?; [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | if let Some(ref server) = self.server { [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/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | } 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] 258 ~ match self.server { Some(ref server) => { [INFO] [stdout] 259 | server.wantlist_for_peer(peer).await [INFO] [stdout] 260 ~ } _ => { [INFO] [stdout] 261 | Vec::new() [INFO] [stdout] 262 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | if let Err(err) = self.peers_connected.clone().try_send(peer) { [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/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match self.peers_connected.clone().try_send(peer) { Err(err) => { [INFO] [stdout] 267 | warn!( [INFO] [stdout] ... [INFO] [stdout] 270 | ); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | if let Err(err) = self.peers_disconnected.clone().try_send(peer) { [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/lib.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match self.peers_disconnected.clone().try_send(peer) { Err(err) => { [INFO] [stdout] 276 | warn!( [INFO] [stdout] ... [INFO] [stdout] 279 | ); [INFO] [stdout] 280 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | if let Err(err) = self.incoming_messages.clone().try_send((peer, message)) { [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/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match self.incoming_messages.clone().try_send((peer, message)) { Err(err) => { [INFO] [stdout] 286 | warn!( [INFO] [stdout] ... [INFO] [stdout] 289 | ); [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 388 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 389 | while let Some((_id, sender)) = dials.pop() { [INFO] [stdout] 390 | let _ = sender.send(Err(error.to_string())); [INFO] [stdout] 391 | } [INFO] [stdout] 392 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | while let Some((_id, sender)) = dials.pop() { [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/lib.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 420 | while let Some((id, sender)) = dials.pop() { [INFO] [stdout] ... [INFO] [stdout] 424 | } [INFO] [stdout] 425 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:420:31 [INFO] [stdout] | [INFO] [stdout] 420 | while let Some((id, sender)) = dials.pop() { [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/lib.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | ... if let Err(err) = sender.send(Ok((connection, Some(protocol)))) { [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/lib.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 421 ~ match sender.send(Ok((connection, Some(protocol)))) { Err(err) => { [INFO] [stdout] 422 | warn!("dial:{}: failed to send dial response {:?}", id, err) [INFO] [stdout] 423 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | if let Some(mut dials) = dials.remove(&peer_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/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 433 ~ match dials.remove(&peer_id) { Some(mut dials) => { [INFO] [stdout] 434 | while let Some((id, sender)) = dials.pop() { [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:434:31 [INFO] [stdout] | [INFO] [stdout] 434 | while let Some((id, sender)) = dials.pop() { [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/lib.rs:438:25 [INFO] [stdout] | [INFO] [stdout] 438 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | ... if let Err(err) = sender.send(Err("protocol not supported".into())) { [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/lib.rs:437:29 [INFO] [stdout] | [INFO] [stdout] 437 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 435 ~ match sender.send(Err("protocol not supported".into())) { Err(err) => { [INFO] [stdout] 436 | warn!("dial:{} failed to send dial response {:?}", id, err) [INFO] [stdout] 437 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:488:32 [INFO] [stdout] | [INFO] [stdout] 488 | ... if let Err(err) = response.send(Ok((**conn, Some(*protocol_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/lib.rs:490:29 [INFO] [stdout] | [INFO] [stdout] 490 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match response.send(Ok((**conn, Some(*protocol_id)))) { Err(err) => { [INFO] [stdout] 489 | debug!("dial:{}: failed to send dial response {:?}", id, err) [INFO] [stdout] 490 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | if let Err(err) = self.notify.broadcast(block.clone()).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/client.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.notify.broadcast(block.clone()).await { Err(err) => { [INFO] [stdout] 178 | error!("failed to broadcast block {}: {:?}", block.cid(), err); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | if let Err(err) = self.notify.broadcast((*block).clone()).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/client.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 224 ~ match self.notify.broadcast((*block).clone()).await { Err(err) => { [INFO] [stdout] 225 | error!("failed to broadcast block {}: {:?}", block.cid(), err); [INFO] [stdout] 226 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 254 | || .receive_blocks_from(peer, incoming, &haves, &dont_haves) [INFO] [stdout] 255 | || .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/client.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self [INFO] [stdout] 254 | .receive_blocks_from(peer, incoming, &haves, &dont_haves) [INFO] [stdout] 255 | .await [INFO] [stdout] 256 ~ { Err(err) => { [INFO] [stdout] 257 | warn!("ReceiveMessage recvBlockFrom error: {:?}", err); [INFO] [stdout] 258 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/block_presence_manager.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(list) = presence.get(cid) { [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/client/block_presence_manager.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | } 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] 45 ~ match presence.get(cid) { Some(list) => { [INFO] [stdout] 46 | if let Some(have) = list.get(peer) { [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] 51 ~ } _ => { [INFO] [stdout] 52 | false [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(ref sender) = self.sender_wants { [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/client/message_queue.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 123 ~ match self.sender_wants { Some(ref sender) => { [INFO] [stdout] 124 | !sender.is_closed() [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | false [INFO] [stdout] 127 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(ref sender) = self.sender_wants { [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/client/message_queue.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | } 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] 173 ~ match self.sender_wants { Some(ref sender) => { [INFO] [stdout] 174 | if let Err(err) = sender.send(update).await { [INFO] [stdout] ... [INFO] [stdout] 179 | } [INFO] [stdout] 180 ~ } _ => { [INFO] [stdout] 181 | warn!( [INFO] [stdout] ... [INFO] [stdout] 184 | ); [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | if let Err(err) = sender.send(update).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/client/message_queue.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match sender.send(update).await { Err(err) => { [INFO] [stdout] 175 | warn!( [INFO] [stdout] ... [INFO] [stdout] 178 | ); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(ref sender) = self.sender_responses { [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/client/message_queue.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match self.sender_responses { Some(ref sender) => { [INFO] [stdout] 198 | let _ = sender.try_send(cids); [INFO] [stdout] 199 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | if let Err(err) = actor.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/client/message_queue.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 304 ~ match actor.stop().await { Err(err) => { [INFO] [stdout] 305 | error!( [INFO] [stdout] ... [INFO] [stdout] 308 | ); [INFO] [stdout] 309 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue.rs:565:16 [INFO] [stdout] | [INFO] [stdout] 565 | if let Some(at) = self.wants.peer_wants.sent_at.get(&cid) { [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/client/message_queue.rs:574:13 [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] 565 ~ match self.wants.peer_wants.sent_at.get(&cid) { Some(at) => { [INFO] [stdout] 566 | if (earliest.is_none() || at < earliest.as_ref().unwrap()) [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] 574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(next) = inner.lock().await.check_for_timeouts().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/client/message_queue/dont_have_timeout_manager.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match inner.lock().await.check_for_timeouts().await { Some(next) => { [INFO] [stdout] 153 | delay.as_mut().reset(tokio::time::Instant::now() + next); [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(next) = inner.lock().await.check_for_timeouts().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/client/message_queue/dont_have_timeout_manager.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } 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] 157 ~ match inner.lock().await.check_for_timeouts().await { Some(next) => { [INFO] [stdout] 158 | delay.as_mut().reset(tokio::time::Instant::now() + next); [INFO] [stdout] 159 ~ } _ => { [INFO] [stdout] 160 | delay.as_mut().reset(tokio::time::Instant::now() + Duration::from_secs(60 * 5)); [INFO] [stdout] 161 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/message_queue/dont_have_timeout_manager.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some((trigger, _, _)) = self.worker.as_ref() { [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/client/message_queue/dont_have_timeout_manager.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.worker.as_ref() { Some((trigger, _, _)) => { [INFO] [stdout] 238 | let _ = trigger.send(()).await; [INFO] [stdout] 239 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | if let Err(err) = self.sender.send(message).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/client/peer_manager.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match self.sender.send(message).await { Err(err) => { [INFO] [stdout] 113 | warn!("failed to send message: {:?}", err); [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | if let Err(err) = actor.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/client/peer_manager.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match actor.stop().await { Err(err) => { [INFO] [stdout] 408 | warn!("failed to shutdown peer manager: {:?}", err); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(peer_state) = self.peers.remove(&peer) { [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/client/peer_manager.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ match self.peers.remove(&peer) { Some(peer_state) => { [INFO] [stdout] 498 | // inform the sessions that the peer has disconnected [INFO] [stdout] ... [INFO] [stdout] 504 | } [INFO] [stdout] 505 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | if let Err(err) = peer_state.message_queue.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/client/peer_manager.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 502 ~ match peer_state.message_queue.stop().await { Err(err) => { [INFO] [stdout] 503 | error!("failed to shutdown message queue for {}: {:?}", peer, err); [INFO] [stdout] 504 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 509 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 510 | peer_state.message_queue.response_received(cids).await; [INFO] [stdout] 511 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 529 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 530 | self.peer_want_manager [INFO] [stdout] 531 | .send_wants(&peer, &want_blocks, &want_haves, &peer_state.message_queue) [INFO] [stdout] 532 | .await; [INFO] [stdout] 533 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(peer_state) = self.peers.get(&peer) { [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/client/peer_manager.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 615 ~ match self.peers.get(&peer) { Some(peer_state) => { [INFO] [stdout] 616 | for session_id in &peer_state.sessions { [INFO] [stdout] ... [INFO] [stdout] 620 | } [INFO] [stdout] 621 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:617:20 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(session) = self.sessions.get(session_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/client/peer_manager.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 617 ~ match self.sessions.get(session_id) { Some(session) => { [INFO] [stdout] 618 | session.signaler.signal_availability(peer, is_connected); [INFO] [stdout] 619 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | if let Some(session) = self.sessions.get_mut(&session_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/client/peer_manager.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | } 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] 631 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 632 | debug!("found session: {}: {}", peer, session_id); [INFO] [stdout] ... [INFO] [stdout] 641 | let _ = response.send(true); [INFO] [stdout] 642 ~ } _ => { [INFO] [stdout] 643 | debug!("found no session: {}: {}", peer, session_id); [INFO] [stdout] 644 | // TODO: better handling [INFO] [stdout] 645 | let _ = response.send(true); [INFO] [stdout] 646 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(session) = self.sessions.get_mut(&session) { [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/client/peer_manager.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } 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] 674 ~ match self.sessions.get_mut(&session) { Some(session) => { [INFO] [stdout] 675 | let existed = session.peers.remove(&peer); [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | let _ = response.send(false); [INFO] [stdout] 683 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | } 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] 688 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 689 | let _ = response.send(session.peers_discovered); [INFO] [stdout] 690 ~ } _ => { [INFO] [stdout] 691 | let _ = response.send(false); [INFO] [stdout] 692 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 696 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | } 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] 696 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 697 | let _ = response.send(session.peers.iter().copied().collect()); [INFO] [stdout] 698 ~ } _ => { [INFO] [stdout] 699 | let _ = response.send(Vec::new()); [INFO] [stdout] 700 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | } 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] 704 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 705 | let _ = response.send(!session.peers.is_empty()); [INFO] [stdout] 706 ~ } _ => { [INFO] [stdout] 707 | let _ = response.send(false); [INFO] [stdout] 708 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_manager.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | if let Some(session) = self.sessions.get(&session) { [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/client/peer_manager.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | } 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] 712 ~ match self.sessions.get(&session) { Some(session) => { [INFO] [stdout] 713 | let _ = response.send(session.peers.contains(&peer)); [INFO] [stdout] 714 ~ } _ => { [INFO] [stdout] 715 | let _ = response.send(false); [INFO] [stdout] 716 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(peer_wants) = self.peer_wants.remove(peer) { [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/client/peer_want_manager.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match self.peer_wants.remove(peer) { Some(peer_wants) => { [INFO] [stdout] 54 | // Clean up want-block [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(peer_wants) = self.peer_wants.get_mut(peer) { [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/client/peer_want_manager.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 126 ~ match self.peer_wants.get_mut(peer) { Some(peer_wants) => { [INFO] [stdout] 127 | // iterate over the requested want-blocks [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | error!("send_wants called with peer {}, but peer not found", peer); [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(peer_wants) = self.peer_wants.get_mut(&peer) { [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/client/peer_want_manager.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | } 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] 237 ~ match self.peer_wants.get_mut(&peer) { Some(peer_wants) => { [INFO] [stdout] 238 | send!(&peer, peer_wants); [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | error!("index missing for peer {}", peer); [INFO] [stdout] 241 | continue; [INFO] [stdout] 242 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(peer_wants) = self.peer_wants.get(peer) { [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/client/peer_want_manager.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | } 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] 277 ~ match self.peer_wants.get(peer) { Some(peer_wants) => { [INFO] [stdout] 278 | if peer_wants.want_blocks.contains(cid) { [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] 283 ~ } _ => { [INFO] [stdout] 284 | error!( [INFO] [stdout] ... [INFO] [stdout] 287 | ); [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/peer_want_manager.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(peers) = self.want_peers.get_mut(cid) { [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/client/peer_want_manager.rs:302:9 [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] 297 ~ match self.want_peers.get_mut(cid) { Some(peers) => { [INFO] [stdout] 298 | peers.remove(peer); [INFO] [stdout] ... [INFO] [stdout] 301 | } [INFO] [stdout] 302 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Err(err) = loop_state.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/client/session.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match loop_state.stop().await { Err(err) => { [INFO] [stdout] 165 | error!("failed to shutdown session loop: {:?}", err); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 246 | || .inner [INFO] [stdout] 247 | || .incoming [INFO] [stdout] 248 | || .send(Op::UpdateWantSender { [INFO] [stdout] ... || [INFO] [stdout] 253 | || }) [INFO] [stdout] 254 | || .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/client/session.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self [INFO] [stdout] 246 | .inner [INFO] [stdout] ... [INFO] [stdout] 254 | .await [INFO] [stdout] 255 ~ { Err(err) => { [INFO] [stdout] 256 | warn!("failed to send update want sender: {:?}", err); [INFO] [stdout] 257 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | if let Err(err) = self.inner.incoming.send(Op::Receive(keys)).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/client/session.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 self.inner.incoming.send(Op::Receive(keys)).await { Err(err) => { [INFO] [stdout] 266 | warn!("failed to send receive: {:?}", err); [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | if let Err(err) = incoming [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 347 | || .send(Op::Cancel(remaining.into_iter().collect())) [INFO] [stdout] 348 | || .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/client/session.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 346 ~ match incoming [INFO] [stdout] 347 | .send(Op::Cancel(remaining.into_iter().collect())) [INFO] [stdout] 348 | .await [INFO] [stdout] 349 ~ { Err(err) => { [INFO] [stdout] 350 | warn!("failed to send cancel: {:?}", err); [INFO] [stdout] 351 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | if let Ok(chan) = network.find_providers(cid, MAX_PROVIDERS).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/client/session.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match network.find_providers(cid, MAX_PROVIDERS).await { Ok(chan) => { [INFO] [stdout] 410 | let stream = chan; [INFO] [stdout] ... [INFO] [stdout] 444 | .await; [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:474:15 [INFO] [stdout] | [INFO] [stdout] 474 | while let Some(worker) = self.workers.pop() { [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/client/session.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | if let Some(random_want) = self.session_wants.random_live_want() { [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/client/session.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 520 ~ match self.session_wants.random_live_want() { Some(random_want) => { [INFO] [stdout] 521 | // TODO: come up with a better strategy for determining when to search [INFO] [stdout] ... [INFO] [stdout] 525 | .await; [INFO] [stdout] 526 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | if let Some(closer) = self.closer.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/client/session.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match self.closer.take() { Some(closer) => { [INFO] [stdout] 672 | let _ = closer.send(()); [INFO] [stdout] 673 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(err) = changes.try_send(Change::Availability(availability)) { [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/client/session/session_want_sender.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match changes.try_send(Change::Availability(availability)) { Err(err) => { [INFO] [stdout] 135 | warn!("unable to deliver changes: {:?}", err); [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Err(err) = loop_state.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/client/session/session_want_sender.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 187 ~ match loop_state.stop().await { Err(err) => { [INFO] [stdout] 188 | error!( [INFO] [stdout] ... [INFO] [stdout] 191 | ); [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | if let Err(err) = self.changes.send(change).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/client/session/session_want_sender.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match self.changes.send(change).await { Err(err) => { [INFO] [stdout] 252 | warn!( [INFO] [stdout] ... [INFO] [stdout] 255 | ); [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | if let Ok(change) = self.changes.try_recv() { [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/client/session/session_want_sender.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | } 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] 438 ~ match self.changes.try_recv() { Ok(change) => { [INFO] [stdout] 439 | changes.push(change); [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | break; [INFO] [stdout] 442 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:674:24 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(wi) = self.wants.get_mut(cid) { [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/client/session/session_want_sender.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 674 ~ match self.wants.get_mut(cid) { Some(wi) => { [INFO] [stdout] 675 | wi.update_want_block_presence( [INFO] [stdout] ... [INFO] [stdout] 680 | .await; [INFO] [stdout] 681 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:772:16 [INFO] [stdout] | [INFO] [stdout] 772 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 773 | || .session_ops [INFO] [stdout] 774 | || .send(super::Op::Broadcast(newly_exhausted.into_iter().collect())) [INFO] [stdout] 775 | || .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/client/session/session_want_sender.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 772 ~ match self [INFO] [stdout] 773 | .session_ops [INFO] [stdout] 774 | .send(super::Op::Broadcast(newly_exhausted.into_iter().collect())) [INFO] [stdout] 775 | .await [INFO] [stdout] 776 ~ { Err(err) => { [INFO] [stdout] 777 | warn!("unabel to send broadcast op: {:?}", err); [INFO] [stdout] 778 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:858:16 [INFO] [stdout] | [INFO] [stdout] 858 | if let Err(err) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 859 | || .session_ops [INFO] [stdout] 860 | || .send(super::Op::WantsSent(want_blocks)) [INFO] [stdout] 861 | || .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/client/session/session_want_sender.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 858 ~ match self [INFO] [stdout] 859 | .session_ops [INFO] [stdout] 860 | .send(super::Op::WantsSent(want_blocks)) [INFO] [stdout] 861 | .await [INFO] [stdout] 862 ~ { Err(err) => { [INFO] [stdout] 863 | warn!("unabel to send broadcast op: {:?}", err); [INFO] [stdout] 864 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_want_sender.rs:925:12 [INFO] [stdout] | [INFO] [stdout] 925 | if let Some(wi) = self.wants.get_mut(cid) { [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/client/session/session_want_sender.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 925 ~ match self.wants.get_mut(cid) { Some(wi) => { [INFO] [stdout] 926 | wi.sent_to = peer; [INFO] [stdout] 927 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/session/session_wants.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(cid) = self.to_fetch.pop() { [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/client/session/session_wants.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 74 ~ match self.to_fetch.pop() { Some(cid) => { [INFO] [stdout] 75 | live.insert(cid); [INFO] [stdout] 76 | self.live_wants_order.push(cid); [INFO] [stdout] 77 | self.live_wants.insert(cid, now); [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | // no more available [INFO] [stdout] 80 | break; [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | while let Some(message) = substream.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/handler.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Err(err) = substream.close().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/handler.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match substream.close().await { Err(err) => { [INFO] [stdout] 330 | warn!("failed to close stream: {:?}", err); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | if let Err(error) = substream.feed(message).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/handler.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | } 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] 340 ~ match substream.feed(message).await { Err(error) => { [INFO] [stdout] 341 | warn!("failed to write item: {:?}", error); [INFO] [stdout] ... [INFO] [stdout] 345 | ); [INFO] [stdout] 346 ~ } _ => { [INFO] [stdout] 347 | // Message sent [INFO] [stdout] 348 | response.send(Ok(())).ok(); [INFO] [stdout] 349 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/handler.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | if let Err(err) = substream.close().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/handler.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 355 ~ match substream.close().await { Err(err) => { [INFO] [stdout] 356 | warn!("failed to close stream: {:?}", err); [INFO] [stdout] 357 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | if let std::io::ErrorKind::PermissionDenied = e.kind() { [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/protocol.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | } 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] 202 ~ match e.kind() { std::io::ErrorKind::PermissionDenied => { [INFO] [stdout] 203 | BitswapHandlerError::MaxTransmissionSize [INFO] [stdout] 204 ~ } _ => { [INFO] [stdout] 205 | BitswapHandlerError::Io(e) [INFO] [stdout] 206 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | ... if let Err(err) = provide_keys.send(block_key).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/server.rs:156:41 [INFO] [stdout] | [INFO] [stdout] 156 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match provide_keys.send(block_key).await { Err(err) => { [INFO] [stdout] 154 | error!("failed to send provide key: {:?}", err); [INFO] [stdout] 155 | break; [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | ... if let Err(err) = network.provide(key).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/server.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match network.provide(key).await { Err(err) => { [INFO] [stdout] 187 | warn!("failed to provide: {}: {:?}", key, err); [INFO] [stdout] 188 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | while let Some((closer, handle)) = inner.workers.pop() { [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/server.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | if let Err(err) = self.inner.new_blocks.clone().send(*block.cid()).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/server.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match self.inner.new_blocks.clone().send(*block.cid()).await { Err(err) => { [INFO] [stdout] 284 | warn!("failed to send new blocks: {:?}", err); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(size) = store.get_size(&cid).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/server/blockstore_manager.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 37 ~ match store.get_size(&cid).await { Ok(size) => { [INFO] [stdout] 38 | s.send(Some((cid, size))).await.ok(); [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | s.send(None).await.ok(); [INFO] [stdout] 41 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | while let Some(r) = r.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] --> src/server/blockstore_manager.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(block) = store.get(&cid).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/server/blockstore_manager.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } 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] 65 ~ match store.get(&cid).await { Ok(block) => { [INFO] [stdout] 66 | s.send(Some((cid, block))).await.ok(); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | s.send(None).await.ok(); [INFO] [stdout] 69 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | while let Some(r) = r.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] --> src/server/blockstore_manager.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/blockstore_manager.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some((cid, block)) = r { [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/server/blockstore_manager.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match r { Some((cid, block)) => { [INFO] [stdout] 75 | res.insert(cid, block); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | ... if let Some((peer, next_tasks, pending_bytes)) = peer_task_queue.pop_tasks(target_message_size).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/server/decision.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match peer_task_queue.pop_tasks(target_message_size).await { Some((peer, next_tasks, pending_bytes)) => { [INFO] [stdout] 187 | if next_tasks.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 254 | } [INFO] [stdout] 255 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | ... if let Some(block) = blocks.remove(&cid) { [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/server/decision.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | ... } 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] 229 ~ match blocks.remove(&cid) { Some(block) => { [INFO] [stdout] 230 | msg.add_block(block); [INFO] [stdout] 231 ~ } _ => { [INFO] [stdout] 232 | // block was not found [INFO] [stdout] ... [INFO] [stdout] 235 | } [INFO] [stdout] 236 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:252:36 [INFO] [stdout] | [INFO] [stdout] 252 | ... if let Err(err) = outbox.send(envelope).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/server/decision.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 252 ~ match outbox.send(envelope).await { Err(err) => { [INFO] [stdout] 253 | error!("failed to deliver envelope: {:?}", err); [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | while let Some((closer, handle)) = self.workers.pop() { [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/server/decision.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | } else if let Some(ref filter) = self.peer_block_request_filter { [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/server/decision.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | } 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] 496 ~ } else { match self.peer_block_request_filter { Some(ref filter) => { [INFO] [stdout] 497 | if (filter)(peer, &entry.cid) { [INFO] [stdout] ... [INFO] [stdout] 501 | } [INFO] [stdout] 502 ~ } _ => { [INFO] [stdout] 503 | wants.push(entry); [INFO] [stdout] 504 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/decision.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | if let Some(l) = ledger_map.get(&peer) { [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/server/decision.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | } 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] 593 ~ match ledger_map.get(&peer) { Some(l) => { [INFO] [stdout] 594 | let ledger = l.lock().await; [INFO] [stdout] ... [INFO] [stdout] 600 | } [INFO] [stdout] 601 ~ } _ => { [INFO] [stdout] 602 | for cid in wants { [INFO] [stdout] 603 | peer_ledger.cancel_want(&peer, &cid); [INFO] [stdout] 604 | } [INFO] [stdout] 605 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 180 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 181 | // tell the peer what was done [INFO] [stdout] ... [INFO] [stdout] 185 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 186 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 193 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 194 | if peer_tracker.remove(topic) { [INFO] [stdout] ... [INFO] [stdout] 204 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 213 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 214 | peer_tracker.full_thaw(); [INFO] [stdout] 215 | this.frozen_peers.remove(&peer); [INFO] [stdout] 216 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 217 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if let Some(mut peer_tracker) = this.peer_queue.remove(&peer) { [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/peer_task_queue.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match this.peer_queue.remove(&peer) { Some(mut peer_tracker) => { [INFO] [stdout] 229 | if peer_tracker.thaw() { [INFO] [stdout] ... [INFO] [stdout] 232 | this.peer_queue.push(peer, peer_tracker); [INFO] [stdout] 233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | if let Err(err) = hook.send(event.clone()).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/peer_task_queue.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match hook.send(event.clone()).await { Err(err) => { [INFO] [stdout] 242 | warn!("failed to call hook for {:?}: {:?}", event, err); [INFO] [stdout] 243 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue/peer_tracker.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some((_, qtask)) = self.pending_tasks.pop() { [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/peer_task_queue/peer_tracker.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match self.pending_tasks.pop() { Some((_, qtask)) => { [INFO] [stdout] 135 | // start the task [INFO] [stdout] ... [INFO] [stdout] 139 | out.push(task); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/peer_task_queue/peer_tracker.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(active_tasks) = self.active_tasks.get_mut(&task.topic) { [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/peer_task_queue/peer_tracker.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match self.active_tasks.get_mut(&task.topic) { Some(active_tasks) => { [INFO] [stdout] 163 | let mut work_done = 0; [INFO] [stdout] ... [INFO] [stdout] 181 | } [INFO] [stdout] 182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/message.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking beetle-bitswap-next v0.5.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/session/peer_response_tracker.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/client/session/peer_response_tracker.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 28 | let rnd: f64 = thread_rng().r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `beetle-bitswap-next` (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 `beetle-bitswap-next` (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" "963a84057cfb1ec9710691e1d98079e75a07a522acb547e6354618194fb4d0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963a84057cfb1ec9710691e1d98079e75a07a522acb547e6354618194fb4d0c8", kill_on_drop: false }` [INFO] [stdout] 963a84057cfb1ec9710691e1d98079e75a07a522acb547e6354618194fb4d0c8