[INFO] fetching crate apifox2code 0.1.4... [INFO] checking apifox2code-0.1.4 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate apifox2code 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate apifox2code 0.1.4 [INFO] finished tweaking crates.io crate apifox2code 0.1.4 [INFO] tweaked toml for crates.io crate apifox2code 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate apifox2code 0.1.4 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate apifox2code 0.1.4 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1823d4ca53f8be1e0d4d1f42b73d323a4b9a7a94b1b0ccda42c6a9682147b6ae [INFO] running `Command { std: "docker" "start" "-a" "1823d4ca53f8be1e0d4d1f42b73d323a4b9a7a94b1b0ccda42c6a9682147b6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1823d4ca53f8be1e0d4d1f42b73d323a4b9a7a94b1b0ccda42c6a9682147b6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1823d4ca53f8be1e0d4d1f42b73d323a4b9a7a94b1b0ccda42c6a9682147b6ae", kill_on_drop: false }` [INFO] [stdout] 1823d4ca53f8be1e0d4d1f42b73d323a4b9a7a94b1b0ccda42c6a9682147b6ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8786f588a48ee52e64d21dc1f7e54cbbff9b43b723a99e4eeaa0ffed3d97495d [INFO] running `Command { std: "docker" "start" "-a" "8786f588a48ee52e64d21dc1f7e54cbbff9b43b723a99e4eeaa0ffed3d97495d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking apifox2code v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/typescript_generator.rs:966:42 [INFO] [stdout] | [INFO] [stdout] 966 | ... if let (Some(code), Some(message), Some(data)) = ( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/typescript_generator.rs:966:54 [INFO] [stdout] | [INFO] [stdout] 966 | ... if let (Some(code), Some(message), Some(data)) = ( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_properties` [INFO] [stdout] --> src/typescript_generator.rs:975:53 [INFO] [stdout] | [INFO] [stdout] 975 | ... if let Some(data_properties) = data.get("properties") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_simple_object_type`, `schema_ref_to_type_name`, `extract_response_type`, `extract_data_type_from_response`, `extract_schema_type`, and `response_schema_to_typescript` are never used [INFO] [stdout] --> src/typescript_generator.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl TypeScriptGenerator { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn is_simple_object_type(&self, object_type: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | fn schema_ref_to_type_name(&self, schema: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | fn extract_response_type(&self, operation: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | fn extract_data_type_from_response(&self, response: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 918 | fn extract_schema_type(&self, response: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 935 | fn response_schema_to_typescript(&self, schema: Option<&Value>) -> String { [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 `path_to_template_string`, `render_custom_template`, and `list_available_templates` are never used [INFO] [stdout] --> src/template_engine.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TemplateEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn path_to_template_string(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn render_custom_template(&self, template_name: &str, context: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn list_available_templates(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/typescript_generator.rs:966:42 [INFO] [stdout] | [INFO] [stdout] 966 | ... if let (Some(code), Some(message), Some(data)) = ( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/typescript_generator.rs:966:54 [INFO] [stdout] | [INFO] [stdout] 966 | ... if let (Some(code), Some(message), Some(data)) = ( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_properties` [INFO] [stdout] --> src/typescript_generator.rs:975:53 [INFO] [stdout] | [INFO] [stdout] 975 | ... if let Some(data_properties) = data.get("properties") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_simple_object_type`, `schema_ref_to_type_name`, `extract_response_type`, `extract_data_type_from_response`, `extract_schema_type`, and `response_schema_to_typescript` are never used [INFO] [stdout] --> src/typescript_generator.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl TypeScriptGenerator { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | fn is_simple_object_type(&self, object_type: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | fn schema_ref_to_type_name(&self, schema: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | fn extract_response_type(&self, operation: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | fn extract_data_type_from_response(&self, response: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 918 | fn extract_schema_type(&self, response: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 935 | fn response_schema_to_typescript(&self, schema: Option<&Value>) -> String { [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 `path_to_template_string`, `render_custom_template`, and `list_available_templates` are never used [INFO] [stdout] --> src/template_engine.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TemplateEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn path_to_template_string(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn render_custom_template(&self, template_name: &str, context: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn list_available_templates(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.29s [INFO] running `Command { std: "docker" "inspect" "8786f588a48ee52e64d21dc1f7e54cbbff9b43b723a99e4eeaa0ffed3d97495d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8786f588a48ee52e64d21dc1f7e54cbbff9b43b723a99e4eeaa0ffed3d97495d", kill_on_drop: false }` [INFO] [stdout] 8786f588a48ee52e64d21dc1f7e54cbbff9b43b723a99e4eeaa0ffed3d97495d