[INFO] cloning repository https://github.com/letres/ncifinance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/letres/ncifinance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletres%2Fncifinance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletres%2Fncifinance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5e3274c6da313885bad80d85db0ccda788e89d6 [INFO] testing letres/ncifinance against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletres%2Fncifinance" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/letres/ncifinance [INFO] finished tweaking git repo https://github.com/letres/ncifinance [INFO] tweaked toml for git repo https://github.com/letres/ncifinance written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/letres/ncifinance on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/letres/ncifinance already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.52 [INFO] [stderr] Downloaded serde v1.0.158 [INFO] [stderr] Downloaded futures-core v0.3.27 [INFO] [stderr] Downloaded uuid v1.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.158 [INFO] [stderr] Downloaded futures-macro v0.3.27 [INFO] [stderr] Downloaded futures-io v0.3.27 [INFO] [stderr] Downloaded futures-sink v0.3.27 [INFO] [stderr] Downloaded futures-executor v0.3.27 [INFO] [stderr] Downloaded ta v0.5.0 [INFO] [stderr] Downloaded futures-channel v0.3.27 [INFO] [stderr] Downloaded futures-task v0.3.27 [INFO] [stderr] Downloaded prettytable-rs v0.10.0 [INFO] [stderr] Downloaded futures v0.3.27 [INFO] [stderr] Downloaded tokio-stream v0.1.12 [INFO] [stderr] Downloaded cxx-build v1.0.93 [INFO] [stderr] Downloaded serde_json v1.0.94 [INFO] [stderr] Downloaded redis v0.22.3 [INFO] [stderr] Downloaded futures-util v0.3.27 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.93 [INFO] [stderr] Downloaded syn v2.0.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.18.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.93 [INFO] [stderr] Downloaded tungstenite v0.18.0 [INFO] [stderr] Downloaded tokio v1.26.0 [INFO] [stderr] Downloaded cxx v1.0.93 [INFO] [stderr] Downloaded csv v1.2.1 [INFO] [stderr] Downloaded serde_qs v0.11.0 [INFO] [stderr] Downloaded tempfile v3.4.0 [INFO] [stderr] Downloaded reqwest v0.11.15 [INFO] [stderr] Downloaded openssl-sys v0.9.82 [INFO] [stderr] Downloaded openssl v0.10.47 [INFO] [stderr] Downloaded async-trait v0.1.67 [INFO] [stderr] Downloaded pin-project v1.0.12 [INFO] [stderr] Downloaded pin-project-internal v1.0.12 [INFO] [stderr] Downloaded barter-integration v0.5.1 [INFO] [stderr] Downloaded barter-macro v0.1.1 [INFO] [stderr] Downloaded barter v0.8.12 [INFO] [stderr] Downloaded barter-data v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696 [INFO] running `Command { std: "docker" "start" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.52 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling serde_derive v1.0.158 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling openssl v0.10.47 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.67 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syn v2.0.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.82 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling ta v0.5.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling barter-macro v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tungstenite v0.18.0 [INFO] [stderr] Compiling redis v0.22.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling serde_qs v0.11.0 [INFO] [stderr] Compiling csv v1.2.1 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.27 [INFO] [stderr] Compiling futures v0.3.27 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-tungstenite v0.18.0 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling hyper v0.14.25 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.15 [INFO] [stderr] Compiling barter-integration v0.5.1 [INFO] [stderr] Compiling barter-data v0.6.9 [INFO] [stderr] Compiling barter v0.8.12 [INFO] [stderr] Compiling ncifinance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Config as StrategyConfig` and `RSIStrategy` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | strategy::example::{Config as StrategyConfig, RSIStrategy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Close` [INFO] [stdout] --> src/custom_strategy.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/custom_strategy.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Next` [INFO] [stdout] --> src/custom_strategy.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candle_number` [INFO] [stdout] --> src/custom_strategy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let candle_number = match &market.kind { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candle_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strats` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let strats = WeightConfig { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_strats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal` [INFO] [stdout] --> src/main.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | Event::Signal(signal) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_order` [INFO] [stdout] --> src/main.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | Event::OrderNew(new_order) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill_event` [INFO] [stdout] --> src/main.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | Event::Fill(fill_event) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fill_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_position` [INFO] [stdout] --> src/main.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | Event::PositionNew(new_position) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_position` [INFO] [stdout] --> src/main.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | Event::PositionUpdate(updated_position) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exited_position` [INFO] [stdout] --> src/main.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | Event::PositionExit(exited_position) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exited_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance_update` [INFO] [stdout] --> src/main.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | Event::Balance(balance_update) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataTick` is more private than the item `WeightedStrategy` [INFO] [stdout] --> src/custom_strategy.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / impl WeightedStrategy [INFO] [stdout] 115 | | where [INFO] [stdout] 116 | | RelativeStrengthIndex: for<'a> ta::Next<&'a DataItem, Output = f64>, [INFO] [stdout] 117 | | DataItem: DataTick, [INFO] [stdout] | |___________________________^ implementation `WeightedStrategy` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `DataTick` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/custom_strategy.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | trait DataTick: ta::Open + ta::High + ta::Low + ta::Close + ta::Volume {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.12, openssl v0.10.47, redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling ncifinance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Config as StrategyConfig` and `RSIStrategy` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | strategy::example::{Config as StrategyConfig, RSIStrategy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Close` [INFO] [stdout] --> src/custom_strategy.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/custom_strategy.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Next` [INFO] [stdout] --> src/custom_strategy.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | Close, DataItem, Next, Open, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candle_number` [INFO] [stdout] --> src/custom_strategy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let candle_number = match &market.kind { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candle_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strats` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let strats = WeightConfig { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_strats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal` [INFO] [stdout] --> src/main.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | Event::Signal(signal) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_order` [INFO] [stdout] --> src/main.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | Event::OrderNew(new_order) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill_event` [INFO] [stdout] --> src/main.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | Event::Fill(fill_event) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fill_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_position` [INFO] [stdout] --> src/main.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | Event::PositionNew(new_position) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_position` [INFO] [stdout] --> src/main.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | Event::PositionUpdate(updated_position) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exited_position` [INFO] [stdout] --> src/main.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | Event::PositionExit(exited_position) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exited_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance_update` [INFO] [stdout] --> src/main.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | Event::Balance(balance_update) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataTick` is more private than the item `WeightedStrategy` [INFO] [stdout] --> src/custom_strategy.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / impl WeightedStrategy [INFO] [stdout] 115 | | where [INFO] [stdout] 116 | | RelativeStrengthIndex: for<'a> ta::Next<&'a DataItem, Output = f64>, [INFO] [stdout] 117 | | DataItem: DataTick, [INFO] [stdout] | |___________________________^ implementation `WeightedStrategy` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `DataTick` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/custom_strategy.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | trait DataTick: ta::Open + ta::High + ta::Low + ta::Close + ta::Volume {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.12, openssl v0.10.47, redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Config as StrategyConfig` and `RSIStrategy` [INFO] [stderr] --> src/main.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | strategy::example::{Config as StrategyConfig, RSIStrategy}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Close` [INFO] [stderr] --> src/custom_strategy.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Close, DataItem, Next, Open, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Open` [INFO] [stderr] --> src/custom_strategy.rs:15:32 [INFO] [stderr] | [INFO] [stderr] 15 | Close, DataItem, Next, Open, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Next` [INFO] [stderr] --> src/custom_strategy.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | Close, DataItem, Next, Open, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `candle_number` [INFO] [stderr] --> src/custom_strategy.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | let candle_number = match &market.kind { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candle_number` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `strats` [INFO] [stderr] --> src/main.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let strats = WeightConfig { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_strats` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `signal` [INFO] [stderr] --> src/main.rs:155:27 [INFO] [stderr] | [INFO] [stderr] 155 | Event::Signal(signal) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_order` [INFO] [stderr] --> src/main.rs:162:29 [INFO] [stderr] | [INFO] [stderr] 162 | Event::OrderNew(new_order) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fill_event` [INFO] [stderr] --> src/main.rs:169:25 [INFO] [stderr] | [INFO] [stderr] 169 | Event::Fill(fill_event) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fill_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_position` [INFO] [stderr] --> src/main.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | Event::PositionNew(new_position) => { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_position` [INFO] [stderr] --> src/main.rs:177:35 [INFO] [stderr] | [INFO] [stderr] 177 | Event::PositionUpdate(updated_position) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `exited_position` [INFO] [stderr] --> src/main.rs:181:33 [INFO] [stderr] | [INFO] [stderr] 181 | Event::PositionExit(exited_position) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exited_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `balance_update` [INFO] [stderr] --> src/main.rs:185:28 [INFO] [stderr] | [INFO] [stderr] 185 | Event::Balance(balance_update) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance_update` [INFO] [stderr] [INFO] [stderr] warning: trait `DataTick` is more private than the item `WeightedStrategy` [INFO] [stderr] --> src/custom_strategy.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | / impl WeightedStrategy [INFO] [stderr] 115 | | where [INFO] [stderr] 116 | | RelativeStrengthIndex: for<'a> ta::Next<&'a DataItem, Output = f64>, [INFO] [stderr] 117 | | DataItem: DataTick, [INFO] [stderr] | |___________________________^ implementation `WeightedStrategy` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but trait `DataTick` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/custom_strategy.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | trait DataTick: ta::Open + ta::High + ta::Low + ta::Close + ta::Volume {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ncifinance` (bin "ncifinance" test) generated 15 warnings (run `cargo fix --bin "ncifinance" -p ncifinance --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: barter v0.8.12, openssl v0.10.47, redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ncifinance-43cbdb57eb611faa) [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" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696", kill_on_drop: false }` [INFO] [stdout] 6252782d1282452af8bcdc7e4c03d640eb7caca790e4e1f3154e89bca823d696