juhaku / utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
Apache License 2.0
2.21k stars 170 forks source link

Builds failing for individual packages utoipa-axum & utoipa-swagger-ui #1037

Closed jayvdb closed 1 week ago

jayvdb commented 1 week ago

see https://github.com/juhaku/utoipa/actions/runs/10779351123/job/29892650558?pr=1036 and other jobs

The following error is repeated many times

if [[ true == true ]]; then
    cargo clippy --quiet --package utoipa-axum
  fi
  shell: /usr/bin/bash -e {0}
  env:
    CARGO_TERM_COLOR: always
error[E04[3](https://github.com/juhaku/utoipa/actions/runs/10779351123/job/29892651722?pr=1036#step:6:3)3]: failed to resolve: could not find `utoipa` in the crate root
   --> utoipa/src/openapi/schema.rs:908:[4](https://github.com/juhaku/utoipa/actions/runs/10779351123/job/29892651722?pr=1036#step:6:4)0
    |
908 |         pub multiple_of: Option<crate::utoipa::Number>,
    |                                        ^^^^^^ could not find `utoipa` in the crate root
    |
note: found an item that was configured out
   --> utoipa/src/lib.rs:46[5](https://github.com/juhaku/utoipa/actions/runs/10779351123/job/29892651722?pr=1036#step:6:5):5
    |
465 | mod utoipa {
    |     ^^^^^^
    = note: the item is gated behind the `macros` feature
juhaku commented 1 week ago

Oh snap, I must have forgotten something..