[INFO] fetching crate df_rocket_okapi 0.4.1... [INFO] testing df_rocket_okapi-0.4.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate df_rocket_okapi 0.4.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate df_rocket_okapi 0.4.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate df_rocket_okapi 0.4.1 [INFO] finished tweaking crates.io crate df_rocket_okapi 0.4.1 [INFO] tweaked toml for crates.io crate df_rocket_okapi 0.4.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2226043983c60b5747bd6f642076901e04dd9810eb92b8978361d4fded18a04 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2226043983c60b5747bd6f642076901e04dd9810eb92b8978361d4fded18a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2226043983c60b5747bd6f642076901e04dd9810eb92b8978361d4fded18a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2226043983c60b5747bd6f642076901e04dd9810eb92b8978361d4fded18a04", kill_on_drop: false }` [INFO] [stdout] d2226043983c60b5747bd6f642076901e04dd9810eb92b8978361d4fded18a04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23574066bdc2aeca132c8b6c2135c19edc44294fa97c85fb5c8a96bf24ba8e0b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "23574066bdc2aeca132c8b6c2135c19edc44294fa97c85fb5c8a96bf24ba8e0b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling df_rocket_okapi_codegen v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling okapi v0.5.0-alpha-1 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling df_rocket_okapi v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "23574066bdc2aeca132c8b6c2135c19edc44294fa97c85fb5c8a96bf24ba8e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23574066bdc2aeca132c8b6c2135c19edc44294fa97c85fb5c8a96bf24ba8e0b", kill_on_drop: false }` [INFO] [stdout] 23574066bdc2aeca132c8b6c2135c19edc44294fa97c85fb5c8a96bf24ba8e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1658204d48bfe22a6e25ec5adf9485824360e5f6a25a5af2f5af79dcc26c1c4f [INFO] running `Command { std: "docker" "start" "-a" "1658204d48bfe22a6e25ec5adf9485824360e5f6a25a5af2f5af79dcc26c1c4f", kill_on_drop: false }` [INFO] [stderr] Compiling df_rocket_okapi v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "1658204d48bfe22a6e25ec5adf9485824360e5f6a25a5af2f5af79dcc26c1c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1658204d48bfe22a6e25ec5adf9485824360e5f6a25a5af2f5af79dcc26c1c4f", kill_on_drop: false }` [INFO] [stdout] 1658204d48bfe22a6e25ec5adf9485824360e5f6a25a5af2f5af79dcc26c1c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39c39e76415aad78dc7e05a5f823b66cc2872b36d0ef36a99eae5e1c79969669 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39c39e76415aad78dc7e05a5f823b66cc2872b36d0ef36a99eae5e1c79969669", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/df_rocket_okapi-3dc9a733c9ba4aab) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests df_rocket_okapi [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 2 tests [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] test src/request/from_query_multi_param_impls.rs - request::from_query_multi_param_impls::get_nested_query_parameters (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket_okapi::swagger_ui::{make_swagger_ui, SwaggerUIConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 30 | use rocket_okapi::swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket_okapi` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_okapi::{openapi, routes_with_openapi, JsonSchema}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `JsonSchema` [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(serde::Serialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `openapi` [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[openapi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `routes_with_openapi` [INFO] [stdout] --> src/lib.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 41 | .mount("/my_resource", routes_with_openapi![my_controller]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwaggerUIConfig` in this scope [INFO] [stdout] --> src/lib.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_docs() -> SwaggerUIConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use df_rocket_okapi::swagger_ui::SwaggerUIConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SwaggerUIConfig` in this scope [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 32 | SwaggerUIConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use df_rocket_okapi::swagger_ui::SwaggerUIConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UrlObject` [INFO] [stdout] --> src/lib.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 34 | urls: vec![UrlObject::new("My Resource", "/v1/company/openapi.json")], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use df_rocket_okapi::swagger_ui::UrlObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `make_swagger_ui` in this scope [INFO] [stdout] --> src/lib.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 42 | .mount("/swagger", make_swagger_ui(&get_docs())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use df_rocket_okapi::swagger_ui::make_swagger_ui; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request/from_query_multi_param_impls.rs - request::from_query_multi_param_impls::get_nested_query_parameters (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/request/from_query_multi_param_impls.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_okapi::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/request/from_query_multi_param_impls.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 28 | -> rocket_okapi::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `rocket_okapi` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OpenApiFromQuery` in this scope [INFO] [stdout] --> src/request/from_query_multi_param_impls.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'r> OpenApiFromQuery<'r> for ApiPagination { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use df_rocket_okapi::request::OpenApiFromQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OpenApiGenerator` in this scope [INFO] [stdout] --> src/request/from_query_multi_param_impls.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 27 | fn query_multi_parameter(gen: &mut OpenApiGenerator, name: String, required: bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use df_rocket_okapi::gen::OpenApiGenerator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_nested_query_parameters` in this scope [INFO] [stdout] --> src/request/from_query_multi_param_impls.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(get_nested_query_parameters::(gen, name, required)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use df_rocket_okapi::request::get_nested_query_parameters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/request/from_query_multi_param_impls.rs - request::from_query_multi_param_impls::get_nested_query_parameters (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "39c39e76415aad78dc7e05a5f823b66cc2872b36d0ef36a99eae5e1c79969669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c39e76415aad78dc7e05a5f823b66cc2872b36d0ef36a99eae5e1c79969669", kill_on_drop: false }` [INFO] [stdout] 39c39e76415aad78dc7e05a5f823b66cc2872b36d0ef36a99eae5e1c79969669