[INFO] fetching crate http_dir 0.1.9... [INFO] fixing http_dir-0.1.9 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate http_dir 0.1.9 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate http_dir 0.1.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate http_dir 0.1.9 [INFO] tweaked toml for crates.io crate http_dir 0.1.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http_dir 0.1.9 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 http_dir 0.1.9 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-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9 [INFO] running `Command { std: "docker" "start" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9", 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" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9", 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" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9" "/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.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking http_dir v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/serve_dir/mod.rs (3 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/serve_dir/mod.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 327 | let mut fallback_and_request = this.fallback.as_mut().map(|fallback| { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `fallback_and_request` calls a custom destructor [INFO] [stdout] | `fallback_and_request` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | match open_file::open_file( [INFO] [stdout] | ___________________^ [INFO] [stdout] 371 | | &mut this.filesystem, [INFO] [stdout] 372 | | &this.variant, [INFO] [stdout] 373 | | path_to_file, [INFO] [stdout] ... | [INFO] [stdout] 379 | | .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] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | } [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `fallback_and_request` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `fallback_and_request` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/serve_dir/mod.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 327 | let mut fallback_and_request = this.fallback.as_mut().map(|fallback| { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `fallback_and_request` calls a custom destructor [INFO] [stdout] | `fallback_and_request` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | .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] 418 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = note: `fallback_and_request` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `fallback_and_request` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [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] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/serve_dir/mod.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 327 | let mut fallback_and_request = this.fallback.as_mut().map(|fallback| { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `fallback_and_request` calls a custom destructor [INFO] [stdout] | `fallback_and_request` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | match open_file::open_file( [INFO] [stdout] | ___________________^ [INFO] [stdout] 371 | | &mut this.filesystem, [INFO] [stdout] 372 | | &this.variant, [INFO] [stdout] 373 | | path_to_file, [INFO] [stdout] ... | [INFO] [stdout] 379 | | .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] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | } [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `fallback_and_request` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `fallback_and_request` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/serve_dir/mod.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 327 | let mut fallback_and_request = this.fallback.as_mut().map(|fallback| { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | `fallback_and_request` calls a custom destructor [INFO] [stdout] | `fallback_and_request` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | .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] 418 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = note: `fallback_and_request` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `fallback_and_request` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.4.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [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] [INFO] [stdout] [INFO] [stderr] Migrating examples/include_dir.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/disk.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.53s [INFO] [stderr] crater-edition-check: http_dir v0.1.9 (/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.72 is incompatible with the version (1.85.0) required by the specified edition (2024) [INFO] running `Command { std: "docker" "inspect" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9", kill_on_drop: false }` [INFO] [stdout] fb451874195053c5d1184f307f1243cc7bffb73cf99fcb8dff8bc4ac507921b9