[INFO] fetching crate payup 0.1.41... [INFO] building payup-0.1.41 against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] extracting crate payup 0.1.41 into /workspace/builds/worker-79/source [INFO] validating manifest of crates.io crate payup 0.1.41 on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate payup 0.1.41 [INFO] finished tweaking crates.io crate payup 0.1.41 [INFO] tweaked toml for crates.io crate payup 0.1.41 written to /workspace/builds/worker-79/source/Cargo.toml [INFO] crate crates.io crate payup 0.1.41 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-native-tls v0.20.3 [INFO] [stderr] Downloaded libc v0.2.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b34e7ef33004b05dc76cf227e9aab9ff44fc92cf7d67c0591d071bbc3ad1e9b9 [INFO] running `Command { std: "docker" "start" "-a" "b34e7ef33004b05dc76cf227e9aab9ff44fc92cf7d67c0591d071bbc3ad1e9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b34e7ef33004b05dc76cf227e9aab9ff44fc92cf7d67c0591d071bbc3ad1e9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34e7ef33004b05dc76cf227e9aab9ff44fc92cf7d67c0591d071bbc3ad1e9b9", kill_on_drop: false }` [INFO] [stdout] b34e7ef33004b05dc76cf227e9aab9ff44fc92cf7d67c0591d071bbc3ad1e9b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4539be4dd19ab8c2e672a1f7cc810760978e23320d2ec793c208d0d0584c9acd [INFO] running `Command { std: "docker" "start" "-a" "4539be4dd19ab8c2e672a1f7cc810760978e23320d2ec793c208d0d0584c9acd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling trust-dns-native-tls v0.20.3 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling payup v0.1.41 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/stripe.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/stripe.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | for (item) in &self.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] 728 - for (item) in &self.price_items{ [INFO] [stdout] 728 + for item in &self.price_items{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stripe.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 522 | / match &self.id{ [INFO] [stdout] 523 | | Some(id) => { [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match customer.id { [INFO] [stdout] ... | [INFO] [stdout] 542 | | None => return Ok(false) [INFO] [stdout] 543 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 544 | [INFO] [stdout] 545 | 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:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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] = 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:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | 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:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | 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:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | 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:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "4539be4dd19ab8c2e672a1f7cc810760978e23320d2ec793c208d0d0584c9acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4539be4dd19ab8c2e672a1f7cc810760978e23320d2ec793c208d0d0584c9acd", kill_on_drop: false }` [INFO] [stdout] 4539be4dd19ab8c2e672a1f7cc810760978e23320d2ec793c208d0d0584c9acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 384cc275b75f786ee6f0d63f63a3175fa0ca897eb3d8477ddac3f200944a6cb9 [INFO] running `Command { std: "docker" "start" "-a" "384cc275b75f786ee6f0d63f63a3175fa0ca897eb3d8477ddac3f200944a6cb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/stripe.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling payup v0.1.41 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/stripe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/stripe.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | for (item) in &self.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] 728 - for (item) in &self.price_items{ [INFO] [stdout] 728 + for item in &self.price_items{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stripe.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 522 | / match &self.id{ [INFO] [stdout] 523 | | Some(id) => { [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match customer.id { [INFO] [stdout] ... | [INFO] [stdout] 542 | | None => return Ok(false) [INFO] [stdout] 543 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 544 | [INFO] [stdout] 545 | 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:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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] = 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:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | 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:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | 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:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | 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:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/stripe.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/stripe.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | for (item) in &self.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] 728 - for (item) in &self.price_items{ [INFO] [stdout] 728 + for item in &self.price_items{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/stripe.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 522 | / match &self.id{ [INFO] [stdout] 523 | | Some(id) => { [INFO] [stdout] 524 | | [INFO] [stdout] 525 | | match customer.id { [INFO] [stdout] ... | [INFO] [stdout] 542 | | None => return Ok(false) [INFO] [stdout] 543 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 544 | [INFO] [stdout] 545 | 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:531:29 [INFO] [stdout] | [INFO] [stdout] 531 | 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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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] = 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:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | 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:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | 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:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | 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:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.00s [INFO] running `Command { std: "docker" "inspect" "384cc275b75f786ee6f0d63f63a3175fa0ca897eb3d8477ddac3f200944a6cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384cc275b75f786ee6f0d63f63a3175fa0ca897eb3d8477ddac3f200944a6cb9", kill_on_drop: false }` [INFO] [stdout] 384cc275b75f786ee6f0d63f63a3175fa0ca897eb3d8477ddac3f200944a6cb9