[INFO] fetching crate alpaca-client 0.1.4...
[INFO] checking alpaca-client-0.1.4 against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] extracting crate alpaca-client 0.1.4 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate alpaca-client 0.1.4 on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "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] [stderr]      Locking 207 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.10.10 (available: v0.12.12)
[INFO] [stderr]       Adding tokio v0.2.25 (available: v1.43.0)
[INFO] [stderr]       Adding uuid v0.8.2 (available: v1.12.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4665080881a88c5df8a68951d4cc561248c09901ae065f6daff82ae5420053cc
[INFO] running `Command { std: "docker" "start" "-a" "4665080881a88c5df8a68951d4cc561248c09901ae065f6daff82ae5420053cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4665080881a88c5df8a68951d4cc561248c09901ae065f6daff82ae5420053cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4665080881a88c5df8a68951d4cc561248c09901ae065f6daff82ae5420053cc", kill_on_drop: false }`
[INFO] [stdout] 4665080881a88c5df8a68951d4cc561248c09901ae065f6daff82ae5420053cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 420c0d7bda25c418421f830b254ffebedbb878593573ccbf287b6628e6280c4d
[INFO] running `Command { std: "docker" "start" "-a" "420c0d7bda25c418421f830b254ffebedbb878593573ccbf287b6628e6280c4d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling cc v1.2.11
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.69
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling pin-project-internal v1.1.8
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking pin-project v1.1.8
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[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: trait `AuthError` is never used
[INFO] [stdout]   --> src/client.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | trait AuthError: Debug + Display {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[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_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] 
[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: trait `AuthError` is never used
[INFO] [stdout]   --> src/client.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | trait AuthError: Debug + Display {
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[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_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] 
[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: 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: 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]    |                                                        ^^^^^^^^^
[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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 54 -             .any(|x : Position | x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout] 54 +             .any(|x : Position | x.symbol.eq(&new_order.symbol));
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `Order`, implement `Clone` for it
[INFO] [stdout]   --> /opt/rustwide/workdir/src/order.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 + #[derive(Clone)]
[INFO] [stdout] 24 | pub struct Order {
[INFO] [stdout]    |
[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]    |                                            ^^^^^^^^^
[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] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 93 -             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout] 93 +             .any(|x| x.symbol.eq(&new_order.symbol));
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `Order`, implement `Clone` for it
[INFO] [stdout]   --> /opt/rustwide/workdir/src/order.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 + #[derive(Clone)]
[INFO] [stdout] 24 | pub struct Order {
[INFO] [stdout]    |
[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]     |                                            ^^^^^^^^^
[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] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 135 -             .any(|x| x.symbol.eq(&new_order.borrow().symbol));
[INFO] [stdout] 135 +             .any(|x| x.symbol.eq(&new_order.symbol));
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Order`, implement `Clone` for it
[INFO] [stdout]    --> /opt/rustwide/workdir/src/order.rs:23:1
[INFO] [stdout]     |
[INFO] [stdout] 23  + #[derive(Clone)]
[INFO] [stdout] 24  | pub struct Order {
[INFO] [stdout]     |
[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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "420c0d7bda25c418421f830b254ffebedbb878593573ccbf287b6628e6280c4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "420c0d7bda25c418421f830b254ffebedbb878593573ccbf287b6628e6280c4d", kill_on_drop: false }`
[INFO] [stdout] 420c0d7bda25c418421f830b254ffebedbb878593573ccbf287b6628e6280c4d
