[INFO] fetching crate payup 0.1.45... [INFO] checking payup-0.1.45 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate payup 0.1.45 [INFO] finished tweaking crates.io crate payup 0.1.45 [INFO] tweaked toml for crates.io crate payup 0.1.45 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 205 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding trust-dns-resolver v0.20.4 (available: v0.23.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 trust-dns-native-tls v0.20.4 [INFO] [stderr] Downloaded trust-dns-resolver v0.20.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2e851fbd81f4e6f491a5c6434d1cf94d1c3d91b9003225dcab362f5c2e842cb [INFO] running `Command { std: "docker" "start" "-a" "c2e851fbd81f4e6f491a5c6434d1cf94d1c3d91b9003225dcab362f5c2e842cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2e851fbd81f4e6f491a5c6434d1cf94d1c3d91b9003225dcab362f5c2e842cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e851fbd81f4e6f491a5c6434d1cf94d1c3d91b9003225dcab362f5c2e842cb", kill_on_drop: false }` [INFO] [stdout] c2e851fbd81f4e6f491a5c6434d1cf94d1c3d91b9003225dcab362f5c2e842cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32195f45b55034c3f8e53b2a3a42f07f796c7de622e33b77a1b4d9f34bf9452 [INFO] running `Command { std: "docker" "start" "-a" "d32195f45b55034c3f8e53b2a3a42f07f796c7de622e33b77a1b4d9f34bf9452", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking trust-dns-native-tls v0.20.4 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [INFO] [stderr] Checking payup v0.1.45 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/stripe.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/stripe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/stripe.rs:3729:21 [INFO] [stdout] | [INFO] [stdout] 3729 | for (item) in price_items{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3729 - for (item) in price_items{ [INFO] [stdout] 3729 + for item in price_items{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/stripe.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/stripe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/stripe.rs:3729:21 [INFO] [stdout] | [INFO] [stdout] 3729 | for (item) in price_items{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3729 - for (item) in price_items{ [INFO] [stdout] 3729 + for item in price_items{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut url = format!("https://api.stripe.com/v1/balance"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1493:13 [INFO] [stdout] | [INFO] [stdout] 1493 | let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut url = format!("https://api.stripe.com/v1/balance"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1958:13 [INFO] [stdout] | [INFO] [stdout] 1958 | let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2142:13 [INFO] [stdout] | [INFO] [stdout] 2142 | let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2199:13 [INFO] [stdout] | [INFO] [stdout] 2199 | let mut form = self.to_multipart_form_async().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2440:13 [INFO] [stdout] | [INFO] [stdout] 2440 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2869:13 [INFO] [stdout] | [INFO] [stdout] 2869 | let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:868:13 [INFO] [stdout] | [INFO] [stdout] 868 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3191:13 [INFO] [stdout] | [INFO] [stdout] 3191 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3381:13 [INFO] [stdout] | [INFO] [stdout] 3381 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3390:13 [INFO] [stdout] | [INFO] [stdout] 3390 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1493:13 [INFO] [stdout] | [INFO] [stdout] 1493 | let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1958:13 [INFO] [stdout] | [INFO] [stdout] 1958 | let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2142:13 [INFO] [stdout] | [INFO] [stdout] 2142 | let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2199:13 [INFO] [stdout] | [INFO] [stdout] 2199 | let mut form = self.to_multipart_form_async().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2440:13 [INFO] [stdout] | [INFO] [stdout] 2440 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2869:13 [INFO] [stdout] | [INFO] [stdout] 2869 | let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3191:13 [INFO] [stdout] | [INFO] [stdout] 3191 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3381:13 [INFO] [stdout] | [INFO] [stdout] 3381 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3390:13 [INFO] [stdout] | [INFO] [stdout] 3390 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stripe.rs:3283:9 [INFO] [stdout] | [INFO] [stdout] 3258 | / match &self.id{ [INFO] [stdout] 3259 | | Some(id) => { [INFO] [stdout] 3260 | | [INFO] [stdout] 3261 | | match &customer.id{ [INFO] [stdout] ... | [INFO] [stdout] 3280 | | None => return Ok(false) [INFO] [stdout] 3281 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 3282 | [INFO] [stdout] 3283 | return Ok(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stripe.rs:3283:9 [INFO] [stdout] | [INFO] [stdout] 3258 | / match &self.id{ [INFO] [stdout] 3259 | | Some(id) => { [INFO] [stdout] 3260 | | [INFO] [stdout] 3261 | | match &customer.id{ [INFO] [stdout] ... | [INFO] [stdout] 3280 | | None => return Ok(false) [INFO] [stdout] 3281 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 3282 | [INFO] [stdout] 3283 | return Ok(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut url = format!("https://api.stripe.com/v1/balance"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stripe.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 279 | pub amount: Option, [INFO] [stdout] | ------ matches all the relevant values [INFO] [stdout] 280 | #[serde(rename = "amount")] [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut url = format!("https://api.stripe.com/v1/balance"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut url = format!("https://api.stripe.com/v1/balance_transactions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stripe.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 279 | pub amount: Option, [INFO] [stdout] | ------ matches all the relevant values [INFO] [stdout] 280 | #[serde(rename = "amount")] [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1117:13 [INFO] [stdout] | [INFO] [stdout] 1117 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | let mut url = format!("https://api.stripe.com/v1/charges/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1601:13 [INFO] [stdout] | [INFO] [stdout] 1601 | let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1117:13 [INFO] [stdout] | [INFO] [stdout] 1117 | let mut url = format!("https://api.stripe.com/v1/customers/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2013:13 [INFO] [stdout] | [INFO] [stdout] 2013 | let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:1601:13 [INFO] [stdout] | [INFO] [stdout] 1601 | let mut url = format!("https://api.stripe.com/v1/disputes/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2233:13 [INFO] [stdout] | [INFO] [stdout] 2233 | let mut form = self.to_multipart_form(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2264:13 [INFO] [stdout] | [INFO] [stdout] 2264 | let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2543:13 [INFO] [stdout] | [INFO] [stdout] 2543 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2013:13 [INFO] [stdout] | [INFO] [stdout] 2013 | let mut url = format!("https://api.stripe.com/v1/events/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2233:13 [INFO] [stdout] | [INFO] [stdout] 2233 | let mut form = self.to_multipart_form(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2264:13 [INFO] [stdout] | [INFO] [stdout] 2264 | let mut url = format!("https://api.stripe.com/v1/files/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2543:13 [INFO] [stdout] | [INFO] [stdout] 2543 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2975:13 [INFO] [stdout] | [INFO] [stdout] 2975 | let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:2975:13 [INFO] [stdout] | [INFO] [stdout] 2975 | let mut url = format!("https://api.stripe.com/v1/invoices/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3215:13 [INFO] [stdout] | [INFO] [stdout] 3215 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/stripe.rs:3270:29 [INFO] [stdout] | [INFO] [stdout] 3270 | let request = reqwest::blocking::Client::new().post(url) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3286:13 [INFO] [stdout] | [INFO] [stdout] 3286 | let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3215:13 [INFO] [stdout] | [INFO] [stdout] 3215 | let mut url = format!("https://api.stripe.com/v1/file_links/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/stripe.rs:3270:29 [INFO] [stdout] | [INFO] [stdout] 3270 | let request = reqwest::blocking::Client::new().post(url) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3286:13 [INFO] [stdout] | [INFO] [stdout] 3286 | let mut url = format!("https://api.stripe.com/v1/payment_methods/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3424:13 [INFO] [stdout] | [INFO] [stdout] 3424 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3434:13 [INFO] [stdout] | [INFO] [stdout] 3434 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3424:13 [INFO] [stdout] | [INFO] [stdout] 3424 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3434:13 [INFO] [stdout] | [INFO] [stdout] 3434 | let mut url = format!("https://api.stripe.com/v1/plans/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3639:13 [INFO] [stdout] | [INFO] [stdout] 3639 | let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3673:13 [INFO] [stdout] | [INFO] [stdout] 3673 | let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3639:13 [INFO] [stdout] | [INFO] [stdout] 3639 | let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stripe.rs:3673:13 [INFO] [stdout] | [INFO] [stdout] 3673 | let mut url = format!("https://api.stripe.com/v1/subscriptions/{}", id.clone()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.02s [INFO] running `Command { std: "docker" "inspect" "d32195f45b55034c3f8e53b2a3a42f07f796c7de622e33b77a1b4d9f34bf9452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32195f45b55034c3f8e53b2a3a42f07f796c7de622e33b77a1b4d9f34bf9452", kill_on_drop: false }` [INFO] [stdout] d32195f45b55034c3f8e53b2a3a42f07f796c7de622e33b77a1b4d9f34bf9452