[INFO] fetching crate db_task 0.2.2... [INFO] checking db_task-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate db_task 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate db_task 0.2.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate db_task 0.2.2 [INFO] finished tweaking crates.io crate db_task 0.2.2 [INFO] tweaked toml for crates.io crate db_task 0.2.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 223 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding darling v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding enum-as-inner v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.2.3 (latest: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mongodb v2.8.2 (latest: v3.1.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding pbkdf2 v0.11.0 (latest: v0.12.2) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding rustc_version_runtime v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.12) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.7) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_with v1.14.0 (latest: v3.9.0) [INFO] [stderr] Adding serde_with v2.3.3 (latest: v3.9.0) [INFO] [stderr] Adding serde_with_macros v1.5.2 (latest: v3.9.0) [INFO] [stderr] Adding serde_with_macros v2.3.3 (latest: v3.9.0) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding tracing-log v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding trust-dns-proto v0.21.2 (latest: v0.23.2) [INFO] [stderr] Adding trust-dns-resolver v0.21.2 (latest: v0.23.2) [INFO] [stderr] Adding typed-builder v0.10.0 (latest: v0.20.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (latest: v0.26.5) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3fddf9c58a78888ef46f3432c78a3d8b71605d44814d3993612a81d27628158 [INFO] running `Command { std: "docker" "start" "-a" "c3fddf9c58a78888ef46f3432c78a3d8b71605d44814d3993612a81d27628158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3fddf9c58a78888ef46f3432c78a3d8b71605d44814d3993612a81d27628158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fddf9c58a78888ef46f3432c78a3d8b71605d44814d3993612a81d27628158", kill_on_drop: false }` [INFO] [stdout] c3fddf9c58a78888ef46f3432c78a3d8b71605d44814d3993612a81d27628158 [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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e3ed8c37d7e2c3f4a21374bcd3b674b433c2aa6ea1dd42193f36f6fd996f747 [INFO] running `Command { std: "docker" "start" "-a" "3e3ed8c37d7e2c3f4a21374bcd3b674b433c2aa6ea1dd42193f36f6fd996f747", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking db_task v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/app/common.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | let nanosecond = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/app/common.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | let nanosecond = Local::now().timestamp_nanos(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:151:127 [INFO] [stdout] | [INFO] [stdout] 151 | async fn handle_change_stream(self: Arc, event: ChangeStreamEvent) -> Option> { [INFO] [stdout] | ___________________________________----_____________----------------------------------------------_____________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | | debug!("handle_change_stream"); [INFO] [stdout] 153 | | event.full_document.map(|doc| doc.next_run_time) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:157:94 [INFO] [stdout] | [INFO] [stdout] 157 | async fn fetch_next_run_time(self: Arc) -> anyhow::Result>> { [INFO] [stdout] | __________________________________----________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | | debug!("fetch_next_run_time"); [INFO] [stdout] 159 | | let collection = self.get_collection(); [INFO] [stdout] 160 | | let filter = doc! { [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:296:59 [INFO] [stdout] | [INFO] [stdout] 296 | async fn start(self: Arc) -> anyhow::Result<()> { [INFO] [stdout] | ____________________----___________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | | // TODO: need to check before send task [INFO] [stdout] 298 | | if !self.check_collection_index().await { [INFO] [stdout] 299 | | return Err(anyhow::Error::msg("unique index is not set")); [INFO] [stdout] ... | [INFO] [stdout] 395 | | Ok(()) [INFO] [stdout] 396 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:43:110 [INFO] [stdout] | [INFO] [stdout] 43 | async fn send_task(&self, key: impl AsRef + Debug + Send, param: T::Params) -> anyhow::Result { [INFO] [stdout] | _______________________________---__________________________________-----_____________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | | let collection = self.get_collection(); [INFO] [stdout] 45 | | let request = Self::gen_request(key.as_ref(), param, None); [INFO] [stdout] 46 | | match collection.insert_one(request, None).await { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:71:171 [INFO] [stdout] | [INFO] [stdout] 71 | async fn send_task_with_execution_time(&self, key: impl AsRef + Debug + Send, param: T::Params, execution_time: Option>) -> anyhow::Result { [INFO] [stdout] | ___________________________________________________---__________________________________-----______________________________________________________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | | let collection = self.get_collection(); [INFO] [stdout] 73 | | let request = Self::gen_request(key.as_ref(), param, execution_time); [INFO] [stdout] 74 | | match collection.insert_one(request, None).await { [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:99:103 [INFO] [stdout] | [INFO] [stdout] 99 | async fn fetch_task(&self, key: impl AsRef + Debug + Send) -> anyhow::Result> { [INFO] [stdout] | ________________________________---____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | | let collection = self.get_collection(); [INFO] [stdout] 101 | | match collection.find_one(doc! {"key":key.as_ref()}, None).await { [INFO] [stdout] 102 | | Ok(Some(task)) => { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:117:113 [INFO] [stdout] | [INFO] [stdout] 117 | async fn replace_task(&self, key: impl AsRef + Debug + Send, param: T::Params) -> anyhow::Result { [INFO] [stdout] | __________________________________---__________________________________-----_____________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | let collection = self.get_collection(); [INFO] [stdout] 119 | | let request = Self::gen_request(key.as_ref(), param, None); [INFO] [stdout] 120 | | let query = doc! { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:198:157 [INFO] [stdout] | [INFO] [stdout] 198 | async fn fail_task(&self, key: impl AsRef + Debug + Send, retry_delay: Option) -> mongodb::error::Result>> { [INFO] [stdout] | _______________________________---___________________________________________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | | // TODO: calculate delay for failed task [INFO] [stdout] 200 | | let delay = retry_delay.unwrap_or_else(|| chrono::Duration::seconds(10)); [INFO] [stdout] 201 | | let next_run_time = Local::now() + delay; [INFO] [stdout] ... | [INFO] [stdout] 205 | | collection.find_one_and_update(filter, update, None).await [INFO] [stdout] 206 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:210:120 [INFO] [stdout] | [INFO] [stdout] 210 | async fn cancel_task(&self, key: impl AsRef + Debug + Send) -> mongodb::error::Result>> { [INFO] [stdout] | _________________________________---____________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | | let update = doc! {"$set":{"state.cancel_time":chrono::Local::now(), "state.next_run_time":Bson::Null}}; [INFO] [stdout] 212 | | let filter = doc! {"key":key.as_ref()}; [INFO] [stdout] 213 | | let collection = self.get_collection(); [INFO] [stdout] 214 | | collection.find_one_and_update(filter, update, None).await [INFO] [stdout] 215 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/task_result.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create(msg: M, delay_time: Option) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | error: Error::msg(msg), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/task_result.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn from(value: E) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | error: Error::new(value), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tasker/single_tasker_consumer.rs:57:108 [INFO] [stdout] | [INFO] [stdout] 57 | async fn consume(self: Arc, params: ::Params) -> Result<::Returns> { [INFO] [stdout] | ______________________----_____________------_______________________________________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | | self.consumer.clone().consume(params).await [INFO] [stdout] 59 | | } [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db_task` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | for index in 0..test_cnt { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:151:127 [INFO] [stdout] | [INFO] [stdout] 151 | async fn handle_change_stream(self: Arc, event: ChangeStreamEvent) -> Option> { [INFO] [stdout] | ___________________________________----_____________----------------------------------------------_____________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | | debug!("handle_change_stream"); [INFO] [stdout] 153 | | event.full_document.map(|doc| doc.next_run_time) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:157:94 [INFO] [stdout] | [INFO] [stdout] 157 | async fn fetch_next_run_time(self: Arc) -> anyhow::Result>> { [INFO] [stdout] | __________________________________----________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | | debug!("fetch_next_run_time"); [INFO] [stdout] 159 | | let collection = self.get_collection(); [INFO] [stdout] 160 | | let filter = doc! { [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/consumer.rs:296:59 [INFO] [stdout] | [INFO] [stdout] 296 | async fn start(self: Arc) -> anyhow::Result<()> { [INFO] [stdout] | ____________________----___________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | | // TODO: need to check before send task [INFO] [stdout] 298 | | if !self.check_collection_index().await { [INFO] [stdout] 299 | | return Err(anyhow::Error::msg("unique index is not set")); [INFO] [stdout] ... | [INFO] [stdout] 395 | | Ok(()) [INFO] [stdout] 396 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:43:110 [INFO] [stdout] | [INFO] [stdout] 43 | async fn send_task(&self, key: impl AsRef + Debug + Send, param: T::Params) -> anyhow::Result { [INFO] [stdout] | _______________________________---__________________________________-----_____________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | | let collection = self.get_collection(); [INFO] [stdout] 45 | | let request = Self::gen_request(key.as_ref(), param, None); [INFO] [stdout] 46 | | match collection.insert_one(request, None).await { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:71:171 [INFO] [stdout] | [INFO] [stdout] 71 | async fn send_task_with_execution_time(&self, key: impl AsRef + Debug + Send, param: T::Params, execution_time: Option>) -> anyhow::Result { [INFO] [stdout] | ___________________________________________________---__________________________________-----______________________________________________________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | | let collection = self.get_collection(); [INFO] [stdout] 73 | | let request = Self::gen_request(key.as_ref(), param, execution_time); [INFO] [stdout] 74 | | match collection.insert_one(request, None).await { [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:99:103 [INFO] [stdout] | [INFO] [stdout] 99 | async fn fetch_task(&self, key: impl AsRef + Debug + Send) -> anyhow::Result> { [INFO] [stdout] | ________________________________---____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | | let collection = self.get_collection(); [INFO] [stdout] 101 | | match collection.find_one(doc! {"key":key.as_ref()}, None).await { [INFO] [stdout] 102 | | Ok(Some(task)) => { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:117:113 [INFO] [stdout] | [INFO] [stdout] 117 | async fn replace_task(&self, key: impl AsRef + Debug + Send, param: T::Params) -> anyhow::Result { [INFO] [stdout] | __________________________________---__________________________________-----_____________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | let collection = self.get_collection(); [INFO] [stdout] 119 | | let request = Self::gen_request(key.as_ref(), param, None); [INFO] [stdout] 120 | | let query = doc! { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:198:157 [INFO] [stdout] | [INFO] [stdout] 198 | async fn fail_task(&self, key: impl AsRef + Debug + Send, retry_delay: Option) -> mongodb::error::Result>> { [INFO] [stdout] | _______________________________---___________________________________________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | | // TODO: calculate delay for failed task [INFO] [stdout] 200 | | let delay = retry_delay.unwrap_or_else(|| chrono::Duration::seconds(10)); [INFO] [stdout] 201 | | let next_run_time = Local::now() + delay; [INFO] [stdout] ... | [INFO] [stdout] 205 | | collection.find_one_and_update(filter, update, None).await [INFO] [stdout] 206 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/common.rs:210:120 [INFO] [stdout] | [INFO] [stdout] 210 | async fn cancel_task(&self, key: impl AsRef + Debug + Send) -> mongodb::error::Result>> { [INFO] [stdout] | _________________________________---____________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | | let update = doc! {"$set":{"state.cancel_time":chrono::Local::now(), "state.next_run_time":Bson::Null}}; [INFO] [stdout] 212 | | let filter = doc! {"key":key.as_ref()}; [INFO] [stdout] 213 | | let collection = self.get_collection(); [INFO] [stdout] 214 | | collection.find_one_and_update(filter, update, None).await [INFO] [stdout] 215 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/task_result.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create(msg: M, delay_time: Option) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | error: Error::msg(msg), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/task_result.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn from(value: E) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | error: Error::new(value), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tasker/single_tasker_consumer.rs:57:108 [INFO] [stdout] | [INFO] [stdout] 57 | async fn consume(self: Arc, params: ::Params) -> Result<::Returns> { [INFO] [stdout] | ______________________----_____________------_______________________________________________________________^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | | self.consumer.clone().consume(params).await [INFO] [stdout] 59 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tasker/single_tasker_consumer.rs:106:120 [INFO] [stdout] | [INFO] [stdout] 106 | async fn consume(self: Arc, params: ::Params) -> Result<::Returns> { [INFO] [stdout] | __________________________----__________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | | dbg!(¶ms); [INFO] [stdout] 108 | | if params { [INFO] [stdout] 109 | | Ok(()) [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:79:124 [INFO] [stdout] | [INFO] [stdout] 79 | async fn consume(self: Arc, task: ::Params) -> Result<::Returns> { [INFO] [stdout] | __________________________----______________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | | println!("consuming {:?}", task); [INFO] [stdout] 81 | | tokio::time::sleep(Duration::from_secs(50)).await; [INFO] [stdout] 82 | | println!("consumed {:?}", task); [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | Ok(()) [INFO] [stdout] 85 | | } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 146 | let arc = x.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | tokio::spawn(async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 148 | | let string = String::from(char); [INFO] [stdout] 149 | | let result = arc.send_task(string.as_str(), TestParams {}).await; [INFO] [stdout] 150 | | info!("{:?}",&result); [INFO] [stdout] 151 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 166 | let arc = x.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | tokio::spawn(async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 168 | | let string = String::from(char); [INFO] [stdout] 169 | | let result = arc.send_task_with_execution_time(string.as_str(), TestParams {}, Some(Local::now())).await; [INFO] [stdout] 170 | | info!("{:?}",&result); [INFO] [stdout] 171 | | }) [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 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db_task` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e3ed8c37d7e2c3f4a21374bcd3b674b433c2aa6ea1dd42193f36f6fd996f747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3ed8c37d7e2c3f4a21374bcd3b674b433c2aa6ea1dd42193f36f6fd996f747", kill_on_drop: false }` [INFO] [stdout] 3e3ed8c37d7e2c3f4a21374bcd3b674b433c2aa6ea1dd42193f36f6fd996f747