[INFO] fetching crate payup 0.1.45... [INFO] checking payup-0.1.45 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 206 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-native-tls v0.20.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33e83fe7a7056ea5122f367231bf1f58cc8404bd1f2c3ed8b6509143bd460343 [INFO] running `Command { std: "docker" "start" "-a" "33e83fe7a7056ea5122f367231bf1f58cc8404bd1f2c3ed8b6509143bd460343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33e83fe7a7056ea5122f367231bf1f58cc8404bd1f2c3ed8b6509143bd460343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e83fe7a7056ea5122f367231bf1f58cc8404bd1f2c3ed8b6509143bd460343", kill_on_drop: false }` [INFO] [stdout] 33e83fe7a7056ea5122f367231bf1f58cc8404bd1f2c3ed8b6509143bd460343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd52fe4d78e765fee6462fa222e83ec10cb61ea9cb28e778136323e4b117a111 [INFO] running `Command { std: "docker" "start" "-a" "fd52fe4d78e765fee6462fa222e83ec10cb61ea9cb28e778136323e4b117a111", kill_on_drop: false }` [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking trust-dns-native-tls v0.20.4 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [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 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: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: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: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: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: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: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: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: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: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: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: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: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: 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: 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: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: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: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: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: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: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: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: 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: 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: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: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: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: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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.92s [INFO] running `Command { std: "docker" "inspect" "fd52fe4d78e765fee6462fa222e83ec10cb61ea9cb28e778136323e4b117a111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd52fe4d78e765fee6462fa222e83ec10cb61ea9cb28e778136323e4b117a111", kill_on_drop: false }` [INFO] [stdout] fd52fe4d78e765fee6462fa222e83ec10cb61ea9cb28e778136323e4b117a111