[INFO] fetching crate ldap3 0.11.5... [INFO] checking ldap3-0.11.5 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate ldap3 0.11.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ldap3 0.11.5 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ldap3 0.11.5 [INFO] finished tweaking crates.io crate ldap3 0.11.5 [INFO] tweaked toml for crates.io crate ldap3 0.11.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate ldap3 0.11.5 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657319cdca0a78105cd121edbd450ed669729c129346ba2e3ca9c8dff007f931 [INFO] running `Command { std: "docker" "start" "-a" "657319cdca0a78105cd121edbd450ed669729c129346ba2e3ca9c8dff007f931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657319cdca0a78105cd121edbd450ed669729c129346ba2e3ca9c8dff007f931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657319cdca0a78105cd121edbd450ed669729c129346ba2e3ca9c8dff007f931", kill_on_drop: false }` [INFO] [stdout] 657319cdca0a78105cd121edbd450ed669729c129346ba2e3ca9c8dff007f931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc68ba87bd7e38d8add57189bad1b5c0bc4f875eda6be9ec21b410c0da716c9f [INFO] running `Command { std: "docker" "start" "-a" "fc68ba87bd7e38d8add57189bad1b5c0bc4f875eda6be9ec21b410c0da716c9f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lber v0.4.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking ldap3 v0.11.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/search.rs (1 fix) [INFO] [stderr] Fixed src/conn.rs (9 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/conn.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Err(e) = $conn.drive().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | super::drive!(conn); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/conn.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | super::drive!(conn); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `super::drive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/conn.rs:710:39 [INFO] [stdout] | [INFO] [stdout] 658 | / tokio::select! { [INFO] [stdout] 659 | | req_id = self.id_scrub_rx.recv() => { [INFO] [stdout] 660 | | if let Some(req_id) = req_id { [INFO] [stdout] 661 | | self.resultmap.remove(&req_id); [INFO] [stdout] | | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 662 | | self.searchmap.remove(&req_id); [INFO] [stdout] | | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 663 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (id_scrub)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | `msgmap` calls a custom destructor [INFO] [stdout] | | `msgmap` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 667 | | op_tuple = self.rx.recv() => { [INFO] [stdout] | | -------- [INFO] [stdout] | | | [INFO] [stdout] | | `op_tuple` calls a custom destructor [INFO] [stdout] | | `op_tuple` will be dropped later as of Edition 2024 [INFO] [stdout] 668 | | match op_tuple { Some((id, op, tag, controls, tx)) => { [INFO] [stdout] | | -- [INFO] [stdout] | | | [INFO] [stdout] | | `op` calls a custom destructor [INFO] [stdout] | | `op` will be dropped later as of Edition 2024 [INFO] [stdout] 669 | | if let LdapOp::Search(ref search_tx) = op { [INFO] [stdout] 670 | | self.searchmap.insert(id, search_tx.clone()); [INFO] [stdout] | | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 678 | | self.resultmap.insert(id, tx); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 683 | | self.resultmap.remove(&msgid); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] 684 | | self.searchmap.remove(&msgid); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] 685 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (abandon)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 705 | | misc = self.misc_rx.recv() => { [INFO] [stdout] | | ---- [INFO] [stdout] | | | [INFO] [stdout] | | `misc` calls a custom destructor [INFO] [stdout] | | `misc` will be dropped later as of Edition 2024 [INFO] [stdout] 706 | | match misc { Some(sender) => { [INFO] [stdout] | | ------ [INFO] [stdout] | | | [INFO] [stdout] | | `sender` calls a custom destructor [INFO] [stdout] | | `sender` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 709 | | MiscSender::Cert(tx) => { [INFO] [stdout] | | -- [INFO] [stdout] | | | [INFO] [stdout] | | `tx` calls a custom destructor [INFO] [stdout] | | `tx` will be dropped later as of Edition 2024 [INFO] [stdout] 710 | | match self.get_peer_certificate() { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | | up until Edition 2021 `#11` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 716 | | Err(e) => warn!("Couldn't get peer certificate: {}", e), [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `e` calls a custom destructor [INFO] [stdout] | | `e` will be dropped later as of Edition 2024 [INFO] [stdout] 717 | | } [INFO] [stdout] 718 | | }, [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... | [INFO] [stdout] 750 | | self.searchmap.remove(&id); [INFO] [stdout] | | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 756 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (stream rx)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 761 | | }, [INFO] [stdout] 762 | | }; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `output` calls a custom destructor [INFO] [stdout] | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `msgmap` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] note: `op_tuple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `op` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] note: `misc` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sender` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `tx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#10` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/conn.rs:752:36 [INFO] [stdout] | [INFO] [stdout] 658 | / tokio::select! { [INFO] [stdout] 659 | | req_id = self.id_scrub_rx.recv() => { [INFO] [stdout] 660 | | if let Some(req_id) = req_id { [INFO] [stdout] 661 | | self.resultmap.remove(&req_id); [INFO] [stdout] | | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 662 | | self.searchmap.remove(&req_id); [INFO] [stdout] | | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] 663 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (id_scrub)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | `msgmap` calls a custom destructor [INFO] [stdout] | | `msgmap` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 667 | | op_tuple = self.rx.recv() => { [INFO] [stdout] | | -------- [INFO] [stdout] | | | [INFO] [stdout] | | `op_tuple` calls a custom destructor [INFO] [stdout] | | `op_tuple` will be dropped later as of Edition 2024 [INFO] [stdout] 668 | | match op_tuple { Some((id, op, tag, controls, tx)) => { [INFO] [stdout] | | -- [INFO] [stdout] | | | [INFO] [stdout] | | `op` calls a custom destructor [INFO] [stdout] | | `op` will be dropped later as of Edition 2024 [INFO] [stdout] 669 | | if let LdapOp::Search(ref search_tx) = op { [INFO] [stdout] 670 | | self.searchmap.insert(id, search_tx.clone()); [INFO] [stdout] | | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 678 | | self.resultmap.insert(id, tx); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 683 | | self.resultmap.remove(&msgid); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] 684 | | self.searchmap.remove(&msgid); [INFO] [stdout] | | ----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] 685 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (abandon)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 705 | | misc = self.misc_rx.recv() => { [INFO] [stdout] | | ---- [INFO] [stdout] | | | [INFO] [stdout] | | `misc` calls a custom destructor [INFO] [stdout] | | `misc` will be dropped later as of Edition 2024 [INFO] [stdout] 706 | | match misc { Some(sender) => { [INFO] [stdout] | | ------ [INFO] [stdout] | | | [INFO] [stdout] | | `sender` calls a custom destructor [INFO] [stdout] | | `sender` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 709 | | MiscSender::Cert(tx) => { [INFO] [stdout] | | -- [INFO] [stdout] | | | [INFO] [stdout] | | `tx` calls a custom destructor [INFO] [stdout] | | `tx` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 716 | | Err(e) => warn!("Couldn't get peer certificate: {}", e), [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `e` calls a custom destructor [INFO] [stdout] | | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 750 | | self.searchmap.remove(&id); [INFO] [stdout] | | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] 751 | | } [INFO] [stdout] 752 | | } _ => { match self.resultmap.remove(&id) { Some(tx) => { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | | up until Edition 2021 `#11` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 756 | | let mut msgmap = self.msgmap.lock().expect("msgmap mutex (stream rx)"); [INFO] [stdout] | | ---------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 760 | | }}}} [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 761 | | }, [INFO] [stdout] 762 | | }; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `output` calls a custom destructor [INFO] [stdout] | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `output` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `msgmap` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] note: `op_tuple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `op` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] note: `misc` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sender` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `tx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/alloc/src/ffi/c_str.rs:700:1 [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/sync/mpsc/chan.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#10` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/mutex.rs:546:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/search_adapted_paged_plus.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/conn.rs:302:16 [INFO] [stdout] | [INFO] [stdout] 302 | if let Err(e) = $conn.drive().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | super::drive!(conn); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/conn.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | super::drive!(conn); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `super::drive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/search_adapted_paged_plus_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/compare_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search_adapted.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/connect_tls_ipaddr_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/moddn_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/bind_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/whoami_external_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/modify_relax_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/whoami_proxyauth.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/whoami_external.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search_url_params_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/add_sync.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search_starttls_noverify.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search_abandon.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search_entrystream_sync.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.85s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ldap3 v0.11.5 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "fc68ba87bd7e38d8add57189bad1b5c0bc4f875eda6be9ec21b410c0da716c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc68ba87bd7e38d8add57189bad1b5c0bc4f875eda6be9ec21b410c0da716c9f", kill_on_drop: false }` [INFO] [stdout] fc68ba87bd7e38d8add57189bad1b5c0bc4f875eda6be9ec21b410c0da716c9f