[INFO] cloning repository https://github.com/CreativeDev0508/trading_bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreativeDev0508/trading_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeDev0508%2Ftrading_bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeDev0508%2Ftrading_bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7ad97b18dfe4d85742b33403e35ce06336fbfa16
[INFO] checking CreativeDev0508/trading_bot against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeDev0508%2Ftrading_bot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CreativeDev0508/trading_bot
[INFO] finished tweaking git repo https://github.com/CreativeDev0508/trading_bot
[INFO] tweaked toml for git repo https://github.com/CreativeDev0508/trading_bot written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CreativeDev0508/trading_bot on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CreativeDev0508/trading_bot 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hmac-sha256 v0.1.7
[INFO] [stderr]   Downloaded rust_decimal_macros v1.26.1
[INFO] [stderr]   Downloaded ta v0.5.0
[INFO] [stderr]   Downloaded cpufeatures v0.2.4
[INFO] [stderr]   Downloaded ftx v0.4.3
[INFO] [stderr]   Downloaded rust_decimal v1.26.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 08dc1fe8b9fe69a8947fbcd3acec7773d64337586f401b6e588074abc203136d
[INFO] running `Command { std: "docker" "start" "-a" "08dc1fe8b9fe69a8947fbcd3acec7773d64337586f401b6e588074abc203136d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08dc1fe8b9fe69a8947fbcd3acec7773d64337586f401b6e588074abc203136d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08dc1fe8b9fe69a8947fbcd3acec7773d64337586f401b6e588074abc203136d", kill_on_drop: false }`
[INFO] [stdout] 08dc1fe8b9fe69a8947fbcd3acec7773d64337586f401b6e588074abc203136d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a8ee45510fab313c6a293a85c87ea0563a75e94bb9c4eb7ee859dc2c53ccd6e
[INFO] running `Command { std: "docker" "start" "-a" "0a8ee45510fab313c6a293a85c87ea0563a75e94bb9c4eb7ee859dc2c53ccd6e", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]     Checking futures-sink v0.3.23
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]     Checking futures-io v0.3.23
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking cpufeatures v0.2.4
[INFO] [stderr]    Compiling rust_decimal v1.26.1
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]     Checking iana-time-zone v0.1.46
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking hmac-sha256 v0.1.7
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking ta v0.5.0
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling rust_decimal_macros v1.26.1
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking tungstenite v0.13.0
[INFO] [stderr]     Checking futures-executor v0.3.23
[INFO] [stderr]     Checking futures v0.3.23
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-tungstenite v0.14.0
[INFO] [stderr]     Checking h2 v0.3.14
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_qs v0.8.5
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking ftx v0.4.3
[INFO] [stderr]     Checking orderbook-delta-bot v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: can't compare `str` with `&str`
[INFO] [stdout]   --> src/tests.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             assert_eq!(record[1], "10");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<&str>` is not implemented for `str`
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `str` with `&str`
[INFO] [stdout]   --> src/tests.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             assert_eq!(record[2], "10");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `PartialEq<&str>` is not implemented for `str`
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SettingsFile` has no field named `time_delta`
[INFO] [stdout]   --> src/tests.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             time_delta: 1,
[INFO] [stdout]    |             ^^^^^^^^^^ `SettingsFile` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `sampling_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `time_delta` on type `SettingsFile`
[INFO] [stdout]   --> src/tests.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |         assert_eq!(settings.time_delta, 1u64);
[INFO] [stdout]    |                             ^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `market_name`, `sampling_time`, `bb_period`, `bb_std_dev`, `orderbook_depth` ... and 5 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tests.rs:72:32
[INFO] [stdout]     |
[INFO] [stdout]  72 |         assert_eq!(invert_side(Side::Sell), Side::Buy);
[INFO] [stdout]     |                    ----------- ^^^^^^^^^^ expected `ftx::rest::Side`, found `helpers::Side`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `helpers::Side` and `ftx::rest::Side` have similar names, but are actually distinct types
[INFO] [stdout] note: `helpers::Side` is defined in the current crate
[INFO] [stdout]    --> src/helpers.rs:31:1
[INFO] [stdout]     |
[INFO] [stdout]  31 | pub(crate) enum Side {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `ftx::rest::Side` is defined in crate `ftx`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ftx-0.4.3/src/rest/model/common.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout]  67 | pub enum Side {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/helpers.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub(crate) fn invert_side(side: ftx::rest::Side) -> ftx::rest::Side {
[INFO] [stdout]     |               ^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tests.rs:72:45
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_eq!(invert_side(Side::Sell), Side::Buy);
[INFO] [stdout]    |                                             ^^^^^^^^^ expected `ftx::rest::Side`, found `helpers::Side`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `helpers::Side` and `ftx::rest::Side` have similar names, but are actually distinct types
[INFO] [stdout] note: `helpers::Side` is defined in the current crate
[INFO] [stdout]   --> src/helpers.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) enum Side {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `ftx::rest::Side` is defined in crate `ftx`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ftx-0.4.3/src/rest/model/common.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum Side {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tests.rs:73:32
[INFO] [stdout]     |
[INFO] [stdout]  73 |         assert_eq!(invert_side(Side::Buy), Side::Sell);
[INFO] [stdout]     |                    ----------- ^^^^^^^^^ expected `ftx::rest::Side`, found `helpers::Side`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `helpers::Side` and `ftx::rest::Side` have similar names, but are actually distinct types
[INFO] [stdout] note: `helpers::Side` is defined in the current crate
[INFO] [stdout]    --> src/helpers.rs:31:1
[INFO] [stdout]     |
[INFO] [stdout]  31 | pub(crate) enum Side {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `ftx::rest::Side` is defined in crate `ftx`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ftx-0.4.3/src/rest/model/common.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout]  67 | pub enum Side {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/helpers.rs:133:15
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub(crate) fn invert_side(side: ftx::rest::Side) -> ftx::rest::Side {
[INFO] [stdout]     |               ^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tests.rs:73:44
[INFO] [stdout]    |
[INFO] [stdout] 73 |         assert_eq!(invert_side(Side::Buy), Side::Sell);
[INFO] [stdout]    |                                            ^^^^^^^^^^ expected `ftx::rest::Side`, found `helpers::Side`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `helpers::Side` and `ftx::rest::Side` have similar names, but are actually distinct types
[INFO] [stdout] note: `helpers::Side` is defined in the current crate
[INFO] [stdout]   --> src/helpers.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) enum Side {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `ftx::rest::Side` is defined in crate `ftx`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ftx-0.4.3/src/rest/model/common.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum Side {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `orderbook-delta-bot` (bin "orderbook-delta-bot" test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "0a8ee45510fab313c6a293a85c87ea0563a75e94bb9c4eb7ee859dc2c53ccd6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a8ee45510fab313c6a293a85c87ea0563a75e94bb9c4eb7ee859dc2c53ccd6e", kill_on_drop: false }`
[INFO] [stdout] 0a8ee45510fab313c6a293a85c87ea0563a75e94bb9c4eb7ee859dc2c53ccd6e
