[INFO] fetching crate mqttrust_core 0.6.0... [INFO] checking mqttrust_core-0.6.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mqttrust_core 0.6.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate mqttrust_core 0.6.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mqttrust_core 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mqttrust_core 0.6.0 [INFO] tweaked toml for crates.io crate mqttrust_core 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate mqttrust_core 0.6.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 103ffab2d64c09492b574bd8ea97eccc9eafe08062d24ea415c389db78be35a8 [INFO] running `Command { std: "docker" "start" "-a" "103ffab2d64c09492b574bd8ea97eccc9eafe08062d24ea415c389db78be35a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "103ffab2d64c09492b574bd8ea97eccc9eafe08062d24ea415c389db78be35a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "103ffab2d64c09492b574bd8ea97eccc9eafe08062d24ea415c389db78be35a8", kill_on_drop: false }` [INFO] [stdout] 103ffab2d64c09492b574bd8ea97eccc9eafe08062d24ea415c389db78be35a8 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 497ffcc282fb1af1af70d5588b9f5335aa6f38d4da44c1aa51f99530530fe0aa [INFO] running `Command { std: "docker" "start" "-a" "497ffcc282fb1af1af70d5588b9f5335aa6f38d4da44c1aa51f99530530fe0aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking no-std-net v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking bbqueue v0.5.1 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.8 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking gcd v2.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking fugit v0.3.6 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Checking dns-lookup v1.0.8 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking embedded-nal v0.6.0 [INFO] [stderr] Checking mqttrust v0.6.0 [INFO] [stderr] Checking env_logger v0.9.1 [INFO] [stderr] Checking mqttrust_core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result>, mqttrust::encoding::v4::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eventloop.rs:519:15 [INFO] [stdout] | [INFO] [stdout] 515 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 519 | match decode_slice(buffer) { [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] warning: method `into_result` is never used [INFO] [stdout] --> src/fmt.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 226 | fn into_result(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &mut PUBLISH_MEM }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 84 | BoxedPublish::grow(unsafe { &raw mut PUBLISH_MEM }); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqttrust_core` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "497ffcc282fb1af1af70d5588b9f5335aa6f38d4da44c1aa51f99530530fe0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497ffcc282fb1af1af70d5588b9f5335aa6f38d4da44c1aa51f99530530fe0aa", kill_on_drop: false }` [INFO] [stdout] 497ffcc282fb1af1af70d5588b9f5335aa6f38d4da44c1aa51f99530530fe0aa