mirror of
https://github.com/daavfx/quantum_bt_daavfx.git
synced 2026-07-27 18:37:44 +00:00
264 lines
10 KiB
Plaintext
264 lines
10 KiB
Plaintext
cargo : Blocking
|
|
waiting for file lock on
|
|
build directory
|
|
En línea: 1 Carácter: 1
|
|
+ cargo test --lib
|
|
cli_test -- --nocapture >
|
|
test_output.txt 2>&1
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~
|
|
+ CategoryInfo
|
|
: NotSpecified: (
|
|
Blocking wa...build d
|
|
irectory:String) [], R
|
|
emoteException
|
|
+ FullyQualifiedErrorI
|
|
d : NativeCommandError
|
|
|
|
Compiling app v0.1.0 (C:
|
|
\Users\neto_\OneDrive\Deskt
|
|
op\trading_ecosystem_9.0\ma
|
|
in_ecosystem_trading\APPS\q
|
|
uantum_bt_daavfx\src-tauri)
|
|
warning: unnecessary
|
|
parentheses around match
|
|
arm expression
|
|
--> src\engine.rs:153:26
|
|
|
|
|
153 |
|
|
Side::Buy => (tick.ask +
|
|
slip),
|
|
|
|
|
^ ^
|
|
|
|
|
= note:
|
|
`#[warn(unused_parens)]`
|
|
(part of
|
|
`#[warn(unused)]`) on by
|
|
default
|
|
help: remove these
|
|
parentheses
|
|
|
|
|
153 -
|
|
Side::Buy => (tick.ask +
|
|
slip),
|
|
153 +
|
|
Side::Buy => tick.ask +
|
|
slip ,
|
|
|
|
|
|
|
warning: unnecessary
|
|
parentheses around match
|
|
arm expression
|
|
--> src\engine.rs:154:27
|
|
|
|
|
154 |
|
|
Side::Sell => (tick.bid -
|
|
slip),
|
|
|
|
|
^ ^
|
|
|
|
|
help: remove these
|
|
parentheses
|
|
|
|
|
154 -
|
|
Side::Sell => (tick.bid -
|
|
slip),
|
|
154 +
|
|
Side::Sell => tick.bid -
|
|
slip ,
|
|
|
|
|
|
|
warning: unnecessary
|
|
parentheses around match
|
|
arm expression
|
|
--> src\engine.rs:162:26
|
|
|
|
|
162 |
|
|
Side::Buy => (tick.bid -
|
|
slip),
|
|
|
|
|
^ ^
|
|
|
|
|
help: remove these
|
|
parentheses
|
|
|
|
|
162 -
|
|
Side::Buy => (tick.bid -
|
|
slip),
|
|
162 +
|
|
Side::Buy => tick.bid -
|
|
slip ,
|
|
|
|
|
|
|
warning: unnecessary
|
|
parentheses around match
|
|
arm expression
|
|
--> src\engine.rs:163:27
|
|
|
|
|
163 |
|
|
Side::Sell => (tick.ask +
|
|
slip),
|
|
|
|
|
^ ^
|
|
|
|
|
help: remove these
|
|
parentheses
|
|
|
|
|
163 -
|
|
Side::Sell => (tick.ask +
|
|
slip),
|
|
163 +
|
|
Side::Sell => tick.ask +
|
|
slip ,
|
|
|
|
|
|
|
warning: unused import:
|
|
`std::path::PathBuf`
|
|
--> src\cli_test.rs:4:9
|
|
|
|
|
4 | use
|
|
std::path::PathBuf;
|
|
|
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note:
|
|
`#[warn(unused_imports)]`
|
|
(part of
|
|
`#[warn(unused)]`) on by
|
|
default
|
|
|
|
warning: use of deprecated
|
|
method `chrono::NaiveDateTi
|
|
me::timestamp_millis`: use
|
|
`.and_utc().timestamp_milli
|
|
s()` instead
|
|
--> src\ingestion\csv_loa
|
|
der.rs:99:26
|
|
|
|
|
99 | return
|
|
Ok(dt.timestamp_millis());
|
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
= note:
|
|
`#[warn(deprecated)]` on
|
|
by default
|
|
|
|
warning: use of deprecated
|
|
method `chrono::NaiveDateTi
|
|
me::timestamp_millis`: use
|
|
`.and_utc().timestamp_milli
|
|
s()` instead
|
|
--> src\ingestion\mt4_loa
|
|
der.rs:34:30
|
|
|
|
|
34 |
|
|
.map(|dt|
|
|
dt.timestamp_millis())?;
|
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated
|
|
method `chrono::NaiveDateTi
|
|
me::timestamp_millis`: use
|
|
`.and_utc().timestamp_milli
|
|
s()` instead
|
|
--> src\ingestion\mt5_loa
|
|
der.rs:38:30
|
|
|
|
|
38 |
|
|
.map(|dt|
|
|
dt.timestamp_millis())?;
|
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated
|
|
method `chrono::NaiveDateTi
|
|
me::timestamp_millis`: use
|
|
`.and_utc().timestamp_milli
|
|
s()` instead
|
|
--> src\ingestion\free_pr
|
|
oviders.rs:34:30
|
|
|
|
|
34 |
|
|
.map(|dt|
|
|
dt.timestamp_millis())?;
|
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused variable:
|
|
`broker`
|
|
--> src\engine.rs:241:28
|
|
|
|
|
241 | fn on_start(&mut
|
|
self, broker: &mut
|
|
VirtualBroker) {}
|
|
|
|
|
^^^^^^ help: if this
|
|
is intentional, prefix it
|
|
with an underscore:
|
|
`_broker`
|
|
|
|
|
= note: `#[warn(unused_
|
|
variables)]` (part of
|
|
`#[warn(unused)]`) on by
|
|
default
|
|
|
|
warning: unused variable:
|
|
`broker`
|
|
--> src\engine.rs:242:27
|
|
|
|
|
242 | fn on_stop(&mut
|
|
self, broker: &mut
|
|
VirtualBroker) {}
|
|
|
|
|
^^^^^^ help: if this
|
|
is intentional, prefix it
|
|
with an underscore:
|
|
`_broker`
|
|
|
|
warning: unused variable:
|
|
`timestamp`
|
|
--> src\cli_test.rs:19:21
|
|
|
|
|
19 | let
|
|
timestamp = 1672531200000
|
|
+ i * 1000; // 1 sec
|
|
intervals
|
|
|
|
|
^^^^^^^^^ help: if this is
|
|
intentional, prefix it
|
|
with an underscore:
|
|
`_timestamp`
|
|
|
|
error: literal out of
|
|
range for `i32`
|
|
--> src\cli_test.rs:19:33
|
|
|
|
|
19 | let
|
|
timestamp = 1672531200000
|
|
+ i * 1000; // 1 sec
|
|
intervals
|
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
= note: the literal
|
|
`1672531200000` does not
|
|
fit into the type `i32`
|
|
whose range is
|
|
`-2147483648..=2147483647`
|
|
= help: consider using
|
|
the type `i64` instead
|
|
= note: `#[deny(overflow
|
|
ing_literals)]` on by
|
|
default
|
|
|
|
warning: `app` (lib test)
|
|
generated 12 warnings
|
|
error: could not compile
|
|
`app` (lib test) due to 1
|
|
previous error; 12
|
|
warnings emitted
|