[INFO] fetching crate rocket_okapi_fork 0.7.4... [INFO] testing rocket_okapi_fork-0.7.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rocket_okapi_fork 0.7.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rocket_okapi_fork 0.7.4 [INFO] finished tweaking crates.io crate rocket_okapi_fork 0.7.4 [INFO] tweaked toml for crates.io crate rocket_okapi_fork 0.7.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_okapi_fork 0.7.4 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 186 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 atomic v0.6.1 [INFO] [stderr] Downloaded rocket_okapi_codegen_fork v0.7.1 [INFO] [stderr] Downloaded okapi_fork v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 18358e311cf791c91b171c4e5286ebbdeb73f5d52eecfb3e998dd81dddac6f3e [INFO] running `Command { std: "docker" "start" "-a" "18358e311cf791c91b171c4e5286ebbdeb73f5d52eecfb3e998dd81dddac6f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18358e311cf791c91b171c4e5286ebbdeb73f5d52eecfb3e998dd81dddac6f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18358e311cf791c91b171c4e5286ebbdeb73f5d52eecfb3e998dd81dddac6f3e", kill_on_drop: false }` [INFO] [stdout] 18358e311cf791c91b171c4e5286ebbdeb73f5d52eecfb3e998dd81dddac6f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9466e30338883c3bd40f4892157a78be10d5825b7a72d37d93fc925748a98418 [INFO] running `Command { std: "docker" "start" "-a" "9466e30338883c3bd40f4892157a78be10d5825b7a72d37d93fc925748a98418", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [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 num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 time v0.3.44 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [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 devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [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 toml_edit v0.22.27 [INFO] [stderr] Compiling okapi_fork v0.6.1 [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 toml v0.8.23 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rocket_okapi_codegen_fork v0.7.1 [INFO] [stderr] Compiling rocket_okapi_fork v0.7.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rocket::response::content::Custom` [INFO] [stdout] --> src/handlers/content.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::response::{content::Custom, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Custom` in `response::content` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rocket::response::status::Custom [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket::response::content::Custom` [INFO] [stdout] --> src/handlers/openapi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::response::content::Custom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Custom` in `response::content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 - use rocket::response::content::Custom; [INFO] [stdout] 4 + use rocket::response::status::Custom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Css` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 128 | response_content_wrapper!(Css, "text/css"); [INFO] [stdout] | ^^^ not found in `rocket::response::content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Html` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 129 | response_content_wrapper!(Html, "text/html"); [INFO] [stdout] | ^^^^ not found in `rocket::response::content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JavaScript` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 130 | response_content_wrapper!(JavaScript, "application/javascript"); [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `RawJavaScript` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/response/content.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / ctrs! { [INFO] [stdout] 70 | | // FIXME: Add a note that this is _not_ `serde::Json`. [INFO] [stdout] 71 | | RawJson: JSON, "JSON", "application/json", [INFO] [stdout] 72 | | RawXml: XML, "XML", "text/xml", [INFO] [stdout] ... | [INFO] [stdout] 77 | | RawJavaScript: JavaScript, "JavaScript", "application/javascript" [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- similarly named struct `RawJavaScript` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 131 | response_content_wrapper!(Json, "application/json"); [INFO] [stdout] | ^^^^ not found in `rocket::response::content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rocket::serde::json::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MsgPack` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 132 | response_content_wrapper!(MsgPack, "application/msgpack"); [INFO] [stdout] | ^^^^^^^ not found in `rocket::response::content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plain` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 133 | response_content_wrapper!(Plain, "text/plain"); [INFO] [stdout] | ^^^^^ not found in `rocket::response::content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Xml` in module `rocket::response::content` [INFO] [stdout] --> src/response/responder_impls.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 117 | for rocket::response::content::$responder [INFO] [stdout] | ---------- due to this macro variable [INFO] [stdout] ... [INFO] [stdout] 134 | response_content_wrapper!(Xml, "text/xml"); [INFO] [stdout] | ^^^ not found in `rocket::response::content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/swagger_ui.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | config_handler.into_route("/swagger-ui-config.json"), [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `R` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: AsRef<[u8]>` [INFO] [stdout] note: required by a bound in `handlers::content::ContentHandler::::into_route` [INFO] [stdout] --> src/handlers/content.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl + Clone + Send + Sync + 'static> ContentHandler { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ContentHandler::::into_route` [INFO] [stdout] 36 | /// Create a `rocket::Route` from the current `ContentHandler`. [INFO] [stdout] 37 | pub fn into_route(self, path: impl AsRef) -> Route { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/handlers/content.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Outcome::forward(data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ argument #2 of type `Status` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn forward(data: Data<'r>, status: Status) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 50 | Outcome::forward(data, /* Status */) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Failure` found for enum `Outcome` in the current scope [INFO] [stdout] --> src/handlers/content.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | Err(status) => Outcome::Failure(status), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Outcome, Status, (rocket::Data<'_>, Status)>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Outcome, Status, (rocket::Data<'_>, Status)>` consider using one of the following associated functions: [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::from [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::try_from [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::error [INFO] [stdout] route::handler::, Status, (rocket::Data<'o>, Status)>>::forward [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket-0.5.1/src/route/handler.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from>(req: &'r Request<'_>, responder: R) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / pub fn try_from(req: &'r Request<'_>, result: Result) -> Outcome<'r> [INFO] [stdout] 212 | | where R: Responder<'r, 'o>, E: std::fmt::Debug [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn error(code: Status) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn forward(data: Data<'r>, status: Status) -> Outcome<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283, E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_okapi_fork` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9466e30338883c3bd40f4892157a78be10d5825b7a72d37d93fc925748a98418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9466e30338883c3bd40f4892157a78be10d5825b7a72d37d93fc925748a98418", kill_on_drop: false }` [INFO] [stdout] 9466e30338883c3bd40f4892157a78be10d5825b7a72d37d93fc925748a98418