[INFO] fetching crate alpaca-client 0.1.4...
[INFO] checking alpaca-client-0.1.4 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate alpaca-client 0.1.4 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate alpaca-client 0.1.4 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate alpaca-client 0.1.4
[INFO] finished tweaking crates.io crate alpaca-client 0.1.4
[INFO] tweaked toml for crates.io crate alpaca-client 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78d710727fd1c98229138d843ea4464fc401804bcbebc4ff36accb73a833554f
[INFO] running `Command { std: "docker" "start" "-a" "78d710727fd1c98229138d843ea4464fc401804bcbebc4ff36accb73a833554f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78d710727fd1c98229138d843ea4464fc401804bcbebc4ff36accb73a833554f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78d710727fd1c98229138d843ea4464fc401804bcbebc4ff36accb73a833554f", kill_on_drop: false }`
[INFO] [stdout] 78d710727fd1c98229138d843ea4464fc401804bcbebc4ff36accb73a833554f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd780d354548dd4b0788d713d317cc6ab72be59e0f9e31529618cf89aeeaa2a6
[INFO] running `Command { std: "docker" "start" "-a" "dd780d354548dd4b0788d713d317cc6ab72be59e0f9e31529618cf89aeeaa2a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling rust_decimal v1.33.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking pin-project v1.1.4
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking alpaca-client v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_trade.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     size: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     exchange: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     cond1: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     cond2: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     cond3: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     cond4: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_quote.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     askprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 15 |     asksize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     askexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bidprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     bidsize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     bidexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_trade.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     size: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     exchange: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     cond1: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     cond2: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     cond3: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     cond4: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_quote.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     askprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 15 |     asksize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     askexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bidprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     bidsize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     bidexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> tests/client_position.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let positions:Vec<Position> = client.get_open_positions();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/client_orders.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         &_client.cancel_order(placed_order.id.unwrap());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let _ = &_client.cancel_order(placed_order.id.unwrap());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_open_position` is never used
[INFO] [stdout]   --> tests/client_position.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn get_open_position() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `close_all_positions` is never used
[INFO] [stdout]   --> tests/client_position.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn close_all_positions() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `close_position` is never used
[INFO] [stdout]    --> tests/client_position.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn close_position() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> tests/client_position.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         &client.place_order(new_order.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/client_position.rs:54:56
[INFO] [stdout]    |
[INFO] [stdout] 54 |             .any(|x : Position | x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]    |                                                        ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/client_position.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(result, true)
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(result, "{}", true)
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> tests/client_position.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         &client.place_order(new_order.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/client_position.rs:93:44
[INFO] [stdout]    |
[INFO] [stdout] 93 |             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]    |                                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/client_position.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert!(result, false);
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert!(result, "{}", false);
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/client_position.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         &client.place_order(new_order.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/client_position.rs:135:44
[INFO] [stdout]     |
[INFO] [stdout] 135 |             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]     |                                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/client_position.rs:136:25
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert!(result, false)
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert!(result, "{}", false)
[INFO] [stdout]     |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.39s
[INFO] running `Command { std: "docker" "inspect" "dd780d354548dd4b0788d713d317cc6ab72be59e0f9e31529618cf89aeeaa2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd780d354548dd4b0788d713d317cc6ab72be59e0f9e31529618cf89aeeaa2a6", kill_on_drop: false }`
[INFO] [stdout] dd780d354548dd4b0788d713d317cc6ab72be59e0f9e31529618cf89aeeaa2a6
[INFO] checking alpaca-client-0.1.4 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate alpaca-client 0.1.4 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate alpaca-client 0.1.4 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate alpaca-client 0.1.4
[INFO] finished tweaking crates.io crate alpaca-client 0.1.4
[INFO] tweaked toml for crates.io crate alpaca-client 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb987b2d5b03a552f4ca4c0c5e0d988784e00bec392f5452423583de564a5efe
[INFO] running `Command { std: "docker" "start" "-a" "fb987b2d5b03a552f4ca4c0c5e0d988784e00bec392f5452423583de564a5efe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb987b2d5b03a552f4ca4c0c5e0d988784e00bec392f5452423583de564a5efe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb987b2d5b03a552f4ca4c0c5e0d988784e00bec392f5452423583de564a5efe", kill_on_drop: false }`
[INFO] [stdout] fb987b2d5b03a552f4ca4c0c5e0d988784e00bec392f5452423583de564a5efe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71a37a34a4493d2ea7db6223025b8dae66a241860fd59699eb1dc2dffb7073a9
[INFO] running `Command { std: "docker" "start" "-a" "71a37a34a4493d2ea7db6223025b8dae66a241860fd59699eb1dc2dffb7073a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling rust_decimal v1.33.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking pin-project v1.1.4
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking alpaca-client v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_trade.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     size: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     exchange: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     cond1: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     cond2: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     cond3: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     cond4: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_quote.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     askprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 15 |     asksize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     askexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bidprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     bidsize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     bidexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_trade.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     price: Decimal,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     size: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     exchange: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     cond1: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     cond2: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     cond3: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     cond4: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/last_quote.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Last {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     askprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 15 |     asksize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     askexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bidprice: Decimal,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     bidsize: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     bidexchange: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     timestamp: u128
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> tests/client_position.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let positions:Vec<Position> = client.get_open_positions();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_open_position` is never used
[INFO] [stdout]   --> tests/client_position.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn get_open_position() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `close_all_positions` is never used
[INFO] [stdout]   --> tests/client_position.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn close_all_positions() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `close_position` is never used
[INFO] [stdout]    --> tests/client_position.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn close_position() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> tests/client_position.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         &client.place_order(new_order.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/client_orders.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         &_client.cancel_order(placed_order.id.unwrap());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let _ = &_client.cancel_order(placed_order.id.unwrap());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/client_position.rs:54:56
[INFO] [stdout]    |
[INFO] [stdout] 54 |             .any(|x : Position | x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]    |                                                        ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/client_position.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(result, true)
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(result, "{}", true)
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> tests/client_position.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         &client.place_order(new_order.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> tests/client_position.rs:93:44
[INFO] [stdout]    |
[INFO] [stdout] 93 |             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]    |                                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> tests/client_position.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert!(result, false);
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert!(result, "{}", false);
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/client_position.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         &client.place_order(new_order.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let _ = &client.place_order(new_order.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> tests/client_position.rs:135:44
[INFO] [stdout]     |
[INFO] [stdout] 135 |             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout]     |                                            ^^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Order` does not implement `Borrow`, so calling `borrow` on `&Order` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/client_position.rs:136:25
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert!(result, false)
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 136 |         assert!(result, "{}", false)
[INFO] [stdout]     |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.16s
[INFO] running `Command { std: "docker" "inspect" "71a37a34a4493d2ea7db6223025b8dae66a241860fd59699eb1dc2dffb7073a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71a37a34a4493d2ea7db6223025b8dae66a241860fd59699eb1dc2dffb7073a9", kill_on_drop: false }`
[INFO] [stdout] 71a37a34a4493d2ea7db6223025b8dae66a241860fd59699eb1dc2dffb7073a9
