[INFO] fetching crate payup 0.1.45... [INFO] checking payup-0.1.45 against master#0d56e340472882fa673d4b98d0802b9a799879d0 for pr-101692 [INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 0d56e340472882fa673d4b98d0802b9a799879d0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.20.4 [INFO] [stderr] Downloaded trust-dns-native-tls v0.20.4 [INFO] [stderr] Downloaded trust-dns-proto v0.20.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feed89d5e9a51ed17abc8b065f6c77bec0db647a2b7b6123ff55046d8f0ab0b3 [INFO] running `Command { std: "docker" "start" "-a" "feed89d5e9a51ed17abc8b065f6c77bec0db647a2b7b6123ff55046d8f0ab0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feed89d5e9a51ed17abc8b065f6c77bec0db647a2b7b6123ff55046d8f0ab0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feed89d5e9a51ed17abc8b065f6c77bec0db647a2b7b6123ff55046d8f0ab0b3", kill_on_drop: false }` [INFO] [stdout] feed89d5e9a51ed17abc8b065f6c77bec0db647a2b7b6123ff55046d8f0ab0b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9d93b921d0b7b5649e9e54b4670d914bdb3257e6196fc07367df2be9ae8935b [INFO] running `Command { std: "docker" "start" "-a" "e9d93b921d0b7b5649e9e54b4670d914bdb3257e6196fc07367df2be9ae8935b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking trust-dns-native-tls v0.20.4 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.11 [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: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: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: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: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: 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: 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: 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: 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: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: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: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: 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: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: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: 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: 36 warnings emitted [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: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: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: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] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.40s [INFO] running `Command { std: "docker" "inspect" "e9d93b921d0b7b5649e9e54b4670d914bdb3257e6196fc07367df2be9ae8935b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d93b921d0b7b5649e9e54b4670d914bdb3257e6196fc07367df2be9ae8935b", kill_on_drop: false }` [INFO] [stdout] e9d93b921d0b7b5649e9e54b4670d914bdb3257e6196fc07367df2be9ae8935b