[INFO] fetching crate rsiot-component-core 0.0.71... [INFO] checking rsiot-component-core-0.0.71 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate rsiot-component-core 0.0.71 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rsiot-component-core 0.0.71 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsiot-component-core 0.0.71 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate rsiot-component-core 0.0.71 [INFO] tweaked toml for crates.io crate rsiot-component-core 0.0.71 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rsiot-component-core 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3162897e2355eba25afd6b7a0ba15f61333fd671fd3a218d8763342692ab559 [INFO] running `Command { std: "docker" "start" "-a" "b3162897e2355eba25afd6b7a0ba15f61333fd671fd3a218d8763342692ab559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3162897e2355eba25afd6b7a0ba15f61333fd671fd3a218d8763342692ab559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3162897e2355eba25afd6b7a0ba15f61333fd671fd3a218d8763342692ab559", kill_on_drop: false }` [INFO] [stdout] b3162897e2355eba25afd6b7a0ba15f61333fd671fd3a218d8763342692ab559 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 494d38ebacb436f4d482fbcfcc3cf30747e0ce91a0f109f5e37debbfbb0ac61b [INFO] running `Command { std: "docker" "start" "-a" "494d38ebacb436f4d482fbcfcc3cf30747e0ce91a0f109f5e37debbfbb0ac61b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking overload v0.1.1 [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] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking matchers v0.1.0 [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 rsiot-macros v0.0.64 [INFO] [stderr] Compiling tokio-macros v2.2.0 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/component_executor.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | while let Some(mut msg) = input.recv().await { [INFO] [stdout] | ------- ^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `msg` calls a custom destructor [INFO] [stdout] | `msg` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | save_msg_in_cache(&msg, &cache).await; [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/single-thread/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0053]: method `process` has an incompatible type for trait [INFO] [stdout] --> examples/single-thread/example_component1.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self, _config: Config, _input: CmpInOut) -> Result<(), ComponentError> { [INFO] [stdout] | ^^^^^ expected trait `Future> + Send`, found trait `Future>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 rsiot_component_core::Component<_, _>, example_component1::Config, CmpInOut<_>) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 rsiot_component_core::Component<_, _>, example_component1::Config, CmpInOut<_>) -> Pin> + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/multi-thread/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0053]: method `process` has an incompatible type for trait [INFO] [stdout] --> examples/single-thread/example_component2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn process(&self, _config: Config, _input: CmpInOut) -> Result<(), ComponentError> { [INFO] [stdout] | ^^^^^ expected trait `Future> + Send`, found trait `Future>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 rsiot_component_core::Component<_, _>, example_component2::Config, CmpInOut<_>) -> Pin> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 rsiot_component_core::Component<_, _>, example_component2::Config, CmpInOut<_>) -> Pin> + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsiot-component-core` (example "single-thread") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "494d38ebacb436f4d482fbcfcc3cf30747e0ce91a0f109f5e37debbfbb0ac61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "494d38ebacb436f4d482fbcfcc3cf30747e0ce91a0f109f5e37debbfbb0ac61b", kill_on_drop: false }` [INFO] [stdout] 494d38ebacb436f4d482fbcfcc3cf30747e0ce91a0f109f5e37debbfbb0ac61b