[INFO] fetching crate rocket_okapi 0.8.0-rc.1... [INFO] testing rocket_okapi-0.8.0-rc.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rocket_okapi 0.8.0-rc.1 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate rocket_okapi 0.8.0-rc.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_okapi 0.8.0-rc.1 [INFO] finished tweaking crates.io crate rocket_okapi 0.8.0-rc.1 [INFO] tweaked toml for crates.io crate rocket_okapi 0.8.0-rc.1 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52394ef2c7de041e70e7a16c26d778ac4d98c02a9e156b547f26eacfb993a00b [INFO] running `Command { std: "docker" "start" "-a" "52394ef2c7de041e70e7a16c26d778ac4d98c02a9e156b547f26eacfb993a00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52394ef2c7de041e70e7a16c26d778ac4d98c02a9e156b547f26eacfb993a00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52394ef2c7de041e70e7a16c26d778ac4d98c02a9e156b547f26eacfb993a00b", kill_on_drop: false }` [INFO] [stdout] 52394ef2c7de041e70e7a16c26d778ac4d98c02a9e156b547f26eacfb993a00b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fba30b409780255cdfe080a396ef9c2f268d4ea4a9e4ced3e454316f98f413f [INFO] running `Command { std: "docker" "start" "-a" "0fba30b409780255cdfe080a396ef9c2f268d4ea4a9e4ced3e454316f98f413f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling okapi v0.7.0-rc.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0-rc.1 [INFO] [stderr] Compiling rocket_okapi v0.8.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `settings` [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/gen.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.33s [INFO] running `Command { std: "docker" "inspect" "0fba30b409780255cdfe080a396ef9c2f268d4ea4a9e4ced3e454316f98f413f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fba30b409780255cdfe080a396ef9c2f268d4ea4a9e4ced3e454316f98f413f", kill_on_drop: false }` [INFO] [stdout] 0fba30b409780255cdfe080a396ef9c2f268d4ea4a9e4ced3e454316f98f413f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e6459ee56379f63c7acc94f22017ae450ddc5b847052b0e9b7255cd0244413 [INFO] running `Command { std: "docker" "start" "-a" "15e6459ee56379f63c7acc94f22017ae450ddc5b847052b0e9b7255cd0244413", kill_on_drop: false }` [INFO] [stderr] Compiling rocket_okapi v0.8.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `settings` [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/gen.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `settings` [INFO] [stdout] --> src/gen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | settings: OpenApiSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/gen.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_okapi-ec79a96ed07ee53b) [INFO] running `Command { std: "docker" "inspect" "15e6459ee56379f63c7acc94f22017ae450ddc5b847052b0e9b7255cd0244413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e6459ee56379f63c7acc94f22017ae450ddc5b847052b0e9b7255cd0244413", kill_on_drop: false }` [INFO] [stdout] 15e6459ee56379f63c7acc94f22017ae450ddc5b847052b0e9b7255cd0244413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4fb0ade9a712e303cf0bdb7f75304eef0214422171eb56f3fd7edd95d495930 [INFO] running `Command { std: "docker" "start" "-a" "c4fb0ade9a712e303cf0bdb7f75304eef0214422171eb56f3fd7edd95d495930", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `settings` [INFO] [stderr] --> src/gen.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | settings: OpenApiSettings, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `OpenApiGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/gen.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rocket_okapi` (lib) generated 1 warning [INFO] [stderr] warning: `rocket_okapi` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_okapi-ec79a96ed07ee53b) [INFO] [stdout] [INFO] [stderr] Doc-tests 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 95) ... 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_okapi::swagger_ui` [INFO] [stdout] --> src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_okapi::swagger_ui::{make_swagger_ui, SwaggerUIConfig}; [INFO] [stdout] | ^^^^^^^^^^ could not find `swagger_ui` in `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c4fb0ade9a712e303cf0bdb7f75304eef0214422171eb56f3fd7edd95d495930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fb0ade9a712e303cf0bdb7f75304eef0214422171eb56f3fd7edd95d495930", kill_on_drop: false }` [INFO] [stdout] c4fb0ade9a712e303cf0bdb7f75304eef0214422171eb56f3fd7edd95d495930