[INFO] cloning repository https://github.com/pnyda5693/aventador [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pnyda5693/aventador" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpnyda5693%2Faventador", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpnyda5693%2Faventador'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 802f8cb5997db0f0584d546450d5bd85842b004b [INFO] testing pnyda5693/aventador against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpnyda5693%2Faventador" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pnyda5693/aventador on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pnyda5693/aventador [INFO] finished tweaking git repo https://github.com/pnyda5693/aventador [INFO] tweaked toml for git repo https://github.com/pnyda5693/aventador written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/pnyda5693/aventador already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/pnyda5693/fxdb` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.13 [INFO] [stderr] Downloaded security-framework-sys v2.1.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.21 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded futures-sink v0.3.13 [INFO] [stderr] Downloaded syn v1.0.61 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded signal-hook-registry v1.2.1 [INFO] [stderr] Downloaded futures-executor v0.3.13 [INFO] [stderr] Downloaded build_const v0.2.1 [INFO] [stderr] Downloaded freetype v0.4.1 [INFO] [stderr] Downloaded servo-fontconfig v0.4.0 [INFO] [stderr] Downloaded tracing v0.1.25 [INFO] [stderr] Downloaded futures-channel v0.3.13 [INFO] [stderr] Downloaded core-text v15.0.0 [INFO] [stderr] Downloaded font-kit v0.7.1 [INFO] [stderr] Downloaded cmake v0.1.44 [INFO] [stderr] Downloaded h2 v0.3.1 [INFO] [stderr] Downloaded async-trait v0.1.45 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded futures-task v0.3.13 [INFO] [stderr] Downloaded mio v0.7.9 [INFO] [stderr] Downloaded tokio-stream v0.1.3 [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded whoami v1.1.0 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded sqlx-macros v0.5.1 [INFO] [stderr] Downloaded futures-util v0.3.13 [INFO] [stderr] Downloaded futures v0.3.13 [INFO] [stderr] Downloaded statrs v0.13.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.71 [INFO] [stderr] Downloaded plotters-bitmap v0.3.0 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded sqlx v0.5.1 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded diesel v1.4.6 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded reqwest v0.10.8 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.71 [INFO] [stderr] Downloaded nalgebra v0.19.0 [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Downloaded sqlx-core v0.5.1 [INFO] [stderr] Downloaded sqlx-rt v0.3.0 [INFO] [stderr] Downloaded security-framework v2.1.1 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded tokio-macros v1.1.0 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded wasm-bindgen v0.2.71 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded lexical-core v0.7.5 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] [stderr] Downloaded servo-fontconfig-sys v4.0.9 [INFO] [stderr] Downloaded encoding_rs v0.8.24 [INFO] [stderr] Downloaded servo-freetype-sys v4.0.5 [INFO] [stderr] Downloaded plotters v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb8fb7b81c100bcb9f8f1ef77e84f6146b82984ac4034f553b08f4fd70ef8874 [INFO] running `Command { std: "docker" "start" "-a" "eb8fb7b81c100bcb9f8f1ef77e84f6146b82984ac4034f553b08f4fd70ef8874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb8fb7b81c100bcb9f8f1ef77e84f6146b82984ac4034f553b08f4fd70ef8874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8fb7b81c100bcb9f8f1ef77e84f6146b82984ac4034f553b08f4fd70ef8874", kill_on_drop: false }` [INFO] [stdout] eb8fb7b81c100bcb9f8f1ef77e84f6146b82984ac4034f553b08f4fd70ef8874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b271f25ca6310f31573f40de10ce035d91db724f1a2cbd575913e3a031b77259 [INFO] running `Command { std: "docker" "start" "-a" "b271f25ca6310f31573f40de10ce035d91db724f1a2cbd575913e3a031b77259", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.45 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling font-kit v0.7.1 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.19.0 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling plotters-bitmap v0.3.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.3 [INFO] [stderr] Compiling sqlx-rt v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling ipnetwork v0.16.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling sqlx-core v0.5.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling statrs v0.13.0 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.1 [INFO] [stderr] Compiling sqlx v0.5.1 [INFO] [stderr] Compiling fxdb v0.1.0 (https://github.com/pnyda5693/fxdb?branch=master#35bc4f0d) [INFO] [stderr] Compiling aventador v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ftx::*` [INFO] [stdout] --> src/exchange.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) use ftx::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | .build_ranged(*SINCE..*UNTIL, min_price..max_price) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 446 | .build_ranged(*SINCE..*UNTIL, min_position..max_position) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | .build_ranged(*SINCE..*UNTIL, min_pnl..max_pnl) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exchange` [INFO] [stdout] --> src/strategy.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exchange` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/strategy.rs:167:77 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/exchange/backtest.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | async fn trades(&self, since: DateTime) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | fn poll_ready(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/exchange/backtest.rs:409:39 [INFO] [stdout] | [INFO] [stdout] 409 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:413:39 [INFO] [stdout] | [INFO] [stdout] 413 | fn poll_flush(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:417:39 [INFO] [stdout] | [INFO] [stdout] 417 | fn poll_close(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/exchange/ftx.rs:565:39 [INFO] [stdout] | [INFO] [stdout] 565 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAINTENANCE_MARGIN` [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAINTENANCE_MARGIN: f64 = 0.5 * 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `liquidation` [INFO] [stdout] --> src/models.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn liquidation(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trade` [INFO] [stdout] --> src/models.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Order` [INFO] [stdout] --> src/models.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | Order, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Position` [INFO] [stdout] --> src/models.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `InvalidState` [INFO] [stdout] --> src/models.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | InvalidState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug, Clone, Copy, PartialEq)] [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: function is never used: `ceil_order` [INFO] [stdout] --> src/strategy.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn ceil_order(amount: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `floor_order` [INFO] [stdout] --> src/strategy.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn floor_order(amount: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `open` [INFO] [stdout] --> src/strategy.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | open: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/exchange/ftx.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) async fn new(market: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/exchange/ftx.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | async fn connect() -> Connection { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/exchange/ftx.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) async fn subscribe(&mut self, topic: Topic) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_incoming` [INFO] [stdout] --> src/exchange/ftx.rs:584:4 [INFO] [stdout] | [INFO] [stdout] 584 | fn log_incoming(msg: &Result) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_outgoing` [INFO] [stdout] --> src/exchange/ftx.rs:588:4 [INFO] [stdout] | [INFO] [stdout] 588 | fn log_outgoing(msg: Result) -> future::Ready> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.34s [INFO] running `Command { std: "docker" "inspect" "b271f25ca6310f31573f40de10ce035d91db724f1a2cbd575913e3a031b77259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b271f25ca6310f31573f40de10ce035d91db724f1a2cbd575913e3a031b77259", kill_on_drop: false }` [INFO] [stdout] b271f25ca6310f31573f40de10ce035d91db724f1a2cbd575913e3a031b77259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f3af2eb4a4ef343d8e4112e8fba66c4644cb20ce16c7566bbb0bed63eff85c9 [INFO] running `Command { std: "docker" "start" "-a" "5f3af2eb4a4ef343d8e4112e8fba66c4644cb20ce16c7566bbb0bed63eff85c9", kill_on_drop: false }` [INFO] [stderr] Compiling aventador v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ftx::*` [INFO] [stdout] --> src/exchange.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) use ftx::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | .build_ranged(*SINCE..*UNTIL, min_price..max_price) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 446 | .build_ranged(*SINCE..*UNTIL, min_position..max_position) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stdout] --> src/exchange/backtest.rs:469:8 [INFO] [stdout] | [INFO] [stdout] 469 | .build_ranged(*SINCE..*UNTIL, min_pnl..max_pnl) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exchange` [INFO] [stdout] --> src/strategy.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exchange` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/strategy.rs:167:77 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `since` [INFO] [stdout] --> src/exchange/backtest.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | async fn trades(&self, since: DateTime) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | fn poll_ready(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/exchange/backtest.rs:409:39 [INFO] [stdout] | [INFO] [stdout] 409 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:413:39 [INFO] [stdout] | [INFO] [stdout] 413 | fn poll_flush(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/exchange/backtest.rs:417:39 [INFO] [stdout] | [INFO] [stdout] 417 | fn poll_close(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/exchange/ftx.rs:565:39 [INFO] [stdout] | [INFO] [stdout] 565 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAINTENANCE_MARGIN` [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAINTENANCE_MARGIN: f64 = 0.5 * 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `liquidation` [INFO] [stdout] --> src/models.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn liquidation(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trade` [INFO] [stdout] --> src/models.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | Trade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Order` [INFO] [stdout] --> src/models.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | Order, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Position` [INFO] [stdout] --> src/models.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `InvalidState` [INFO] [stdout] --> src/models.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | InvalidState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug, Clone, Copy, PartialEq)] [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: function is never used: `ceil_order` [INFO] [stdout] --> src/strategy.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn ceil_order(amount: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `floor_order` [INFO] [stdout] --> src/strategy.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn floor_order(amount: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `open` [INFO] [stdout] --> src/strategy.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | open: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/exchange/ftx.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) async fn new(market: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connect` [INFO] [stdout] --> src/exchange/ftx.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | async fn connect() -> Connection { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/exchange/ftx.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) async fn subscribe(&mut self, topic: Topic) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_incoming` [INFO] [stdout] --> src/exchange/ftx.rs:584:4 [INFO] [stdout] | [INFO] [stdout] 584 | fn log_incoming(msg: &Result) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_outgoing` [INFO] [stdout] --> src/exchange/ftx.rs:588:4 [INFO] [stdout] | [INFO] [stdout] 588 | fn log_outgoing(msg: Result) -> future::Ready> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "5f3af2eb4a4ef343d8e4112e8fba66c4644cb20ce16c7566bbb0bed63eff85c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3af2eb4a4ef343d8e4112e8fba66c4644cb20ce16c7566bbb0bed63eff85c9", kill_on_drop: false }` [INFO] [stdout] 5f3af2eb4a4ef343d8e4112e8fba66c4644cb20ce16c7566bbb0bed63eff85c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19e3448ee2af7808da6cd9f64f0645e501b57579d5683033700fe11806b8e4ed [INFO] running `Command { std: "docker" "start" "-a" "19e3448ee2af7808da6cd9f64f0645e501b57579d5683033700fe11806b8e4ed", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ftx::*` [INFO] [stderr] --> src/exchange.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) use ftx::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stderr] --> src/exchange/backtest.rs:430:8 [INFO] [stderr] | [INFO] [stderr] 430 | .build_ranged(*SINCE..*UNTIL, min_price..max_price) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stderr] --> src/exchange/backtest.rs:446:8 [INFO] [stderr] | [INFO] [stderr] 446 | .build_ranged(*SINCE..*UNTIL, min_position..max_position) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `plotters::chart::ChartBuilder::<'a, 'b, DB>::build_ranged`: `build_ranged` has been renamed to `build_cartesian_2d` and is to be removed in the future. [INFO] [stderr] --> src/exchange/backtest.rs:469:8 [INFO] [stderr] | [INFO] [stderr] 469 | .build_ranged(*SINCE..*UNTIL, min_pnl..max_pnl) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `exchange` [INFO] [stderr] --> src/strategy.rs:167:47 [INFO] [stderr] | [INFO] [stderr] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exchange` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order` [INFO] [stderr] --> src/strategy.rs:167:77 [INFO] [stderr] | [INFO] [stderr] 167 | pub(crate) async fn handle_order(&mut self, exchange: &Box, order: Order) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `since` [INFO] [stderr] --> src/exchange/backtest.rs:361:26 [INFO] [stderr] | [INFO] [stderr] 361 | async fn trades(&self, since: DateTime) -> Result, Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_since` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/exchange/backtest.rs:405:39 [INFO] [stderr] | [INFO] [stderr] 405 | fn poll_ready(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/exchange/backtest.rs:409:39 [INFO] [stderr] | [INFO] [stderr] 409 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/exchange/backtest.rs:413:39 [INFO] [stderr] | [INFO] [stderr] 413 | fn poll_flush(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/exchange/backtest.rs:417:39 [INFO] [stderr] | [INFO] [stderr] 417 | fn poll_close(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/exchange/ftx.rs:565:39 [INFO] [stderr] | [INFO] [stderr] 565 | fn start_send(self: Pin<&mut Self>, item: ()) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: static is never used: `MAINTENANCE_MARGIN` [INFO] [stderr] --> src/models.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | static MAINTENANCE_MARGIN: f64 = 0.5 * 0.01; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `liquidation` [INFO] [stderr] --> src/models.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | pub(crate) fn liquidation(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Trade` [INFO] [stderr] --> src/models.rs:107:3 [INFO] [stderr] | [INFO] [stderr] 107 | Trade, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Order` [INFO] [stderr] --> src/models.rs:108:3 [INFO] [stderr] | [INFO] [stderr] 108 | Order, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `Position` [INFO] [stderr] --> src/models.rs:109:3 [INFO] [stderr] | [INFO] [stderr] 109 | Position, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Topic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models.rs:105:10 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Debug, Clone, Copy, PartialEq)] [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: variant is never constructed: `InvalidState` [INFO] [stderr] --> src/models.rs:115:3 [INFO] [stderr] | [INFO] [stderr] 115 | InvalidState, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive(Debug, Clone, Copy, PartialEq)] [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: function is never used: `ceil_order` [INFO] [stderr] --> src/strategy.rs:233:4 [INFO] [stderr] | [INFO] [stderr] 233 | fn ceil_order(amount: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `floor_order` [INFO] [stderr] --> src/strategy.rs:237:4 [INFO] [stderr] | [INFO] [stderr] 237 | fn floor_order(amount: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `open` [INFO] [stderr] --> src/strategy.rs:307:3 [INFO] [stderr] | [INFO] [stderr] 307 | open: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/exchange/ftx.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | pub(crate) async fn new(market: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connect` [INFO] [stderr] --> src/exchange/ftx.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | async fn connect() -> Connection { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `subscribe` [INFO] [stderr] --> src/exchange/ftx.rs:146:23 [INFO] [stderr] | [INFO] [stderr] 146 | pub(crate) async fn subscribe(&mut self, topic: Topic) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_incoming` [INFO] [stderr] --> src/exchange/ftx.rs:584:4 [INFO] [stderr] | [INFO] [stderr] 584 | fn log_incoming(msg: &Result) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `log_outgoing` [INFO] [stderr] --> src/exchange/ftx.rs:588:4 [INFO] [stderr] | [INFO] [stderr] 588 | fn log_outgoing(msg: Result) -> future::Ready> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aventador` (bin "aventador" test) generated 27 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aventador-868c84a3e93ab07f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19e3448ee2af7808da6cd9f64f0645e501b57579d5683033700fe11806b8e4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e3448ee2af7808da6cd9f64f0645e501b57579d5683033700fe11806b8e4ed", kill_on_drop: false }` [INFO] [stdout] 19e3448ee2af7808da6cd9f64f0645e501b57579d5683033700fe11806b8e4ed