[INFO] cloning repository https://github.com/JojoFlex1/Backend- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JojoFlex1/Backend-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJojoFlex1%2FBackend-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJojoFlex1%2FBackend-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab6959be627ffcbabeed6ad5af98cdc05535aa2a [INFO] checking JojoFlex1/Backend-/ab6959be627ffcbabeed6ad5af98cdc05535aa2a against master#08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJojoFlex1%2FBackend-" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JojoFlex1/Backend- [INFO] finished tweaking git repo https://github.com/JojoFlex1/Backend- [INFO] tweaked toml for git repo https://github.com/JojoFlex1/Backend- written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JojoFlex1/Backend- on toolchain 08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JojoFlex1/Backend- 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" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.15.0 [INFO] [stderr] Downloaded supabase_rs v0.3.7 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded const-hex v1.14.0 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded pq-sys v0.7.0 [INFO] [stderr] Downloaded prettyplease v0.2.30 [INFO] [stderr] Downloaded parity-scale-codec v3.7.4 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded sqlx-core v0.8.3 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded sqlx v0.8.3 [INFO] [stderr] Downloaded winnow v0.7.3 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded webpki-roots v0.26.8 [INFO] [stderr] Downloaded sqlx-postgres v0.8.3 [INFO] [stderr] Downloaded serde_json_pythonic v0.1.2 [INFO] [stderr] Downloaded async-compression v0.4.20 [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded diesel v2.2.7 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded starknet-core v0.10.0 [INFO] [stderr] Downloaded starknet-core v0.9.0 [INFO] [stderr] Downloaded rustls-pki-types v1.11.0 [INFO] [stderr] Downloaded postgrest v1.6.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.3 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded starknet v0.9.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded semver v1.0.25 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded quinn-udp v0.5.10 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded tokio-rustls v0.26.2 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded starknet-macros v0.1.7 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded auto_impl v1.2.1 [INFO] [stderr] Downloaded starknet-ff v0.3.7 [INFO] [stderr] Downloaded starknet-signers v0.7.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.3 [INFO] [stderr] Downloaded starknet-accounts v0.8.0 [INFO] [stderr] Downloaded starknet-contract v0.8.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.4 [INFO] [stderr] Downloaded starknet-providers v0.9.0 [INFO] [stderr] Downloaded starknet-crypto-codegen v0.3.3 [INFO] [stderr] Downloaded starknet-curve v0.4.2 [INFO] [stderr] Downloaded starknet-crypto v0.6.2 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded ring v0.17.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 040e0be780aed239c7252c58fb363c4bd1cddc3b072cb40ce798639fb8596d6a [INFO] running `Command { std: "docker" "start" "-a" "040e0be780aed239c7252c58fb363c4bd1cddc3b072cb40ce798639fb8596d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "040e0be780aed239c7252c58fb363c4bd1cddc3b072cb40ce798639fb8596d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040e0be780aed239c7252c58fb363c4bd1cddc3b072cb40ce798639fb8596d6a", kill_on_drop: false }` [INFO] [stdout] 040e0be780aed239c7252c58fb363c4bd1cddc3b072cb40ce798639fb8596d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e96d590f1419425c62670eb07cb4fdf5f5a5c433c785d1cb924575f922be7e5f [INFO] running `Command { std: "docker" "start" "-a" "e96d590f1419425c62670eb07cb4fdf5f5a5c433c785d1cb924575f922be7e5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling parity-scale-codec v3.7.4 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_json_pythonic v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling auto_impl v1.2.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.4 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Compiling starknet-ff v0.3.7 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling starknet-curve v0.4.2 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling starknet-crypto-codegen v0.3.3 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking const-hex v1.14.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking starknet-crypto v0.6.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking starknet-core v0.9.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking starknet-signers v0.7.0 [INFO] [stderr] Checking starknet-providers v0.9.0 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling pq-sys v0.7.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling starknet-core v0.10.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking async-compression v0.4.20 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking starknet-accounts v0.8.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking starknet-contract v0.8.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking uuid v1.15.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking supabase_rs v0.3.7 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking postgrest v1.6.0 [INFO] [stderr] Checking diesel v2.2.7 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling starknet-macros v0.1.7 [INFO] [stderr] Checking starknet v0.9.0 [INFO] [stderr] Checking backend_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/bots/bot1.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let market_data = {} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 16 | let signal = analyze_short_term_strategy(&market_data); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `:`, `?`, `|`, or an operator, found `t_data` [INFO] [stdout] --> src/bots/bot1.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | fn analyze_short_term_strategy(marke&[f64]t_data: ) -> Option { [INFO] [stdout] | ^^^^^^ expected one of `.`, `:`, `?`, `|`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Supabase` is defined multiple times [INFO] [stdout] --> src/db/supabase.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Supabase { [INFO] [stdout] | ------------------- previous definition of the type `Supabase` here [INFO] [stdout] ... [INFO] [stdout] 397 | use crate::db::supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Supabase` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Supabase` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 397 | use crate::db::supabase::Supabase as OtherSupabase; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/bots/bot1.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let market_data = {} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 16 | let signal = analyze_short_term_strategy(&market_data); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `:`, `?`, `|`, or an operator, found `t_data` [INFO] [stdout] --> src/bots/bot1.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | fn analyze_short_term_strategy(marke&[f64]t_data: ) -> Option { [INFO] [stdout] | ^^^^^^ expected one of `.`, `:`, `?`, `|`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Supabase` is defined multiple times [INFO] [stdout] --> src/db/supabase.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Supabase { [INFO] [stdout] | ------------------- previous definition of the type `Supabase` here [INFO] [stdout] ... [INFO] [stdout] 397 | use crate::db::supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Supabase` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Supabase` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 397 | use crate::db::supabase::Supabase as OtherSupabase; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/services/notifier.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | "UPDATE users SET balance = balance + $1 WHERE wallet_address = $2", [INFO] [stdout] 70 | | amount, [INFO] [stdout] 71 | | user_wallet [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/bots/manager.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query!( [INFO] [stdout] 22 | | "INSERT INTO bot_logs (user_id, asset, timeframe, status) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 23 | | self.user_id, [INFO] [stdout] 24 | | self.asset, [INFO] [stdout] 25 | | self.timeframe, [INFO] [stdout] 26 | | "executed" [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/bots/manager.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / sqlx::query!( [INFO] [stdout] 67 | | "INSERT INTO bot_logs (user_id, asset, timeframe, status) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 68 | | self.user_id, [INFO] [stdout] 69 | | self.asset, [INFO] [stdout] 70 | | self.timeframe, [INFO] [stdout] 71 | | "executed" [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase_rs::client` [INFO] [stdout] --> src/services/notifier.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use supabase_rs::client::SupabaseClient; [INFO] [stdout] | ^^^^^^ could not find `client` in `supabase_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::db::supabase::add_bot`, `crate::db::supabase::log_trade`, `crate::db::supabase::get_wallet_history` [INFO] [stdout] --> src/routes/mod.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::supabase::{add_bot, log_trade, get_wallet_history}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `get_wallet_history` in `db::supabase` [INFO] [stdout] | | | [INFO] [stdout] | | no `log_trade` in `db::supabase` [INFO] [stdout] | no `add_bot` in `db::supabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase` [INFO] [stdout] --> src/routes/trades.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use supabase::Client; // Ensure you're using the correct Supabase client. [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `supabase` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `supabase`, use `cargo add supabase` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase` [INFO] [stdout] --> src/db/supabase.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use supabase::Client as SupabaseClient; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 187 | use super::supabase::Client as SupabaseClient; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils::errors::TaskError` [INFO] [stdout] --> src/utils/api_responses.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::errors::TaskError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TaskError` in `utils::errors` [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::utils::errors::TaskError; [INFO] [stdout] 2 + use crate::errors::BotError::TaskError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bots::common::TradingBot` [INFO] [stdout] --> src/bots/bot2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bots::common::TradingBot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TradingBot` in `bots::common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bots::common::TradingBot` [INFO] [stdout] --> src/bots/manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bots::common::TradingBot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TradingBot` in `bots::common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::route` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::route::init_routes; [INFO] [stdout] | ^^^^^ could not find `route` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/services/notifier.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | "UPDATE users SET balance = balance + $1 WHERE wallet_address = $2", [INFO] [stdout] 70 | | amount, [INFO] [stdout] 71 | | user_wallet [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/bots/manager.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query!( [INFO] [stdout] 22 | | "INSERT INTO bot_logs (user_id, asset, timeframe, status) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 23 | | self.user_id, [INFO] [stdout] 24 | | self.asset, [INFO] [stdout] 25 | | self.timeframe, [INFO] [stdout] 26 | | "executed" [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/bots/manager.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / sqlx::query!( [INFO] [stdout] 67 | | "INSERT INTO bot_logs (user_id, asset, timeframe, status) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 68 | | self.user_id, [INFO] [stdout] 69 | | self.asset, [INFO] [stdout] 70 | | self.timeframe, [INFO] [stdout] 71 | | "executed" [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase_rs::client` [INFO] [stdout] --> src/services/notifier.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use supabase_rs::client::SupabaseClient; [INFO] [stdout] | ^^^^^^ could not find `client` in `supabase_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::db::supabase::add_bot`, `crate::db::supabase::log_trade`, `crate::db::supabase::get_wallet_history` [INFO] [stdout] --> src/routes/mod.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::supabase::{add_bot, log_trade, get_wallet_history}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `get_wallet_history` in `db::supabase` [INFO] [stdout] | | | [INFO] [stdout] | | no `log_trade` in `db::supabase` [INFO] [stdout] | no `add_bot` in `db::supabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase` [INFO] [stdout] --> src/routes/trades.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use supabase::Client; // Ensure you're using the correct Supabase client. [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `supabase` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `supabase`, use `cargo add supabase` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supabase` [INFO] [stdout] --> src/db/supabase.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use supabase::Client as SupabaseClient; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 187 | use super::supabase::Client as SupabaseClient; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils::errors::TaskError` [INFO] [stdout] --> src/utils/api_responses.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::errors::TaskError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TaskError` in `utils::errors` [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::utils::errors::TaskError; [INFO] [stdout] 2 + use crate::errors::BotError::TaskError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bots::common::TradingBot` [INFO] [stdout] --> src/bots/bot2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bots::common::TradingBot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TradingBot` in `bots::common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bots::common::TradingBot` [INFO] [stdout] --> src/bots/manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bots::common::TradingBot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TradingBot` in `bots::common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::route` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::route::init_routes; [INFO] [stdout] | ^^^^^ could not find `route` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `configure_wallet_routes` in module `wallet` [INFO] [stdout] --> src/routes/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | wallet::configure_wallet_routes(cfg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::Service; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::service::Service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 20 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> src/routes/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | req: ServiceRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> src/routes/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/routes/mod.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 20 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/services/scheduler.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn start_scheduler(supabase: Supabase) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `starknet::providers::sequencer::models::InvokeFunctionTransactionRequest` [INFO] [stdout] --> src/services/starknet.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let tx = starknet::providers::sequencer::models::InvokeFunctionTransactionRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/starknet-providers-0.9.0/src/sequencer/models/transaction_request.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct InvokeFunctionV1Transaction { [INFO] [stdout] | -------------------------------------- similarly named struct `InvokeFunctionV1TransactionRequest` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let tx = starknet::providers::sequencer::models::InvokeFunctionV1TransactionRequest { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn handle_api_error(error: BotError) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | BotError::HttpRequestFailed(_) => StatusCode::BAD_GATEWAY, // 502 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | BotError::DatabaseError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | BotError::JsonError(_) => StatusCode::BAD_REQUEST, // 400 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | BotError::FileError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | BotError::TaskError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | BotError::MissingEnvVar(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TradingBot` in this scope [INFO] [stdout] --> src/bots/bot1.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl TradingBot for Bot1 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if market_data.len() < 10 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let short_ma: f64 = market_data.iter().rev().take(5).sum::() / 5.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let long_ma: f64 = market_data.iter().rev().take(10).sum::() / 10.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binance_api` in this scope [INFO] [stdout] --> src/bots/bot2.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let market_data = binance_api.fetch_kline_data(&self.asset, &self.timeframe).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/bots.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/users.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest`, `ServiceResponse`, and `Service` [INFO] [stdout] --> src/routes/wallet.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/wallet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/trades.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/db/supabase.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/db/supabase.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::Supabase` [INFO] [stdout] --> src/db/supabase.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | use crate::db::supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `supabase::Supabase` [INFO] [stdout] --> src/db/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::api_responses::DepositConfirmed as ApiDepositConfirmed` [INFO] [stdout] --> src/services/notifier.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::api_responses::DepositConfirmed as ApiDepositConfirmed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgrest::Postgrest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use postgrest::Postgrest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::errors` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use utils::errors; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/bots/bot1.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn analyze_short_term_strategy(marke&[f64]t_data: ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Ws` in this scope [INFO] [stdout] --> src/services/notifier.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let ws = Ws::connect(&rpc_ws_url).await?; [INFO] [stdout] | ^^ use of undeclared type `Ws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0405, E0425, E0432, E0433, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend_bot` (bin "backend_bot" test) due to 38 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `configure_wallet_routes` in module `wallet` [INFO] [stdout] --> src/routes/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | wallet::configure_wallet_routes(cfg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::Service; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::service::Service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/routes/mod.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | S: Service, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 20 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceRequest` in this scope [INFO] [stdout] --> src/routes/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | req: ServiceRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ServiceResponse` in this scope [INFO] [stdout] --> src/routes/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::ServiceResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] --> src/routes/mod.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 20 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/services/scheduler.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn start_scheduler(supabase: Supabase) -> Result<(), BotError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `starknet::providers::sequencer::models::InvokeFunctionTransactionRequest` [INFO] [stdout] --> src/services/starknet.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let tx = starknet::providers::sequencer::models::InvokeFunctionTransactionRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/starknet-providers-0.9.0/src/sequencer/models/transaction_request.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct InvokeFunctionV1Transaction { [INFO] [stdout] | -------------------------------------- similarly named struct `InvokeFunctionV1TransactionRequest` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let tx = starknet::providers::sequencer::models::InvokeFunctionV1TransactionRequest { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn handle_api_error(error: BotError) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | BotError::HttpRequestFailed(_) => StatusCode::BAD_GATEWAY, // 502 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | BotError::DatabaseError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | BotError::JsonError(_) => StatusCode::BAD_REQUEST, // 400 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | BotError::FileError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | BotError::TaskError(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BotError` in this scope [INFO] [stdout] --> src/utils/api_responses.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | BotError::MissingEnvVar(_) => StatusCode::INTERNAL_SERVER_ERROR, // 500 [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BotError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::errors::BotError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TradingBot` in this scope [INFO] [stdout] --> src/bots/bot1.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl TradingBot for Bot1 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | if market_data.len() < 10 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let short_ma: f64 = market_data.iter().rev().take(5).sum::() / 5.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `market_data` in this scope [INFO] [stdout] --> src/bots/bot1.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let long_ma: f64 = market_data.iter().rev().take(10).sum::() / 10.0; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `binance_api` in this scope [INFO] [stdout] --> src/bots/bot2.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let market_data = binance_api.fetch_kline_data(&self.asset, &self.timeframe).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/bots.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/users.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest`, `ServiceResponse`, and `Service` [INFO] [stdout] --> src/routes/wallet.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::dev::{Service, ServiceRequest, ServiceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/wallet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::*` [INFO] [stdout] --> src/routes/trades.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::supabase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/db/supabase.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/db/supabase.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::supabase::Supabase` [INFO] [stdout] --> src/db/supabase.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | use crate::db::supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `supabase::Supabase` [INFO] [stdout] --> src/db/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use supabase::Supabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::api_responses::DepositConfirmed as ApiDepositConfirmed` [INFO] [stdout] --> src/services/notifier.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::api_responses::DepositConfirmed as ApiDepositConfirmed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgrest::Postgrest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use postgrest::Postgrest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::errors` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use utils::errors; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/bots/bot1.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn analyze_short_term_strategy(marke&[f64]t_data: ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Ws` in this scope [INFO] [stdout] --> src/services/notifier.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let ws = Ws::connect(&rpc_ws_url).await?; [INFO] [stdout] | ^^ use of undeclared type `Ws` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0405, E0425, E0432, E0433, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend_bot` (bin "backend_bot") due to 38 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e96d590f1419425c62670eb07cb4fdf5f5a5c433c785d1cb924575f922be7e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96d590f1419425c62670eb07cb4fdf5f5a5c433c785d1cb924575f922be7e5f", kill_on_drop: false }` [INFO] [stdout] e96d590f1419425c62670eb07cb4fdf5f5a5c433c785d1cb924575f922be7e5f