[INFO] fetching crate rocket_okapi_fork 0.7.1... [INFO] testing rocket_okapi_fork-0.7.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate rocket_okapi_fork 0.7.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rocket_okapi_fork 0.7.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_okapi_fork 0.7.1 [INFO] finished tweaking crates.io crate rocket_okapi_fork 0.7.1 [INFO] tweaked toml for crates.io crate rocket_okapi_fork 0.7.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", 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] 466126ec7c68f635ef45449746d8e8392ab0b97e1a3e037180409b4c291df6d8 [INFO] running `Command { std: "docker" "start" "-a" "466126ec7c68f635ef45449746d8e8392ab0b97e1a3e037180409b4c291df6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "466126ec7c68f635ef45449746d8e8392ab0b97e1a3e037180409b4c291df6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466126ec7c68f635ef45449746d8e8392ab0b97e1a3e037180409b4c291df6d8", kill_on_drop: false }` [INFO] [stdout] 466126ec7c68f635ef45449746d8e8392ab0b97e1a3e037180409b4c291df6d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--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] 05790f8a33187a8ea382490ad0eefe1757078b9e0211c8266e3326d7ed5ddf0a [INFO] running `Command { std: "docker" "start" "-a" "05790f8a33187a8ea382490ad0eefe1757078b9e0211c8266e3326d7ed5ddf0a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling okapi_fork v0.6.1 [INFO] [stderr] Compiling hyper v0.14.10 [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_fork v0.7.1 [INFO] [stderr] Compiling rocket_okapi_fork v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "05790f8a33187a8ea382490ad0eefe1757078b9e0211c8266e3326d7ed5ddf0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05790f8a33187a8ea382490ad0eefe1757078b9e0211c8266e3326d7ed5ddf0a", kill_on_drop: false }` [INFO] [stdout] 05790f8a33187a8ea382490ad0eefe1757078b9e0211c8266e3326d7ed5ddf0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] 161fb5899d035b01284201aa2585db372de374883a180e4ee7e4575444bc9fe9 [INFO] running `Command { std: "docker" "start" "-a" "161fb5899d035b01284201aa2585db372de374883a180e4ee7e4575444bc9fe9", kill_on_drop: false }` [INFO] [stderr] Compiling rocket_okapi_fork v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "161fb5899d035b01284201aa2585db372de374883a180e4ee7e4575444bc9fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "161fb5899d035b01284201aa2585db372de374883a180e4ee7e4575444bc9fe9", kill_on_drop: false }` [INFO] [stdout] 161fb5899d035b01284201aa2585db372de374883a180e4ee7e4575444bc9fe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f98a628b7b67908623f40e1741c92bab3f224cd4cde9405919ea688224e6664 [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" "6f98a628b7b67908623f40e1741c92bab3f224cd4cde9405919ea688224e6664", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rocket_okapi_fork-50db06109eaa381c) [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_okapi_fork [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 22) - compile ... FAILED [INFO] [stdout] test src/request/from_form_multi_param_impls.rs - request::from_form_multi_param_impls::get_nested_form_parameters (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:42:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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:25:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:28:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:33:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[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:53:32 [INFO] [stdout] | [INFO] [stdout] 32 | .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:41:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_docs() -> SwaggerUIConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_okapi_fork::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:44:5 [INFO] [stdout] | [INFO] [stdout] 23 | SwaggerUIConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_okapi_fork::swagger_ui::SwaggerUIConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UrlObject` [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 2 | use rocket_okapi_fork::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:54:28 [INFO] [stdout] | [INFO] [stdout] 33 | .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] 2 | use rocket_okapi_fork::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_form_multi_param_impls.rs - request::from_form_multi_param_impls::get_nested_form_parameters (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket_okapi` [INFO] [stdout] --> src/request/from_form_multi_param_impls.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_okapi::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/request/from_form_multi_param_impls.rs - request::from_form_multi_param_impls::get_nested_form_parameters (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6f98a628b7b67908623f40e1741c92bab3f224cd4cde9405919ea688224e6664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f98a628b7b67908623f40e1741c92bab3f224cd4cde9405919ea688224e6664", kill_on_drop: false }` [INFO] [stdout] 6f98a628b7b67908623f40e1741c92bab3f224cd4cde9405919ea688224e6664