[INFO] cloning repository https://github.com/bruno319/sync-mqtt-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bruno319/sync-mqtt-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbruno319%2Fsync-mqtt-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbruno319%2Fsync-mqtt-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df030801652162296dbc37561ec15e18a014dfcc [INFO] checking bruno319/sync-mqtt-client/df030801652162296dbc37561ec15e18a014dfcc 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%2Fbruno319%2Fsync-mqtt-client" "/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/bruno319/sync-mqtt-client 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/bruno319/sync-mqtt-client [INFO] finished tweaking git repo https://github.com/bruno319/sync-mqtt-client [INFO] tweaked toml for git repo https://github.com/bruno319/sync-mqtt-client written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bruno319/sync-mqtt-client 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] 50a0464e306da78f8bf9275e8cef43769c6c473389e8bc935045c6a4301c4c5f [INFO] running `Command { std: "docker" "start" "-a" "50a0464e306da78f8bf9275e8cef43769c6c473389e8bc935045c6a4301c4c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a0464e306da78f8bf9275e8cef43769c6c473389e8bc935045c6a4301c4c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a0464e306da78f8bf9275e8cef43769c6c473389e8bc935045c6a4301c4c5f", kill_on_drop: false }` [INFO] [stdout] 50a0464e306da78f8bf9275e8cef43769c6c473389e8bc935045c6a4301c4c5f [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] d19d0f049f1ad54797982cb79756b92a84611227150940ce7ccaf2b39f21cdd5 [INFO] running `Command { std: "docker" "start" "-a" "d19d0f049f1ad54797982cb79756b92a84611227150940ce7ccaf2b39f21cdd5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking futures-timer v0.1.1 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking sled v0.32.0-rc1 [INFO] [stderr] Compiling paho-mqtt-sys v0.2.1 (https://github.com/eclipse/paho.mqtt.rust.git?rev=f92e43a9e252cf0fe552c5420eb41005e454140a#f92e43a9) [INFO] [stderr] Checking paho-mqtt v0.7.0 (https://github.com/eclipse/paho.mqtt.rust.git?rev=f92e43a9e252cf0fe552c5420eb41005e454140a#f92e43a9) [INFO] [stderr] Checking queue-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(queue: Box) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let mut cli = self::create_paho_client()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let queue = Arc::new(Mutex::new(queue)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let clone_queue = queue.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let conn_opts = mqtt::ConnectOptionsBuilder::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let (tx, rx) = channel::(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(MqttClient { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | sender: tx, [INFO] [stdout] 74 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: unused `Result` that must be used [INFO] [stdout] --> src/queue.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | self.storage.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = self.storage.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `queue-rust` (bin "queue-rust") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(queue: Box) -> Result { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let mut cli = self::create_paho_client()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let queue = Arc::new(Mutex::new(queue)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let clone_queue = queue.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let conn_opts = mqtt::ConnectOptionsBuilder::new() [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let (tx, rx) = channel::(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(MqttClient { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | sender: tx, [INFO] [stdout] 74 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: unused `Result` that must be used [INFO] [stdout] --> src/queue.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | self.storage.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = self.storage.clear(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `queue-rust` (bin "queue-rust" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d19d0f049f1ad54797982cb79756b92a84611227150940ce7ccaf2b39f21cdd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19d0f049f1ad54797982cb79756b92a84611227150940ce7ccaf2b39f21cdd5", kill_on_drop: false }` [INFO] [stdout] d19d0f049f1ad54797982cb79756b92a84611227150940ce7ccaf2b39f21cdd5