[INFO] fetching crate wasi-common 25.0.3... [INFO] checking wasi-common-25.0.3 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate wasi-common 25.0.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wasi-common 25.0.3 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasi-common 25.0.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasi-common 25.0.3 [INFO] tweaked toml for crates.io crate wasi-common 25.0.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] [stderr] Adding wasmtime v25.0.3 (available: v26.0.1) [INFO] [stderr] Adding wiggle v25.0.3 (available: v26.0.1) [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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ba49abd89e33aee5dcf4b5b5a4a296f8c9592c484ef4d3a775e5a52b09ea0e [INFO] running `Command { std: "docker" "start" "-a" "03ba49abd89e33aee5dcf4b5b5a4a296f8c9592c484ef4d3a775e5a52b09ea0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ba49abd89e33aee5dcf4b5b5a4a296f8c9592c484ef4d3a775e5a52b09ea0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ba49abd89e33aee5dcf4b5b5a4a296f8c9592c484ef4d3a775e5a52b09ea0e", kill_on_drop: false }` [INFO] [stdout] 03ba49abd89e33aee5dcf4b5b5a4a296f8c9592c484ef4d3a775e5a52b09ea0e [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfd0f8be3fa80ce45d104b6572d7aef52a1baf6b51ac038692d15d7d48acbad [INFO] running `Command { std: "docker" "start" "-a" "fcfd0f8be3fa80ce45d104b6572d7aef52a1baf6b51ac038692d15d7d48acbad", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cranelift-isle v0.112.3 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.112.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-codegen-meta v0.112.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling io-lifetimes v2.0.3 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling io-extras v0.18.3 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking ambient-authority v0.0.2 [INFO] [stderr] Compiling cap-primitives v3.4.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking cranelift-control v0.112.3 [INFO] [stderr] Checking wasm-encoder v0.217.0 [INFO] [stderr] Compiling wast v35.0.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling cap-std v3.4.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Checking wasmtime-asm-macros v25.0.3 [INFO] [stderr] Compiling wiggle-macro v25.0.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v25.0.3 [INFO] [stderr] Checking wasmtime-slab v25.0.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling cap-fs-ext v3.4.1 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Compiling system-interface v0.27.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling cranelift-codegen v0.112.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v25.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasmtime-fiber v25.0.3 [INFO] [stderr] Checking fs-set-times v0.20.1 [INFO] [stderr] Compiling wasmtime v25.0.3 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking cap-time-ext v3.4.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling witx v0.9.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Compiling wiggle-generate v25.0.3 [INFO] [stderr] Checking cap-rand v3.4.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cranelift-bitset v0.112.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking cranelift-entity v0.112.3 [INFO] [stderr] Checking cranelift-bforest v0.112.3 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking regalloc2 v0.10.2 [INFO] [stderr] Checking wasmparser v0.217.0 [INFO] [stderr] Checking wasmtime-types v25.0.3 [INFO] [stderr] Checking wasmprinter v0.217.0 [INFO] [stderr] Checking wasmtime-environ v25.0.3 [INFO] [stderr] Checking cranelift-frontend v0.112.3 [INFO] [stderr] Checking cranelift-native v0.112.3 [INFO] [stderr] Checking cranelift-wasm v0.112.3 [INFO] [stderr] Checking wasmtime-cranelift v25.0.3 [INFO] [stderr] Checking wiggle v25.0.3 [INFO] [stderr] Checking wasi-common v25.0.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/snapshots/preview_1.rs (4 fixes) [INFO] [stderr] Fixed src/sync/mod.rs (1 fix) [INFO] [stderr] Fixed src/table.rs (2 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/snapshots/preview_1.rs:767:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[wiggle::async_trait] [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 752 | let src_dir = table.get_dir(u32::from(src_fd))?; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `src_dir` calls a custom destructor [INFO] [stdout] | `src_dir` will be dropped later as of Edition 2024 [INFO] [stdout] 753 | let target_dir = table.get_dir(u32::from(target_fd))?; [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `target_dir` calls a custom destructor [INFO] [stdout] | `target_dir` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in 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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `src_dir` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `target_dir` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/snapshots/preview_1.rs:876:14 [INFO] [stdout] | [INFO] [stdout] 44 | #[wiggle::async_trait] [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 867 | let src_dir = table.get_dir(u32::from(src_fd))?; [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `src_dir` calls a custom destructor [INFO] [stdout] | `src_dir` will be dropped later as of Edition 2024 [INFO] [stdout] 868 | let dest_dir = table.get_dir(u32::from(dest_fd))?; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `dest_dir` calls a custom destructor [INFO] [stdout] | `dest_dir` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 876 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in 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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `src_dir` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `dest_dir` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/snapshots/preview_1.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 44 | #[wiggle::async_trait] [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 1293 | let f = self.table().get_file(u32::from(fd))?; [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `f` calls a custom destructor [INFO] [stdout] | `f` will be dropped later as of Edition 2024 [INFO] [stdout] 1294 | [INFO] [stdout] 1295 | f.file.sock_shutdown(SdFlags::from(how)).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in 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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `f` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/all/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `wasi_common::tokio` [INFO] [stdout] --> tests/all/async_.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use wasi_common::tokio::{add_to_linker, WasiCtxBuilder}; [INFO] [stdout] | ^^^^^ could not find `tokio` in `wasi_common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `tokio` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_programs_artifacts` [INFO] [stdout] --> tests/all/async_.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_programs_artifacts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `test_programs_artifacts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_programs_artifacts` [INFO] [stdout] --> tests/all/sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_programs_artifacts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `test_programs_artifacts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `foreach_preview1` in this scope [INFO] [stdout] --> tests/all/async_.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | foreach_preview1!(assert_test_exists); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `foreach_preview1` in this scope [INFO] [stdout] --> tests/all/sync.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | foreach_preview1!(assert_test_exists); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasi-common` (test "all") due to 5 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fcfd0f8be3fa80ce45d104b6572d7aef52a1baf6b51ac038692d15d7d48acbad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfd0f8be3fa80ce45d104b6572d7aef52a1baf6b51ac038692d15d7d48acbad", kill_on_drop: false }` [INFO] [stdout] fcfd0f8be3fa80ce45d104b6572d7aef52a1baf6b51ac038692d15d7d48acbad