[INFO] fetching crate raftify 0.1.69... [INFO] checking raftify-0.1.69 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate raftify 0.1.69 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate raftify 0.1.69 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raftify 0.1.69 [INFO] finished tweaking crates.io crate raftify 0.1.69 [INFO] tweaked toml for crates.io crate raftify 0.1.69 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 220 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.7.7) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.4.5) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding built v0.5.2 (available: v0.7.4) [INFO] [stderr] Adding cargo-lock v8.0.3 (available: v9.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [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 heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (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 hyper-timeout v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [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 linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding multimap v0.8.3 (available: v0.10.0) [INFO] [stderr] Adding prettyplease v0.1.25 (available: v0.2.22) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-build v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.5.1) [INFO] [stderr] Adding protobuf-build v0.14.1 (available: v0.15.1) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding tonic v0.9.2 (available: v0.12.3) [INFO] [stderr] Adding tonic-build v0.9.2 (available: v0.12.3) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58218dcda96bd789469a4c0f18d2afc8b1916a00c92d8839d9a968ae1fb16f1c [INFO] running `Command { std: "docker" "start" "-a" "58218dcda96bd789469a4c0f18d2afc8b1916a00c92d8839d9a968ae1fb16f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58218dcda96bd789469a4c0f18d2afc8b1916a00c92d8839d9a968ae1fb16f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58218dcda96bd789469a4c0f18d2afc8b1916a00c92d8839d9a968ae1fb16f1c", kill_on_drop: false }` [INFO] [stdout] 58218dcda96bd789469a4c0f18d2afc8b1916a00c92d8839d9a968ae1fb16f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e969ff7b72eb62fa7ea5684a7b802681a589cb7244084c411bfd0bc609fea39d [INFO] running `Command { std: "docker" "start" "-a" "e969ff7b72eb62fa7ea5684a7b802681a589cb7244084c411bfd0bc609fea39d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking slog-stdlog v4.1.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking heed-traits v0.20.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling doxygen-rs v0.4.2 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling lmdb-master-sys v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling protobuf-build v0.14.1 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling raft-proto v0.7.0 [INFO] [stderr] Checking jopemachine-raft v0.7.10 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking cargo-lock v8.0.3 [INFO] [stderr] Checking heed-types v0.20.1 [INFO] [stderr] Checking heed v0.20.5 [INFO] [stderr] Checking built v0.5.2 [INFO] [stderr] Compiling raftify v0.1.69 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stdout] error: this value of type `tokio::sync::oneshot::Sender<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_bootstrapper.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn run(self) -> Result<()> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let (tx_quit_signal, rx_quit_signal) = oneshot::channel::<()>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | / tokio::select! { [INFO] [stdout] 108 | | _ = signal::ctrl_c() => { [INFO] [stdout] 109 | | self.logger.info("Ctrl+C signal detected. Shutting down..."); [INFO] [stdout] 110 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::oneshot::Sender<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_bootstrapper.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn run(self) -> Result<()> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let (tx_quit_signal, rx_quit_signal) = oneshot::channel::<()>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | / tokio::select! { [INFO] [stdout] 108 | | _ = signal::ctrl_c() => { [INFO] [stdout] 109 | | self.logger.info("Ctrl+C signal detected. Shutting down..."); [INFO] [stdout] 110 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `RaftServiceClient` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_bootstrapper.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 160 | raft_addr: A, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut client = create_client(&peer_addr).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `RaftServiceClient` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_bootstrapper.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 160 | raft_addr: A, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut client = create_client(&peer_addr).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `LocalResponseMsg` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn add_peer(&self, id: u64, addr: A, role: Option) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | let resp = rx.await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `LocalResponseMsg` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node/mod.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn add_peer(&self, id: u64, addr: A, role: Option) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | let resp = rx.await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `entries` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/storage/heed_storage/mod.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | max_size: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | found 1 type parameter [INFO] [stdout] | `impl Trait` introduces an implicit type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/jopemachine-raft-0.7.10/src/storage.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / fn entries( [INFO] [stdout] 129 | | &self, [INFO] [stdout] 130 | | low: u64, [INFO] [stdout] 131 | | high: u64, [INFO] [stdout] 132 | | max_size: Option, [INFO] [stdout] 133 | | context: GetEntriesContext, [INFO] [stdout] 134 | | ) -> Result>; [INFO] [stdout] | |____________________________- expected 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `entries` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/storage/heed_storage/mod.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | max_size: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | found 1 type parameter [INFO] [stdout] | `impl Trait` introduces an implicit type parameter [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/jopemachine-raft-0.7.10/src/storage.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / fn entries( [INFO] [stdout] 129 | | &self, [INFO] [stdout] 130 | | low: u64, [INFO] [stdout] 131 | | high: u64, [INFO] [stdout] 132 | | max_size: Option, [INFO] [stdout] 133 | | context: GetEntriesContext, [INFO] [stdout] 134 | | ) -> Result>; [INFO] [stdout] | |____________________________- expected 0 type parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/heed_storage/mod.rs:712:45 [INFO] [stdout] | [INFO] [stdout] 712 | let e = storage.entries(lo, hi, maxsize, GetEntriesContext::empty(false)); [INFO] [stdout] | ------- ^^^^^^^ expected `Option`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/jopemachine-raft-0.7.10/src/storage.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn entries( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 712 | let e = storage.entries(lo, hi, Some(maxsize), GetEntriesContext::empty(false)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/heed_storage/mod.rs:788:51 [INFO] [stdout] | [INFO] [stdout] 788 | storage.entries(index, index + 1, 1, GetEntriesContext::empty(false)) [INFO] [stdout] | ------- ^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/jopemachine-raft-0.7.10/src/storage.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn entries( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 788 | storage.entries(index, index + 1, Some(1), GetEntriesContext::empty(false)) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/storage/heed_storage/mod.rs:799:43 [INFO] [stdout] | [INFO] [stdout] 799 | .entries(index, last + 1, 100, GetEntriesContext::empty(false)) [INFO] [stdout] | ------- ^^^ expected `Option`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/jopemachine-raft-0.7.10/src/storage.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn entries( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 799 | .entries(index, last + 1, Some(100), GetEntriesContext::empty(false)) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::oneshot::Sender>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node/response_sender.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn send(self, response: ResponseMessage) { [INFO] [stdout] | ---- -------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | match self { [INFO] [stdout] 19 | ResponseSender::Local(tx_local) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::oneshot::Sender>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/raft_node/response_sender.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn send(self, response: ResponseMessage) { [INFO] [stdout] | ---- -------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | match self { [INFO] [stdout] 19 | ResponseSender::Local(tx_local) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raftify` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0049, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raftify` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "e969ff7b72eb62fa7ea5684a7b802681a589cb7244084c411bfd0bc609fea39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e969ff7b72eb62fa7ea5684a7b802681a589cb7244084c411bfd0bc609fea39d", kill_on_drop: false }` [INFO] [stdout] e969ff7b72eb62fa7ea5684a7b802681a589cb7244084c411bfd0bc609fea39d