[INFO] fetching crate wnfs-unixfs-file 0.2.0... [INFO] checking wnfs-unixfs-file-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wnfs-unixfs-file 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wnfs-unixfs-file 0.2.0 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 crates.io crate wnfs-unixfs-file 0.2.0 [INFO] finished tweaking crates.io crate wnfs-unixfs-file 0.2.0 [INFO] tweaked toml for crates.io crate wnfs-unixfs-file 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 193 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding cbor4ii v0.2.14 (available: v0.3.3) [INFO] [stderr] Adding cid v0.10.1 (available: v0.11.1) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding multihash v0.18.1 (available: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.5.11 (available: v0.7.3) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding prost v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding serde-big-array v0.3.3 (available: v0.5.1) [INFO] [stderr] Adding serde_ipld_dagcbor v0.4.2 (available: v0.6.1) [INFO] [stderr] Adding structmeta v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding structmeta-derive v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding test-strategy v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding testresult v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6c1908aa23e385b9fd8485724b131b4d0dd8f5539b157294b985ad1a5c882d5f [INFO] running `Command { std: "docker" "start" "-a" "6c1908aa23e385b9fd8485724b131b4d0dd8f5539b157294b985ad1a5c882d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c1908aa23e385b9fd8485724b131b4d0dd8f5539b157294b985ad1a5c882d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1908aa23e385b9fd8485724b131b4d0dd8f5539b157294b985ad1a5c882d5f", kill_on_drop: false }` [INFO] [stdout] 6c1908aa23e385b9fd8485724b131b4d0dd8f5539b157294b985ad1a5c882d5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 748e41db90f98aaf0311d1b592b1d626039b0f418e17ae255a813e18f0e25b68 [INFO] running `Command { std: "docker" "start" "-a" "748e41db90f98aaf0311d1b592b1d626039b0f418e17ae255a813e18f0e25b68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking testresult v0.3.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling test-strategy v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking cbor4ii v0.2.14 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling libipld-cbor-derive v0.16.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking multihash v0.18.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking cid v0.10.1 [INFO] [stderr] Checking libipld-core v0.16.0 [INFO] [stderr] Checking serde_ipld_dagcbor v0.4.2 [INFO] [stderr] Checking libipld-json v0.16.0 [INFO] [stderr] Checking libipld-cbor v0.16.0 [INFO] [stderr] Checking libipld-pb v0.16.0 [INFO] [stderr] Checking libipld-macro v0.16.0 [INFO] [stderr] Checking libipld v0.16.0 [INFO] [stderr] Checking wnfs-common v0.2.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking wnfs-unixfs-file v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/builder.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> File<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | ) -> Result> + '_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `types::Block` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/balanced_tree.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 58 | / try_stream! { [INFO] [stdout] 59 | | // degree = 8 [INFO] [stdout] 60 | | // VecDeque![ vec![] ] [INFO] [stdout] 61 | | // .. [INFO] [stdout] ... | [INFO] [stdout] 86 | | tokio::pin!(in_stream); [INFO] [stdout] | | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 139 | | let (block, link_info) = TreeNode::Stem(links).encode()?; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wnfs-unixfs-file` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/builder.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> File<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | ) -> Result> + '_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `types::Block` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/balanced_tree.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 58 | / try_stream! { [INFO] [stdout] 59 | | // degree = 8 [INFO] [stdout] 60 | | // VecDeque![ vec![] ] [INFO] [stdout] 61 | | // .. [INFO] [stdout] ... | [INFO] [stdout] 86 | | tokio::pin!(in_stream); [INFO] [stdout] | | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 139 | | let (block, link_info) = TreeNode::Stem(links).encode()?; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Option, types::Block), anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/balanced_tree.rs:446:32 [INFO] [stdout] | [INFO] [stdout] 437 | expect: Vec<(Cid, Block)>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | tokio::pin!(got); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | while let Some(node) = got.next().await { [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wnfs-unixfs-file` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "748e41db90f98aaf0311d1b592b1d626039b0f418e17ae255a813e18f0e25b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748e41db90f98aaf0311d1b592b1d626039b0f418e17ae255a813e18f0e25b68", kill_on_drop: false }` [INFO] [stdout] 748e41db90f98aaf0311d1b592b1d626039b0f418e17ae255a813e18f0e25b68