[INFO] fetching crate retree 0.7.0... [INFO] fixing retree-0.7.0 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate retree 0.7.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate retree 0.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate retree 0.7.0 [INFO] tweaked toml for crates.io crate retree 0.7.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate retree 0.7.0 on toolchain 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate retree 0.7.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" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24 [INFO] running `Command { std: "docker" "start" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking predicates-core v1.0.10 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking uzers v0.12.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.2.2 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.13 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking strum v0.28.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking clap_complete v4.6.5 [INFO] [stderr] Checking quick-xml v0.40.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking retree v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/core/walker/engine.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 427 | let _guard = ctx.dir_limiter.acquire(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `_guard` calls a custom destructor [INFO] [stdout] | `_guard` will be dropped later as of Edition 2024 [INFO] [stdout] 428 | match common::read_sorted_children(path, ctx.config) { [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] 439 | }; [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `_guard` invokes this custom destructor [INFO] [stdout] --> src/core/walker/engine.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl Drop for DirReadGuard<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.8.2 [INFO] [stderr] Migrating tests/golden.rs from 2021 edition to 2024 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/core/walker/engine.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 427 | let _guard = ctx.dir_limiter.acquire(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `_guard` calls a custom destructor [INFO] [stdout] | `_guard` will be dropped later as of Edition 2024 [INFO] [stdout] 428 | match common::read_sorted_children(path, ctx.config) { [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] 439 | }; [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/5fed607fb5806ae20927e7e9193e3793c411ac20/library/std/src/sys/fs/unix.rs:1011:0 [INFO] [stdout] note: `_guard` invokes this custom destructor [INFO] [stdout] --> src/core/walker/engine.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl Drop for DirReadGuard<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/security.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/max_entries.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tree_compat.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/retree_perf_xlarge.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/display.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/i18n.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/windows_unsafe.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/basic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/filtering.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/parallel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/sorting.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/streams.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/errors.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/streaming_text.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/output_format.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/retree_perf.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.24s [INFO] [stderr] crater-edition-check: retree v0.7.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024 [INFO] [stderr] error: failed to parse manifest at `/opt/rustwide/workdir/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] rust-version 1.80 is incompatible with the version (1.85.0) required by the specified edition (2024) [INFO] running `Command { std: "docker" "inspect" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24", kill_on_drop: false }` [INFO] [stdout] 71a1f1c3cdf73bea1b03744c2c4742b5b4cbdc1d21714fb89a0b0972b9a89c24