Skip to content

Merge pull request #27 from kanekoshoyu/test/network-latency #67

Merge pull request #27 from kanekoshoyu/test/network-latency

Merge pull request #27 from kanekoshoyu/test/network-latency #67

Triggered via push October 7, 2023 15:31
Status Failure
Total duration 1m 51s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
use of moved value: `config`: src/bin/event_orderbook.rs#L60
error[E0382]: use of moved value: `config` --> src/bin/event_orderbook.rs:60:9 | 21 | let config = kucoin_arbitrage::config::from_file("config.toml")?; | ------ move occurs because `config` has type `kucoin_arbitrage::config::Config`, which does not implement the `Copy` trait 22 | let api = Kucoin::new(KucoinEnv::Live, Some(config.kucoin_credentials()))?; | -------------------- `config` moved due to this method call ... 60 | config.behaviour.monitor_interval_sec as u64 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value used here after move | note: `kucoin_arbitrage::config::Config::kucoin_credentials` takes ownership of the receiver `self`, which moves `config` --> /home/runner/work/kucoin_arbitrage/kucoin_arbitrage/src/config.rs:12:31 | 12 | pub fn kucoin_credentials(self) -> Credentials { | ^^^^
clippy_check
Clippy had exited with the 101 exit code
build
Process completed with exit code 101.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/