[INFO] fetching crate revolt_rocket_okapi 0.10.0... [INFO] testing revolt_rocket_okapi-0.10.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate revolt_rocket_okapi 0.10.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate revolt_rocket_okapi 0.10.0 [INFO] finished tweaking crates.io crate revolt_rocket_okapi 0.10.0 [INFO] tweaked toml for crates.io crate revolt_rocket_okapi 0.10.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate revolt_rocket_okapi 0.10.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 223 packages to latest compatible versions [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded revolt_okapi v0.9.1 [INFO] [stderr] Downloaded revolt_rocket_okapi_codegen v0.9.1 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 002893ca9fc38a2d45ff77098f4501c1bdaa39343065b07a1db1ba744db57237 [INFO] running `Command { std: "docker" "start" "-a" "002893ca9fc38a2d45ff77098f4501c1bdaa39343065b07a1db1ba744db57237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002893ca9fc38a2d45ff77098f4501c1bdaa39343065b07a1db1ba744db57237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002893ca9fc38a2d45ff77098f4501c1bdaa39343065b07a1db1ba744db57237", kill_on_drop: false }` [INFO] [stdout] 002893ca9fc38a2d45ff77098f4501c1bdaa39343065b07a1db1ba744db57237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8df6e845aaae3f9eea96cb3e7dfd8e442b57f670553d4e382691a5f8bfd64fe [INFO] running `Command { std: "docker" "start" "-a" "e8df6e845aaae3f9eea96cb3e7dfd8e442b57f670553d4e382691a5f8bfd64fe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling revolt_okapi v0.9.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling revolt_rocket_okapi_codegen v0.9.1 [INFO] [stderr] Compiling revolt_rocket_okapi v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.68s [INFO] running `Command { std: "docker" "inspect" "e8df6e845aaae3f9eea96cb3e7dfd8e442b57f670553d4e382691a5f8bfd64fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8df6e845aaae3f9eea96cb3e7dfd8e442b57f670553d4e382691a5f8bfd64fe", kill_on_drop: false }` [INFO] [stdout] e8df6e845aaae3f9eea96cb3e7dfd8e442b57f670553d4e382691a5f8bfd64fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da19075185601fc0c2a4591a87e4f719974c14d2cc7f02f8afb9fd9faf4a3464 [INFO] running `Command { std: "docker" "start" "-a" "da19075185601fc0c2a4591a87e4f719974c14d2cc7f02f8afb9fd9faf4a3464", kill_on_drop: false }` [INFO] [stderr] Compiling revolt_rocket_okapi v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "da19075185601fc0c2a4591a87e4f719974c14d2cc7f02f8afb9fd9faf4a3464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da19075185601fc0c2a4591a87e4f719974c14d2cc7f02f8afb9fd9faf4a3464", kill_on_drop: false }` [INFO] [stdout] da19075185601fc0c2a4591a87e4f719974c14d2cc7f02f8afb9fd9faf4a3464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3f2d8408483aca03c12d0ec0f1901072cf5b0989b8dfa4b0b6b740681ed4070 [INFO] running `Command { std: "docker" "start" "-a" "e3f2d8408483aca03c12d0ec0f1901072cf5b0989b8dfa4b0b6b740681ed4070", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/revolt_rocket_okapi-b61dcaadcd5ba506) [INFO] [stdout] [INFO] [stderr] Doc-tests revolt_rocket_okapi [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - mount_endpoints_and_merged_docs (line 143) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_routes (line 188) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_routes (line 195) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_routes_spec (line 227) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_routes_spec (line 234) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_spec (line 262) ... ignored [INFO] [stdout] test src/lib.rs - openapi_get_spec (line 268) ... ignored [INFO] [stdout] test src/request/mod.rs - request::OpenApiFromRequest (line 97) ... ignored [INFO] [stdout] test src/lib.rs - (line 25) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `revolt_rocket_okapi::swagger_ui` [INFO] [stdout] --> src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 7 | use revolt_rocket_okapi::swagger_ui::{make_swagger_ui, SwaggerUIConfig}; [INFO] [stdout] | ^^^^^^^^^^ could not find `swagger_ui` in `revolt_rocket_okapi` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(feature = "swagger")] [INFO] [stdout] | ------------------- the item is gated behind the `swagger` feature [INFO] [stdout] 96 | pub mod swagger_ui; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e3f2d8408483aca03c12d0ec0f1901072cf5b0989b8dfa4b0b6b740681ed4070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f2d8408483aca03c12d0ec0f1901072cf5b0989b8dfa4b0b6b740681ed4070", kill_on_drop: false }` [INFO] [stdout] e3f2d8408483aca03c12d0ec0f1901072cf5b0989b8dfa4b0b6b740681ed4070