[INFO] cloning repository https://github.com/bigbizze/buy_token_take_profit_kucoin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbizze/buy_token_take_profit_kucoin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbizze%2Fbuy_token_take_profit_kucoin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbizze%2Fbuy_token_take_profit_kucoin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8393f9acd686515b82acb74df2d8b4bb30aef0e2
[INFO] documenting bigbizze/buy_token_take_profit_kucoin against beta-2022-02-22 for beta-1.60-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbizze%2Fbuy_token_take_profit_kucoin" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bigbizze/buy_token_take_profit_kucoin on toolchain beta-2022-02-22
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bigbizze/buy_token_take_profit_kucoin
[INFO] finished tweaking git repo https://github.com/bigbizze/buy_token_take_profit_kucoin
[INFO] tweaked toml for git repo https://github.com/bigbizze/buy_token_take_profit_kucoin written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/bigbizze/buy_token_take_profit_kucoin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byte-pool v0.2.3
[INFO] [stderr]   Downloaded http-client v6.3.5
[INFO] [stderr]   Downloaded async-h1 v2.3.2
[INFO] [stderr]   Downloaded http-types v2.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c33fe8962018afdce1bfcb43fbeee5de02d37d431fee3d4e768caa640b59a6b8
[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" "c33fe8962018afdce1bfcb43fbeee5de02d37d431fee3d4e768caa640b59a6b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c33fe8962018afdce1bfcb43fbeee5de02d37d431fee3d4e768caa640b59a6b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c33fe8962018afdce1bfcb43fbeee5de02d37d431fee3d4e768caa640b59a6b8", kill_on_drop: false }`
[INFO] [stdout] c33fe8962018afdce1bfcb43fbeee5de02d37d431fee3d4e768caa640b59a6b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0abbf92fed844debf10fb959c41f83d8244b2d1da5c6a1608543afe41d5bf01d
[INFO] running `Command { std: "docker" "start" "-a" "0abbf92fed844debf10fb959c41f83d8244b2d1da5c6a1608543afe41d5bf01d", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.6
[INFO] [stderr]     Checking sval v1.0.0-alpha.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling signal-hook v0.3.8
[INFO] [stderr]    Compiling openssl v0.10.33
[INFO] [stderr]    Compiling const_fn v0.4.7
[INFO] [stderr]    Compiling http-types v2.11.0
[INFO] [stderr]     Checking infer v0.2.3
[INFO] [stderr]     Checking route-recognizer v0.2.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling blake3 v0.3.7
[INFO] [stderr]    Compiling openssl-sys v0.9.61
[INFO] [stderr]     Checking futures-channel v0.3.14
[INFO] [stderr]     Checking simple-mutex v1.1.5
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]     Checking tracing v0.1.25
[INFO] [stderr]     Checking http-body v0.4.1
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking futures-lite v1.11.3
[INFO] [stderr]     Checking dashmap v4.0.2
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking universal-hash v0.4.0
[INFO] [stderr]     Checking crypto-mac v0.10.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crossbeam-queue v0.3.1
[INFO] [stderr]     Checking backtrace v0.3.57
[INFO] [stderr]     Checking async-dup v1.2.2
[INFO] [stderr]     Checking sha2 v0.9.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking polyval v0.4.5
[INFO] [stderr]     Checking hmac v0.10.1
[INFO] [stderr]     Checking byte-pool v0.2.3
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking ghash v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]     Checking hkdf v0.10.0
[INFO] [stderr]     Checking libmath v0.2.1
[INFO] [stderr]     Checking aes-gcm v0.8.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking blocking v1.0.2
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking webpki-roots v0.21.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling ctor v0.1.20
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]     Checking dotenv_codegen v0.15.0
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking time v0.2.26
[INFO] [stderr]     Checking futures-util v0.3.14
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking polling v2.0.3
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking rustls v0.19.1
[INFO] [stderr]     Checking async-io v1.4.1
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking tokio v1.5.0
[INFO] [stderr]     Checking async-process v1.1.0
[INFO] [stderr]     Checking async-global-executor v2.0.2
[INFO] [stderr]     Checking async-std v1.9.0
[INFO] [stderr]     Checking futures-executor v0.3.14
[INFO] [stderr]     Checking streamunordered v0.5.2
[INFO] [stderr]     Checking futures v0.3.14
[INFO] [stderr]     Checking tokio-util v0.6.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-rustls v0.22.0
[INFO] [stderr]     Checking h2 v0.3.2
[INFO] [stderr]     Checking url v2.2.1
[INFO] [stderr]     Checking serde_json v1.0.64
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking serde_qs v0.7.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tungstenite v0.12.0
[INFO] [stderr]     Checking tungstenite v0.13.0
[INFO] [stderr]     Checking femme v2.1.1
[INFO] [stderr]     Checking async-session v2.0.1
[INFO] [stderr]     Checking tokio-tungstenite v0.13.0
[INFO] [stderr]     Checking hyper v0.14.7
[INFO] [stderr]     Checking async-h1 v2.3.2
[INFO] [stderr]     Checking async-sse v4.1.0
[INFO] [stderr]     Checking http-client v6.3.5
[INFO] [stderr]     Checking tide v0.16.0
[INFO] [stderr]     Checking hyper-rustls v0.22.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.3
[INFO] [stderr]     Checking kucoin_rs_custom v0.3.0 (/opt/rustwide/workdir/kucoin_rs_custom)
[INFO] [stdout] warning: use of deprecated associated function `streamunordered::StreamUnordered::<S>::push`: Prefer StreamUnordered::insert
[INFO] [stdout]    --> kucoin_rs_custom/src/kucoin/websocket.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let token = self.streams.push(read);
[INFO] [stdout]     |                                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `environment`
[INFO] [stdout]   --> kucoin_rs_custom/src/kucoin/client.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     environment: KucoinEnv,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Kucoin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> kucoin_rs_custom/src/kucoin/client.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  Documenting kucoin_arb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> src/http_server/http_server.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let port = dotenv!("PORT");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Error loading .env file: path not found
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/exchange/../settings.json: No such file or directory (os error 2)
[INFO] [stdout]  --> src/exchange/api_credentials.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | static SETTINGS_JSON: &'static str = include_str!("../settings.json");
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> src/user/user.rs:34:44
[INFO] [stdout]    |
[INFO] [stdout] 34 |             take_profit_perc: String::from(dotenv!("TAKE_PROFIT_PERC"))
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Error loading .env file: path not found
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> src/user/user.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 37 |             balance_perc: String::from(dotenv!("BALANCE_PERC"))
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Error loading .env file: path not found
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope
[INFO] [stdout]   --> src/user/user.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 37 |             balance_perc: String::from(dotenv!("BALANCE_PERC"))
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope
[INFO] [stdout]   --> src/user/user.rs:34:44
[INFO] [stdout]    |
[INFO] [stdout] 34 |             take_profit_perc: String::from(dotenv!("TAKE_PROFIT_PERC"))
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope
[INFO] [stdout]   --> src/http_server/http_server.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let port = dotenv!("PORT");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `kucoin_arb`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name kucoin_arb src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a6602ecb318e6e91 -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-6808c641dae77bd3.rmeta --extern async_std=/opt/rustwide/target/debug/deps/libasync_std-506a76f89cb987d5.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-0a6794c1733d2220.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern dotenv_codegen=/opt/rustwide/target/debug/deps/libdotenv_codegen-d05fdae19e7dc9c3.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-a816439cf23a2488.rmeta --extern http_types=/opt/rustwide/target/debug/deps/libhttp_types-7cdb837676b7cb51.rmeta --extern kucoin_rs_custom=/opt/rustwide/target/debug/deps/libkucoin_rs_custom-9a2cb537d6a8fd40.rmeta --extern math=/opt/rustwide/target/debug/deps/libmath-bdfabe7f7543ca93.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-a58b77c6719a801e.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-012481749931d0b9.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-3cea3c9cd6a1dce7.rmeta --extern tide=/opt/rustwide/target/debug/deps/libtide-4dee14aa5c026bc7.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-1ae1620f402c2eea.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "0abbf92fed844debf10fb959c41f83d8244b2d1da5c6a1608543afe41d5bf01d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0abbf92fed844debf10fb959c41f83d8244b2d1da5c6a1608543afe41d5bf01d", kill_on_drop: false }`
[INFO] [stdout] 0abbf92fed844debf10fb959c41f83d8244b2d1da5c6a1608543afe41d5bf01d
