[INFO] fetching crate utoipa 5.2.0... [INFO] checking utoipa-5.2.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate utoipa 5.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate utoipa 5.2.0 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 utoipa 5.2.0 [INFO] finished tweaking crates.io crate utoipa 5.2.0 [INFO] tweaked toml for crates.io crate utoipa 5.2.0 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [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-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa562809f48189de01d7b2319cc1e8b87f5193980c1eb427eab444a82d1d348b [INFO] running `Command { std: "docker" "start" "-a" "fa562809f48189de01d7b2319cc1e8b87f5193980c1eb427eab444a82d1d348b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa562809f48189de01d7b2319cc1e8b87f5193980c1eb427eab444a82d1d348b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa562809f48189de01d7b2319cc1e8b87f5193980c1eb427eab444a82d1d348b", kill_on_drop: false }` [INFO] [stdout] fa562809f48189de01d7b2319cc1e8b87f5193980c1eb427eab444a82d1d348b [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=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] e93b2bac73125cf815db823cd4ce6021b477ebaac30e7410445ee3621e12ae21 [INFO] running `Command { std: "docker" "start" "-a" "e93b2bac73125cf815db823cd4ce6021b477ebaac30e7410445ee3621e12ae21", 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] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling utoipa-gen v5.2.0 [INFO] [stderr] Checking serde v1.0.214 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking utoipa v5.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/openapi.rs (2 fixes) [INFO] [stderr] Fixed src/openapi/path.rs (7 fixes) [INFO] [stderr] error: could not compile `utoipa` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openapi/security.rs:1024:31 [INFO] [stdout] | [INFO] [stdout] 1024 | ($name:ident: $schema:expr; $expected:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1024 | ($name:ident: $schema:expr_2021; $expected:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/openapi/server.rs:219:31 [INFO] [stdout] | [INFO] [stdout] 219 | ($name:ident: $schema:expr; $expected:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 219 | ($name:ident: $schema:expr_2021; $expected:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `openapi::path::HttpMethod` doesn't implement `Debug` [INFO] [stdout] --> src/openapi/path.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | assert_eq!(actual_value, expected_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `openapi::path::HttpMethod` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `openapi::path::HttpMethod` [INFO] [stdout] = note: add `#[derive(Debug)]` to `openapi::path::HttpMethod` or manually `impl Debug for openapi::path::HttpMethod` [INFO] [stdout] = help: the trait `Debug` is implemented for `Vec` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `openapi::path::HttpMethod` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 414 + #[derive(Debug)] [INFO] [stdout] 415 | pub enum HttpMethod { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `openapi::path::HttpMethod` doesn't implement `Debug` [INFO] [stdout] --> src/openapi/path.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | assert_eq!(actual_value, expected_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `openapi::path::HttpMethod` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `openapi::path::HttpMethod` [INFO] [stdout] = note: add `#[derive(Debug)]` to `openapi::path::HttpMethod` or manually `impl Debug for openapi::path::HttpMethod` [INFO] [stdout] = help: the trait `Debug` is implemented for `Vec` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `openapi::path::HttpMethod` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 414 + #[derive(Debug)] [INFO] [stdout] 415 | pub enum HttpMethod { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [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" "e93b2bac73125cf815db823cd4ce6021b477ebaac30e7410445ee3621e12ae21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93b2bac73125cf815db823cd4ce6021b477ebaac30e7410445ee3621e12ae21", kill_on_drop: false }` [INFO] [stdout] e93b2bac73125cf815db823cd4ce6021b477ebaac30e7410445ee3621e12ae21