[INFO] fetching crate openai-rst 0.2.0... [INFO] checking openai-rst-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate openai-rst 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate openai-rst 0.2.0 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 openai-rst 0.2.0 [INFO] finished tweaking crates.io crate openai-rst 0.2.0 [INFO] tweaked toml for crates.io crate openai-rst 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate openai-rst 0.2.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" "+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] 1e9d1b821118ca442a097de450f549480afc43b78fd6952f0a7ab6aded72a3da [INFO] running `Command { std: "docker" "start" "-a" "1e9d1b821118ca442a097de450f549480afc43b78fd6952f0a7ab6aded72a3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e9d1b821118ca442a097de450f549480afc43b78fd6952f0a7ab6aded72a3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9d1b821118ca442a097de450f549480afc43b78fd6952f0a7ab6aded72a3da", kill_on_drop: false }` [INFO] [stdout] 1e9d1b821118ca442a097de450f549480afc43b78fd6952f0a7ab6aded72a3da [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] b85538beca82c07d2f0874782f585cea2a612162803465e6c5fb252f930a21db [INFO] running `Command { std: "docker" "start" "-a" "b85538beca82c07d2f0874782f585cea2a612162803465e6c5fb252f930a21db", kill_on_drop: false }` [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking openai-rst v0.2.0 (/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/client.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 75 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let client = ReqwestClient::builder().default_headers(headers).build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | endpoint, [INFO] [stdout] 86 | | api_key, [INFO] [stdout] 87 | | client, [INFO] [stdout] 88 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/client.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 93 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let client = ReqwestClient::builder().default_headers(headers).build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | endpoint: API_URL_V1.to_owned(), [INFO] [stdout] 104 | | api_key, [INFO] [stdout] 105 | | client, [INFO] [stdout] 106 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `openai-rst` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/client.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 75 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let client = ReqwestClient::builder().default_headers(headers).build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | [INFO] [stdout] 84 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | endpoint, [INFO] [stdout] 86 | | api_key, [INFO] [stdout] 87 | | client, [INFO] [stdout] 88 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/client.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 93 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let client = ReqwestClient::builder().default_headers(headers).build()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | endpoint: API_URL_V1.to_owned(), [INFO] [stdout] 104 | | api_key, [INFO] [stdout] 105 | | client, [INFO] [stdout] 106 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `openai-rst` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b85538beca82c07d2f0874782f585cea2a612162803465e6c5fb252f930a21db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85538beca82c07d2f0874782f585cea2a612162803465e6c5fb252f930a21db", kill_on_drop: false }` [INFO] [stdout] b85538beca82c07d2f0874782f585cea2a612162803465e6c5fb252f930a21db