[INFO] fetching crate teo-mongodb-connector 0.3.0-alpha.0... [INFO] checking teo-mongodb-connector-0.3.0-alpha.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate teo-mongodb-connector 0.3.0-alpha.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate teo-mongodb-connector 0.3.0-alpha.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 teo-mongodb-connector 0.3.0-alpha.0 [INFO] finished tweaking crates.io crate teo-mongodb-connector 0.3.0-alpha.0 [INFO] tweaked toml for crates.io crate teo-mongodb-connector 0.3.0-alpha.0 written to /workspace/builds/worker-5-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] Updating crates.io index [INFO] [stderr] Locking 312 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 bigdecimal v0.3.1 (latest: v0.4.5) [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 cookie v0.16.2 (latest: v0.18.1) [INFO] [stderr] Adding cuid v1.2.0 (latest: v1.3.3) [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 educe v0.5.11 (latest: v0.6.0) [INFO] [stderr] Adding enum-as-inner v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.1.1) [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 h2 v0.3.26 (latest: v0.4.6) [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 http v0.2.12 (latest: v1.1.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 itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding lazy_static v1.4.0 (latest: v1.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [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 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 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_macros v1.5.2 (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 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d3e1c808afb027a52abfb186baf24ebb007dcbab7be2e6d555d96b94210aef05 [INFO] running `Command { std: "docker" "start" "-a" "d3e1c808afb027a52abfb186baf24ebb007dcbab7be2e6d555d96b94210aef05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3e1c808afb027a52abfb186baf24ebb007dcbab7be2e6d555d96b94210aef05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e1c808afb027a52abfb186baf24ebb007dcbab7be2e6d555d96b94210aef05", kill_on_drop: false }` [INFO] [stdout] d3e1c808afb027a52abfb186baf24ebb007dcbab7be2e6d555d96b94210aef05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e1a66f2a1abd7226c16ae75e0c175acdb72702f835cba99a6b899035b7560cb1 [INFO] running `Command { std: "docker" "start" "-a" "e1a66f2a1abd7226c16ae75e0c175acdb72702f835cba99a6b899035b7560cb1", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking teo-result v0.3.0-alpha.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking cuid-util v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking cuid2 v0.1.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking random-string v1.1.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cuid v1.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking inflector-plus v0.11.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking key-path v0.2.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking teo-parser v0.3.0-alpha.0 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking teo-runtime v0.3.0-alpha.0 [INFO] [stderr] Checking teo-mongodb-connector v0.3.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/aggregation/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/aggregation/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bson_ext/coder.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bson_ext/coder.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:385:50 [INFO] [stdout] | [INFO] [stdout] 385 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:385:87 [INFO] [stdout] | [INFO] [stdout] 385 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:385:50 [INFO] [stdout] | [INFO] [stdout] 385 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:385:87 [INFO] [stdout] | [INFO] [stdout] 385 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:472:31 [INFO] [stdout] | [INFO] [stdout] 472 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:504:72 [INFO] [stdout] | [INFO] [stdout] 504 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: Key... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:522:70 [INFO] [stdout] | [INFO] [stdout] 522 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: Key... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/connector/transaction.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/connector/transaction.rs:609:48 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_ctx` [INFO] [stdout] --> src/connector/transaction.rs:609:59 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:472:31 [INFO] [stdout] | [INFO] [stdout] 472 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:504:72 [INFO] [stdout] | [INFO] [stdout] 504 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: Key... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode_without_default_type` is never used [INFO] [stdout] --> src/bson_ext/coder.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl BsonCoder { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/connector/transaction.rs:504:228 [INFO] [stdout] | [INFO] [stdout] 504 | async fn find_unique(&self, model: &'static Model, finder: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: KeyPath) -> 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] 505 | | let select = finder.get("select"); [INFO] [stdout] 506 | | let include = finder.get("include"); [INFO] [stdout] 507 | | let aggregate_input = Aggregation::build(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] ... | [INFO] [stdout] 519 | | } [INFO] [stdout] 520 | | } [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/connector/transaction.rs:522:223 [INFO] [stdout] | [INFO] [stdout] 522 | async fn find_many(&self, model: &'static Model, finder: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: KeyPath) -> 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] 523 | | let select = finder.get("select"); [INFO] [stdout] 524 | | let include = finder.get("include"); [INFO] [stdout] 525 | | let aggregate_input = Aggregation::build(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] ... | [INFO] [stdout] 546 | | Ok(result) [INFO] [stdout] 547 | | } [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/connector/transaction.rs:549:120 [INFO] [stdout] | [INFO] [stdout] 549 | async fn count(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 550 | | if finder.get("select").is_some() { [INFO] [stdout] 551 | | self.count_fields(model, finder, transaction_ctx, path).await [INFO] [stdout] 552 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 555 | | } [INFO] [stdout] 556 | | } [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/connector/transaction.rs:558:128 [INFO] [stdout] | [INFO] [stdout] 558 | async fn count_objects(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 559 | | let input = Aggregation::build_for_count(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] 560 | | let col = self.get_collection(model); [INFO] [stdout] 561 | | let results = self.aggregate_to_documents(input, col, path).await?; [INFO] [stdout] ... | [INFO] [stdout] 572 | | } [INFO] [stdout] 573 | | } [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/connector/transaction.rs:575:127 [INFO] [stdout] | [INFO] [stdout] 575 | async fn count_fields(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 576 | | let new_finder = Value::Dictionary(finder.as_dictionary().unwrap().iter().map(|(k, v)| { [INFO] [stdout] 577 | | if k.as_str() == "select" { [INFO] [stdout] 578 | | ("_count".to_owned(), v.clone()) [INFO] [stdout] ... | [INFO] [stdout] 584 | | Ok(aggregate_value.get("_count").unwrap().clone()) [INFO] [stdout] 585 | | } [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/connector/transaction.rs:587:124 [INFO] [stdout] | [INFO] [stdout] 587 | async fn aggregate(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 588 | | let results = self.aggregate_or_group_by(transaction_ctx.namespace(), model, finder, path).await?; [INFO] [stdout] 589 | | if results.is_empty() { [INFO] [stdout] 590 | | // there is no record [INFO] [stdout] ... | [INFO] [stdout] 602 | | } [INFO] [stdout] 603 | | } [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/connector/transaction.rs:605:128 [INFO] [stdout] | [INFO] [stdout] 605 | async fn group_by(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 606 | | Ok(self.aggregate_or_group_by(transaction_ctx.namespace(), model, finder, path).await?) [INFO] [stdout] 607 | | } [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/connector/transaction.rs:609:103 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> 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] 610 | | Err(Error::new("do not run raw sql on MongoDB database")) [INFO] [stdout] 611 | | } [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/connector/owned_session.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(client_session: ClientSession) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self { inner: Arc::new(OwnedSessionInner::new(client_session)) } [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/aggregation/mod.rs:682:179 [INFO] [stdout] | [INFO] [stdout] 682 | ...).unwrap().extend(eq_values.iter().map(|item| Bson::Document(item.clone()))); [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/aggregation/mod.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 718 | let mut include_input = IndexMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | Ok(if !include_input.is_empty() { [INFO] [stdout] | ____________^ [INFO] [stdout] 747 | | Self::build_lookups(namespace, model, &Value::Dictionary(include_input))? [INFO] [stdout] 748 | | } else { [INFO] [stdout] 749 | | vec![] [INFO] [stdout] 750 | | }) [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] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:522:70 [INFO] [stdout] | [INFO] [stdout] 522 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: Key... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [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/bson_ext/mod.rs:22:86 [INFO] [stdout] | [INFO] [stdout] 22 | Value::Dictionary(val) => Bson::Document(val.iter().map(|(k, v)| (k.clone(), teon_value_to_bson(v))).collect()), [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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teo-mongodb-connector` (lib) due to 13 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/connector/transaction.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/connector/transaction.rs:609:48 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_ctx` [INFO] [stdout] --> src/connector/transaction.rs:609:59 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode_without_default_type` is never used [INFO] [stdout] --> src/bson_ext/coder.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl BsonCoder { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/connector/transaction.rs:504:228 [INFO] [stdout] | [INFO] [stdout] 504 | async fn find_unique(&self, model: &'static Model, finder: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: KeyPath) -> 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] 505 | | let select = finder.get("select"); [INFO] [stdout] 506 | | let include = finder.get("include"); [INFO] [stdout] 507 | | let aggregate_input = Aggregation::build(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] ... | [INFO] [stdout] 519 | | } [INFO] [stdout] 520 | | } [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/connector/transaction.rs:522:223 [INFO] [stdout] | [INFO] [stdout] 522 | async fn find_many(&self, model: &'static Model, finder: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, req_ctx: Option, path: KeyPath) -> 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] 523 | | let select = finder.get("select"); [INFO] [stdout] 524 | | let include = finder.get("include"); [INFO] [stdout] 525 | | let aggregate_input = Aggregation::build(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] ... | [INFO] [stdout] 546 | | Ok(result) [INFO] [stdout] 547 | | } [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/connector/transaction.rs:549:120 [INFO] [stdout] | [INFO] [stdout] 549 | async fn count(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 550 | | if finder.get("select").is_some() { [INFO] [stdout] 551 | | self.count_fields(model, finder, transaction_ctx, path).await [INFO] [stdout] 552 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 555 | | } [INFO] [stdout] 556 | | } [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/connector/transaction.rs:558:128 [INFO] [stdout] | [INFO] [stdout] 558 | async fn count_objects(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 559 | | let input = Aggregation::build_for_count(transaction_ctx.namespace(), model, finder)?; [INFO] [stdout] 560 | | let col = self.get_collection(model); [INFO] [stdout] 561 | | let results = self.aggregate_to_documents(input, col, path).await?; [INFO] [stdout] ... | [INFO] [stdout] 572 | | } [INFO] [stdout] 573 | | } [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/connector/transaction.rs:575:127 [INFO] [stdout] | [INFO] [stdout] 575 | async fn count_fields(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 576 | | let new_finder = Value::Dictionary(finder.as_dictionary().unwrap().iter().map(|(k, v)| { [INFO] [stdout] 577 | | if k.as_str() == "select" { [INFO] [stdout] 578 | | ("_count".to_owned(), v.clone()) [INFO] [stdout] ... | [INFO] [stdout] 584 | | Ok(aggregate_value.get("_count").unwrap().clone()) [INFO] [stdout] 585 | | } [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/connector/transaction.rs:587:124 [INFO] [stdout] | [INFO] [stdout] 587 | async fn aggregate(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 588 | | let results = self.aggregate_or_group_by(transaction_ctx.namespace(), model, finder, path).await?; [INFO] [stdout] 589 | | if results.is_empty() { [INFO] [stdout] 590 | | // there is no record [INFO] [stdout] ... | [INFO] [stdout] 602 | | } [INFO] [stdout] 603 | | } [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/connector/transaction.rs:605:128 [INFO] [stdout] | [INFO] [stdout] 605 | async fn group_by(&self, model: &'static Model, finder: &Value, transaction_ctx: Ctx, path: KeyPath) -> 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] 606 | | Ok(self.aggregate_or_group_by(transaction_ctx.namespace(), model, finder, path).await?) [INFO] [stdout] 607 | | } [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/connector/transaction.rs:609:103 [INFO] [stdout] | [INFO] [stdout] 609 | async fn sql(&self, model: &'static Model, sql: &str, transaction_ctx: Ctx) -> 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] 610 | | Err(Error::new("do not run raw sql on MongoDB database")) [INFO] [stdout] 611 | | } [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/connector/owned_session.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(client_session: ClientSession) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self { inner: Arc::new(OwnedSessionInner::new(client_session)) } [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/aggregation/mod.rs:682:179 [INFO] [stdout] | [INFO] [stdout] 682 | ...).unwrap().extend(eq_values.iter().map(|item| Bson::Document(item.clone()))); [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/aggregation/mod.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 718 | let mut include_input = IndexMap::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | Ok(if !include_input.is_empty() { [INFO] [stdout] | ____________^ [INFO] [stdout] 747 | | Self::build_lookups(namespace, model, &Value::Dictionary(include_input))? [INFO] [stdout] 748 | | } else { [INFO] [stdout] 749 | | vec![] [INFO] [stdout] 750 | | }) [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/bson_ext/mod.rs:22:86 [INFO] [stdout] | [INFO] [stdout] 22 | Value::Dictionary(val) => Bson::Document(val.iter().map(|(k, v)| (k.clone(), teon_value_to_bson(v))).collect()), [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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teo-mongodb-connector` (lib test) due to 13 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1a66f2a1abd7226c16ae75e0c175acdb72702f835cba99a6b899035b7560cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a66f2a1abd7226c16ae75e0c175acdb72702f835cba99a6b899035b7560cb1", kill_on_drop: false }` [INFO] [stdout] e1a66f2a1abd7226c16ae75e0c175acdb72702f835cba99a6b899035b7560cb1