[INFO] fetching crate pulsar 6.3.0... [INFO] checking pulsar-6.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pulsar 6.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate pulsar 6.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate pulsar 6.3.0 [INFO] finished tweaking crates.io crate pulsar 6.3.0 [INFO] tweaked toml for crates.io crate pulsar 6.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate pulsar 6.3.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14c9850a86de7f0fcf2223e22d3c62a4b8073d4b48b7e676ff8ddcc3ce75d94 [INFO] running `Command { std: "docker" "start" "-a" "f14c9850a86de7f0fcf2223e22d3c62a4b8073d4b48b7e676ff8ddcc3ce75d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14c9850a86de7f0fcf2223e22d3c62a4b8073d4b48b7e676ff8ddcc3ce75d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14c9850a86de7f0fcf2223e22d3c62a4b8073d4b48b7e676ff8ddcc3ce75d94", kill_on_drop: false }` [INFO] [stdout] f14c9850a86de7f0fcf2223e22d3c62a4b8073d4b48b7e676ff8ddcc3ce75d94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7daba8838680f51e525d778a965c69f6ff602048cd7d540b964bf3d646ca8d20 [INFO] running `Command { std: "docker" "start" "-a" "7daba8838680f51e525d778a965c69f6ff602048cd7d540b964bf3d646ca8d20", 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] Fixed Cargo.toml (21 fixes) [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking piper v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking async-signal v0.2.6 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling pulsar v6.3.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-native-tls v0.5.0 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking openidconnect v3.5.0 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/connection_manager.rs (2 fixes) [INFO] [stderr] Fixed src/consumer/mod.rs (1 fix) [INFO] [stderr] Fixed src/consumer/multi.rs (9 fixes) [INFO] [stderr] Fixed src/client.rs (1 fix) [INFO] [stderr] Fixed src/connection.rs (9 fixes) [INFO] [stderr] Fixed src/producer.rs (1 fix) [INFO] [stderr] Fixed src/consumer/engine.rs (5 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | while let Some(()) = interval.next().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] = 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/client.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:588:11 [INFO] [stdout] | [INFO] [stdout] 588 | while let Some(SendMessage { [INFO] [stdout] | ___________^ [INFO] [stdout] 589 | | topic, [INFO] [stdout] 590 | | message: payload, [INFO] [stdout] 591 | | resolver, [INFO] [stdout] 592 | | }) = messages.next().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] = 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/client.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:1223:19 [INFO] [stdout] | [INFO] [stdout] 1223 | while let Some(msg) = rx.next().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] = 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/connection.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection_manager.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | while let Some(()) = interval.next().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] = 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/connection_manager.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/consumer/engine.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | while let Some(msg) = rx.next().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] = 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/consumer/engine.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/consumer/mod.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 554 | while let Some(message) = timeout(Duration::from_secs(1), consumer.next()) [INFO] [stdout] | ___________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 555 | || .await [INFO] [stdout] 556 | || .unwrap() [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] | [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/consumer/mod.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/consumer/mod.rs:935:15 [INFO] [stdout] | [INFO] [stdout] 935 | while let Some(msg) = consumer_1.try_next().await.unwrap() { [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] = 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/consumer/mod.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/consumer/mod.rs:985:15 [INFO] [stdout] | [INFO] [stdout] 985 | while let Some(msg) = consumer_1.try_next().await.unwrap() { [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] = 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/consumer/mod.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | while let Ok(Some(msg)) = timeout(Duration::from_secs(10), consumer.next()).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] = 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/lib.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:553:15 [INFO] [stdout] | [INFO] [stdout] 553 | while let Some(message) = timeout(Duration::from_millis(100), consumer.next()) [INFO] [stdout] | _______________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 554 | || .await [INFO] [stdout] 555 | || .unwrap() [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] | [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/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:575:15 [INFO] [stdout] | [INFO] [stdout] 575 | while let Some(message) = timeout(Duration::from_millis(100), consumer.next()) [INFO] [stdout] | _______________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 576 | || .await [INFO] [stdout] 577 | || .unwrap() [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] | [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/lib.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | while let Some(()) = interval.next().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] = 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/client.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:588:11 [INFO] [stdout] | [INFO] [stdout] 588 | while let Some(SendMessage { [INFO] [stdout] | ___________^ [INFO] [stdout] 589 | | topic, [INFO] [stdout] 590 | | message: payload, [INFO] [stdout] 591 | | resolver, [INFO] [stdout] 592 | | }) = messages.next().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] = 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/client.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:1223:19 [INFO] [stdout] | [INFO] [stdout] 1223 | while let Some(msg) = rx.next().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] = 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/connection.rs:1229:13 [INFO] [stdout] | [INFO] [stdout] 1229 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection_manager.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | while let Some(()) = interval.next().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] = 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/connection_manager.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/consumer/engine.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | while let Some(msg) = rx.next().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] = 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/consumer/engine.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/reader.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/consumer.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/reader.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(msg) = reader.try_next().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] = 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] --> examples/reader.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/consumer.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(msg) = consumer.try_next().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] = 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] --> examples/consumer.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/round_trip.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated method `pulsar::Producer::::send`: instead use send_non_blocking [INFO] [stdout] --> examples/round_trip.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | .send(TestData { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/round_trip.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | while let Some(msg) = consumer.try_next().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] = 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] --> examples/round_trip.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/batching.rs from 2021 edition to 2024 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/producer.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated method `pulsar::Producer::::send`: instead use send_non_blocking [INFO] [stdout] --> examples/batching.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | .send(TestData { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/batching.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | while let Some(msg) = consumer.try_next().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] = 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] --> examples/batching.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pulsar::Producer::::send`: instead use send_non_blocking [INFO] [stdout] --> examples/producer.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | .send(TestData { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling pulsar v6.3.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.client.executor` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/producer.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 631 | let fut = self.send_compress(message).await?; [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 632 | / self.client [INFO] [stdout] 633 | | .executor [INFO] [stdout] | |_____________________________^ immutable borrow occurs here [INFO] [stdout] 634 | .spawn(Box::pin(async move { [INFO] [stdout] | ____________________________- [INFO] [stdout] 635 | | let _ = tx.send(fut.await); [INFO] [stdout] 636 | | })) [INFO] [stdout] | |______________________- cast requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.client.executor` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/producer.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 666 | let receipt_fut = self.send_compress(message).await?; [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 667 | / self.client [INFO] [stdout] 668 | | .executor [INFO] [stdout] | |_________________________________^ immutable borrow occurs here [INFO] [stdout] 669 | .spawn(Box::pin(async move { [INFO] [stdout] | ________________________________- [INFO] [stdout] 670 | | let res = receipt_fut.await.map_err(Arc::new); [INFO] [stdout] 671 | | for tx in receipts.drain(..) { [INFO] [stdout] 672 | | let _ = tx [INFO] [stdout] 673 | | .send(res.clone().map_err(|e| ProducerError::Batch(e).into())); [INFO] [stdout] 674 | | } [INFO] [stdout] 675 | | })) [INFO] [stdout] | |__________________________- cast requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/producer.rs:634:28 [INFO] [stdout] | [INFO] [stdout] 627 | pub(crate) async fn send_raw(&mut self, message: ProducerMessage) -> Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 634 | .spawn(Box::pin(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 635 | | let _ = tx.send(fut.await); [INFO] [stdout] 636 | | })) [INFO] [stdout] | |______________________^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.client.executor` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/producer.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 631 | let fut = self.send_compress(message).await?; [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 632 | / self.client [INFO] [stdout] 633 | | .executor [INFO] [stdout] | |_____________________________^ immutable borrow occurs here [INFO] [stdout] 634 | .spawn(Box::pin(async move { [INFO] [stdout] | ____________________________- [INFO] [stdout] 635 | | let _ = tx.send(fut.await); [INFO] [stdout] 636 | | })) [INFO] [stdout] | |______________________- cast requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.client.executor` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/producer.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 666 | let receipt_fut = self.send_compress(message).await?; [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 667 | / self.client [INFO] [stdout] 668 | | .executor [INFO] [stdout] | |_________________________________^ immutable borrow occurs here [INFO] [stdout] 669 | .spawn(Box::pin(async move { [INFO] [stdout] | ________________________________- [INFO] [stdout] 670 | | let res = receipt_fut.await.map_err(Arc::new); [INFO] [stdout] 671 | | for tx in receipts.drain(..) { [INFO] [stdout] 672 | | let _ = tx [INFO] [stdout] 673 | | .send(res.clone().map_err(|e| ProducerError::Batch(e).into())); [INFO] [stdout] 674 | | } [INFO] [stdout] 675 | | })) [INFO] [stdout] | |__________________________- cast requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/producer.rs:634:28 [INFO] [stdout] | [INFO] [stdout] 627 | pub(crate) async fn send_raw(&mut self, message: ProducerMessage) -> Result { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 634 | .spawn(Box::pin(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 635 | | let _ = tx.send(fut.await); [INFO] [stdout] 636 | | })) [INFO] [stdout] | |______________________^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pulsar` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pulsar` (lib test) due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7daba8838680f51e525d778a965c69f6ff602048cd7d540b964bf3d646ca8d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7daba8838680f51e525d778a965c69f6ff602048cd7d540b964bf3d646ca8d20", kill_on_drop: false }` [INFO] [stdout] 7daba8838680f51e525d778a965c69f6ff602048cd7d540b964bf3d646ca8d20