[INFO] fetching crate wither 0.9.0... [INFO] checking wither-0.9.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wither 0.9.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wither 0.9.0 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 wither 0.9.0 [INFO] finished tweaking crates.io crate wither 0.9.0 [INFO] tweaked toml for crates.io crate wither 0.9.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate wither 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d297519c2337371ea238b95e3ac3467ecfd2adaae9e6a259c54823761a80888 [INFO] running `Command { std: "docker" "start" "-a" "2d297519c2337371ea238b95e3ac3467ecfd2adaae9e6a259c54823761a80888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d297519c2337371ea238b95e3ac3467ecfd2adaae9e6a259c54823761a80888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d297519c2337371ea238b95e3ac3467ecfd2adaae9e6a259c54823761a80888", kill_on_drop: false }` [INFO] [stdout] 2d297519c2337371ea238b95e3ac3467ecfd2adaae9e6a259c54823761a80888 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1752c6403811cea42496994f1ec289e8cd8038c375ee8fd32cdfa73329dde2f4 [INFO] running `Command { std: "docker" "start" "-a" "1752c6403811cea42496994f1ec289e8cd8038c375ee8fd32cdfa73329dde2f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling darling_core v0.12.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking os_info v3.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling darling_macro v0.12.0 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling darling v0.12.0 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_with v1.6.4 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Compiling wither_derive v0.9.0 [INFO] [stderr] Checking bson v1.2.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking mongodb v1.2.0 [INFO] [stderr] Checking wither v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(feature = "sync"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-std-runtime`, `default`, `docinclude`, and `tokio-runtime` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sync` [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(feature = "sync"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-std-runtime`, `default`, `docinclude`, and `tokio-runtime` [INFO] [stdout] = help: consider adding `sync` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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/cursor.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 33 | let doc = match Pin::new(&mut self.cursor).poll_next(cx) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Poll::Ready(Some(Err(err))) => return Poll::Ready(Some(Err(WitherError::from(err)))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Poll::Ready(Some(Ok(doc))) => doc, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | }; [INFO] [stdout] 39 | match Model::instance_from_document(doc) { [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/model.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | async fn find(db: &Database, filter: F, options: O) -> Result> [INFO] [stdout] | ^ --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | F: Into> + Send, [INFO] [stdout] 96 | | O: Into> + Send, [INFO] [stdout] 97 | | { [INFO] [stdout] 98 | | Ok(Self::collection(db).find(filter, options).await.map(ModelCursor::new)?) [INFO] [stdout] 99 | | } [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/model.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | async fn find_one(db: &Database, filter: F, options: O) -> Result> [INFO] [stdout] | ^ --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 103 | | where [INFO] [stdout] 104 | | F: Into> + Send, [INFO] [stdout] 105 | | O: Into> + Send, [INFO] [stdout] ... | [INFO] [stdout] 111 | | .transpose()?) [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/model.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | async fn find_one_and_delete(db: &Database, filter: Document, options: O) -> Result> [INFO] [stdout] | ^ ---------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 116 | | where [INFO] [stdout] 117 | | O: Into> + Send, [INFO] [stdout] 118 | | { [INFO] [stdout] ... | [INFO] [stdout] 123 | | .transpose()?) [INFO] [stdout] 124 | | } [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/model.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | async fn find_one_and_replace(db: &Database, filter: Document, replacement: Document, options: O) -> Result> [INFO] [stdout] | ^ ---------------- --------------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | | [INFO] [stdout] 128 | | where [INFO] [stdout] 129 | | O: Into> + Send, [INFO] [stdout] 130 | | { [INFO] [stdout] ... | [INFO] [stdout] 135 | | .transpose()?) [INFO] [stdout] 136 | | } [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/model.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn find_one_and_update(db: &Database, filter: Document, update: U, options: O) -> Result> [INFO] [stdout] | ^ ---------------- --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | | [INFO] [stdout] 140 | | where [INFO] [stdout] 141 | | U: Into + Send, [INFO] [stdout] 142 | | O: Into> + Send, [INFO] [stdout] ... | [INFO] [stdout] 148 | | .transpose()?) [INFO] [stdout] 149 | | } [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/model.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | async fn save(&mut self, db: &Database, filter: Option) -> Result<()> { [INFO] [stdout] | ^ ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 170 | | let coll = Self::collection(db); [INFO] [stdout] 171 | | let instance_doc = Self::document_from_instance(&self)?; [INFO] [stdout] ... | [INFO] [stdout] 208 | | Ok(()) [INFO] [stdout] 209 | | } [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/model.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | async fn update(self, db: &Database, filter: Option, update: Document, opts: Option) -> R... [INFO] [stdout] | ^ ---- ------------------------ ---------------- ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 227 | | // Extract model's ID & use as filter for this operation. [INFO] [stdout] 228 | | let id = self.id().ok_or(WitherError::ModelIdRequiredForOperation)?; [INFO] [stdout] ... | [INFO] [stdout] 270 | | .ok_or(WitherError::ServerFailedToReturnUpdatedDoc)?) [INFO] [stdout] 271 | | } [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/model.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | async fn delete_many(db: &Database, filter: Document, options: O) -> Result [INFO] [stdout] | ^ ---------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 286 | | where [INFO] [stdout] 287 | | O: Into> + Send, [INFO] [stdout] 288 | | { [INFO] [stdout] 289 | | Ok(Self::collection(db).delete_many(filter, options).await?) [INFO] [stdout] 290 | | } [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/model.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | fn instance_from_document(document: Document) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | Ok(from_bson::(Bson::Document(document))?) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wither` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cursor.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 33 | let doc = match Pin::new(&mut self.cursor).poll_next(cx) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Poll::Ready(Some(Err(err))) => return Poll::Ready(Some(Err(WitherError::from(err)))), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Poll::Ready(Some(Ok(doc))) => doc, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | }; [INFO] [stdout] 39 | match Model::instance_from_document(doc) { [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/model.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | async fn find(db: &Database, filter: F, options: O) -> Result> [INFO] [stdout] | ^ --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 94 | | where [INFO] [stdout] 95 | | F: Into> + Send, [INFO] [stdout] 96 | | O: Into> + Send, [INFO] [stdout] 97 | | { [INFO] [stdout] 98 | | Ok(Self::collection(db).find(filter, options).await.map(ModelCursor::new)?) [INFO] [stdout] 99 | | } [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/model.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | async fn find_one(db: &Database, filter: F, options: O) -> Result> [INFO] [stdout] | ^ --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 103 | | where [INFO] [stdout] 104 | | F: Into> + Send, [INFO] [stdout] 105 | | O: Into> + Send, [INFO] [stdout] ... | [INFO] [stdout] 111 | | .transpose()?) [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/model.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | async fn find_one_and_delete(db: &Database, filter: Document, options: O) -> Result> [INFO] [stdout] | ^ ---------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 116 | | where [INFO] [stdout] 117 | | O: Into> + Send, [INFO] [stdout] 118 | | { [INFO] [stdout] ... | [INFO] [stdout] 123 | | .transpose()?) [INFO] [stdout] 124 | | } [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/model.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | async fn find_one_and_replace(db: &Database, filter: Document, replacement: Document, options: O) -> Result> [INFO] [stdout] | ^ ---------------- --------------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | | [INFO] [stdout] 128 | | where [INFO] [stdout] 129 | | O: Into> + Send, [INFO] [stdout] 130 | | { [INFO] [stdout] ... | [INFO] [stdout] 135 | | .transpose()?) [INFO] [stdout] 136 | | } [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/model.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn find_one_and_update(db: &Database, filter: Document, update: U, options: O) -> Result> [INFO] [stdout] | ^ ---------------- --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | | [INFO] [stdout] 140 | | where [INFO] [stdout] 141 | | U: Into + Send, [INFO] [stdout] 142 | | O: Into> + Send, [INFO] [stdout] ... | [INFO] [stdout] 148 | | .transpose()?) [INFO] [stdout] 149 | | } [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/model.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | async fn save(&mut self, db: &Database, filter: Option) -> Result<()> { [INFO] [stdout] | ^ ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 170 | | let coll = Self::collection(db); [INFO] [stdout] 171 | | let instance_doc = Self::document_from_instance(&self)?; [INFO] [stdout] ... | [INFO] [stdout] 208 | | Ok(()) [INFO] [stdout] 209 | | } [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/model.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | async fn update(self, db: &Database, filter: Option, update: Document, opts: Option) -> R... [INFO] [stdout] | ^ ---- ------------------------ ---------------- ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 227 | | // Extract model's ID & use as filter for this operation. [INFO] [stdout] 228 | | let id = self.id().ok_or(WitherError::ModelIdRequiredForOperation)?; [INFO] [stdout] ... | [INFO] [stdout] 270 | | .ok_or(WitherError::ServerFailedToReturnUpdatedDoc)?) [INFO] [stdout] 271 | | } [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/model.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | async fn delete_many(db: &Database, filter: Document, options: O) -> Result [INFO] [stdout] | ^ ---------------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | ______________| these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] 286 | | where [INFO] [stdout] 287 | | O: Into> + Send, [INFO] [stdout] 288 | | { [INFO] [stdout] 289 | | Ok(Self::collection(db).delete_many(filter, options).await?) [INFO] [stdout] 290 | | } [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/model.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | fn instance_from_document(document: Document) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | Ok(from_bson::(Bson::Document(document))?) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wither` (lib test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1752c6403811cea42496994f1ec289e8cd8038c375ee8fd32cdfa73329dde2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1752c6403811cea42496994f1ec289e8cd8038c375ee8fd32cdfa73329dde2f4", kill_on_drop: false }` [INFO] [stdout] 1752c6403811cea42496994f1ec289e8cd8038c375ee8fd32cdfa73329dde2f4