[INFO] cloning repository https://github.com/GiedriusS/thanos-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiedriusS/thanos-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiedriusS%2Fthanos-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiedriusS%2Fthanos-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 923d4226ec696e2c526e54bab8853c85b412f4a2 [INFO] checking GiedriusS/thanos-rust/923d4226ec696e2c526e54bab8853c85b412f4a2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiedriusS%2Fthanos-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GiedriusS/thanos-rust on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GiedriusS/thanos-rust [INFO] finished tweaking git repo https://github.com/GiedriusS/thanos-rust [INFO] tweaked toml for git repo https://github.com/GiedriusS/thanos-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GiedriusS/thanos-rust 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9caf8b3a4c8966290e45b75d97280861ac414e27a74958c82c3fcb66545b0d3a [INFO] running `Command { std: "docker" "start" "-a" "9caf8b3a4c8966290e45b75d97280861ac414e27a74958c82c3fcb66545b0d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9caf8b3a4c8966290e45b75d97280861ac414e27a74958c82c3fcb66545b0d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9caf8b3a4c8966290e45b75d97280861ac414e27a74958c82c3fcb66545b0d3a", kill_on_drop: false }` [INFO] [stdout] 9caf8b3a4c8966290e45b75d97280861ac414e27a74958c82c3fcb66545b0d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c708a9d96306bebda9c812f71847dac09b0949c101b41b213916dbce93c60d1 [INFO] running `Command { std: "docker" "start" "-a" "1c708a9d96306bebda9c812f71847dac09b0949c101b41b213916dbce93c60d1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling openssl-src v111.22.0+1.1.1q [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling prettyplease v0.1.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.3.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-stream v0.1.10 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking unsigned-varint v0.7.1 (https://github.com/GiedriusS/unsigned-varint?branch=asyncread_tokio_a#94f0d970) [INFO] [stderr] Compiling thanos-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `env` and `path::PathBuf` [INFO] [stdout] --> build.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.15 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stdout] warning: unused import: `bytes::Buf` [INFO] [stdout] --> src/prometheus_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Buf` [INFO] [stdout] --> src/prometheus_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `reqwest::Client` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prometheus_client.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 62 | req: tonic::Request, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | sender: mpsc::UnboundedSender>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ) { [INFO] [stdout] 65 | let client = reqwest::Client::builder().build().unwrap(); [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/prometheus_client.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut res = client [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `reqwest::Client` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prometheus_client.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 62 | req: tonic::Request, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | sender: mpsc::UnboundedSender>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ) { [INFO] [stdout] 65 | let client = reqwest::Client::builder().build().unwrap(); [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/prometheus_client.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut stream = res.bytes_stream(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prometheus_client.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut res = client [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prometheus_client.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut stream = res.bytes_stream(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/prometheus_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/prometheus_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/prometheus_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/prometheus_client.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thanos-rust` (bin "thanos-rust") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `thanos-rust` (bin "thanos-rust" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c708a9d96306bebda9c812f71847dac09b0949c101b41b213916dbce93c60d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c708a9d96306bebda9c812f71847dac09b0949c101b41b213916dbce93c60d1", kill_on_drop: false }` [INFO] [stdout] 1c708a9d96306bebda9c812f71847dac09b0949c101b41b213916dbce93c60d1