[INFO] fetching crate utoipauto 0.3.0-alpha.2... [INFO] checking utoipauto-0.3.0-alpha.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate utoipauto 0.3.0-alpha.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate utoipauto 0.3.0-alpha.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate utoipauto 0.3.0-alpha.2 [INFO] tweaked toml for crates.io crate utoipauto 0.3.0-alpha.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate utoipauto 0.3.0-alpha.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate utoipauto 0.3.0-alpha.2 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utoipauto-macro v0.3.0-alpha.2 [INFO] [stderr] Downloaded utoipauto-core v0.3.0-alpha.2 [INFO] [stderr] Downloaded utoipa v5.3.1 [INFO] [stderr] Downloaded utoipa-gen v5.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ccf3e75699efe5df7994c6a6870c7127cf499a58803c95bec8654252c90a6c0 [INFO] running `Command { std: "docker" "start" "-a" "9ccf3e75699efe5df7994c6a6870c7127cf499a58803c95bec8654252c90a6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ccf3e75699efe5df7994c6a6870c7127cf499a58803c95bec8654252c90a6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccf3e75699efe5df7994c6a6870c7127cf499a58803c95bec8654252c90a6c0", kill_on_drop: false }` [INFO] [stdout] 9ccf3e75699efe5df7994c6a6870c7127cf499a58803c95bec8654252c90a6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08c68863eafc116319f7da63c854cb1abf0d023db42a0b2c71c7a963d0bcf07c [INFO] running `Command { std: "docker" "start" "-a" "08c68863eafc116319f7da63c854cb1abf0d023db42a0b2c71c7a963d0bcf07c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling utoipauto-core v0.3.0-alpha.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling utoipauto-macro v0.3.0-alpha.2 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Checking utoipauto v0.3.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking utoipa v5.3.1 [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[utoipauto(paths = "./utoipauto/src")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/src [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[utoipauto( [INFO] [stdout] 9 | | paths = "( crate::controllers::controller1 => ./utoipauto/tests/default_features/controllers/controller1.rs) ; ( crate::controllers::... [INFO] [stdout] 10 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers/controller1.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[utoipauto( [INFO] [stdout] 22 | | paths = "( crate::controllers::controller1 => ./utoipauto/tests/default_features/controllers/controller1.rs)" [INFO] [stdout] 23 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers/controller1.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[utoipauto(paths = "./utoipauto/tests/default_features/controllers/controller1.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers/controller1.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[utoipauto(paths = "( crate::controllers => ./utoipauto/tests/default_features/controllers)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[utoipauto(paths = "./utoipauto/tests/default_features")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / #[utoipauto( [INFO] [stdout] 71 | | paths = "./utoipauto/tests/default_features/controllers/controller1.rs, ./utoipauto/tests/default_features/controllers/controller2.rs" [INFO] [stdout] 72 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers/controller1.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | #[utoipauto(paths = "./utoipauto/tests/default_features/models.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/models.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | #[utoipauto(paths = "./utoipauto/tests/default_features/models.rs")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/models.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/default_features/test.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / #[utoipauto( [INFO] [stdout] 120 | | paths = "./utoipauto/tests/default_features/controllers/controller3.rs", [INFO] [stdout] 121 | | function_attribute_name = "test_handler" [INFO] [stdout] 122 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to parse file ./utoipauto/tests/default_features/controllers/controller3.rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateAutoApiDocs` [INFO] [stdout] --> src/lib.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(CrateAutoApiDocs::openapi().paths.paths.len(), 3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `CrateAutoApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utoipauto` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::default_features::controllers` [INFO] [stdout] --> tests/default_features/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::default_features::controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultiControllerApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(MultiControllerApiDocs::openapi().paths.paths.len(), 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MultiControllerApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SingleControllerApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(SingleControllerApiDocs::openapi().paths.paths.len(), 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SingleControllerApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SingleControllerManualPathApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(SingleControllerManualPathApiDocs::openapi().paths.paths.len(), 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SingleControllerManualPathApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModuleApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(ModuleApiDocs::openapi().paths.paths.len(), 2) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ModuleApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(CrateApiDocs::openapi().paths.paths.len(), 2) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CrateApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultiControllerNoModuleApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(MultiControllerNoModuleApiDocs::openapi().paths.paths.len(), 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MultiControllerNoModuleApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModelsImportApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | ModelsImportApiDocs::openapi() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ModelsImportApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponsesImportApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ResponsesImportApiDocs::openapi() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ResponsesImportApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomHandlerApiDocs` [INFO] [stdout] --> tests/default_features/test.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(CustomHandlerApiDocs::openapi().paths.paths.len(), 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CustomHandlerApiDocs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utoipauto` (test "test") due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "08c68863eafc116319f7da63c854cb1abf0d023db42a0b2c71c7a963d0bcf07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c68863eafc116319f7da63c854cb1abf0d023db42a0b2c71c7a963d0bcf07c", kill_on_drop: false }` [INFO] [stdout] 08c68863eafc116319f7da63c854cb1abf0d023db42a0b2c71c7a963d0bcf07c