[INFO] fetching crate square-api-client 0.1.9... [INFO] linting square-api-client-0.1.9 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate square-api-client 0.1.9 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate square-api-client 0.1.9 [INFO] finished tweaking crates.io crate square-api-client 0.1.9 [INFO] tweaked toml for crates.io crate square-api-client 0.1.9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate square-api-client 0.1.9 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 207 packages to latest compatible versions [INFO] [stderr] Adding infer v0.9.0 (available: v0.19.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding reqwest-middleware v0.1.6 (available: v0.5.1) [INFO] [stderr] Adding reqwest-retry v0.1.5 (available: v0.9.1) [INFO] [stderr] Adding rustc_version_runtime v0.2.1 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded package_info v0.1.0 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded package_info_derive v0.1.0 [INFO] [stderr] Downloaded reqwest-retry v0.1.5 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded retry-policies v0.1.2 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [INFO] [stderr] Downloaded infer v0.9.0 [INFO] [stderr] Downloaded reqwest-middleware v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07783a38f59132195ecfd28481f6a70723439f8944ee0b56b4c607fb45244f74 [INFO] running `Command { std: "docker" "start" "-a" "07783a38f59132195ecfd28481f6a70723439f8944ee0b56b4c607fb45244f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07783a38f59132195ecfd28481f6a70723439f8944ee0b56b4c607fb45244f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07783a38f59132195ecfd28481f6a70723439f8944ee0b56b4c607fb45244f74", kill_on_drop: false }` [INFO] [stdout] 07783a38f59132195ecfd28481f6a70723439f8944ee0b56b4c607fb45244f74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3f4b5ee8fb87e543017a07fd938b561bbed29b5404294a68723622464e4389 [INFO] running `Command { std: "docker" "start" "-a" "4e3f4b5ee8fb87e543017a07fd938b561bbed29b5404294a68723622464e4389", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking package_info v0.1.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking retry-policies v0.1.2 [INFO] [stderr] Checking infer v0.9.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling package_info_derive v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [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 reqwest-middleware v0.1.6 [INFO] [stderr] Checking reqwest-retry v0.1.5 [INFO] [stderr] Checking square-api-client v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after outer attribute [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[serde(rename_all = "SCREAMING_SNAKE_CASE")] [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub enum SortCustomersField { [INFO] [stdout] | --------------------------- the attribute applies to this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after outer attribute [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #[serde(rename_all = "SCREAMING_SNAKE_CASE")] [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub enum SortCustomersField { [INFO] [stdout] | --------------------------- the attribute applies to this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/mod.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stdout] --> src/models/mod.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 665 | pub use transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/mod.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | pub use additional_recipient::AdditionalRecipient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::transaction::Transaction` [INFO] [stdout] --> src/models/mod.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 665 | pub use transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{enums::RefundStatus, AdditionalRecipient, DateTime, Money}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/refund.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | enums::TenderType, AdditionalRecipient, DateTime, Money, TenderCardDetails, TenderCashDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `models::additional_recipient::AdditionalRecipient` [INFO] [stdout] --> src/models/tender.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | pub additional_recipients: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/models/date_time.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/models/date_time.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/models/date_time.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | Self::from(&chrono::DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/models/date_time.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::NaiveDateTime::from_timestamp(timestamp, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/cards_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | //! application specifies the organization access token in the `CreateCard` request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 7 | //! application specifies the organization access token in the `CreateCard` request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/cards_api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | //! access token of the specific seller account in the `CreateCard` request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 9 | //! access token of the specific seller account in the `CreateCard` request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/payments_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! in the API request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 8 | //! in the API request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/config/configuration.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | configuration.environment = Environment::Custom(String::from("some_custom_url")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `config::configuration::Configuration { environment: Environment::Custom(String::from("some_custom_url")), ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/config/configuration.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut configuration = Configuration::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/config/configuration.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | configuration.base_uri = String::from("/custom_base_uri"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `config::configuration::Configuration { base_uri: String::from("/custom_base_uri"), ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/config/configuration.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut configuration = Configuration::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/http/headers.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | headers.headers = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `http::headers::Headers { headers: HashMap::new() }` and removing relevant reassignments [INFO] [stdout] --> src/http/headers.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut headers = Headers::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/http/headers.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(!(headers.headers.get("user-agent") == Some(&String::from("some-user-agent")))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(headers.headers.get("user-agent") != Some(&String::from("some-user-agent")))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/http/headers.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | headers.headers = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `http::headers::Headers { headers: HashMap::new() }` and removing relevant reassignments [INFO] [stdout] --> src/http/headers.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut headers = Headers::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_custom_attribute_definition_type.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / impl Default for CatalogCustomAttributeDefinitionType { [INFO] [stdout] 21 | | fn default() -> Self { [INFO] [stdout] 22 | | Self::String [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogCustomAttributeDefinitionType { [INFO] [stdout] 10 | /// A free-form string containing up to 255 characters. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_object_type.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl Default for CatalogObjectType { [INFO] [stdout] 74 | | fn default() -> Self { [INFO] [stdout] 75 | | Self::Item [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum CatalogObjectType { [INFO] [stdout] 11 | /// The `CatalogObject` instance is of the [CatalogItem] type and represents an item. The [INFO] [stdout] 12 | /// item-specific data must be set on the `item_data` field. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_quick_amount_type.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Default for CatalogQuickAmountType { [INFO] [stdout] 16 | | fn default() -> Self { [INFO] [stdout] 17 | | Self::QuickAmountTypeAuto [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogQuickAmountType { [INFO] [stdout] 10 | /// Quick Amount is created manually by the seller. [INFO] [stdout] 11 | QuickAmountTypeManual, [INFO] [stdout] 12 | /// Quick Amount is generated automatically by machine learning algorithms. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ QuickAmountTypeAuto, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_quick_amounts_settings_option.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for CatalogQuickAmountsSettingsOption { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::Disabled [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogQuickAmountsSettingsOption { [INFO] [stdout] 10 | /// Option for seller to disable Quick Amounts. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Disabled, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/cards_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | //! application specifies the organization access token in the `CreateCard` request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 7 | //! application specifies the organization access token in the `CreateCard` request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/cards_api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | //! access token of the specific seller account in the `CreateCard` request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 9 | //! access token of the specific seller account in the `CreateCard` request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/currency.rs:375:1 [INFO] [stdout] | [INFO] [stdout] 375 | / impl Default for Currency { [INFO] [stdout] 376 | | fn default() -> Self { [INFO] [stdout] 377 | | Self::UnknownCurrency [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub enum Currency { [INFO] [stdout] 12 | /// Unknown currency [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ UnknownCurrency, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/api/payments_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! in the API request. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 8 | //! in the API request. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | /// Square Point of Sale, the Square Seller Dashboard, or the Refunds API. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | /// Square Point of Sale, the Square Seller Dashboard, or the Refunds API. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | /// Point of Sale or the Square Seller Dashboard. The payment source might be a credit card or [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 32 | /// Point of Sale or the Square Seller Dashboard. The payment source might be a credit card or [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | /// different gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | /// different gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | /// gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | /// gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Default for GiftCardActivityType { [INFO] [stdout] 56 | | fn default() -> Self { [INFO] [stdout] 57 | | Self::Activate [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum GiftCardActivityType { [INFO] [stdout] 10 | /// Activated a gift card with a balance. When a gift card is activated, Square changes the gift [INFO] [stdout] 11 | /// card state from `PENDING` to `ACTIVE`. A gift card must be in the `ACTIVE` state to be used [INFO] [stdout] 12 | /// for other balance-changing activities. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Activate, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/gift_card_type.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Default for GiftCardType { [INFO] [stdout] 16 | | fn default() -> Self { [INFO] [stdout] 17 | | Self::Physical [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum GiftCardType { [INFO] [stdout] 10 | /// A plastic gift card. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Physical, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/invoice_custom_field_placement.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for InvoiceCustomFieldPlacement { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::BelowLineItems [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum InvoiceCustomFieldPlacement { [INFO] [stdout] 11 | /// Render the custom field above the invoice line items. [INFO] [stdout] 12 | AboveLineItems, [INFO] [stdout] 13 | /// Render the custom field below the invoice line items. [INFO] [stdout] 14 ~ #[default] [INFO] [stdout] 15 ~ BelowLineItems, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_payment_reminder_status.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | /// configured to be sent after the next payment request `due_date`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 16 | /// configured to be sent after the next payment request `due_date`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_payment_reminder_status.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | /// Therefore, only one reminder is sent. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 18 | /// Therefore, only one reminder is sent. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_request_type.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | /// amount of the associated order. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 15 | /// amount of the associated order. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_request_type.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | /// remaining after the deposit. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 17 | /// remaining after the deposit. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/invoice_sort_field.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for InvoiceSortField { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::InvoiceSortDate [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum InvoiceSortField { [INFO] [stdout] 10 | /// The field works as follows: [INFO] [stdout] ... [INFO] [stdout] 14 | /// - If the invoice is published, it uses the invoice publication date. [INFO] [stdout] 15 ~ #[default] [INFO] [stdout] 16 ~ InvoiceSortDate, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/job_assignment_pay_type.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for JobAssignmentPayType { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::None [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum JobAssignmentPayType { [INFO] [stdout] 10 | /// The job does not have a defined pay type. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_custom_attribute_definition_type.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / impl Default for CatalogCustomAttributeDefinitionType { [INFO] [stdout] 21 | | fn default() -> Self { [INFO] [stdout] 22 | | Self::String [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogCustomAttributeDefinitionType { [INFO] [stdout] 10 | /// A free-form string containing up to 255 characters. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_object_type.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / impl Default for CatalogObjectType { [INFO] [stdout] 74 | | fn default() -> Self { [INFO] [stdout] 75 | | Self::Item [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum CatalogObjectType { [INFO] [stdout] 11 | /// The `CatalogObject` instance is of the [CatalogItem] type and represents an item. The [INFO] [stdout] 12 | /// item-specific data must be set on the `item_data` field. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_quick_amount_type.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Default for CatalogQuickAmountType { [INFO] [stdout] 16 | | fn default() -> Self { [INFO] [stdout] 17 | | Self::QuickAmountTypeAuto [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogQuickAmountType { [INFO] [stdout] 10 | /// Quick Amount is created manually by the seller. [INFO] [stdout] 11 | QuickAmountTypeManual, [INFO] [stdout] 12 | /// Quick Amount is generated automatically by machine learning algorithms. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ QuickAmountTypeAuto, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/catalog_quick_amounts_settings_option.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for CatalogQuickAmountsSettingsOption { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::Disabled [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum CatalogQuickAmountsSettingsOption { [INFO] [stdout] 10 | /// Option for seller to disable Quick Amounts. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Disabled, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for SortCustomersField { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | SortCustomersField::Default [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub enum SortCustomersField { [INFO] [stdout] 12 | /// By default, customers are sorted alphanumerically by concatenating their given_name and family_name. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Default, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl ToString for SortCustomersField { [INFO] [stdout] 29 | | fn to_string(&self) -> String { [INFO] [stdout] 30 | | match self { [INFO] [stdout] 31 | | SortCustomersField::Default => String::from("DEFAULT"), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] = note: `#[warn(clippy::to_string_trait_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/subscription_cadence.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / impl Default for SubscriptionCadence { [INFO] [stdout] 38 | | fn default() -> Self { [INFO] [stdout] 39 | | Self::Monthly [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum SubscriptionCadence { [INFO] [stdout] 10 | /// Once per day [INFO] [stdout] ... [INFO] [stdout] 22 | /// Once per month [INFO] [stdout] 23 ~ #[default] [INFO] [stdout] 24 ~ Monthly, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/currency.rs:375:1 [INFO] [stdout] | [INFO] [stdout] 375 | / impl Default for Currency { [INFO] [stdout] 376 | | fn default() -> Self { [INFO] [stdout] 377 | | Self::UnknownCurrency [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub enum Currency { [INFO] [stdout] 12 | /// Unknown currency [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ UnknownCurrency, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | /// Square Point of Sale, the Square Seller Dashboard, or the Refunds API. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | /// Square Point of Sale, the Square Seller Dashboard, or the Refunds API. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | /// Point of Sale or the Square Seller Dashboard. The payment source might be a credit card or [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 32 | /// Point of Sale or the Square Seller Dashboard. The payment source might be a credit card or [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | /// different gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | /// different gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | /// gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | /// gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/gift_card_activity_type.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Default for GiftCardActivityType { [INFO] [stdout] 56 | | fn default() -> Self { [INFO] [stdout] 57 | | Self::Activate [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum GiftCardActivityType { [INFO] [stdout] 10 | /// Activated a gift card with a balance. When a gift card is activated, Square changes the gift [INFO] [stdout] 11 | /// card state from `PENDING` to `ACTIVE`. A gift card must be in the `ACTIVE` state to be used [INFO] [stdout] 12 | /// for other balance-changing activities. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Activate, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/gift_card_type.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Default for GiftCardType { [INFO] [stdout] 16 | | fn default() -> Self { [INFO] [stdout] 17 | | Self::Physical [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum GiftCardType { [INFO] [stdout] 10 | /// A plastic gift card. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Physical, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/invoice_custom_field_placement.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for InvoiceCustomFieldPlacement { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::BelowLineItems [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum InvoiceCustomFieldPlacement { [INFO] [stdout] 11 | /// Render the custom field above the invoice line items. [INFO] [stdout] 12 | AboveLineItems, [INFO] [stdout] 13 | /// Render the custom field below the invoice line items. [INFO] [stdout] 14 ~ #[default] [INFO] [stdout] 15 ~ BelowLineItems, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_payment_reminder_status.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | /// configured to be sent after the next payment request `due_date`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 16 | /// configured to be sent after the next payment request `due_date`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_payment_reminder_status.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | /// Therefore, only one reminder is sent. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 18 | /// Therefore, only one reminder is sent. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_request_type.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | /// amount of the associated order. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 15 | /// amount of the associated order. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/enums/invoice_request_type.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | /// remaining after the deposit. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 17 | /// remaining after the deposit. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/invoice_sort_field.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for InvoiceSortField { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::InvoiceSortDate [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum InvoiceSortField { [INFO] [stdout] 10 | /// The field works as follows: [INFO] [stdout] ... [INFO] [stdout] 14 | /// - If the invoice is published, it uses the invoice publication date. [INFO] [stdout] 15 ~ #[default] [INFO] [stdout] 16 ~ InvoiceSortDate, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/job_assignment_pay_type.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for JobAssignmentPayType { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::None [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum JobAssignmentPayType { [INFO] [stdout] 10 | /// The job does not have a defined pay type. [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for SortCustomersField { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | SortCustomersField::Default [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub enum SortCustomersField { [INFO] [stdout] 12 | /// By default, customers are sorted alphanumerically by concatenating their given_name and family_name. [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Default, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/enums/sort_customers_field.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl ToString for SortCustomersField { [INFO] [stdout] 29 | | fn to_string(&self) -> String { [INFO] [stdout] 30 | | match self { [INFO] [stdout] 31 | | SortCustomersField::Default => String::from("DEFAULT"), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] = note: `#[warn(clippy::to_string_trait_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/enums/subscription_cadence.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / impl Default for SubscriptionCadence { [INFO] [stdout] 38 | | fn default() -> Self { [INFO] [stdout] 39 | | Self::Monthly [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Default)] [INFO] [stdout] 9 | pub enum SubscriptionCadence { [INFO] [stdout] 10 | /// Once per day [INFO] [stdout] ... [INFO] [stdout] 22 | /// Once per month [INFO] [stdout] 23 ~ #[default] [INFO] [stdout] 24 ~ Monthly, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/catalog_custom_attribute_definition_number_config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | /// Default: 5 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 14 | /// Default: 5 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/catalog_measurement_unit.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | /// Default: 3 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 19 | /// Default: 3 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/catalog_custom_attribute_definition_number_config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | /// Default: 5 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 14 | /// Default: 5 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | /// be unique for the seller and cannot start with the same bank identification number (BIN) as [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 28 | /// be unique for the seller and cannot start with the same bank identification number (BIN) as [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | /// major credit cards. Do not use GANs that are easy to guess (such as 12345678) because they [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 29 | /// major credit cards. Do not use GANs that are easy to guess (such as 12345678) because they [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | /// greatly increase the risk of fraud. It is the responsibility of the developer to ensure the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | /// greatly increase the risk of fraud. It is the responsibility of the developer to ensure the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// security of their custom GANs. For more information, see [Custom [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// security of their custom GANs. For more information, see [Custom [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | /// GANs](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#custom-gans). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 32 | /// GANs](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#custom-gans). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/delete_invoice_parameters.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl ToString for DeleteInvoiceParameters { [INFO] [stdout] 25 | | fn to_string(&self) -> String { [INFO] [stdout] 26 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/catalog_measurement_unit.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | /// Default: 3 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 19 | /// Default: 3 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/gift_card_activity_refund.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | /// payment source can be the same gift card or a cross-tender payment from a credit card or a [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 19 | /// payment source can be the same gift card or a cross-tender payment from a credit card or a [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/gift_card_activity_refund.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | /// different gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 20 | /// different gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | /// be unique for the seller and cannot start with the same bank identification number (BIN) as [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 28 | /// be unique for the seller and cannot start with the same bank identification number (BIN) as [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | /// major credit cards. Do not use GANs that are easy to guess (such as 12345678) because they [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 29 | /// major credit cards. Do not use GANs that are easy to guess (such as 12345678) because they [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | /// greatly increase the risk of fraud. It is the responsibility of the developer to ensure the [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 30 | /// greatly increase the risk of fraud. It is the responsibility of the developer to ensure the [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | /// security of their custom GANs. For more information, see [Custom [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 31 | /// security of their custom GANs. For more information, see [Custom [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/create_gift_card_request.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | /// GANs](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#custom-gans). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 32 | /// GANs](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#custom-gans). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | /// `automatic_payment_source` field of the payment request is also required. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 47 | /// `automatic_payment_source` field of the payment request is also required. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | /// returned in responses do not include `request_method`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 49 | /// returned in responses do not include `request_method`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | /// amount. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 50 | /// amount. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | /// total less the deposit, if requested. The sum of the `percentage_requested` in all [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 52 | /// total less the deposit, if requested. The sum of the `percentage_requested` in all [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | /// installment payment requests must be equal to 100. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 53 | /// installment payment requests must be equal to 100. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/delete_invoice_parameters.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl ToString for DeleteInvoiceParameters { [INFO] [stdout] 25 | | fn to_string(&self) -> String { [INFO] [stdout] 26 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_cards_parameters.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl ToString for ListCardsParameters { [INFO] [stdout] 52 | | fn to_string(&self) -> String { [INFO] [stdout] 53 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_catalog_parameters.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl ToString for ListCatalogParameters { [INFO] [stdout] 47 | | fn to_string(&self) -> String { [INFO] [stdout] 48 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customer_groups_parameters.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / impl ToString for ListCustomerGroupsParameters { [INFO] [stdout] 35 | | fn to_string(&self) -> String { [INFO] [stdout] 36 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customer_segments_parameters.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / impl ToString for ListCustomerSegmentsParameters { [INFO] [stdout] 35 | | fn to_string(&self) -> String { [INFO] [stdout] 36 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customers_parameters.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl ToString for ListCustomersParameters { [INFO] [stdout] 48 | | fn to_string(&self) -> String { [INFO] [stdout] 49 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_gift_card_activities_parameters.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ToString for ListGiftCardActivitiesParameters { [INFO] [stdout] 55 | | fn to_string(&self) -> String { [INFO] [stdout] 56 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_gift_cards_parameters.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl ToString for ListGiftCardsParameters { [INFO] [stdout] 41 | | fn to_string(&self) -> String { [INFO] [stdout] 42 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_invoices_parameters.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ToString for ListInvoicesParameters { [INFO] [stdout] 32 | | fn to_string(&self) -> String { [INFO] [stdout] 33 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_payment_refunds_parameters.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl ToString for ListPaymentRefundsParameters { [INFO] [stdout] 66 | | fn to_string(&self) -> String { [INFO] [stdout] 67 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_payments_parameters.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl ToString for ListPaymentsParameters { [INFO] [stdout] 58 | | fn to_string(&self) -> String { [INFO] [stdout] 59 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_subscription_events_parameters.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl ToString for ListSubscriptionEventsParameters { [INFO] [stdout] 30 | | fn to_string(&self) -> String { [INFO] [stdout] 31 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/gift_card_activity_refund.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | /// payment source can be the same gift card or a cross-tender payment from a credit card or a [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 19 | /// payment source can be the same gift card or a cross-tender payment from a credit card or a [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/gift_card_activity_refund.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | /// different gift card. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 20 | /// different gift card. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | /// `automatic_payment_source` field of the payment request is also required. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 47 | /// `automatic_payment_source` field of the payment request is also required. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | /// returned in responses do not include `request_method`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 49 | /// returned in responses do not include `request_method`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | /// amount. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 50 | /// amount. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | /// total less the deposit, if requested. The sum of the `percentage_requested` in all [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 52 | /// total less the deposit, if requested. The sum of the `percentage_requested` in all [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/invoice_payment_request.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | /// installment payment requests must be equal to 100. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 53 | /// installment payment requests must be equal to 100. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_cards_parameters.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl ToString for ListCardsParameters { [INFO] [stdout] 52 | | fn to_string(&self) -> String { [INFO] [stdout] 53 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_catalog_parameters.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl ToString for ListCatalogParameters { [INFO] [stdout] 47 | | fn to_string(&self) -> String { [INFO] [stdout] 48 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customer_groups_parameters.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / impl ToString for ListCustomerGroupsParameters { [INFO] [stdout] 35 | | fn to_string(&self) -> String { [INFO] [stdout] 36 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customer_segments_parameters.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / impl ToString for ListCustomerSegmentsParameters { [INFO] [stdout] 35 | | fn to_string(&self) -> String { [INFO] [stdout] 36 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_customers_parameters.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl ToString for ListCustomersParameters { [INFO] [stdout] 48 | | fn to_string(&self) -> String { [INFO] [stdout] 49 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_gift_card_activities_parameters.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ToString for ListGiftCardActivitiesParameters { [INFO] [stdout] 55 | | fn to_string(&self) -> String { [INFO] [stdout] 56 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_gift_cards_parameters.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl ToString for ListGiftCardsParameters { [INFO] [stdout] 41 | | fn to_string(&self) -> String { [INFO] [stdout] 42 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_invoices_parameters.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ToString for ListInvoicesParameters { [INFO] [stdout] 32 | | fn to_string(&self) -> String { [INFO] [stdout] 33 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_payment_refunds_parameters.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl ToString for ListPaymentRefundsParameters { [INFO] [stdout] 66 | | fn to_string(&self) -> String { [INFO] [stdout] 67 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_payments_parameters.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl ToString for ListPaymentsParameters { [INFO] [stdout] 58 | | fn to_string(&self) -> String { [INFO] [stdout] 59 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/list_subscription_events_parameters.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl ToString for ListSubscriptionEventsParameters { [INFO] [stdout] 30 | | fn to_string(&self) -> String { [INFO] [stdout] 31 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/order_return_service_charge.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | /// percentage. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | /// percentage. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_catalog_object_parameters.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl ToString for RetrieveCatalogObjectParameters { [INFO] [stdout] 41 | | fn to_string(&self) -> String { [INFO] [stdout] 42 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_inventory_count_parameters.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / impl ToString for RetrieveInventoryCountParams { [INFO] [stdout] 26 | | fn to_string(&self) -> String { [INFO] [stdout] 27 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/models/order_return_service_charge.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | /// percentage. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | /// percentage. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_subscription_parameters.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl ToString for RetrieveSubscriptionParameters { [INFO] [stdout] 27 | | fn to_string(&self) -> String { [INFO] [stdout] 28 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_catalog_object_parameters.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl ToString for RetrieveCatalogObjectParameters { [INFO] [stdout] 41 | | fn to_string(&self) -> String { [INFO] [stdout] 42 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_inventory_count_parameters.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / impl ToString for RetrieveInventoryCountParams { [INFO] [stdout] 26 | | fn to_string(&self) -> String { [INFO] [stdout] 27 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/models/retrieve_subscription_parameters.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl ToString for RetrieveSubscriptionParameters { [INFO] [stdout] 27 | | fn to_string(&self) -> String { [INFO] [stdout] 28 | | let mut params = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.10s [INFO] running `Command { std: "docker" "inspect" "4e3f4b5ee8fb87e543017a07fd938b561bbed29b5404294a68723622464e4389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3f4b5ee8fb87e543017a07fd938b561bbed29b5404294a68723622464e4389", kill_on_drop: false }` [INFO] [stdout] 4e3f4b5ee8fb87e543017a07fd938b561bbed29b5404294a68723622464e4389