[INFO] fetching crate notedown-wasi 0.0.5... [INFO] checking notedown-wasi-0.0.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate notedown-wasi 0.0.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate notedown-wasi 0.0.5 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 notedown-wasi 0.0.5 [INFO] finished tweaking crates.io crate notedown-wasi 0.0.5 [INFO] tweaked toml for crates.io crate notedown-wasi 0.0.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding wasm-encoder v0.202.0 (latest: v0.216.0) [INFO] [stderr] Adding wasm-metadata v0.202.0 (latest: v0.216.0) [INFO] [stderr] Adding wasmparser v0.202.0 (latest: v0.216.0) [INFO] [stderr] Adding wit-bindgen v0.23.0 (latest: v0.30.0) [INFO] [stderr] Adding wit-bindgen-core v0.23.0 (latest: v0.30.0) [INFO] [stderr] Adding wit-bindgen-rt v0.23.0 (latest: v0.30.0) [INFO] [stderr] Adding wit-bindgen-rust v0.23.0 (latest: v0.30.0) [INFO] [stderr] Adding wit-bindgen-rust-macro v0.23.0 (latest: v0.30.0) [INFO] [stderr] Adding wit-component v0.202.0 (latest: v0.216.0) [INFO] [stderr] Adding wit-parser v0.202.0 (latest: v0.216.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1b7f5c7cf7130dc3c0eec0f308ae1ece7c4d8117eb13d6155f48bcffb5ace0a9 [INFO] running `Command { std: "docker" "start" "-a" "1b7f5c7cf7130dc3c0eec0f308ae1ece7c4d8117eb13d6155f48bcffb5ace0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b7f5c7cf7130dc3c0eec0f308ae1ece7c4d8117eb13d6155f48bcffb5ace0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7f5c7cf7130dc3c0eec0f308ae1ece7c4d8117eb13d6155f48bcffb5ace0a9", kill_on_drop: false }` [INFO] [stdout] 1b7f5c7cf7130dc3c0eec0f308ae1ece7c4d8117eb13d6155f48bcffb5ace0a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 44673cc695a427ffab2988f619563676a3d0662ad11c078fdf88dbfbe1e1b3f8 [INFO] running `Command { std: "docker" "start" "-a" "44673cc695a427ffab2988f619563676a3d0662ad11c078fdf88dbfbe1e1b3f8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wasm-encoder v0.202.0 [INFO] [stderr] Compiling wit-bindgen-rust v0.23.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling spdx v0.10.6 [INFO] [stderr] Compiling wit-bindgen-rt v0.23.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.23.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling wasmparser v0.202.0 [INFO] [stderr] Compiling wit-parser v0.202.0 [INFO] [stderr] Compiling wasm-metadata v0.202.0 [INFO] [stderr] Compiling wit-component v0.202.0 [INFO] [stderr] Compiling wit-bindgen-core v0.23.0 [INFO] [stderr] Checking wit-bindgen v0.23.0 [INFO] [stderr] Checking notedown-wasi v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `threads` [INFO] [stdout] --> src/exports/host.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(!cfg!(target_feature = "threads")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 201 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threads` [INFO] [stdout] --> src/exports/host.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(!cfg!(target_feature = "threads")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 201 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bindings/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn hack_unused(a: NotedownRoot, b: NotedownError) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bindings/mod.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn hack_unused(a: NotedownRoot, b: NotedownError) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `repr` is never read [INFO] [stdout] --> src/bindings/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UrlNative { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | repr: url::Url, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToNotedown` is never used [INFO] [stdout] --> src/traits.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ToNotedown [INFO] [stdout] | ^^^^^^^^^^ [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/exports/host.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_inner(self) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let ptr = unsafe { &mut *self.as_ptr::() }; [INFO] [stdout] 57 | ptr.take().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] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `notedown-wasi` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bindings/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | fn hack_unused(a: NotedownRoot, b: NotedownError) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bindings/mod.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn hack_unused(a: NotedownRoot, b: NotedownError) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `repr` is never read [INFO] [stdout] --> src/bindings/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UrlNative { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | repr: url::Url, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToNotedown` is never used [INFO] [stdout] --> src/traits.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait ToNotedown [INFO] [stdout] | ^^^^^^^^^^ [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/exports/host.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_inner(self) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let ptr = unsafe { &mut *self.as_ptr::() }; [INFO] [stdout] 57 | ptr.take().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] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `notedown-wasi` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44673cc695a427ffab2988f619563676a3d0662ad11c078fdf88dbfbe1e1b3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44673cc695a427ffab2988f619563676a3d0662ad11c078fdf88dbfbe1e1b3f8", kill_on_drop: false }` [INFO] [stdout] 44673cc695a427ffab2988f619563676a3d0662ad11c078fdf88dbfbe1e1b3f8