[INFO] cloning repository https://github.com/fabianboesiger/trader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabianboesiger/trader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabianboesiger%2Ftrader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabianboesiger%2Ftrader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6afdfcc2d14a0428af881641b762711fa9515528 [INFO] checking fabianboesiger/trader against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabianboesiger%2Ftrader" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fabianboesiger/trader on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fabianboesiger/trader [INFO] finished tweaking git repo https://github.com/fabianboesiger/trader [INFO] tweaked toml for git repo https://github.com/fabianboesiger/trader written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/fabianboesiger/trader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eccd485725f59f6250683cb053c320c49c7140384eb0b166afa3d3556eecdb77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eccd485725f59f6250683cb053c320c49c7140384eb0b166afa3d3556eecdb77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eccd485725f59f6250683cb053c320c49c7140384eb0b166afa3d3556eecdb77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eccd485725f59f6250683cb053c320c49c7140384eb0b166afa3d3556eecdb77", kill_on_drop: false }` [INFO] [stdout] eccd485725f59f6250683cb053c320c49c7140384eb0b166afa3d3556eecdb77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 563641ead69597fef2dda87255d9144840d076242a258919bb6918441b72e45c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "563641ead69597fef2dda87255d9144840d076242a258919bb6918441b72e45c", kill_on_drop: false }` [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Checking amcl v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking min_max_macros v0.1.1 [INFO] [stderr] Checking cute v0.3.0 [INFO] [stderr] Checking vec_box v1.0.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Checking sugar v0.2.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking openssl-sys v0.9.58 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking indexmap v1.5.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking rust_decimal v1.8.1 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking secp256k1 v0.19.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking rust-gmp-serde v0.5.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rust-bigint v1.1.0 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.51 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking paillier-common v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking mpc-wallet-lib v1.1.3 (https://github.com/nash-io/nash-rust#e940b309) [INFO] [stderr] Compiling graphql-introspection-query v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking sqlx-rt v0.1.1 (https://github.com/launchbadge/sqlx#67099d99) [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 (https://github.com/launchbadge/sqlx#67099d99) [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Compiling graphql_client_codegen v0.9.0 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling graphql_query_derive v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 (https://github.com/launchbadge/sqlx#67099d99) [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking warp v0.2.4 [INFO] [stderr] Checking reqwest v0.10.7 [INFO] [stderr] Checking graphql_client v0.9.0 [INFO] [stderr] Checking nash-protocol v0.1.3 (https://github.com/nash-io/nash-rust#e940b309) [INFO] [stderr] Checking sqlx v0.4.0-beta.1 (https://github.com/launchbadge/sqlx#67099d99) [INFO] [stderr] Checking nash-native-client v0.1.1 (https://github.com/nash-io/nash-rust#e940b309) [INFO] [stderr] Checking openlimits v0.1.0 (https://github.com/nash-io/openlimits#bb20c00c) [INFO] [stderr] Checking trader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/loggers/log.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO trades ( [INFO] [stdout] 60 | | buy_asset, [INFO] [stdout] ... | [INFO] [stdout] 72 | | timestamp [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/loggers/log.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO trades ( [INFO] [stdout] 60 | | buy_asset, [INFO] [stdout] ... | [INFO] [stdout] 72 | | timestamp [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Value` [INFO] [stdout] --> src/indicators/series/mean_variance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::Value` [INFO] [stdout] --> src/indicators/series/mean_variance.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::model::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trader.rs:52:147 [INFO] [stdout] | [INFO] [stdout] 52 | ...ge: &Binance, market: Market, barrier: Arc, mut sender: &mut Sender) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trader.rs:52:147 [INFO] [stdout] | [INFO] [stdout] 52 | ...ge: &Binance, market: Market, barrier: Arc, mut sender: &mut Sender) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/loggers/web.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/loggers/web.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trader` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/loggers/web.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/loggers/web.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "563641ead69597fef2dda87255d9144840d076242a258919bb6918441b72e45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563641ead69597fef2dda87255d9144840d076242a258919bb6918441b72e45c", kill_on_drop: false }` [INFO] [stdout] 563641ead69597fef2dda87255d9144840d076242a258919bb6918441b72e45c