[INFO] fetching crate rocket-autodocu 0.9.1... [INFO] testing rocket-autodocu-0.9.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rocket-autodocu 0.9.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket-autodocu 0.9.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded rocket-autodocu-codegen v0.9.1 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded autodocu v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e278c9af6a5f6f39ed7a02c7aa1923838cbdcc88dbe884c0be57ba37257c4933 [INFO] running `Command { std: "docker" "start" "-a" "e278c9af6a5f6f39ed7a02c7aa1923838cbdcc88dbe884c0be57ba37257c4933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e278c9af6a5f6f39ed7a02c7aa1923838cbdcc88dbe884c0be57ba37257c4933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e278c9af6a5f6f39ed7a02c7aa1923838cbdcc88dbe884c0be57ba37257c4933", kill_on_drop: false }` [INFO] [stdout] e278c9af6a5f6f39ed7a02c7aa1923838cbdcc88dbe884c0be57ba37257c4933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1afcefc99638eef75b3809d853328e70609c51eb4572bf6f764635d02baa818c [INFO] running `Command { std: "docker" "start" "-a" "1afcefc99638eef75b3809d853328e70609c51eb4572bf6f764635d02baa818c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling autodocu 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 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 49.75s [INFO] running `Command { std: "docker" "inspect" "1afcefc99638eef75b3809d853328e70609c51eb4572bf6f764635d02baa818c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afcefc99638eef75b3809d853328e70609c51eb4572bf6f764635d02baa818c", kill_on_drop: false }` [INFO] [stdout] 1afcefc99638eef75b3809d853328e70609c51eb4572bf6f764635d02baa818c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5164ab93798e58476a0ed05ea8d71f1d5a3d5b93a8a178bc1e267752b43efa4 [INFO] running `Command { std: "docker" "start" "-a" "f5164ab93798e58476a0ed05ea8d71f1d5a3d5b93a8a178bc1e267752b43efa4", 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.00s [INFO] running `Command { std: "docker" "inspect" "f5164ab93798e58476a0ed05ea8d71f1d5a3d5b93a8a178bc1e267752b43efa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5164ab93798e58476a0ed05ea8d71f1d5a3d5b93a8a178bc1e267752b43efa4", kill_on_drop: false }` [INFO] [stdout] f5164ab93798e58476a0ed05ea8d71f1d5a3d5b93a8a178bc1e267752b43efa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa896142507df131a1e0ee99eba4fcfd0122161bed892895b7dbd917bfa8e4ff [INFO] running `Command { std: "docker" "start" "-a" "fa896142507df131a1e0ee99eba4fcfd0122161bed892895b7dbd917bfa8e4ff", 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_autodocu-bf80eec1ffa4d6ef) [INFO] [stderr] Doc-tests rocket_autodocu [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] [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.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fa896142507df131a1e0ee99eba4fcfd0122161bed892895b7dbd917bfa8e4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa896142507df131a1e0ee99eba4fcfd0122161bed892895b7dbd917bfa8e4ff", kill_on_drop: false }` [INFO] [stdout] fa896142507df131a1e0ee99eba4fcfd0122161bed892895b7dbd917bfa8e4ff