[INFO] cloning repository https://github.com/LennDG/lwm2m-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LennDG/lwm2m-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennDG%2Flwm2m-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennDG%2Flwm2m-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a07da1994312b09ff1e908df50a9347150513ef6 [INFO] checking LennDG/lwm2m-rs/a07da1994312b09ff1e908df50a9347150513ef6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennDG%2Flwm2m-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LennDG/lwm2m-rs 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 git repo https://github.com/LennDG/lwm2m-rs [INFO] finished tweaking git repo https://github.com/LennDG/lwm2m-rs [INFO] tweaked toml for git repo https://github.com/LennDG/lwm2m-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LennDG/lwm2m-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] df5b55477131754f069d7dbabd855b09fb71f177c921589472fffdba803fde22 [INFO] running `Command { std: "docker" "start" "-a" "df5b55477131754f069d7dbabd855b09fb71f177c921589472fffdba803fde22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df5b55477131754f069d7dbabd855b09fb71f177c921589472fffdba803fde22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5b55477131754f069d7dbabd855b09fb71f177c921589472fffdba803fde22", kill_on_drop: false }` [INFO] [stdout] df5b55477131754f069d7dbabd855b09fb71f177c921589472fffdba803fde22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bd548408fca640966deb02d759c4d0d978f56d707b19beffe7c30354a8f7b48f [INFO] running `Command { std: "docker" "start" "-a" "bd548408fca640966deb02d759c4d0d978f56d707b19beffe7c30354a8f7b48f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking aho-corasick v1.0.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking coap-lite v0.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking dyn-clone v1.0.12 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.186 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking object_model v0.1.0 (/opt/rustwide/workdir/object_model) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> object_model/src/core_link.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | for (index, id) in link.clone().replace(['<', '>'], "")[1..] [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> object_model/src/core_link.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | for (index, id) in link.clone().replace(['<', '>'], "")[1..] [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking timer_tracker v0.1.0 (/opt/rustwide/workdir/timer_tracker) [INFO] [stdout] warning: unused imports: `broadcast` and `mpsc` [INFO] [stdout] --> timer_tracker/examples/usage.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{broadcast, mpsc}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking coap-server v0.1.1 [INFO] [stderr] Checking serde-querystring v0.2.1 [INFO] [stderr] Checking coap v0.12.1 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking lwm2m-client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `SocketAddr` and `UdpSocket` [INFO] [stdout] --> client/src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{SocketAddr, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoapRequest` and `RequestType` [INFO] [stdout] --> client/src/main.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use coap_lite::{link_format::LinkFormatWrite, CoapRequest, RequestType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SocketAddr` and `UdpSocket` [INFO] [stdout] --> client/src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{SocketAddr, UdpSocket}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoapRequest` and `RequestType` [INFO] [stdout] --> client/src/main.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use coap_lite::{link_format::LinkFormatWrite, CoapRequest, RequestType}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lwm2m-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `coap_lite::link_format` [INFO] [stdout] --> server/src/device/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use coap_lite::link_format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lwm2mRegistrationObject` and `Lwm2mVersion` [INFO] [stdout] --> server/src/device/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Lwm2mRegistrationObject, Lwm2mRegistrationRequest, Lwm2mVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coap_lite::link_format` [INFO] [stdout] --> server/src/device/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use coap_lite::link_format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Lwm2mRegistrationObject` and `Lwm2mVersion` [INFO] [stdout] --> server/src/device/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Lwm2mRegistrationObject, Lwm2mRegistrationRequest, Lwm2mVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [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] --> server/src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 14 | let server = CoapServer::bind(UdpTransport::new("0.0.0.0:5683")).await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | .await [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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: aborting due to 1 previous error; 2 warnings emitted [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] --> server/src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 14 | let server = CoapServer::bind(UdpTransport::new("0.0.0.0:5683")).await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | .await [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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] [stderr] error: could not compile `lwm2m-server` (bin "lwm2m-server") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lwm2m-server` (bin "lwm2m-server" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd548408fca640966deb02d759c4d0d978f56d707b19beffe7c30354a8f7b48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd548408fca640966deb02d759c4d0d978f56d707b19beffe7c30354a8f7b48f", kill_on_drop: false }` [INFO] [stdout] bd548408fca640966deb02d759c4d0d978f56d707b19beffe7c30354a8f7b48f