[INFO] fetching crate rocket-autodocu 0.9.1... [INFO] testing rocket-autodocu-0.9.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rocket-autodocu 0.9.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rocket-autodocu 0.9.1 [INFO] finished tweaking crates.io crate rocket-autodocu 0.9.1 [INFO] tweaked toml for crates.io crate rocket-autodocu 0.9.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-autodocu 0.9.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 229 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autodocu v0.9.1 [INFO] [stderr] Downloaded rocket-autodocu-codegen v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d94f3170e1063746cf1977194baa95a129fb2a0afffccb6d1d7f969a7bca8dda [INFO] running `Command { std: "docker" "start" "-a" "d94f3170e1063746cf1977194baa95a129fb2a0afffccb6d1d7f969a7bca8dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d94f3170e1063746cf1977194baa95a129fb2a0afffccb6d1d7f969a7bca8dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94f3170e1063746cf1977194baa95a129fb2a0afffccb6d1d7f969a7bca8dda", kill_on_drop: false }` [INFO] [stdout] d94f3170e1063746cf1977194baa95a129fb2a0afffccb6d1d7f969a7bca8dda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91f5eee97f1d7b8f8b834d07f33c42bae7d197c4623fbef868606a0181402f7b [INFO] running `Command { std: "docker" "start" "-a" "91f5eee97f1d7b8f8b834d07f33c42bae7d197c4623fbef868606a0181402f7b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.13 [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 state v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [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 async-stream v0.3.6 [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 tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [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 indexmap v2.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling autodocu v0.9.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rocket-autodocu-codegen v0.9.1 [INFO] [stderr] Compiling rocket-autodocu v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OpenApiGenerator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "91f5eee97f1d7b8f8b834d07f33c42bae7d197c4623fbef868606a0181402f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f5eee97f1d7b8f8b834d07f33c42bae7d197c4623fbef868606a0181402f7b", kill_on_drop: false }` [INFO] [stdout] 91f5eee97f1d7b8f8b834d07f33c42bae7d197c4623fbef868606a0181402f7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbfded337d98a79f6d5294ac734ded009563032aba9f1bd10ff4069637fa0825 [INFO] running `Command { std: "docker" "start" "-a" "cbfded337d98a79f6d5294ac734ded009563032aba9f1bd10ff4069637fa0825", kill_on_drop: false }` [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OpenApiGenerator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket-autodocu v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OpenApiGenerator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "cbfded337d98a79f6d5294ac734ded009563032aba9f1bd10ff4069637fa0825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfded337d98a79f6d5294ac734ded009563032aba9f1bd10ff4069637fa0825", kill_on_drop: false }` [INFO] [stdout] cbfded337d98a79f6d5294ac734ded009563032aba9f1bd10ff4069637fa0825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be623f2fb6660c65f485a1eee0b70b757542bce2dacdf79554b3b6d2a9c6ee73 [INFO] running `Command { std: "docker" "start" "-a" "be623f2fb6660c65f485a1eee0b70b757542bce2dacdf79554b3b6d2a9c6ee73", kill_on_drop: false }` [INFO] [stderr] warning: field `settings` is never read [INFO] [stderr] --> src/gen.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct OpenApiGenerator { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 14 | settings: OpenApiSettings, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rocket-autodocu` (lib) generated 1 warning [INFO] [stderr] warning: `rocket-autodocu` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_autodocu-d49ac9fadf5e12c7) [INFO] [stdout] [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] [stderr] Doc-tests rocket_autodocu [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 `rocket_autodocu::swagger_ui` [INFO] [stdout] --> src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket_autodocu::swagger_ui::{make_swagger_ui, SwaggerUIConfig}; [INFO] [stdout] | ^^^^^^^^^^ could not find `swagger_ui` in `rocket_autodocu` [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" "be623f2fb6660c65f485a1eee0b70b757542bce2dacdf79554b3b6d2a9c6ee73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be623f2fb6660c65f485a1eee0b70b757542bce2dacdf79554b3b6d2a9c6ee73", kill_on_drop: false }` [INFO] [stdout] be623f2fb6660c65f485a1eee0b70b757542bce2dacdf79554b3b6d2a9c6ee73