[INFO] fetching crate alpaca-client 0.1.4... [INFO] testing alpaca-client-0.1.4 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate alpaca-client 0.1.4 into /workspace/builds/worker-83/source [INFO] validating manifest of crates.io crate alpaca-client 0.1.4 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-83/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 214ee109f9aedc59fcf0de1f4bda077f39082930f35ac5920956bf798af57dbd [INFO] running `Command { std: "docker" "start" "-a" "214ee109f9aedc59fcf0de1f4bda077f39082930f35ac5920956bf798af57dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "214ee109f9aedc59fcf0de1f4bda077f39082930f35ac5920956bf798af57dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214ee109f9aedc59fcf0de1f4bda077f39082930f35ac5920956bf798af57dbd", kill_on_drop: false }` [INFO] [stdout] 214ee109f9aedc59fcf0de1f4bda077f39082930f35ac5920956bf798af57dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5eaae771aa318b73f81809c98f55c0cd43b204b5abb927516d3be583baf68ac [INFO] running `Command { std: "docker" "start" "-a" "b5eaae771aa318b73f81809c98f55c0cd43b204b5abb927516d3be583baf68ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling alpaca-client v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `price` [INFO] [stdout] --> src/last_trade.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/last_trade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | size: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exchange` [INFO] [stdout] --> src/last_trade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | exchange: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond1` [INFO] [stdout] --> src/last_trade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cond1: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond2` [INFO] [stdout] --> src/last_trade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | cond2: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond3` [INFO] [stdout] --> src/last_trade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cond3: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond4` [INFO] [stdout] --> src/last_trade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | cond4: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_trade.rs:21:5 [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askprice` [INFO] [stdout] --> src/last_quote.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | askprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asksize` [INFO] [stdout] --> src/last_quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | asksize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askexchange` [INFO] [stdout] --> src/last_quote.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | askexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidprice` [INFO] [stdout] --> src/last_quote.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | bidprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidsize` [INFO] [stdout] --> src/last_quote.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | bidsize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidexchange` [INFO] [stdout] --> src/last_quote.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | bidexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_quote.rs:20:5 [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.97s [INFO] running `Command { std: "docker" "inspect" "b5eaae771aa318b73f81809c98f55c0cd43b204b5abb927516d3be583baf68ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5eaae771aa318b73f81809c98f55c0cd43b204b5abb927516d3be583baf68ac", kill_on_drop: false }` [INFO] [stdout] b5eaae771aa318b73f81809c98f55c0cd43b204b5abb927516d3be583baf68ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc59dd51d9e9eafe2c83f25fc39a2073da0f3df0a033bc35a08db785d9c7207f [INFO] running `Command { std: "docker" "start" "-a" "fc59dd51d9e9eafe2c83f25fc39a2073da0f3df0a033bc35a08db785d9c7207f", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `price` [INFO] [stdout] --> src/last_trade.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alpaca-client v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/last_trade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | size: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exchange` [INFO] [stdout] --> src/last_trade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | exchange: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond1` [INFO] [stdout] --> src/last_trade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cond1: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond2` [INFO] [stdout] --> src/last_trade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | cond2: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond3` [INFO] [stdout] --> src/last_trade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cond3: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond4` [INFO] [stdout] --> src/last_trade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | cond4: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_trade.rs:21:5 [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askprice` [INFO] [stdout] --> src/last_quote.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | askprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asksize` [INFO] [stdout] --> src/last_quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | asksize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askexchange` [INFO] [stdout] --> src/last_quote.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | askexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidprice` [INFO] [stdout] --> src/last_quote.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | bidprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidsize` [INFO] [stdout] --> src/last_quote.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | bidsize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidexchange` [INFO] [stdout] --> src/last_quote.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | bidexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_quote.rs:20:5 [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 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 = 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 is never used: `get_open_position` [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: 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 is never used: `close_all_positions` [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 is never used: `close_position` [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: 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: `#[warn(non_fmt_panics)]` on by default [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 [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: 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 [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: 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 [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_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_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: 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: field is never read: `price` [INFO] [stdout] --> src/last_trade.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/last_trade.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | size: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `exchange` [INFO] [stdout] --> src/last_trade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | exchange: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond1` [INFO] [stdout] --> src/last_trade.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cond1: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond2` [INFO] [stdout] --> src/last_trade.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | cond2: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond3` [INFO] [stdout] --> src/last_trade.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cond3: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cond4` [INFO] [stdout] --> src/last_trade.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | cond4: i32, [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_trade.rs:21:5 [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] --> src/last_trade.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askprice` [INFO] [stdout] --> src/last_quote.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | askprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asksize` [INFO] [stdout] --> src/last_quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | asksize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `askexchange` [INFO] [stdout] --> src/last_quote.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | askexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidprice` [INFO] [stdout] --> src/last_quote.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | bidprice: Decimal, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidsize` [INFO] [stdout] --> src/last_quote.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | bidsize: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bidexchange` [INFO] [stdout] --> src/last_quote.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | bidexchange: i32, [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/last_quote.rs:20:5 [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] --> src/last_quote.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.98s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/alpaca_client-6ab426c980eba31f) [INFO] [stderr] Executable tests/account_configuration.rs (/opt/rustwide/target/debug/deps/account_configuration-adde5f301106159c) [INFO] [stderr] Executable tests/calendar.rs (/opt/rustwide/target/debug/deps/calendar-d0ce8bbb7936f337) [INFO] [stderr] Executable tests/client_orders.rs (/opt/rustwide/target/debug/deps/client_orders-adcd7a591e018b41) [INFO] [stderr] Executable tests/client_position.rs (/opt/rustwide/target/debug/deps/client_position-4cf700f9e130e2a3) [INFO] [stderr] Executable tests/market_data.rs (/opt/rustwide/target/debug/deps/market_data-75b54660ac199763) [INFO] [stderr] Executable tests/serialization.rs (/opt/rustwide/target/debug/deps/serialization-6346263fef5e38eb) [INFO] running `Command { std: "docker" "inspect" "fc59dd51d9e9eafe2c83f25fc39a2073da0f3df0a033bc35a08db785d9c7207f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc59dd51d9e9eafe2c83f25fc39a2073da0f3df0a033bc35a08db785d9c7207f", kill_on_drop: false }` [INFO] [stdout] fc59dd51d9e9eafe2c83f25fc39a2073da0f3df0a033bc35a08db785d9c7207f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-83/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 140b6510c2105d248ceb2f698da298d0f5d03c99ef80a7e4f40c22189b233a38 [INFO] running `Command { std: "docker" "start" "-a" "140b6510c2105d248ceb2f698da298d0f5d03c99ef80a7e4f40c22189b233a38", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `price` [INFO] [stderr] --> src/last_trade.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | price: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/last_trade.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | size: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `exchange` [INFO] [stderr] --> src/last_trade.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | exchange: i32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cond1` [INFO] [stderr] --> src/last_trade.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | cond1: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cond2` [INFO] [stderr] --> src/last_trade.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | cond2: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cond3` [INFO] [stderr] --> src/last_trade.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | cond3: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cond4` [INFO] [stderr] --> src/last_trade.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | cond4: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `timestamp` [INFO] [stderr] --> src/last_trade.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | timestamp: u128 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_trade.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `askprice` [INFO] [stderr] --> src/last_quote.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | askprice: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `asksize` [INFO] [stderr] --> src/last_quote.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | asksize: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `askexchange` [INFO] [stderr] --> src/last_quote.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | askexchange: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bidprice` [INFO] [stderr] --> src/last_quote.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | bidprice: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bidsize` [INFO] [stderr] --> src/last_quote.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | bidsize: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bidexchange` [INFO] [stderr] --> src/last_quote.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | bidexchange: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `timestamp` [INFO] [stderr] --> src/last_quote.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | timestamp: u128 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Last` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/last_quote.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `alpaca-client` (lib) generated 15 warnings [INFO] [stderr] warning: `alpaca-client` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: unused variable: `positions` [INFO] [stderr] --> tests/client_position.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let positions:Vec = client.get_open_positions(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_open_position` [INFO] [stderr] --> tests/client_position.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn get_open_position() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_all_positions` [INFO] [stderr] --> tests/client_position.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn close_all_positions() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_position` [INFO] [stderr] --> tests/client_position.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn close_position() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/client_position.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | assert!(result, true) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 55 | assert!(result, "{}", true) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/client_position.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | assert!(result, false); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 94 | assert!(result, "{}", false); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/client_position.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | assert!(result, false) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 136 | assert!(result, "{}", false) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/client_position.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | &client.place_order(new_order.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 50 | let _ = &client.place_order(new_order.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/client_position.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | &client.place_order(new_order.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 88 | let _ = &client.place_order(new_order.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/client_position.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | &client.place_order(new_order.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 130 | let _ = &client.place_order(new_order.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/client_orders.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | &_client.cancel_order(placed_order.id.unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 100 | let _ = &_client.cancel_order(placed_order.id.unwrap()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `alpaca-client` (test "client_position") generated 10 warnings [INFO] [stderr] warning: `alpaca-client` (test "client_orders") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/alpaca_client-6ab426c980eba31f) [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 tests/account_configuration.rs (/opt/rustwide/target/debug/deps/account_configuration-adde5f301106159c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--test account_configuration' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/account_configuration-adde5f301106159c` (exit status: 255) [INFO] running `Command { std: "docker" "inspect" "140b6510c2105d248ceb2f698da298d0f5d03c99ef80a7e4f40c22189b233a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140b6510c2105d248ceb2f698da298d0f5d03c99ef80a7e4f40c22189b233a38", kill_on_drop: false }` [INFO] [stdout] 140b6510c2105d248ceb2f698da298d0f5d03c99ef80a7e4f40c22189b233a38