[INFO] fetching crate hetzner 0.1.0... [INFO] checking hetzner-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate hetzner 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hetzner 0.1.0 [INFO] finished tweaking crates.io crate hetzner 0.1.0 [INFO] tweaked toml for crates.io crate hetzner 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hetzner 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hetzner 0.1.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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb9f67bb860ecb20134efe166f19939afd262087099655dc97d11f214016e8de [INFO] running `Command { std: "docker" "start" "-a" "cb9f67bb860ecb20134efe166f19939afd262087099655dc97d11f214016e8de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb9f67bb860ecb20134efe166f19939afd262087099655dc97d11f214016e8de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9f67bb860ecb20134efe166f19939afd262087099655dc97d11f214016e8de", kill_on_drop: false }` [INFO] [stdout] cb9f67bb860ecb20134efe166f19939afd262087099655dc97d11f214016e8de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de9d2c4d480779cfedcfe746a30c5e146364adb778a57387ce0312f5734bde38 [INFO] running `Command { std: "docker" "start" "-a" "de9d2c4d480779cfedcfe746a30c5e146364adb778a57387ce0312f5734bde38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking hetzner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/records/get_all_records.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/records/create_record.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/records/update_record.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimaryServer`, `RecordType`, and `Record` [INFO] [stdout] --> src/zones/get_all_zones.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{HetznerClient, PrimaryServer, Record, RecordType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/zones/get_all_zones.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/records/get_all_records.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/records/create_record.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/records/update_record.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimaryServer`, `RecordType`, and `Record` [INFO] [stdout] --> src/zones/get_all_zones.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{HetznerClient, PrimaryServer, Record, RecordType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/zones/get_all_zones.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `ttl`, `type_`, `value`, and `zone_id` are never read [INFO] [stdout] --> src/records/get_all_records.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | /// The unique identifier of the record. [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | /// The name of the record. [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | /// The time-to-live (TTL) value of the record. [INFO] [stdout] 14 | ttl: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | /// The type of the record (e.g., A, AAAA, CNAME). [INFO] [stdout] 16 | type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// The value of the record. [INFO] [stdout] 18 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | /// The zone ID associated with the record. [INFO] [stdout] 20 | zone_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `records` is never read [INFO] [stdout] --> src/records/get_all_records.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 26 | /// A list of DNS records. [INFO] [stdout] 27 | records: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/records/create_record.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct ErrorResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 52 | /// Details of the error. [INFO] [stdout] 53 | error: ErrorDetails, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/records/create_record.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct ErrorDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 59 | /// The error code. [INFO] [stdout] 60 | code: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | /// The error message. [INFO] [stdout] 62 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/records/get_record.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | /// The type of the DNS record (e.g., A, AAAA, CNAME). [INFO] [stdout] 11 | r#type_: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | /// The unique identifier of the DNS record. [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | /// The creation timestamp of the DNS record. [INFO] [stdout] 15 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// The last modified timestamp of the DNS record. [INFO] [stdout] 17 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | /// The zone ID associated with the DNS record. [INFO] [stdout] 19 | zone_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// The name of the DNS record. [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// The value of the DNS record. [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// The time-to-live (TTL) value of the DNS record. [INFO] [stdout] 25 | ttl: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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: multiple fields are never read [INFO] [stdout] --> src/zones/get_all_zones.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Zone { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | /// The creation timestamp of the DNS zone. [INFO] [stdout] 10 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | /// The last modified timestamp of the DNS zone. [INFO] [stdout] 12 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | /// The legacy DNS host associated with the zone. [INFO] [stdout] 14 | legacy_dns_host: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | /// The legacy name servers associated with the zone. [INFO] [stdout] 16 | legacy_ns: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// The name of the DNS zone. [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// The name servers associated with the zone. [INFO] [stdout] 20 | ns: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | /// The owner of the DNS zone. [INFO] [stdout] 22 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | /// Indicates if the zone is paused. [INFO] [stdout] 24 | paused: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | /// The permission level of the DNS zone. [INFO] [stdout] 26 | permission: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | /// The project associated with the DNS zone. [INFO] [stdout] 28 | project: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | /// The registrar of the DNS zone. [INFO] [stdout] 30 | registrar: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | /// The status of the DNS zone. [INFO] [stdout] 32 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | /// The time-to-live (TTL) value of the DNS zone. [INFO] [stdout] 34 | ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | /// The verification status of the DNS zone. [INFO] [stdout] 36 | verified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// The count of records in the DNS zone. [INFO] [stdout] 38 | records_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// Indicates if the zone is a secondary DNS. [INFO] [stdout] 40 | is_secondary_dns: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | /// The TXT verification details of the DNS zone. [INFO] [stdout] 42 | txt_verification: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone` 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: field `pagination` is never read [INFO] [stdout] --> src/zones/get_all_zones.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Meta { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pagination: Pagination, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page`, `per_page`, `last_page`, and `total_entries` are never read [INFO] [stdout] --> src/zones/get_all_zones.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Pagination { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 52 | page: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | per_page: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | last_page: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | total_entries: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `ttl`, `type_`, `value`, and `zone_id` are never read [INFO] [stdout] --> src/records/get_all_records.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | /// The unique identifier of the record. [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | /// The name of the record. [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | /// The time-to-live (TTL) value of the record. [INFO] [stdout] 14 | ttl: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | /// The type of the record (e.g., A, AAAA, CNAME). [INFO] [stdout] 16 | type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// The value of the record. [INFO] [stdout] 18 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | /// The zone ID associated with the record. [INFO] [stdout] 20 | zone_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `records` is never read [INFO] [stdout] --> src/records/get_all_records.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 26 | /// A list of DNS records. [INFO] [stdout] 27 | records: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/records/create_record.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct ErrorResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 52 | /// Details of the error. [INFO] [stdout] 53 | error: ErrorDetails, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/records/create_record.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct ErrorDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 59 | /// The error code. [INFO] [stdout] 60 | code: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | /// The error message. [INFO] [stdout] 62 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/records/get_record.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | /// The type of the DNS record (e.g., A, AAAA, CNAME). [INFO] [stdout] 11 | r#type_: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | /// The unique identifier of the DNS record. [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | /// The creation timestamp of the DNS record. [INFO] [stdout] 15 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// The last modified timestamp of the DNS record. [INFO] [stdout] 17 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | /// The zone ID associated with the DNS record. [INFO] [stdout] 19 | zone_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | /// The name of the DNS record. [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// The value of the DNS record. [INFO] [stdout] 23 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// The time-to-live (TTL) value of the DNS record. [INFO] [stdout] 25 | ttl: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` 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: multiple fields are never read [INFO] [stdout] --> src/zones/get_all_zones.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Zone { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | /// The creation timestamp of the DNS zone. [INFO] [stdout] 10 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | /// The last modified timestamp of the DNS zone. [INFO] [stdout] 12 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | /// The legacy DNS host associated with the zone. [INFO] [stdout] 14 | legacy_dns_host: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | /// The legacy name servers associated with the zone. [INFO] [stdout] 16 | legacy_ns: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | /// The name of the DNS zone. [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// The name servers associated with the zone. [INFO] [stdout] 20 | ns: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | /// The owner of the DNS zone. [INFO] [stdout] 22 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | /// Indicates if the zone is paused. [INFO] [stdout] 24 | paused: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | /// The permission level of the DNS zone. [INFO] [stdout] 26 | permission: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | /// The project associated with the DNS zone. [INFO] [stdout] 28 | project: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | /// The registrar of the DNS zone. [INFO] [stdout] 30 | registrar: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | /// The status of the DNS zone. [INFO] [stdout] 32 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | /// The time-to-live (TTL) value of the DNS zone. [INFO] [stdout] 34 | ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | /// The verification status of the DNS zone. [INFO] [stdout] 36 | verified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// The count of records in the DNS zone. [INFO] [stdout] 38 | records_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// Indicates if the zone is a secondary DNS. [INFO] [stdout] 40 | is_secondary_dns: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | /// The TXT verification details of the DNS zone. [INFO] [stdout] 42 | txt_verification: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone` 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: field `pagination` is never read [INFO] [stdout] --> src/zones/get_all_zones.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Meta { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 47 | pagination: Pagination, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page`, `per_page`, `last_page`, and `total_entries` are never read [INFO] [stdout] --> src/zones/get_all_zones.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct Pagination { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 52 | page: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | per_page: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | last_page: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | total_entries: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.35s [INFO] running `Command { std: "docker" "inspect" "de9d2c4d480779cfedcfe746a30c5e146364adb778a57387ce0312f5734bde38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9d2c4d480779cfedcfe746a30c5e146364adb778a57387ce0312f5734bde38", kill_on_drop: false }` [INFO] [stdout] de9d2c4d480779cfedcfe746a30c5e146364adb778a57387ce0312f5734bde38