[INFO] fetching crate square-rust 0.1.2... [INFO] linting square-rust-0.1.2 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate square-rust 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate square-rust 0.1.2 [INFO] finished tweaking crates.io crate square-rust 0.1.2 [INFO] tweaked toml for crates.io crate square-rust 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate square-rust 0.1.2 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 219 packages to latest compatible versions [INFO] [stderr] Adding infer v0.15.0 (available: v0.19.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding reqwest-middleware v0.2.5 (available: v0.5.1) [INFO] [stderr] Adding reqwest-retry v0.3.0 (available: v0.9.1) [INFO] [stderr] Adding retry-policies v0.2.1 (available: v0.5.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 reqwest-retry v0.3.0 [INFO] [stderr] Downloaded reqwest-middleware v0.2.5 [INFO] [stderr] Downloaded infer v0.15.0 [INFO] [stderr] Downloaded retry-policies v0.2.1 [INFO] [stderr] Downloaded task-local-extensions v0.1.4 [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] a30701a79db092da713b482e3fbc7d325eb698b4bfc49697767ab3147b5cde31 [INFO] running `Command { std: "docker" "start" "-a" "a30701a79db092da713b482e3fbc7d325eb698b4bfc49697767ab3147b5cde31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a30701a79db092da713b482e3fbc7d325eb698b4bfc49697767ab3147b5cde31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30701a79db092da713b482e3fbc7d325eb698b4bfc49697767ab3147b5cde31", kill_on_drop: false }` [INFO] [stdout] a30701a79db092da713b482e3fbc7d325eb698b4bfc49697767ab3147b5cde31 [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] d646cccb85694bbfa457f06c485f5f6e18bb1e983a9b33564babbac0d32a7dfb [INFO] running `Command { std: "docker" "start" "-a" "d646cccb85694bbfa457f06c485f5f6e18bb1e983a9b33564babbac0d32a7dfb", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking openssl v0.10.76 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking task-local-extensions v0.1.4 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking retry-policies v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking native-tls v0.2.18 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [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.2.5 [INFO] [stderr] Checking reqwest-retry v0.3.0 [INFO] [stderr] Checking square-rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/api/models/enums/currency.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Indicates the associated currency for an amount of money. [INFO] [stdout] 6 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub enum Currency { [INFO] [stdout] | ----------------- the comment documents this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 6 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/api/models/enums/currency.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Indicates the associated currency for an amount of money. [INFO] [stdout] 6 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub enum Currency { [INFO] [stdout] | ----------------- the comment documents this enum [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the documentation should include the empty line include it in the comment [INFO] [stdout] | [INFO] [stdout] 6 | /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty lines after doc comment [INFO] [stdout] --> src/api/models/request/create_customer/versions/v20230925.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Creates a new customer for a business. For api version 2023-09-25 [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | /// You must provide at least one of the following values in your request to this endpoint: [INFO] [stdout] 12 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct CreateCustomerRequestV20230925 { [INFO] [stdout] | ----------------------------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty lines are unintentional, remove them [INFO] [stdout] help: if the documentation should include the empty lines include them in the comment [INFO] [stdout] | [INFO] [stdout] 10 + /// [INFO] [stdout] 11 | /// You must provide at least one of the following values in your request to this endpoint: [INFO] [stdout] 12 + /// [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty lines after doc comment [INFO] [stdout] --> src/api/models/request/create_customer/versions/v20230925.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Creates a new customer for a business. For api version 2023-09-25 [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | /// You must provide at least one of the following values in your request to this endpoint: [INFO] [stdout] 12 | | [INFO] [stdout] | |_^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub struct CreateCustomerRequestV20230925 { [INFO] [stdout] | ----------------------------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty lines are unintentional, remove them [INFO] [stdout] help: if the documentation should include the empty lines include them in the comment [INFO] [stdout] | [INFO] [stdout] 10 + /// [INFO] [stdout] 11 | /// You must provide at least one of the following values in your request to this endpoint: [INFO] [stdout] 12 + /// [INFO] [stdout] | [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:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | 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:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | 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] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/http/headers.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | 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:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.33s [INFO] running `Command { std: "docker" "inspect" "d646cccb85694bbfa457f06c485f5f6e18bb1e983a9b33564babbac0d32a7dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d646cccb85694bbfa457f06c485f5f6e18bb1e983a9b33564babbac0d32a7dfb", kill_on_drop: false }` [INFO] [stdout] d646cccb85694bbfa457f06c485f5f6e18bb1e983a9b33564babbac0d32a7dfb