[INFO] fetching crate rsiot-extra-components 0.0.71... [INFO] checking rsiot-extra-components-0.0.71 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rsiot-extra-components 0.0.71 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rsiot-extra-components 0.0.71 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 rsiot-extra-components 0.0.71 [INFO] finished tweaking crates.io crate rsiot-extra-components 0.0.71 [INFO] tweaked toml for crates.io crate rsiot-extra-components 0.0.71 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate rsiot-extra-components 0.0.71 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 848bd09cd466ac269d561cbecd4352b107041b13c1c26e16674092972145d0c2 [INFO] running `Command { std: "docker" "start" "-a" "848bd09cd466ac269d561cbecd4352b107041b13c1c26e16674092972145d0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "848bd09cd466ac269d561cbecd4352b107041b13c1c26e16674092972145d0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848bd09cd466ac269d561cbecd4352b107041b13c1c26e16674092972145d0c2", kill_on_drop: false }` [INFO] [stdout] 848bd09cd466ac269d561cbecd4352b107041b13c1c26e16674092972145d0c2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 237150191e33c2e49ba245e82faa2091e60c144eee8774d4221139e9a9703e5f [INFO] running `Command { std: "docker" "start" "-a" "237150191e33c2e49ba245e82faa2091e60c144eee8774d4221139e9a9703e5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling rsiot-macros v0.0.64 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking rsiot-messages-core v0.0.70 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rsiot-component-core v0.0.71 [INFO] [stderr] Checking rsiot-extra-components v0.0.71 (/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/cmp_add_input_stream.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 24 | mut config: Cfg, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | in_out: CmpInOut, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 27 | | while let Ok(msg) = config.channel.recv().await { [INFO] [stdout] 28 | | in_out [INFO] [stdout] 29 | | .send_output(msg) [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(()) [INFO] [stdout] 34 | | } [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/cmp_add_output_stream.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 23 | config: Cfg, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | in_out: CmpInOut, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 26 | | let mut in_out = [INFO] [stdout] 27 | | in_out.clone_with_new_id("cmp_add_output_stream", AuthPermissions::FullAccess); [INFO] [stdout] 28 | | while let Ok(msg) = in_out.recv_input().await { [INFO] [stdout] ... | [INFO] [stdout] 31 | | Ok(()) [INFO] [stdout] 32 | | } [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/cmp_derive/component.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 16 | config: Config, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | in_out: CmpInOut, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 19 | | fn_process( [INFO] [stdout] 20 | | in_out.clone_with_new_id("cmp_derive", AuthPermissions::FullAccess), [INFO] [stdout] 21 | | config, [INFO] [stdout] ... | [INFO] [stdout] 24 | | .map_err(|e| ComponentError::Execution(e.to_string())) [INFO] [stdout] 25 | | } [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/cmp_external_fn_process.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 129 | config: Config, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | in_out: CmpInOut, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 132 | | (config.fn_process)( [INFO] [stdout] 133 | | in_out.clone_with_new_id("cmp_extrenal_fn_process", AuthPermissions::FullAccess), [INFO] [stdout] 134 | | ) [INFO] [stdout] 135 | | .await [INFO] [stdout] 136 | | } [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/cmp_inject_periodic.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 31 | config: Config, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | in_out: CmpInOut, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 34 | | fn_process( [INFO] [stdout] 35 | | config, [INFO] [stdout] 36 | | in_out.clone_with_new_id("cmp_inject_periodic", AuthPermissions::FullAccess), [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | .await [INFO] [stdout] 39 | | } [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/cmp_logger.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 27 | in_out: CmpInOut, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ) -> Result<(), ComponentError> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 29 | | process( [INFO] [stdout] 30 | | config, [INFO] [stdout] 31 | | in_out.clone_with_new_id("cmp_logger", AuthPermissions::FullAccess), [INFO] [stdout] 32 | | ) [INFO] [stdout] 33 | | .await [INFO] [stdout] 34 | | } [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsiot-extra-components` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "237150191e33c2e49ba245e82faa2091e60c144eee8774d4221139e9a9703e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237150191e33c2e49ba245e82faa2091e60c144eee8774d4221139e9a9703e5f", kill_on_drop: false }` [INFO] [stdout] 237150191e33c2e49ba245e82faa2091e60c144eee8774d4221139e9a9703e5f