[INFO] fetching crate kraken-btc 0.1.0... [INFO] checking kraken-btc-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate kraken-btc 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate kraken-btc 0.1.0 [INFO] finished tweaking crates.io crate kraken-btc 0.1.0 [INFO] tweaked toml for crates.io crate kraken-btc 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kraken-btc 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kraken-btc 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f405ddfc1c90211c72ee9cbfdecc865eecbef79616f2cc10742ffa9e172eb28 [INFO] running `Command { std: "docker" "start" "-a" "6f405ddfc1c90211c72ee9cbfdecc865eecbef79616f2cc10742ffa9e172eb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f405ddfc1c90211c72ee9cbfdecc865eecbef79616f2cc10742ffa9e172eb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f405ddfc1c90211c72ee9cbfdecc865eecbef79616f2cc10742ffa9e172eb28", kill_on_drop: false }` [INFO] [stdout] 6f405ddfc1c90211c72ee9cbfdecc865eecbef79616f2cc10742ffa9e172eb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489b78abac3279a531b27f9e5c4b3839bd8bf6954b467767f78a8d86142ea88e [INFO] running `Command { std: "docker" "start" "-a" "489b78abac3279a531b27f9e5c4b3839bd8bf6954b467767f78a8d86142ea88e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling ring v0.16.17 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking ureq v1.5.2 [INFO] [stderr] Checking kraken-btc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/networking/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/networking/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/error.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | source: NetworkingError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/networking/error.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | source: serde_json::error::Error, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/private.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TradeInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub ordertxid: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub pair: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub vol: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `trades` are never read [INFO] [stdout] --> src/api/private.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub trades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/api/private.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OrderCancellation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 37 | pub count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderCancellation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `altname` is never read [INFO] [stdout] --> src/api/public.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AssetPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub altname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ask` is never read [INFO] [stdout] --> src/api/public.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Ticker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | #[serde(rename = "a")] [INFO] [stdout] 15 | pub ask: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:58:70 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order { [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:68:84 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order { [INFO] [stdout] | -- -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:64 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/error.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | source: NetworkingError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/networking/error.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | source: serde_json::error::Error, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/private.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TradeInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub ordertxid: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub pair: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub vol: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `trades` are never read [INFO] [stdout] --> src/api/private.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub trades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/api/private.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OrderCancellation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 37 | pub count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderCancellation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `altname` is never read [INFO] [stdout] --> src/api/public.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AssetPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub altname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ask` is never read [INFO] [stdout] --> src/api/public.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Ticker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | #[serde(rename = "a")] [INFO] [stdout] 15 | pub ask: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:58:70 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order { [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:68:84 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order { [INFO] [stdout] | -- -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:64 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / #[structopt( [INFO] [stdout] 10 | | short = "k", [INFO] [stdout] 11 | | long = "api-key", [INFO] [stdout] 12 | | env = "KRAKEN_API_KEY", [INFO] [stdout] 13 | | help = "The API key. Also known as API Public Key." [INFO] [stdout] 14 | | )] [INFO] [stdout] 15 | | pub api_key: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt( [INFO] [stdout] 18 | | short = "s", [INFO] [stdout] 19 | | long = "api-secret", [INFO] [stdout] 20 | | env = "KRAKEN_API_SECRET", [INFO] [stdout] 21 | | help = "The API secret. Also known as API Private Key." [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | pub api_secret: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / #[structopt( [INFO] [stdout] 38 | | name = "currency code", [INFO] [stdout] 39 | | short = "c", [INFO] [stdout] 40 | | long = "fiat-currency", [INFO] [stdout] 41 | | help = "The ISO 4217 3-letter code of the fiat currency to sell. E.g. 'EUR' or 'USD'." [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | pub curr: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kraken-btc` (bin "kraken-btc" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / #[structopt( [INFO] [stdout] 10 | | short = "k", [INFO] [stdout] 11 | | long = "api-key", [INFO] [stdout] 12 | | env = "KRAKEN_API_KEY", [INFO] [stdout] 13 | | help = "The API key. Also known as API Public Key." [INFO] [stdout] 14 | | )] [INFO] [stdout] 15 | | pub api_key: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt( [INFO] [stdout] 18 | | short = "s", [INFO] [stdout] 19 | | long = "api-secret", [INFO] [stdout] 20 | | env = "KRAKEN_API_SECRET", [INFO] [stdout] 21 | | help = "The API secret. Also known as API Private Key." [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | pub api_secret: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / #[structopt( [INFO] [stdout] 38 | | name = "currency code", [INFO] [stdout] 39 | | short = "c", [INFO] [stdout] 40 | | long = "fiat-currency", [INFO] [stdout] 41 | | help = "The ISO 4217 3-letter code of the fiat currency to sell. E.g. 'EUR' or 'USD'." [INFO] [stdout] 42 | | )] [INFO] [stdout] 43 | | pub curr: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kraken-btc` (bin "kraken-btc") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "489b78abac3279a531b27f9e5c4b3839bd8bf6954b467767f78a8d86142ea88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489b78abac3279a531b27f9e5c4b3839bd8bf6954b467767f78a8d86142ea88e", kill_on_drop: false }` [INFO] [stdout] 489b78abac3279a531b27f9e5c4b3839bd8bf6954b467767f78a8d86142ea88e