[INFO] cloning repository https://github.com/upachler/cogenitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upachler/cogenitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupachler%2Fcogenitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupachler%2Fcogenitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ed0d1c9f8f2b39c78d286b12a27e5988c0c85b3 [INFO] checking upachler/cogenitor against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupachler%2Fcogenitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/upachler/cogenitor [INFO] finished tweaking git repo https://github.com/upachler/cogenitor [INFO] tweaked toml for git repo https://github.com/upachler/cogenitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/upachler/cogenitor on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/upachler/cogenitor 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/cogenitor-test/Cargo.toml: unused manifest key: build [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 [ERROR] error running command: no output for 300 seconds [INFO] checking upachler/cogenitor against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupachler%2Fcogenitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/upachler/cogenitor [INFO] finished tweaking git repo https://github.com/upachler/cogenitor [INFO] tweaked toml for git repo https://github.com/upachler/cogenitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/upachler/cogenitor on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/upachler/cogenitor 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/source/cogenitor-test/Cargo.toml: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert-tokenstreams-eq v0.1.0 [INFO] [stderr] Downloaded rust-format v0.3.4 [INFO] [stderr] Downloaded oas3 v0.13.1 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded libyml v0.0.5 [INFO] [stderr] Downloaded yaml-rust2 v0.10.1 [INFO] [stderr] Downloaded serde_yml v0.0.12 [INFO] [stderr] Downloaded openapiv3 v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fa23b60cf0c347894342bc22b84191c0d17d47ceb2d8fb867616a1e70af2041 [INFO] running `Command { std: "docker" "start" "-a" "8fa23b60cf0c347894342bc22b84191c0d17d47ceb2d8fb867616a1e70af2041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fa23b60cf0c347894342bc22b84191c0d17d47ceb2d8fb867616a1e70af2041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa23b60cf0c347894342bc22b84191c0d17d47ceb2d8fb867616a1e70af2041", kill_on_drop: false }` [INFO] [stdout] 8fa23b60cf0c347894342bc22b84191c0d17d47ceb2d8fb867616a1e70af2041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ff82c4be437e454c2d69401939d9e508f50724ee586f1a07166d3e545e8a0d [INFO] running `Command { std: "docker" "start" "-a" "63ff82c4be437e454c2d69401939d9e508f50724ee586f1a07166d3e545e8a0d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/cogenitor-test/Cargo.toml: unused manifest key: build [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Checking semver v1.0.26 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking rust-format v0.3.4 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking yaml-rust2 v0.10.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling cogenitor-test v0.1.0 (/opt/rustwide/workdir/cogenitor-test) [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Checking test-log v0.2.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking assert-tokenstreams-eq v0.1.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking cogenitor-model v0.1.0 (/opt/rustwide/workdir/cogenitor-model) [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> cogenitor-model/src/lib.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pet_findbystatus_get(self: &Self, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> cogenitor-model/src/lib.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pet_findbystatus_get(self: &Self, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> cogenitor-model/src/lib.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn pet_findbytags_get(self: &Self, tags: Vec) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> cogenitor-model/src/lib.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn pet_findbytags_get(self: &Self, tags: Vec) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pet_petid_get(self: &Self, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pet_petid_get(self: &Self, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:52 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:52 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:66 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:66 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | petId: i64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additionalMetadata` [INFO] [stdout] --> cogenitor-model/src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | additionalMetadata: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additionalMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `petId` [INFO] [stdout] --> cogenitor-model/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | petId: i64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_petId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additionalMetadata` [INFO] [stdout] --> cogenitor-model/src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | additionalMetadata: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additionalMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PetPutOk200Content` is more private than the item `Client::pet_put` [INFO] [stdout] --> cogenitor-model/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pet_put(self: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::pet_put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PetPutOk200Content` is only usable at visibility `pub(crate)` [INFO] [stdout] --> cogenitor-model/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum PetPutOk200Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PetPutOk200Content` is more private than the item `Client::pet_put` [INFO] [stdout] --> cogenitor-model/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pet_put(self: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::pet_put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PetPutOk200Content` is only usable at visibility `pub(crate)` [INFO] [stdout] --> cogenitor-model/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | enum PetPutOk200Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PetPutError` is more private than the item `Client::pet_put` [INFO] [stdout] --> cogenitor-model/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pet_put(self: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::pet_put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PetPutError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> cogenitor-model/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | enum PetPutError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PetPutError` is more private than the item `Client::pet_put` [INFO] [stdout] --> cogenitor-model/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pet_put(self: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::pet_put` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PetPutError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> cogenitor-model/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | enum PetPutError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiError` is never used [INFO] [stdout] --> cogenitor-model/src/lib.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | enum ApiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiError` is never used [INFO] [stdout] --> cogenitor-model/src/lib.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | enum ApiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ApplicationJson` and `ApplicationXml` are never constructed [INFO] [stdout] --> cogenitor-model/src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum PetPutOk200Content { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 97 | ApplicationJson(Pet), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | ApplicationXml(Pet), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ApplicationJson` and `ApplicationXml` are never constructed [INFO] [stdout] --> cogenitor-model/src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | enum PetPutOk200Content { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 97 | ApplicationJson(Pet), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | ApplicationXml(Pet), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Status400`, `Status404`, `Status422`, `UndefinedError`, and `UndefinedResponse` are never constructed [INFO] [stdout] --> cogenitor-model/src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | enum PetPutError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 102 | Status400, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Status404, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 104 | Status422, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | UndefinedError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 106 | UndefinedResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Status400`, `Status404`, `Status422`, `UndefinedError`, and `UndefinedResponse` are never constructed [INFO] [stdout] --> cogenitor-model/src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | enum PetPutError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 102 | Status400, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Status404, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 104 | Status422, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | UndefinedError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 106 | UndefinedResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub petId: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `shipDate` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub shipDate: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ship_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub petId: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `shipDate` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub shipDate: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ship_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `firstName` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub firstName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userStatus` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub userStatus: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `user_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastName` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub lastName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `firstName` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub firstName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userStatus` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub userStatus: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `user_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastName` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub lastName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `photoUrls` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub photoUrls: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `photo_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `photoUrls` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub photoUrls: Vec, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `photo_urls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pet_petid_get(self: &Self, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | petId: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `additionalMetadata` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | additionalMetadata: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `additional_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pet_petid_get(self: &Self, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:125:40 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn pet_petid_post(self: &Self, petId: i64, name: String, status: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pet_petid_delete(self: &Self, api_key: String, petId: i64) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `petId` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | petId: i64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `additionalMetadata` should have a snake case name [INFO] [stdout] --> cogenitor-model/src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | additionalMetadata: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `additional_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking openapiv3 v2.0.0 [INFO] [stderr] Checking oas3 v0.13.1 [INFO] [stderr] Checking cogenitor-core v0.1.0 (/opt/rustwide/workdir/cogenitor-core) [INFO] [stdout] warning: unused imports: `num::ParseIntError` and `string::ParseError` [INFO] [stdout] --> cogenitor-core/src/types.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, num::ParseIntError, str::FromStr, string::ParseError}; [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 imports: `num::ParseIntError` and `string::ParseError` [INFO] [stdout] --> cogenitor-core/src/types.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, num::ParseIntError, str::FromStr, string::ParseError}; [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 imports: `num::ParseIntError` and `string::ParseError` [INFO] [stdout] --> cogenitor-core/src/types.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, num::ParseIntError, str::FromStr, string::ParseError}; [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 variable: `path_item` [INFO] [stdout] --> cogenitor-core/src/lib.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | path_item: &S::PathItem, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_item` [INFO] [stdout] --> cogenitor-core/src/lib.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | path_item: &S::PathItem, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media_type_key` [INFO] [stdout] --> cogenitor-core/src/lib.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | media_type_key: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_media_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media_type_key` [INFO] [stdout] --> cogenitor-core/src/lib.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | media_type_key: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_media_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cogenitor-core/src/lib.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | HashMap(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - HashMap(Box), [INFO] [stdout] 220 + HashMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Builtin` is never constructed [INFO] [stdout] --> cogenitor-core/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | enum TypeKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Null` is never constructed [INFO] [stdout] --> cogenitor-core/src/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 36 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri` is never used [INFO] [stdout] --> cogenitor-core/src/types.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait Reference: PartialEq + Eq + Clone + std::fmt::Debug [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn uri(&self) -> &str; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_name_of_reference_or` is never used [INFO] [stdout] --> cogenitor-core/src/adapters/oas30/obj/schema.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn schema_name_of_reference_or( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cogenitor-core/src/lib.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | HashMap(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - HashMap(Box), [INFO] [stdout] 220 + HashMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Builtin` is never constructed [INFO] [stdout] --> cogenitor-core/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | enum TypeKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Null` is never constructed [INFO] [stdout] --> cogenitor-core/src/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 36 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri` is never used [INFO] [stdout] --> cogenitor-core/src/types.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait Reference: PartialEq + Eq + Clone + std::fmt::Debug [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn uri(&self) -> &str; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_name_of_reference_or` is never used [INFO] [stdout] --> cogenitor-core/src/adapters/oas30/obj/schema.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn schema_name_of_reference_or( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cogenitor-macro v0.1.0 (/opt/rustwide/workdir/cogenitor-macro) [INFO] [stdout] warning: unused variable: `path_item` [INFO] [stdout] --> cogenitor-core/src/lib.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | path_item: &S::PathItem, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media_type_key` [INFO] [stdout] --> cogenitor-core/src/lib.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | media_type_key: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_media_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cogenitor-core/src/lib.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | HashMap(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - HashMap(Box), [INFO] [stdout] 220 + HashMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Builtin` is never constructed [INFO] [stdout] --> cogenitor-core/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | enum TypeKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_token_stream` is never used [INFO] [stdout] --> cogenitor-core/src/codemodel.rs:1037:23 [INFO] [stdout] | [INFO] [stdout] 1029 | impl TypeRefOrTokenStream { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1037 | pub(crate) fn unwrap_token_stream(&self) -> &TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Null` is never constructed [INFO] [stdout] --> cogenitor-core/src/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 36 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri` is never used [INFO] [stdout] --> cogenitor-core/src/types.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait Reference: PartialEq + Eq + Clone + std::fmt::Debug [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn uri(&self) -> &str; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_name_of_reference_or` is never used [INFO] [stdout] --> cogenitor-core/src/adapters/oas30/obj/schema.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn schema_name_of_reference_or( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `num::ParseIntError` and `string::ParseError` [INFO] [stdout] --> cogenitor-core/src/types.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, num::ParseIntError, str::FromStr, string::ParseError}; [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 variable: `path_item` [INFO] [stdout] --> cogenitor-core/src/lib.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | path_item: &S::PathItem, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media_type_key` [INFO] [stdout] --> cogenitor-core/src/lib.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | media_type_key: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_media_type_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cogenitor-core/src/lib.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | HashMap(Box), [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 220 - HashMap(Box), [INFO] [stdout] 220 + HashMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Builtin` is never constructed [INFO] [stdout] --> cogenitor-core/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | enum TypeKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 217 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Null` is never constructed [INFO] [stdout] --> cogenitor-core/src/types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 36 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uri` is never used [INFO] [stdout] --> cogenitor-core/src/types.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait Reference: PartialEq + Eq + Clone + std::fmt::Debug [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn uri(&self) -> &str; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_name_of_reference_or` is never used [INFO] [stdout] --> cogenitor-core/src/adapters/oas30/obj/schema.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn schema_name_of_reference_or( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cogenitor v0.1.0 (/opt/rustwide/workdir/cogenitor) [INFO] [stdout] creating type for schema 'Order [INFO] [stdout] creating type for schema 'Category [INFO] [stdout] creating type for schema 'User [INFO] [stdout] creating type for schema 'Tag [INFO] [stdout] creating type for schema 'Pet [INFO] [stdout] creating type for schema 'ApiResponse [INFO] [stdout] creating type for schema 'Order [INFO] [stdout] creating method for PUT /pet [INFO] [stdout] creating type for schema 'Category [INFO] [stdout] creating type for schema 'User [INFO] [stdout] creating method for POST /pet [INFO] [stdout] creating type for schema 'Tag [INFO] [stdout] creating method for GET /pet/findByStatus [INFO] [stdout] creating type for schema 'Pet [INFO] [stdout] creating type for schema 'ApiResponse [INFO] [stdout] creating method for GET /pet/findByTags [INFO] [stdout] creating method for PUT /pet [INFO] [stdout] creating method for POST /pet [INFO] [stdout] creating method for GET /pet/{petId} [INFO] [stdout] creating method for POST /pet/{petId} [INFO] [stdout] creating method for GET /pet/findByStatus [INFO] [stdout] creating method for DELETE /pet/{petId} [INFO] [stdout] creating method for POST /pet/{petId}/uploadImage [INFO] [stdout] creating method for GET /pet/findByTags [INFO] [stdout] creating method for GET /store/inventory [INFO] [stdout] creating method for POST /store/order [INFO] [stdout] creating method for GET /pet/{petId} [INFO] [stdout] creating method for GET /store/order/{orderId} [INFO] [stdout] creating method for POST /pet/{petId} [INFO] [stdout] creating method for DELETE /store/order/{orderId} [INFO] [stdout] creating method for POST /user [INFO] [stdout] creating method for DELETE /pet/{petId} [INFO] [stdout] creating method for POST /pet/{petId}/uploadImage [INFO] [stdout] creating method for POST /user/createWithList [INFO] [stdout] creating method for GET /store/inventory [INFO] [stdout] creating method for GET /user/login [INFO] [stdout] creating method for GET /user/logout [INFO] [stdout] creating method for GET /user/{username} [INFO] [stdout] creating method for POST /store/order [INFO] [stdout] creating method for GET /store/order/{orderId} [INFO] [stdout] creating method for PUT /user/{username} [INFO] [stdout] creating method for DELETE /store/order/{orderId} [INFO] [stdout] creating method for DELETE /user/{username} [INFO] [stdout] creating method for POST /user [INFO] [stdout] creating method for POST /user/createWithList [INFO] [stdout] creating method for GET /user/login [INFO] [stdout] creating method for GET /user/logout [INFO] [stdout] creating method for GET /user/{username} [INFO] [stdout] creating method for PUT /user/{username} [INFO] [stdout] creating method for DELETE /user/{username} [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> cogenitor-test/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | cogenitor::generate_api!("test-data/petstore.yaml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: FormattingError(BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'ed606620234c6b50f2414162c4bbabd5f4a925f3'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n")) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> cogenitor-test/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | cogenitor::generate_api!("test-data/petstore.yaml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: FormattingError(BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'ed606620234c6b50f2414162c4bbabd5f4a925f3'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n")) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cogenitor-test` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> cogenitor-test/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] --> cogenitor-test/src/lib.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let pet = generated_api::Pet { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `generated_api`, use `cargo add generated_api` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] --> cogenitor-test/src/lib.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | category: generated_api::Category { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `generated_api`, use `cargo add generated_api` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] --> cogenitor-test/src/lib.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | let other_pet = serde_json::from_value::(value).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `generated_api` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `generated_api`, use `cargo add generated_api` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cogenitor-test` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "63ff82c4be437e454c2d69401939d9e508f50724ee586f1a07166d3e545e8a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ff82c4be437e454c2d69401939d9e508f50724ee586f1a07166d3e545e8a0d", kill_on_drop: false }` [INFO] [stdout] 63ff82c4be437e454c2d69401939d9e508f50724ee586f1a07166d3e545e8a0d