[INFO] fetching crate utoipa 4.1.0... [INFO] checking utoipa-4.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate utoipa 4.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate utoipa 4.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate utoipa 4.1.0 [INFO] finished tweaking crates.io crate utoipa 4.1.0 [INFO] tweaked toml for crates.io crate utoipa 4.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ulid v1.1.2 [INFO] [stderr] Downloaded web-time v1.1.0 [INFO] [stderr] Downloaded utoipa-gen v4.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ed639514da5f7b97d27fe4706a2d112441f73cf4daada45031ac6c79efa26f7 [INFO] running `Command { std: "docker" "start" "-a" "7ed639514da5f7b97d27fe4706a2d112441f73cf4daada45031ac6c79efa26f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ed639514da5f7b97d27fe4706a2d112441f73cf4daada45031ac6c79efa26f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed639514da5f7b97d27fe4706a2d112441f73cf4daada45031ac6c79efa26f7", kill_on_drop: false }` [INFO] [stdout] 7ed639514da5f7b97d27fe4706a2d112441f73cf4daada45031ac6c79efa26f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba4430a03029c19957777c7fe3a800f5a2447494bf4b1ddad8cb634ec51bf4f8 [INFO] running `Command { std: "docker" "start" "-a" "ba4430a03029c19957777c7fe3a800f5a2447494bf4b1ddad8cb634ec51bf4f8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling utoipa-gen v4.2.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking utoipa v4.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/openapi/schema.rs:1450:28 [INFO] [stdout] | [INFO] [stdout] 1450 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1451 | [INFO] [stdout] 1452 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InfoBuilder` is imported redundantly [INFO] [stdout] --> src/openapi.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | info::InfoBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | use super::{response::Response, *}; [INFO] [stdout] | - the item `InfoBuilder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathsBuilder` is imported redundantly [INFO] [stdout] --> src/openapi.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | path::{OperationBuilder, PathsBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | use super::{response::Response, *}; [INFO] [stdout] | - the item `PathsBuilder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Response` is imported redundantly [INFO] [stdout] --> src/openapi.rs:547:17 [INFO] [stdout] | [INFO] [stdout] 547 | use super::{response::Response, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ - the item `Response` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `openapi::path::PathItemType` doesn't implement `Debug` [INFO] [stdout] --> src/openapi/path.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | assert_eq!(actual_value, expected_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `openapi::path::PathItemType` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `openapi::path::PathItemType`, which is required by `Vec<(&str, &openapi::path::PathItemType)>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `openapi::path::PathItemType` or manually `impl Debug for openapi::path::PathItemType` [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::PathItemType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 211 + #[derive(Debug)] [INFO] [stdout] 212 | pub enum PathItemType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `openapi::path::PathItemType` doesn't implement `Debug` [INFO] [stdout] --> src/openapi/path.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | assert_eq!(actual_value, expected_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `openapi::path::PathItemType` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `openapi::path::PathItemType`, which is required by `Vec<(&str, &openapi::path::PathItemType)>: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `openapi::path::PathItemType` or manually `impl Debug for openapi::path::PathItemType` [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::PathItemType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 211 + #[derive(Debug)] [INFO] [stdout] 212 | pub enum PathItemType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utoipa` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba4430a03029c19957777c7fe3a800f5a2447494bf4b1ddad8cb634ec51bf4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4430a03029c19957777c7fe3a800f5a2447494bf4b1ddad8cb634ec51bf4f8", kill_on_drop: false }` [INFO] [stdout] ba4430a03029c19957777c7fe3a800f5a2447494bf4b1ddad8cb634ec51bf4f8