[INFO] cloning repository https://github.com/RexCloud/kucoin-strategies [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RexCloud/kucoin-strategies" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexCloud%2Fkucoin-strategies", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexCloud%2Fkucoin-strategies'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 345dcbd67f334a2f504abf158e895735d61980a4 [INFO] testing RexCloud/kucoin-strategies against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexCloud%2Fkucoin-strategies" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RexCloud/kucoin-strategies [INFO] finished tweaking git repo https://github.com/RexCloud/kucoin-strategies [INFO] tweaked toml for git repo https://github.com/RexCloud/kucoin-strategies written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RexCloud/kucoin-strategies on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RexCloud/kucoin-strategies 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c21c4aec39c6da4d742c041a8dd71c1d067e1ca2db59711f02d6f0d02de7b80e [INFO] running `Command { std: "docker" "start" "-a" "c21c4aec39c6da4d742c041a8dd71c1d067e1ca2db59711f02d6f0d02de7b80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c21c4aec39c6da4d742c041a8dd71c1d067e1ca2db59711f02d6f0d02de7b80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21c4aec39c6da4d742c041a8dd71c1d067e1ca2db59711f02d6f0d02de7b80e", kill_on_drop: false }` [INFO] [stdout] c21c4aec39c6da4d742c041a8dd71c1d067e1ca2db59711f02d6f0d02de7b80e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec8f1e8b9735724e9ad15cfe35aafc1c829cf71b60db88a1457c12b5f04aedd5 [INFO] running `Command { std: "docker" "start" "-a" "ec8f1e8b9735724e9ad15cfe35aafc1c829cf71b60db88a1457c12b5f04aedd5", kill_on_drop: false }` [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling teloxide-core v0.10.1 [INFO] [stderr] Compiling teloxide v0.13.0 [INFO] [stderr] Compiling kucoin-strategies v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `USER_ID` not defined at compile time [INFO] [stdout] --> src/kucoin/announcements/mod.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | .send_message(env!("USER_ID").to_string(), announcement.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("USER_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `API_SECRET` not defined at compile time [INFO] [stdout] --> src/kucoin/request.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | Hmac::new_from_slice(env!("API_SECRET").as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("API_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `API_SECRET` not defined at compile time [INFO] [stdout] --> src/kucoin/request.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Hmac::new_from_slice(env!("API_SECRET").as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("API_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `API_PASSPHRASE` not defined at compile time [INFO] [stdout] --> src/kucoin/request.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | passphrase.update(env!("API_PASSPHRASE").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("API_PASSPHRASE")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `API_KEY` not defined at compile time [INFO] [stdout] --> src/kucoin/mod.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | headers.insert("KC-API-KEY", env!("API_KEY").parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("API_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `API_KEY_VERSION` not defined at compile time [INFO] [stdout] --> src/kucoin/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | env!("API_KEY_VERSION").parse().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("API_KEY_VERSION")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USER_ID` not defined at compile time [INFO] [stdout] --> src/strategies/mod.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | .send_message(env!("USER_ID").to_string(), text) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("USER_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USER_ID` not defined at compile time [INFO] [stdout] --> src/telegram/mod.rs:238:42 [INFO] [stdout] | [INFO] [stdout] 238 | .is_some_and(|user| user.id.0 == env!("USER_ID").parse::().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("USER_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kucoin-strategies` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ec8f1e8b9735724e9ad15cfe35aafc1c829cf71b60db88a1457c12b5f04aedd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8f1e8b9735724e9ad15cfe35aafc1c829cf71b60db88a1457c12b5f04aedd5", kill_on_drop: false }` [INFO] [stdout] ec8f1e8b9735724e9ad15cfe35aafc1c829cf71b60db88a1457c12b5f04aedd5