[INFO] fetching crate restate-sdk 0.3.0... [INFO] checking restate-sdk-0.3.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate restate-sdk 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate restate-sdk 0.3.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate restate-sdk 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate restate-sdk 0.3.0 [INFO] tweaked toml for crates.io crate restate-sdk 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate restate-sdk 0.3.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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ecfa8504ef886ffdc75f0010e0211de342d163097d75e1b7da3d0e5213f95d1 [INFO] running `Command { std: "docker" "start" "-a" "6ecfa8504ef886ffdc75f0010e0211de342d163097d75e1b7da3d0e5213f95d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ecfa8504ef886ffdc75f0010e0211de342d163097d75e1b7da3d0e5213f95d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecfa8504ef886ffdc75f0010e0211de342d163097d75e1b7da3d0e5213f95d1", kill_on_drop: false }` [INFO] [stdout] 6ecfa8504ef886ffdc75f0010e0211de342d163097d75e1b7da3d0e5213f95d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d274df1d442a601605d1bd72d2ea4409b3c552e7facf77aab8dca10021a04b [INFO] running `Command { std: "docker" "start" "-a" "e8d274df1d442a601605d1bd72d2ea4409b3c552e7facf77aab8dca10021a04b", 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.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling regress v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking const-oid v0.10.0-pre.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.9 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking winnow v0.6.16 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling trybuild v1.0.98 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking crypto-common v0.2.0-pre.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking block-buffer v0.11.0-pre.5 [INFO] [stderr] Checking digest v0.11.0-pre.8 [INFO] [stderr] Checking sha2 v0.11.0-pre.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling restate-sdk-macros v0.3.0 [INFO] [stderr] Compiling ambassador v0.4.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking prost v0.13.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regress v0.10.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking toml_datetime v0.6.7 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.1 [INFO] [stderr] Checking toml_edit v0.22.17 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling jsonptr v0.5.1 [INFO] [stderr] Checking restate-sdk-shared-core v0.1.0 [INFO] [stderr] Checking toml v0.8.16 [INFO] [stderr] Compiling typify-impl v0.1.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Compiling typify-macro v0.1.0 [INFO] [stderr] Compiling typify v0.1.0 [INFO] [stderr] Compiling restate-sdk v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/endpoint/context.rs (10 fixes) [INFO] [stderr] Fixed src/http_server.rs (1 fix) [INFO] [stderr] Fixed src/endpoint/handler_state.rs (1 fix) [INFO] [stderr] Fixed src/endpoint/futures/async_result_poll.rs (1 fix) [INFO] [stderr] Fixed src/context/request.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hyper.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(out) = ready!(self.output_rx.poll_recv(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hyper.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/endpoint/mod.rs:364:84 [INFO] [stdout] | [INFO] [stdout] 351 | let ctx = ContextInternal::new( [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `ctx` calls a custom destructor [INFO] [stdout] | `ctx` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 364 | HandlerStateAwareFuture::new(ctx.clone(), handler_state_rx, user_code_fut).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 365 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/oneshot.rs:843:1 [INFO] [stdout] | [INFO] [stdout] 843 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/mpsc/chan.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/mpsc/chan.rs:341:1 [INFO] [stdout] | [INFO] [stdout] 341 | impl Drop for Rx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.1/src/bytes.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/oneshot.rs:1071:1 [INFO] [stdout] | [INFO] [stdout] 1071 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ctx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/oneshot.rs:843:1 [INFO] [stdout] | [INFO] [stdout] 843 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ctx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/mpsc/chan.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | impl Drop for Tx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `ctx` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `ctx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/sync/mpsc/chan.rs:341:1 [INFO] [stdout] | [INFO] [stdout] 341 | impl Drop for Rx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ctx` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.1/src/bytes.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/endpoint/mod.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 368 | while !vm.is_ready_to_execute().map_err(ErrorInner::VM)? { [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] 369 | match input_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 370 | Some(Ok(b)) => vm.notify_input(b), [INFO] [stdout] 371 | Some(Err(e)) => vm.notify_error( [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` calls a custom destructor [INFO] [stdout] | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | } [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: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.1/src/bytes.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.6.1/src/bytes.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 544 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `e` may invoke a custom destructor because it contains a trait object [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] [INFO] [stdout] [INFO] [stderr] Migrating examples/run.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hyper.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(out) = ready!(self.output_rx.poll_recv(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/hyper.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/failures.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> examples/failures.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn do_run(&self, context: Context<'_>) -> Result<(), TerminalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail [INFO] [stdout] --> examples/failures.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | .run(|| async move { [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/counter.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/service.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/compiletest.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/greeter.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.72s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling restate-sdk v0.3.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `!: Serialize` is not satisfied [INFO] [stdout] --> examples/failures.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | .run(|| async move { [INFO] [stdout] | ^^^ the trait `Serialize` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] () [INFO] [stdout] Json [INFO] [stdout] String [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] bytes::bytes::Bytes [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 10 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `restate_sdk::context::ContextSideEffects::{synthetic#0}` [INFO] [stdout] --> /tmp/fixit/src/context/mod.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | T: Serialize + Deserialize + 'static, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ContextSideEffects::{synthetic#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Deserialize` is not satisfied [INFO] [stdout] --> examples/failures.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | .run(|| async move { [INFO] [stdout] | ^^^ the trait `Deserialize` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize`: [INFO] [stdout] () [INFO] [stdout] Json [INFO] [stdout] String [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] bytes::bytes::Bytes [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 10 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `restate_sdk::context::ContextSideEffects::{synthetic#0}` [INFO] [stdout] --> /tmp/fixit/src/context/mod.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | T: Serialize + Deserialize + 'static, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ContextSideEffects::{synthetic#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Deserialize` is not satisfied [INFO] [stdout] --> examples/failures.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / context [INFO] [stdout] 19 | | .run(|| async move { [INFO] [stdout] 20 | | if rand::thread_rng().next_u32() % 4 == 0 { [INFO] [stdout] 21 | | Err(TerminalError::new("Failed!!!"))? [INFO] [stdout] ... | [INFO] [stdout] 24 | | Err(MyError)? [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______________^ the trait `Deserialize` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize`: [INFO] [stdout] () [INFO] [stdout] Json [INFO] [stdout] String [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] bytes::bytes::Bytes [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 10 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `{closure@examples/failures.rs:19:18: 19:20}` to implement `RunClosure` [INFO] [stdout] note: required by a bound in `restate_sdk::context::ContextSideEffects::run` [INFO] [stdout] --> /tmp/fixit/src/context/mod.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 376 | fn run(&self, run_closure: R) -> impl RunFuture> + 'ctx [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 377 | where [INFO] [stdout] 378 | R: RunClosure + Send + Sync + 'ctx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ContextSideEffects::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Serialize` is not satisfied [INFO] [stdout] --> examples/failures.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / context [INFO] [stdout] 19 | | .run(|| async move { [INFO] [stdout] 20 | | if rand::thread_rng().next_u32() % 4 == 0 { [INFO] [stdout] 21 | | Err(TerminalError::new("Failed!!!"))? [INFO] [stdout] ... | [INFO] [stdout] 24 | | Err(MyError)? [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______________^ the trait `Serialize` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] () [INFO] [stdout] Json [INFO] [stdout] String [INFO] [stdout] Vec [INFO] [stdout] bool [INFO] [stdout] bytes::bytes::Bytes [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] and 10 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `{closure@examples/failures.rs:19:18: 19:20}` to implement `RunClosure` [INFO] [stdout] note: required by a bound in `restate_sdk::context::ContextSideEffects::run` [INFO] [stdout] --> /tmp/fixit/src/context/mod.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 376 | fn run(&self, run_closure: R) -> impl RunFuture> + 'ctx [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 377 | where [INFO] [stdout] 378 | R: RunClosure + Send + Sync + 'ctx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ContextSideEffects::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `restate-sdk` (example "failures") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e8d274df1d442a601605d1bd72d2ea4409b3c552e7facf77aab8dca10021a04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d274df1d442a601605d1bd72d2ea4409b3c552e7facf77aab8dca10021a04b", kill_on_drop: false }` [INFO] [stdout] e8d274df1d442a601605d1bd72d2ea4409b3c552e7facf77aab8dca10021a04b