[INFO] fetching crate kraken-btc 0.1.0... [INFO] testing kraken-btc-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kraken-btc 0.1.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kraken-btc 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 048c96823983eda5fbaedebe2cc30369d2dcfb75747c5f7136f089b4be554962 [INFO] running `Command { std: "docker" "start" "-a" "048c96823983eda5fbaedebe2cc30369d2dcfb75747c5f7136f089b4be554962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "048c96823983eda5fbaedebe2cc30369d2dcfb75747c5f7136f089b4be554962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048c96823983eda5fbaedebe2cc30369d2dcfb75747c5f7136f089b4be554962", kill_on_drop: false }` [INFO] [stdout] 048c96823983eda5fbaedebe2cc30369d2dcfb75747c5f7136f089b4be554962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fbcfc540eb0fea95c86d227bbb53369b356c8cf840b5ef0b774394f24b13dc8 [INFO] running `Command { std: "docker" "start" "-a" "9fbcfc540eb0fea95c86d227bbb53369b356c8cf840b5ef0b774394f24b13dc8", 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 cc v1.0.65 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling 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] Compiling cookie v0.14.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling chunked_transfer v1.3.0 [INFO] [stderr] Compiling ring v0.16.17 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling ureq v1.5.2 [INFO] [stderr] Compiling 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)]` on by default [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)]` 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:31 [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:29 [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:33 [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:25 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.03s [INFO] running `Command { std: "docker" "inspect" "9fbcfc540eb0fea95c86d227bbb53369b356c8cf840b5ef0b774394f24b13dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fbcfc540eb0fea95c86d227bbb53369b356c8cf840b5ef0b774394f24b13dc8", kill_on_drop: false }` [INFO] [stdout] 9fbcfc540eb0fea95c86d227bbb53369b356c8cf840b5ef0b774394f24b13dc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 048c8f5272c8348b8d5efc9da1f366c3bfcec2dbb435d43ec0d329d5ebe9258f [INFO] running `Command { std: "docker" "start" "-a" "048c8f5272c8348b8d5efc9da1f366c3bfcec2dbb435d43ec0d329d5ebe9258f", kill_on_drop: false }` [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)]` on by default [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)]` 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:31 [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:29 [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:33 [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:25 [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] [stderr] Compiling 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)]` on by default [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)]` 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:31 [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:29 [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:33 [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:25 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "048c8f5272c8348b8d5efc9da1f366c3bfcec2dbb435d43ec0d329d5ebe9258f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048c8f5272c8348b8d5efc9da1f366c3bfcec2dbb435d43ec0d329d5ebe9258f", kill_on_drop: false }` [INFO] [stdout] 048c8f5272c8348b8d5efc9da1f366c3bfcec2dbb435d43ec0d329d5ebe9258f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13a37345008e8f05923fcbecba52780c2ff65dcb8abe6d92d856178fe963bf25 [INFO] running `Command { std: "docker" "start" "-a" "13a37345008e8f05923fcbecba52780c2ff65dcb8abe6d92d856178fe963bf25", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `response::Response` [INFO] [stderr] --> src/networking/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use response::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/api/private.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct TradeInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 9 | pub ordertxid: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 10 | pub pair: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | pub time: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | pub price: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | pub cost: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | pub fee: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | pub vol: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TradeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `status` and `trades` are never read [INFO] [stderr] --> src/api/private.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct OrderInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 20 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 21 | pub trades: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `count` is never read [INFO] [stderr] --> src/api/private.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct OrderCancellation { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 37 | pub count: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrderCancellation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `altname` is never read [INFO] [stderr] --> src/api/public.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AssetPair { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 7 | pub altname: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AssetPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `ask` is never read [INFO] [stderr] --> src/api/public.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Ticker { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 14 | #[serde(rename = "a")] [INFO] [stderr] 15 | pub ask: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ticker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order { [INFO] [stderr] | ^^ ^^ -- ----- the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 58 | pub fn fiat_currency(&'a mut self, fiat: &'a str) -> &'a mut Order<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order { [INFO] [stderr] | ^^ -- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 63 | pub fn fiat_amount(&'a mut self, amount: i32) -> &'a mut Order<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:68:33 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order { [INFO] [stderr] | ^^ ^^ ^^ -- ----- the same lifetime is hidden here [INFO] [stderr] | | | | | [INFO] [stderr] | | | | the same lifetime is named here [INFO] [stderr] | | | the lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 68 | pub fn api_credentials(&'a mut self, key_pair: &'a KeyPair<'a>) -> &'a mut Order<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order { [INFO] [stderr] | ^^ -- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 73 | pub fn dry_run(&'a mut self, dry_run: bool) -> &'a mut Order<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `kraken-btc` (lib) generated 10 warnings (run `cargo fix --lib -p kraken-btc` to apply 5 suggestions) [INFO] [stderr] warning: `kraken-btc` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kraken_btc-a92299879cbc0286) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kraken_btc-b3a03f1079fca1c0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kraken_btc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13a37345008e8f05923fcbecba52780c2ff65dcb8abe6d92d856178fe963bf25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a37345008e8f05923fcbecba52780c2ff65dcb8abe6d92d856178fe963bf25", kill_on_drop: false }` [INFO] [stdout] 13a37345008e8f05923fcbecba52780c2ff65dcb8abe6d92d856178fe963bf25