[INFO] fetching crate utoipa 4.1.0... [INFO] checking utoipa-4.1.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [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 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded utoipa-gen v4.2.0 [INFO] [stderr] Downloaded ulid v1.1.2 [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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a543a634f289acc3353f44105cf165b450f37ed7138f14e1dd0a1ba3a1dd1a3 [INFO] running `Command { std: "docker" "start" "-a" "6a543a634f289acc3353f44105cf165b450f37ed7138f14e1dd0a1ba3a1dd1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a543a634f289acc3353f44105cf165b450f37ed7138f14e1dd0a1ba3a1dd1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a543a634f289acc3353f44105cf165b450f37ed7138f14e1dd0a1ba3a1dd1a3", kill_on_drop: false }` [INFO] [stdout] 6a543a634f289acc3353f44105cf165b450f37ed7138f14e1dd0a1ba3a1dd1a3 [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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b9a6edc419f77e6d2f54e35b301caafb877a34fc434721e8372387f9d3d2001 [INFO] running `Command { std: "docker" "start" "-a" "4b9a6edc419f77e6d2f54e35b301caafb877a34fc434721e8372387f9d3d2001", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.55 [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_json v1.0.115 [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" "4b9a6edc419f77e6d2f54e35b301caafb877a34fc434721e8372387f9d3d2001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9a6edc419f77e6d2f54e35b301caafb877a34fc434721e8372387f9d3d2001", kill_on_drop: false }` [INFO] [stdout] 4b9a6edc419f77e6d2f54e35b301caafb877a34fc434721e8372387f9d3d2001