[INFO] cloning repository https://github.com/Trinityweb3/Promo_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trinityweb3/Promo_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrinityweb3%2FPromo_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrinityweb3%2FPromo_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2bd091aee99df8b8b8261a07c1e0f5358c5c201 [INFO] checking Trinityweb3/Promo_bot against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrinityweb3%2FPromo_bot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Trinityweb3/Promo_bot [INFO] finished tweaking git repo https://github.com/Trinityweb3/Promo_bot [INFO] tweaked toml for git repo https://github.com/Trinityweb3/Promo_bot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Trinityweb3/Promo_bot on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Trinityweb3/Promo_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e [INFO] running `Command { std: "docker" "start" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling icu_segmenter_data v1.5.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking core_maths v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking icu_segmenter v1.5.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dptree v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking async-compression v0.4.27 [INFO] [stderr] Checking tokio-tungstenite v0.27.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking webdriver v0.53.0 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking fantoccini v0.22.0 [INFO] [stderr] Checking teloxide-core v0.13.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking teloxide v0.17.0 [INFO] [stderr] Checking telebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `Mutex` is defined multiple times [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ----- previous import of the type `Mutex` here [INFO] [stdout] 10 | use teloxide::prelude::*; [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Mutex` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Mutex` 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] 11 | use tokio::sync::Mutex as OtherMutex; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Mutex` is defined multiple times [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ----- previous import of the type `Mutex` here [INFO] [stdout] 10 | use teloxide::prelude::*; [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Mutex` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Mutex` 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] 11 | use tokio::sync::Mutex as OtherMutex; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 222 | | r#"SELECT id, exchange, title, reward_pool, participants, end_at FROM promos"# [INFO] [stdout] 223 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 236 | | r#"SELECT title, reward_pool FROM promos ORDER BY reward_pool DESC LIMIT 1"# [INFO] [stdout] 237 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 222 | | r#"SELECT id, exchange, title, reward_pool, participants, end_at FROM promos"# [INFO] [stdout] 223 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 236 | | r#"SELECT title, reward_pool FROM promos ORDER BY reward_pool DESC LIMIT 1"# [INFO] [stdout] 237 | | ) [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 `chrono::Duraion` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duraion, Utc}; [INFO] [stdout] | ^^^^^^^ no `Duraion` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sqlx::Sqlite`, `sqlx::SqlitePool` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ no `SqlitePool` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sqlite` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:63 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | log::error!("Polling error: {:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | log::info!("Polling exchanges..."); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::Duraion` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duraion, Utc}; [INFO] [stdout] | ^^^^^^^ no `Duraion` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sqlx::Sqlite`, `sqlx::SqlitePool` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{Sqlite, SqlitePool}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ no `SqlitePool` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sqlite` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.6/src/lib.rs:63:63 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "_sqlite")] [INFO] [stdout] | ------------------- the item is gated behind the `_sqlite` feature [INFO] [stdout] ... [INFO] [stdout] 63 | self as sqlite, Sqlite, SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | log::error!("Polling error: {:?}", e); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | log::info!("Polling exchanges..."); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `guery` in crate `sqlx` [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | sqlx::guery( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:655:1 [INFO] [stdout] | [INFO] [stdout] 655 | / pub fn query(sql: &str) -> Query<'_, DB, ::Arguments<'_>> [INFO] [stdout] 656 | | where [INFO] [stdout] 657 | | DB: Database, [INFO] [stdout] | |_________________- similarly named function `query` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - sqlx::guery( [INFO] [stdout] 56 + sqlx::query( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AutoSend` in this scope [INFO] [stdout] --> src/main.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | async fn poll_and_proccess(bot: &AutoSend, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UpdateWithCx` in this scope [INFO] [stdout] --> src/main.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | async fn handle_command(cx_text: String, cx: &UpdateWithCx, Message>, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AutoSend` in this scope [INFO] [stdout] --> src/main.rs:218:60 [INFO] [stdout] | [INFO] [stdout] 218 | async fn handle_command(cx_text: String, cx: &UpdateWithCx, Message>, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [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: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/fetchers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `guery` in crate `sqlx` [INFO] [stdout] --> src/main.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | sqlx::guery( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-core-0.8.6/src/query.rs:655:1 [INFO] [stdout] | [INFO] [stdout] 655 | / pub fn query(sql: &str) -> Query<'_, DB, ::Arguments<'_>> [INFO] [stdout] 656 | | where [INFO] [stdout] 657 | | DB: Database, [INFO] [stdout] | |_________________- similarly named function `query` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - sqlx::guery( [INFO] [stdout] 56 + sqlx::query( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AutoSend` in this scope [INFO] [stdout] --> src/main.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | async fn poll_and_proccess(bot: &AutoSend, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UpdateWithCx` in this scope [INFO] [stdout] --> src/main.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | async fn handle_command(cx_text: String, cx: &UpdateWithCx, Message>, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AutoSend` in this scope [INFO] [stdout] --> src/main.rs:218:60 [INFO] [stdout] | [INFO] [stdout] 218 | async fn handle_command(cx_text: String, cx: &UpdateWithCx, Message>, state: &Arc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [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: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/fetchers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `demo` found for struct `Promo` in the current scope [INFO] [stdout] --> src/fetchers.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | return Ok(vec![Promo::demo("MEXC", "Airdrop + Demo", "Airdrop +", 10_000.0, 250).await]) [INFO] [stdout] | ^^^^ associated function or constant not found in `Promo` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Promo { [INFO] [stdout] | ---------------- associated function or constant `demo` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `demo` found for struct `Promo` in the current scope [INFO] [stdout] --> src/fetchers.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | return Ok(vec![Promo::demo("MEXC", "Airdrop + Demo", "Airdrop +", 10_000.0, 250).await]) [INFO] [stdout] | ^^^^ associated function or constant not found in `Promo` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Promo { [INFO] [stdout] | ---------------- associated function or constant `demo` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> src/main.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | let mut notified = state.notified.lock().await; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/telebot-013fdc0d503a90d6.long-type-13316348789102300300.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 157 - let mut notified = state.notified.lock().await; [INFO] [stdout] 157 + let mut notified = state.notified.lock(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result>, PoisonError>>` is not a future [INFO] [stdout] --> src/main.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | let mut notified = state.notified.lock().await; [INFO] [stdout] | ^^^^^ `Result>, PoisonError>>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result>, PoisonError>>` [INFO] [stdout] = note: Result>, PoisonError>> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result>, PoisonError>>` to implement `IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/telebot-4a63145d6534b8ef.long-type-7034275401605836744.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 157 - let mut notified = state.notified.lock().await; [INFO] [stdout] 157 + let mut notified = state.notified.lock(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChatID` in this scope [INFO] [stdout] --> src/main.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | let _ = bot.send_message(ChatID(chat_id), text).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.13.0/src/types/chat_id.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ChatId(pub i64); [INFO] [stdout] | ----------------- similarly named tuple struct `ChatId` defined here [INFO] [stdout] | [INFO] [stdout] help: a tuple struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 162 - let _ = bot.send_message(ChatID(chat_id), text).await; [INFO] [stdout] 162 + let _ = bot.send_message(ChatId(chat_id), text).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChatID` in this scope [INFO] [stdout] --> src/main.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | let _ = bot.send_message(ChatID(chat_id), text).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/teloxide-core-0.13.0/src/types/chat_id.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ChatId(pub i64); [INFO] [stdout] | ----------------- similarly named tuple struct `ChatId` defined here [INFO] [stdout] | [INFO] [stdout] help: a tuple struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 162 - let _ = bot.send_message(ChatID(chat_id), text).await; [INFO] [stdout] 162 + let _ = bot.send_message(ChatId(chat_id), text).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `auto_send` found for struct `teloxide::Bot` in the current scope [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | let bot = Bot::new(bot_token).auto_send(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `token` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - let bot = Bot::new(bot_token).auto_send(); [INFO] [stdout] 50 + let bot = Bot::new(bot_token).token(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `auto_send` found for struct `teloxide::Bot` in the current scope [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | let bot = Bot::new(bot_token).auto_send(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `token` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - let bot = Bot::new(bot_token).auto_send(); [INFO] [stdout] 50 + let bot = Bot::new(bot_token).token(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `RequestError` [INFO] [stdout] --> src/main.rs:96:68 [INFO] [stdout] | [INFO] [stdout] 96 | handle_command(text.to_string(), &cx, &state).await?; [INFO] [stdout] | ---------------------------------------------------^ the trait `std::convert::From` is not implemented for `RequestError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: `RequestError` implements trait `std::convert::From`: [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From> [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `RequestError` [INFO] [stdout] --> src/main.rs:96:68 [INFO] [stdout] | [INFO] [stdout] 96 | handle_command(text.to_string(), &cx, &state).await?; [INFO] [stdout] | ---------------------------------------------------^ the trait `std::convert::From` is not implemented for `RequestError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anyhow::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: `RequestError` implements trait `std::convert::From`: [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From> [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From [INFO] [stdout] std::convert::From [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `telebot` (bin "telebot" test) due to 16 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `telebot` (bin "telebot") due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e", kill_on_drop: false }` [INFO] [stdout] 533b2307fb8b70b2675679b292b2d24e1576502e741f63a95f532598e5bd4f2e