[INFO] cloning repository https://github.com/Taym95/rust-ble-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Taym95/rust-ble-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaym95%2Frust-ble-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaym95%2Frust-ble-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5935f76d132dc5d9e81eddc557d9d5b7884f4e3 [INFO] checking Taym95/rust-ble-test/d5935f76d132dc5d9e81eddc557d9d5b7884f4e3 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%2FTaym95%2Frust-ble-test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Taym95/rust-ble-test 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/Taym95/rust-ble-test [INFO] finished tweaking git repo https://github.com/Taym95/rust-ble-test [INFO] tweaked toml for git repo https://github.com/Taym95/rust-ble-test written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Taym95/rust-ble-test 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ae261b7c9c5179b2e4838d59d0f449dc8accd722627741d388c691af93dd8b97 [INFO] running `Command { std: "docker" "start" "-a" "ae261b7c9c5179b2e4838d59d0f449dc8accd722627741d388c691af93dd8b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae261b7c9c5179b2e4838d59d0f449dc8accd722627741d388c691af93dd8b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae261b7c9c5179b2e4838d59d0f449dc8accd722627741d388c691af93dd8b97", kill_on_drop: false }` [INFO] [stdout] ae261b7c9c5179b2e4838d59d0f449dc8accd722627741d388c691af93dd8b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 89e70e1f61d909961b74e1337fb875b4a4d62475b4418a945774a30676223207 [INFO] running `Command { std: "docker" "start" "-a" "89e70e1f61d909961b74e1337fb875b4a4d62475b4418a945774a30676223207", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling custom_debug_derive v0.6.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking custom_debug v0.6.1 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking dbus-crossroads v0.5.2 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Compiling bluer v0.17.1 [INFO] [stderr] Checking ble 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/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 50 | let value_read = value.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let value = value_read.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / async move { [INFO] [stdout] 64 | | let value = value.lock().await.clone(); [INFO] [stdout] 65 | | println!("Read request {:?} with value {:x?}", &req, &value); [INFO] [stdout] 66 | | Ok(value) [INFO] [stdout] 67 | | } [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] 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/main.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 51 | let value_write = value.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let value = value_write.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | / async move { [INFO] [stdout] 78 | | println!("Write request {:?} with value {:x?}", &req, &new_value); [INFO] [stdout] 79 | | let mut value = value.lock().await; [INFO] [stdout] 80 | | *value = new_value; [INFO] [stdout] 81 | | Ok(()) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 52 | let value_notify = value.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | method: CharacteristicNotifyMethod::Fun(Box::new(move |mut notifier| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let value = value_notify.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | / async move { [INFO] [stdout] 92 | | tokio::spawn(async move { [INFO] [stdout] 93 | | println!( [INFO] [stdout] 94 | | "Notification session start with confirming={:?}", [INFO] [stdout] ... | [INFO] [stdout] 113 | | }); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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] --> src/main.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 50 | let value_read = value.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let value = value_read.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | / async move { [INFO] [stdout] 64 | | let value = value.lock().await.clone(); [INFO] [stdout] 65 | | println!("Read request {:?} with value {:x?}", &req, &value); [INFO] [stdout] 66 | | Ok(value) [INFO] [stdout] 67 | | } [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] 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/main.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 51 | let value_write = value.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let value = value_write.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | / async move { [INFO] [stdout] 78 | | println!("Write request {:?} with value {:x?}", &req, &new_value); [INFO] [stdout] 79 | | let mut value = value.lock().await; [INFO] [stdout] 80 | | *value = new_value; [INFO] [stdout] 81 | | Ok(()) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 52 | let value_notify = value.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | method: CharacteristicNotifyMethod::Fun(Box::new(move |mut notifier| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let value = value_notify.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | / async move { [INFO] [stdout] 92 | | tokio::spawn(async move { [INFO] [stdout] 93 | | println!( [INFO] [stdout] 94 | | "Notification session start with confirming={:?}", [INFO] [stdout] ... | [INFO] [stdout] 113 | | }); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ble` (bin "ble" test) 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] [stderr] error: could not compile `ble` (bin "ble") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "89e70e1f61d909961b74e1337fb875b4a4d62475b4418a945774a30676223207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e70e1f61d909961b74e1337fb875b4a4d62475b4418a945774a30676223207", kill_on_drop: false }` [INFO] [stdout] 89e70e1f61d909961b74e1337fb875b4a4d62475b4418a945774a30676223207