[INFO] fetching crate payup 0.1.45... [INFO] checking payup-0.1.45 against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] extracting crate payup 0.1.45 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate payup 0.1.45 on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "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-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb7672601db04ff3f7cdf50a43eb80b5cf0b084593525c321b22e1ee916e3c33 [INFO] running `Command { std: "docker" "start" "-a" "bb7672601db04ff3f7cdf50a43eb80b5cf0b084593525c321b22e1ee916e3c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb7672601db04ff3f7cdf50a43eb80b5cf0b084593525c321b22e1ee916e3c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7672601db04ff3f7cdf50a43eb80b5cf0b084593525c321b22e1ee916e3c33", kill_on_drop: false }` [INFO] [stdout] bb7672601db04ff3f7cdf50a43eb80b5cf0b084593525c321b22e1ee916e3c33 [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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794543853b716b414f46124ce20e695581ae3306e13bdcb014a296df03c5110f [INFO] running `Command { std: "docker" "start" "-a" "794543853b716b414f46124ce20e695581ae3306e13bdcb014a296df03c5110f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking trust-dns-proto v0.20.4 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking trust-dns-native-tls v0.20.4 [INFO] [stderr] Checking trust-dns-resolver v0.20.4 [INFO] [stderr] Checking serde v1.0.164 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_json v1.0.97 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.18 [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: 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: 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: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: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: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: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: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: 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: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: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: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: 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: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: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: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: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: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: 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] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.89s [INFO] running `Command { std: "docker" "inspect" "794543853b716b414f46124ce20e695581ae3306e13bdcb014a296df03c5110f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794543853b716b414f46124ce20e695581ae3306e13bdcb014a296df03c5110f", kill_on_drop: false }` [INFO] [stdout] 794543853b716b414f46124ce20e695581ae3306e13bdcb014a296df03c5110f