[INFO] fetching crate swaggapi 0.2.2... [INFO] building swaggapi-0.2.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate swaggapi 0.2.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate swaggapi 0.2.2 [INFO] finished tweaking crates.io crate swaggapi 0.2.2 [INFO] tweaked toml for crates.io crate swaggapi 0.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swaggapi 0.2.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 214 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.5) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-embed-impl v5.9.0 [INFO] [stderr] Downloaded rust-embed-utils v5.1.0 [INFO] [stderr] Downloaded swaggapi-macro v0.2.0 [INFO] [stderr] Downloaded unicase v2.8.1 [INFO] [stderr] Downloaded actix-files v0.6.8 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded shellexpand v2.1.2 [INFO] [stderr] Downloaded tower v0.4.13 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded v_htmlescape v0.15.8 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded openapiv3 v2.2.0 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded swagger-ui v0.1.5 [INFO] [stderr] Downloaded rust-embed v5.9.0 [INFO] [stderr] Downloaded indexmap v2.11.4 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5333278455c8a4b9ffd9c6d517012c873611a7d63af623cfc4d410a43343b1e8 [INFO] running `Command { std: "docker" "start" "-a" "5333278455c8a4b9ffd9c6d517012c873611a7d63af623cfc4d410a43343b1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5333278455c8a4b9ffd9c6d517012c873611a7d63af623cfc4d410a43343b1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5333278455c8a4b9ffd9c6d517012c873611a7d63af623cfc4d410a43343b1e8", kill_on_drop: false }` [INFO] [stdout] 5333278455c8a4b9ffd9c6d517012c873611a7d63af623cfc4d410a43343b1e8 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fc3b1b7ea8b2df124a6beca76c7fe32d3a682b5613c1ac11759220aa94654d [INFO] running `Command { std: "docker" "start" "-a" "d4fc3b1b7ea8b2df124a6beca76c7fe32d3a682b5613c1ac11759220aa94654d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rust-embed v5.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling swaggapi-macro v0.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling swagger-ui v0.1.5 [INFO] [stderr] Compiling openapiv3 v2.2.0 [INFO] [stderr] Compiling swaggapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct HandlerArgumentFns { [INFO] [stdout] 48 | pub(crate) request_body: fn(&mut SchemaGenerator) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) parameters: fn(&mut SchemaGenerator) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.86s [INFO] running `Command { std: "docker" "inspect" "d4fc3b1b7ea8b2df124a6beca76c7fe32d3a682b5613c1ac11759220aa94654d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fc3b1b7ea8b2df124a6beca76c7fe32d3a682b5613c1ac11759220aa94654d", kill_on_drop: false }` [INFO] [stdout] d4fc3b1b7ea8b2df124a6beca76c7fe32d3a682b5613c1ac11759220aa94654d [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4413b20c3ec63ef98945f2cd508434f090857e907a7304a977ef6e33b6f1bf89 [INFO] running `Command { std: "docker" "start" "-a" "4413b20c3ec63ef98945f2cd508434f090857e907a7304a977ef6e33b6f1bf89", kill_on_drop: false }` [INFO] [stderr] Compiling swaggapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct HandlerArgumentFns { [INFO] [stdout] 48 | pub(crate) request_body: fn(&mut SchemaGenerator) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) parameters: fn(&mut SchemaGenerator) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct HandlerArgumentFns { [INFO] [stdout] 48 | pub(crate) request_body: fn(&mut SchemaGenerator) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/handler_argument/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Eq, PartialEq, Copy, Clone, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) parameters: fn(&mut SchemaGenerator) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "4413b20c3ec63ef98945f2cd508434f090857e907a7304a977ef6e33b6f1bf89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4413b20c3ec63ef98945f2cd508434f090857e907a7304a977ef6e33b6f1bf89", kill_on_drop: false }` [INFO] [stdout] 4413b20c3ec63ef98945f2cd508434f090857e907a7304a977ef6e33b6f1bf89