[INFO] cloning repository https://github.com/dicej/wasi-sockets-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dicej/wasi-sockets-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdicej%2Fwasi-sockets-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdicej%2Fwasi-sockets-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b54da6ce93a18f490f7b97347c8fc0a291e8fae [INFO] checking dicej/wasi-sockets-tests/6b54da6ce93a18f490f7b97347c8fc0a291e8fae against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdicej%2Fwasi-sockets-tests" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dicej/wasi-sockets-tests 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 git repo https://github.com/dicej/wasi-sockets-tests [INFO] finished tweaking git repo https://github.com/dicej/wasi-sockets-tests [INFO] tweaked toml for git repo https://github.com/dicej/wasi-sockets-tests written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dicej/wasi-sockets-tests 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6b569e850d45e1c41baf7e358af66af38dae08cd5cceec083836c9beef658a9d [INFO] running `Command { std: "docker" "start" "-a" "6b569e850d45e1c41baf7e358af66af38dae08cd5cceec083836c9beef658a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b569e850d45e1c41baf7e358af66af38dae08cd5cceec083836c9beef658a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b569e850d45e1c41baf7e358af66af38dae08cd5cceec083836c9beef658a9d", kill_on_drop: false }` [INFO] [stdout] 6b569e850d45e1c41baf7e358af66af38dae08cd5cceec083836c9beef658a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 468f83248ec52df3876599f3857cbe05d31960ec2deb46111955f1f9abf061a3 [INFO] running `Command { std: "docker" "start" "-a" "468f83248ec52df3876599f3857cbe05d31960ec2deb46111955f1f9abf061a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling wasm-encoder v0.41.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling spdx v0.10.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling wasm-encoder v0.38.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling wit-bindgen-rust v0.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.9 (https://github.com/dicej/mio?branch=wasi-sockets#a1853bb4) [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking postgres-protocol v0.6.6 (https://github.com/dicej/rust-postgres?branch=wasi-sockets#1f953269) [INFO] [stderr] Checking postgres-types v0.2.6 (https://github.com/dicej/rust-postgres?branch=wasi-sockets#1f953269) [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Checking sockets-client-std v2.0.0 (/opt/rustwide/workdir/client-std) [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 (https://github.com/dicej/tokio?branch=wasi-sockets#e454415e) [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmparser v0.118.2 [INFO] [stderr] Checking tokio v1.34.0 (https://github.com/dicej/tokio?branch=wasi-sockets#e454415e) [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wit-parser v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking sockets-client-tokio v2.0.0 (/opt/rustwide/workdir/client-tokio) [INFO] [stderr] Checking tokio-postgres v0.7.10 (https://github.com/dicej/rust-postgres?branch=wasi-sockets#1f953269) [INFO] [stderr] Compiling wasm-metadata v0.10.20 [INFO] [stderr] Compiling wit-component v0.18.2 [INFO] [stderr] Checking sockets-client-tokio-postgres v2.0.0 (/opt/rustwide/workdir/client-tokio-postgres) [INFO] [stderr] Compiling wit-bindgen-core v0.16.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.16.0 [INFO] [stderr] Checking wit-bindgen v0.16.0 [INFO] [stderr] Checking sockets-client v2.0.0 (/opt/rustwide/workdir/client) [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] --> client/src/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 77 | let client = tcp_create_socket::create_tcp_socket(match address { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(loop { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | match client.finish_connect() { [INFO] [stdout] 85 | | Err(ErrorCode::WouldBlock) => client.subscribe().block(), [INFO] [stdout] 86 | | result => break (client, result?), [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sockets-client` (bin "sockets-client") due to 2 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] --> client/src/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 77 | let client = tcp_create_socket::create_tcp_socket(match address { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(loop { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | match client.finish_connect() { [INFO] [stdout] 85 | | Err(ErrorCode::WouldBlock) => client.subscribe().block(), [INFO] [stdout] 86 | | result => break (client, result?), [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sockets-client` (bin "sockets-client" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "468f83248ec52df3876599f3857cbe05d31960ec2deb46111955f1f9abf061a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468f83248ec52df3876599f3857cbe05d31960ec2deb46111955f1f9abf061a3", kill_on_drop: false }` [INFO] [stdout] 468f83248ec52df3876599f3857cbe05d31960ec2deb46111955f1f9abf061a3