[INFO] fetching crate elif-openapi 0.2.0... [INFO] testing elif-openapi-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate elif-openapi 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate elif-openapi 0.2.0 [INFO] finished tweaking crates.io crate elif-openapi 0.2.0 [INFO] tweaked toml for crates.io crate elif-openapi 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elif-openapi 0.2.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elif-openapi 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded service-builder-macro v0.3.0 [INFO] [stderr] Downloaded elif-openapi-derive v0.2.0 [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded service-builder v0.3.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.23.1 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded elif-http v0.7.0 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded elif-orm v0.7.0 [INFO] [stderr] Downloaded sqlparser v0.49.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded elif-core v0.5.0 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31fed06da8481b8e8ef5f2701c6710e7ad44e25d0005793a63041923edc4ee2c [INFO] running `Command { std: "docker" "start" "-a" "31fed06da8481b8e8ef5f2701c6710e7ad44e25d0005793a63041923edc4ee2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31fed06da8481b8e8ef5f2701c6710e7ad44e25d0005793a63041923edc4ee2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31fed06da8481b8e8ef5f2701c6710e7ad44e25d0005793a63041923edc4ee2c", kill_on_drop: false }` [INFO] [stdout] 31fed06da8481b8e8ef5f2701c6710e7ad44e25d0005793a63041923edc4ee2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef472d0aff3a89448ff5c39eea4f84071c5aa5898f23314f3ec90ea02c1ef9e [INFO] running `Command { std: "docker" "start" "-a" "aef472d0aff3a89448ff5c39eea4f84071c5aa5898f23314f3ec90ea02c1ef9e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling service-builder-macro v0.3.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling service-builder v0.3.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling elif-core v0.5.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling sqlparser v0.49.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling elif-http v0.7.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling elif-openapi-derive v0.2.0 [INFO] [stderr] Compiling inventory v0.3.20 [INFO] [stderr] Compiling elif-orm v0.7.0 [INFO] [stderr] Compiling elif-openapi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ElifRouter` and `RouteInfo` [INFO] [stdout] --> src/generator.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use elif_http::routing::{ElifRouter, RouteInfo}; [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: `OpenApiError` [INFO] [stdout] --> src/export.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{OpenApiError, OpenApiResult}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_documentation_from_lines` is never used [INFO] [stdout] --> src/discovery.rs:584:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl ProjectDiscovery { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | fn extract_documentation_from_lines(&self, lines: &[&str], route_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "aef472d0aff3a89448ff5c39eea4f84071c5aa5898f23314f3ec90ea02c1ef9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef472d0aff3a89448ff5c39eea4f84071c5aa5898f23314f3ec90ea02c1ef9e", kill_on_drop: false }` [INFO] [stdout] aef472d0aff3a89448ff5c39eea4f84071c5aa5898f23314f3ec90ea02c1ef9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5a5283921f211a123c849a753451fe3b801c3646c94952a6d79a34ea74d409 [INFO] running `Command { std: "docker" "start" "-a" "de5a5283921f211a123c849a753451fe3b801c3646c94952a6d79a34ea74d409", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling elif-core v0.5.0 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling elif-orm v0.7.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling elif-http v0.7.0 [INFO] [stderr] Compiling elif-openapi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ElifRouter` and `RouteInfo` [INFO] [stdout] --> src/generator.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use elif_http::routing::{ElifRouter, RouteInfo}; [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: `OpenApiError` [INFO] [stdout] --> src/export.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{OpenApiError, OpenApiResult}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_documentation_from_lines` is never used [INFO] [stdout] --> src/discovery.rs:584:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl ProjectDiscovery { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | fn extract_documentation_from_lines(&self, lines: &[&str], route_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElifRouter` and `RouteInfo` [INFO] [stdout] --> src/generator.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use elif_http::routing::{ElifRouter, RouteInfo}; [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: `OpenApiError` [INFO] [stdout] --> src/export.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{OpenApiError, OpenApiResult}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiInfo` and `Operation` [INFO] [stdout] --> src/export.rs:483:32 [INFO] [stdout] | [INFO] [stdout] 483 | use crate::specification::{ApiInfo, OpenApiSpec, Operation}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/export.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiInfo` [INFO] [stdout] --> src/utils.rs:586:32 [INFO] [stdout] | [INFO] [stdout] 586 | use crate::specification::{ApiInfo, Schema}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_documentation_from_lines` is never used [INFO] [stdout] --> src/discovery.rs:584:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl ProjectDiscovery { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | fn extract_documentation_from_lines(&self, lines: &[&str], route_index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_spec` is never used [INFO] [stdout] --> src/test_utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_test_spec() -> OpenApiSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_route` is never used [INFO] [stdout] --> src/test_utils.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn create_test_route() -> RouteMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_controller` is never used [INFO] [stdout] --> src/test_utils.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create_test_controller() -> ControllerInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_schema` is never used [INFO] [stdout] --> src/test_utils.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn create_test_schema() -> Schema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_operation` is never used [INFO] [stdout] --> src/test_utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn create_test_operation() -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_components` is never used [INFO] [stdout] --> src/test_utils.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn create_test_components() -> Components { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_valid_spec` is never used [INFO] [stdout] --> src/test_utils.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn assert_valid_spec(spec: &OpenApiSpec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_valid_route` is never used [INFO] [stdout] --> src/test_utils.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn assert_valid_route(route: &RouteMetadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "de5a5283921f211a123c849a753451fe3b801c3646c94952a6d79a34ea74d409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5a5283921f211a123c849a753451fe3b801c3646c94952a6d79a34ea74d409", kill_on_drop: false }` [INFO] [stdout] de5a5283921f211a123c849a753451fe3b801c3646c94952a6d79a34ea74d409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d39c1333c73320ba11cf6ef7578f5c35e588b8b2cbeca5ee353926b8edf54f2e [INFO] running `Command { std: "docker" "start" "-a" "d39c1333c73320ba11cf6ef7578f5c35e588b8b2cbeca5ee353926b8edf54f2e", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ElifRouter` and `RouteInfo` [INFO] [stderr] --> src/generator.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use elif_http::routing::{ElifRouter, RouteInfo}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenApiError` [INFO] [stderr] --> src/export.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | error::{OpenApiError, OpenApiResult}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `extract_documentation_from_lines` is never used [INFO] [stderr] --> src/discovery.rs:584:8 [INFO] [stderr] | [INFO] [stderr] 72 | impl ProjectDiscovery { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 584 | fn extract_documentation_from_lines(&self, lines: &[&str], route_index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `elif-openapi` (lib) generated 3 warnings (run `cargo fix --lib -p elif-openapi` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `ApiInfo` and `Operation` [INFO] [stderr] --> src/export.rs:483:32 [INFO] [stderr] | [INFO] [stderr] 483 | use crate::specification::{ApiInfo, OpenApiSpec, Operation}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/export.rs:484:9 [INFO] [stderr] | [INFO] [stderr] 484 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ApiInfo` [INFO] [stderr] --> src/utils.rs:586:32 [INFO] [stderr] | [INFO] [stderr] 586 | use crate::specification::{ApiInfo, Schema}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_spec` is never used [INFO] [stderr] --> src/test_utils.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn create_test_spec() -> OpenApiSpec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_route` is never used [INFO] [stderr] --> src/test_utils.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn create_test_route() -> RouteMetadata { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_controller` is never used [INFO] [stderr] --> src/test_utils.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn create_test_controller() -> ControllerInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_schema` is never used [INFO] [stderr] --> src/test_utils.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn create_test_schema() -> Schema { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_operation` is never used [INFO] [stderr] --> src/test_utils.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn create_test_operation() -> Operation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_components` is never used [INFO] [stderr] --> src/test_utils.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn create_test_components() -> Components { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assert_valid_spec` is never used [INFO] [stderr] --> src/test_utils.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn assert_valid_spec(spec: &OpenApiSpec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assert_valid_route` is never used [INFO] [stderr] --> src/test_utils.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn assert_valid_route(route: &RouteMetadata) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `elif-openapi` (lib test) generated 14 warnings (3 duplicates) (run `cargo fix --lib -p elif-openapi --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elif_openapi-4ab84198c71af66e) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test discovery::tests::test_project_discovery_creation ... ok [INFO] [stdout] test discovery::tests::test_robust_toml_parsing ... ok [INFO] [stdout] test endpoints::tests::test_controller_info_creation ... ok [INFO] [stdout] test discovery::tests::test_toml_parsing_with_different_key_ordering ... ok [INFO] [stdout] test discovery::tests::test_toml_parsing_with_missing_package_section ... ok [INFO] [stdout] test discovery::tests::test_ast_based_struct_parsing ... ok [INFO] [stdout] test discovery::tests::test_toml_parsing_with_minimal_package ... ok [INFO] [stdout] test endpoints::tests::test_endpoint_discovery_creation ... ok [INFO] [stdout] test export::tests::test_postman_export ... ok [INFO] [stdout] test endpoints::tests::test_path_joining_robust_logic ... ok [INFO] [stdout] test generator::tests::test_empty_routes_generation ... ok [INFO] [stdout] test generator::tests::test_generator_creation ... ok [INFO] [stdout] test schema::tests::test_array_schema_generation ... ok [INFO] [stdout] test schema::tests::test_optional_schema_generation ... ok [INFO] [stdout] test schema::tests::test_primitive_schema_generation ... ok [INFO] [stdout] test schema::tests::test_struct_schema_generation ... ok [INFO] [stdout] test schema::tests::test_tuple_schema_representation ... ok [INFO] [stdout] test swagger::tests::test_static_html_generation ... ok [INFO] [stdout] test swagger::tests::test_swagger_config_creation ... ok [INFO] [stdout] test endpoints::tests::test_route_metadata_conversion_with_base_path ... ok [INFO] [stdout] test utils::tests::test_example_generation ... ok [INFO] [stdout] test endpoints::tests::test_path_parameter_extraction ... ok [INFO] [stdout] test export::tests::test_postman_collection_creation ... ok [INFO] [stdout] test generator::tests::test_basic_route_generation ... ok [INFO] [stdout] test utils::tests::test_schema_reference_detection_accurate ... ok [INFO] [stdout] test endpoints::tests::test_route_metadata_conversion ... ok [INFO] [stdout] test export::tests::test_insomnia_workspace_creation ... ok [INFO] [stdout] test endpoints::tests::test_endpoint_metadata_creation ... ok [INFO] [stdout] test swagger::tests::test_swagger_ui_creation ... ok [INFO] [stdout] test utils::tests::test_schema_reference_in_composition ... ok [INFO] [stdout] test utils::tests::test_schema_reference_false_positive_prevention ... ok [INFO] [stdout] test utils::tests::test_resource_extraction ... ok [INFO] [stdout] test utils::tests::test_operation_summary_generation ... ok [INFO] [stdout] test utils::tests::test_pluralization ... ok [INFO] [stdout] test utils::tests::test_schema_reference_in_nested_schemas ... ok [INFO] [stdout] test utils::tests::test_singularization ... ok [INFO] [stdout] test utils::tests::test_schema_reference_in_operations ... ok [INFO] [stdout] test utils::tests::test_spec_validation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests elif_openapi [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d39c1333c73320ba11cf6ef7578f5c35e588b8b2cbeca5ee353926b8edf54f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d39c1333c73320ba11cf6ef7578f5c35e588b8b2cbeca5ee353926b8edf54f2e", kill_on_drop: false }` [INFO] [stdout] d39c1333c73320ba11cf6ef7578f5c35e588b8b2cbeca5ee353926b8edf54f2e