[INFO] cloning repository https://github.com/trepachkoDm/barber_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trepachkoDm/barber_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtrepachkoDm%2Fbarber_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtrepachkoDm%2Fbarber_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e551b8731303acdbf51b0d4377c20e76cdf4dcb [INFO] checking trepachkoDm/barber_bot/9e551b8731303acdbf51b0d4377c20e76cdf4dcb against master#86a49fd71fecd25b0fd20247db0ba95eeceaba28 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtrepachkoDm%2Fbarber_bot" "/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/trepachkoDm/barber_bot [INFO] finished tweaking git repo https://github.com/trepachkoDm/barber_bot [INFO] tweaked toml for git repo https://github.com/trepachkoDm/barber_bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trepachkoDm/barber_bot on toolchain 86a49fd71fecd25b0fd20247db0ba95eeceaba28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trepachkoDm/barber_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" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jobserver v0.1.30 [INFO] [stderr] Downloaded serde-aux v4.5.0 [INFO] [stderr] Downloaded google-calendar3 v5.0.4+20240223 [INFO] [stderr] Downloaded teloxide-macros v0.7.1 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] [stderr] Downloaded yup-oauth2 v8.3.3 [INFO] [stderr] Downloaded google-apis-common v6.0.3 [INFO] [stderr] Downloaded aquamarine v0.1.12 [INFO] [stderr] Downloaded teloxide v0.12.2 [INFO] [stderr] Downloaded teloxide-core v0.9.1 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fe3035175179df73f598e3b38d114f515e08a5befd6b671f2f8d1673cdb05d0 [INFO] running `Command { std: "docker" "start" "-a" "6fe3035175179df73f598e3b38d114f515e08a5befd6b671f2f8d1673cdb05d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fe3035175179df73f598e3b38d114f515e08a5befd6b671f2f8d1673cdb05d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe3035175179df73f598e3b38d114f515e08a5befd6b671f2f8d1673cdb05d0", kill_on_drop: false }` [INFO] [stdout] 6fe3035175179df73f598e3b38d114f515e08a5befd6b671f2f8d1673cdb05d0 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12234232b86d635e79e4ea3343b9be5240bb1ae27ab5539271b246f59156e420 [INFO] running `Command { std: "docker" "start" "-a" "12234232b86d635e79e4ea3343b9be5240bb1ae27ab5539271b246f59156e420", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking actix-router v0.5.2 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking serde-aux v4.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.25.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking yup-oauth2 v8.3.3 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking google-apis-common v6.0.3 [INFO] [stderr] Checking google-calendar3 v5.0.4+20240223 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking tg_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/add_service.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 9 | | "INSERT INTO services (service_id, service_name, service_duration) VALUES ($1, $2, $3)", [INFO] [stdout] 10 | | service_data.service_id, [INFO] [stdout] 11 | | service_data.service_name, [INFO] [stdout] 12 | | service_data.service_duration [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to load environment from "/opt/rustwide/workdir/.env", Error parsing line: '', error at line index: 6 [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/get_service.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let services = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 8 | | Services, [INFO] [stdout] 9 | | "SELECT service_id, service_name, service_duration, service_price [INFO] [stdout] 10 | | FROM services" [INFO] [stdout] 11 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/get_service_duration_by_id.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | "SELECT service_duration FROM services WHERE service_id = $1", [INFO] [stdout] 11 | | service_id [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/save_appointment.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO appointments (user_name, [INFO] [stdout] 13 | | service_name, [INFO] [stdout] 14 | | appointment_time) [INFO] [stdout] ... | [INFO] [stdout] 18 | | appointment_time, [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/save_user.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let query_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | "INSERT INTO users (user_name, telegram_id) [INFO] [stdout] 13 | | VALUES ($1, $2) [INFO] [stdout] 14 | | RETURNING user_id [INFO] [stdout] ... | [INFO] [stdout] 17 | | telegram_id [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/save_appointment.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO appointments (user_name, [INFO] [stdout] 13 | | service_name, [INFO] [stdout] 14 | | appointment_time) [INFO] [stdout] ... | [INFO] [stdout] 20 | | .execute(db_pool.get_ref()) [INFO] [stdout] 21 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/save_user.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let query_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | "INSERT INTO users (user_name, telegram_id) [INFO] [stdout] 13 | | VALUES ($1, $2) [INFO] [stdout] 14 | | RETURNING user_id [INFO] [stdout] ... | [INFO] [stdout] 19 | | .fetch_one(db_pool.get_ref()) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/add_service.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 9 | | "INSERT INTO services (service_id, service_name, service_duration) VALUES ($1, $2, $3)", [INFO] [stdout] 10 | | service_data.service_id, [INFO] [stdout] 11 | | service_data.service_name, [INFO] [stdout] 12 | | service_data.service_duration [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to load environment from "/opt/rustwide/workdir/.env", Error parsing line: '', error at line index: 6 [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/get_service.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let services = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 8 | | Services, [INFO] [stdout] 9 | | "SELECT service_id, service_name, service_duration, service_price [INFO] [stdout] 10 | | FROM services" [INFO] [stdout] 11 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/get_service_duration_by_id.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 10 | | "SELECT service_duration FROM services WHERE service_id = $1", [INFO] [stdout] 11 | | service_id [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/save_appointment.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO appointments (user_name, [INFO] [stdout] 13 | | service_name, [INFO] [stdout] 14 | | appointment_time) [INFO] [stdout] ... | [INFO] [stdout] 18 | | appointment_time, [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/routes/save_user.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let query_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | "INSERT INTO users (user_name, telegram_id) [INFO] [stdout] 13 | | VALUES ($1, $2) [INFO] [stdout] 14 | | RETURNING user_id [INFO] [stdout] ... | [INFO] [stdout] 17 | | telegram_id [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: message: Lazy instance has previously been poisoned [INFO] [stdout] = note: this error originates in the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/save_appointment.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO appointments (user_name, [INFO] [stdout] 13 | | service_name, [INFO] [stdout] 14 | | appointment_time) [INFO] [stdout] ... | [INFO] [stdout] 20 | | .execute(db_pool.get_ref()) [INFO] [stdout] 21 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/save_user.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let query_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | "INSERT INTO users (user_name, telegram_id) [INFO] [stdout] 13 | | VALUES ($1, $2) [INFO] [stdout] 14 | | RETURNING user_id [INFO] [stdout] ... | [INFO] [stdout] 19 | | .fetch_one(db_pool.get_ref()) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tg_bot` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tg_bot` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "12234232b86d635e79e4ea3343b9be5240bb1ae27ab5539271b246f59156e420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12234232b86d635e79e4ea3343b9be5240bb1ae27ab5539271b246f59156e420", kill_on_drop: false }` [INFO] [stdout] 12234232b86d635e79e4ea3343b9be5240bb1ae27ab5539271b246f59156e420