[INFO] fetching crate grafana-plugin-sdk 0.5.0... [INFO] checking grafana-plugin-sdk-0.5.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate grafana-plugin-sdk 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate grafana-plugin-sdk 0.5.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] started tweaking crates.io crate grafana-plugin-sdk 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate grafana-plugin-sdk 0.5.0 [INFO] tweaked toml for crates.io crate grafana-plugin-sdk 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate grafana-plugin-sdk 0.5.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-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2c41aab9125910bd7c5af5f1aa59381f4a9f7417d391e5eaf30a3a5e0e71a0f [INFO] running `Command { std: "docker" "start" "-a" "e2c41aab9125910bd7c5af5f1aa59381f4a9f7417d391e5eaf30a3a5e0e71a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2c41aab9125910bd7c5af5f1aa59381f4a9f7417d391e5eaf30a3a5e0e71a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c41aab9125910bd7c5af5f1aa59381f4a9f7417d391e5eaf30a3a5e0e71a0f", kill_on_drop: false }` [INFO] [stdout] e2c41aab9125910bd7c5af5f1aa59381f4a9f7417d391e5eaf30a3a5e0e71a0f [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=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] 78dfc154cb921883950a11f949694b2ee6c2c0a94462e1fb5797051f63f96cf0 [INFO] running `Command { std: "docker" "start" "-a" "78dfc154cb921883950a11f949694b2ee6c2c0a94462e1fb5797051f63f96cf0", 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 autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling arrow2 v0.18.0 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking hash_hasher v2.0.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling grafana-plugin-sdk v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking prost v0.13.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling grafana-plugin-sdk-macros v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking arrow-format v0.8.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking tonic-health v0.12.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/data/field.rs (1 fix) [INFO] [stderr] Fixed src/data/field_type.rs (2 fixes) [INFO] [stderr] Fixed src/backend/mod.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/backend/mod.rs:203:55 [INFO] [stdout] | [INFO] [stdout] 198 | let listener = TcpListener::bind(&self.address).await.map_err(|e| { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `listener` calls a custom destructor [INFO] [stdout] | `listener` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok::<_, std::io::Error>(listener.accept().await.map(|_| ())) [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] 204 | }) [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: `listener` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/io/poll_evented.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | impl Drop for PollEvented { [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] [stderr] Migrating examples/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling grafana-plugin-sdk v0.5.0 (/tmp/fixit) [INFO] [stdout] error[E0271]: expected `{async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/async-stream-0.3.5/src/lib.rs:229:9: 229:63}` to be a future that resolves to `()`, but it resolves to `!` [INFO] [stdout] --> examples/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | / Box::pin(async_stream::try_stream! { [INFO] [stdout] 248 | | loop { [INFO] [stdout] 249 | | let body = count [INFO] [stdout] 250 | | .fetch_add(1, Ordering::SeqCst) [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | }) as Self::Stream, [INFO] [stdout] | |__________________^ expected `()`, found `!` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found type `!` [INFO] [stdout] = note: required for `AsyncStream, ...>` to implement `futures_util::Stream` [INFO] [stdout] = note: required for the cast from `Pin, ...>>>` to `Pin> + Send>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/main-04857899d79ee714.long-type-5230087614271521704.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grafana-plugin-sdk` (example "main") due to 1 previous error [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" "78dfc154cb921883950a11f949694b2ee6c2c0a94462e1fb5797051f63f96cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78dfc154cb921883950a11f949694b2ee6c2c0a94462e1fb5797051f63f96cf0", kill_on_drop: false }` [INFO] [stdout] 78dfc154cb921883950a11f949694b2ee6c2c0a94462e1fb5797051f63f96cf0