[INFO] fetching crate bevy_serialport 0.7.0... [INFO] checking bevy_serialport-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bevy_serialport 0.7.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate bevy_serialport 0.7.0 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 crates.io crate bevy_serialport 0.7.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bevy_serialport 0.7.0 [INFO] tweaked toml for crates.io crate bevy_serialport 0.7.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate bevy_serialport 0.7.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" "+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] 53be77bacaccb7e17299e25d0efe7a2651c2033e9a2f0104657e1ddc84046183 [INFO] running `Command { std: "docker" "start" "-a" "53be77bacaccb7e17299e25d0efe7a2651c2033e9a2f0104657e1ddc84046183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53be77bacaccb7e17299e25d0efe7a2651c2033e9a2f0104657e1ddc84046183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53be77bacaccb7e17299e25d0efe7a2651c2033e9a2f0104657e1ddc84046183", kill_on_drop: false }` [INFO] [stdout] 53be77bacaccb7e17299e25d0efe7a2651c2033e9a2f0104657e1ddc84046183 [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] 2c46b467be3ad8f64828316cae751ef6eaba60d118afa355758da886860cd3ff [INFO] running `Command { std: "docker" "start" "-a" "2c46b467be3ad8f64828316cae751ef6eaba60d118afa355758da886860cd3ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking allocator-api2 v0.2.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling uuid v1.4.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking bevy_ptr v0.14.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking nonmax v0.5.3 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking bevy_tasks v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking erased-serde v0.4.3 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Compiling bevy_macro_utils v0.14.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.0 [INFO] [stderr] Checking bevy_utils v0.14.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.0 [INFO] [stderr] Compiling bevy_derive v0.14.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Checking unescaper v0.1.4 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking bevy_reflect v0.14.0 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking mio-serial v5.0.5 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-serial v5.4.4 [INFO] [stderr] Checking bevy_ecs v0.14.0 [INFO] [stderr] Checking bevy_math v0.14.0 [INFO] [stderr] Checking bevy_app v0.14.0 [INFO] [stderr] Checking bevy_core v0.14.0 [INFO] [stderr] Checking bevy_a11y v0.14.0 [INFO] [stderr] Checking bevy_time v0.14.0 [INFO] [stderr] Checking bevy_log v0.14.0 [INFO] [stderr] Checking bevy_input v0.14.0 [INFO] [stderr] Checking bevy_window v0.14.0 [INFO] [stderr] Checking bevy_hierarchy v0.14.0 [INFO] [stderr] Checking bevy_diagnostic v0.14.0 [INFO] [stderr] Checking bevy_transform v0.14.0 [INFO] [stderr] Checking bevy_internal v0.14.0 [INFO] [stderr] Checking bevy v0.14.0 [INFO] [stderr] Checking bevy_serialport v0.7.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/serial_wrap.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(task_pool: ArcRuntime, setting: SerialPortSetting) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let recv_queue = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let pool_clone = task_pool.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let (message_sender, mut message_receiver) = unbounded_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] 62 | let recv_queue_2 = recv_queue.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let (mut sender, mut reader) = pool_clone.block_on(async move { [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] 101 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | msg_sender: Arc::new(Mutex::new(message_sender)), [INFO] [stdout] 103 | | recv_queue, [INFO] [stdout] 104 | | }) [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] 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/serial_wrap.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 64 | let serial_port = tokio_serial::new(setting.port_name, setting.baud_rate) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let stream = RawCodec.framed(serial_port); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | >(stream.split()) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_serialport` (lib) due to 3 previous errors [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/serial_wrap.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(task_pool: ArcRuntime, setting: SerialPortSetting) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let recv_queue = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let pool_clone = task_pool.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let (message_sender, mut message_receiver) = unbounded_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] 62 | let recv_queue_2 = recv_queue.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let (mut sender, mut reader) = pool_clone.block_on(async move { [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] 101 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | msg_sender: Arc::new(Mutex::new(message_sender)), [INFO] [stdout] 103 | | recv_queue, [INFO] [stdout] 104 | | }) [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] 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/serial_wrap.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 64 | let serial_port = tokio_serial::new(setting.port_name, setting.baud_rate) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | let stream = RawCodec.framed(serial_port); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | >(stream.split()) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_serialport` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2c46b467be3ad8f64828316cae751ef6eaba60d118afa355758da886860cd3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c46b467be3ad8f64828316cae751ef6eaba60d118afa355758da886860cd3ff", kill_on_drop: false }` [INFO] [stdout] 2c46b467be3ad8f64828316cae751ef6eaba60d118afa355758da886860cd3ff