[INFO] cloning repository https://github.com/pacmanfriend/cinema [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pacmanfriend/cinema" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacmanfriend%2Fcinema", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacmanfriend%2Fcinema'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a5d2a619b0e7b0705a11db436bb697a0a164881 [INFO] checking pacmanfriend/cinema/2a5d2a619b0e7b0705a11db436bb697a0a164881 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacmanfriend%2Fcinema" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pacmanfriend/cinema on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pacmanfriend/cinema [INFO] finished tweaking git repo https://github.com/pacmanfriend/cinema [INFO] tweaked toml for git repo https://github.com/pacmanfriend/cinema written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pacmanfriend/cinema 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 881a78be6cdcca9189021baf3922874fd86a828a12537a2a190b0e0d6d833ac1 [INFO] running `Command { std: "docker" "start" "-a" "881a78be6cdcca9189021baf3922874fd86a828a12537a2a190b0e0d6d833ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "881a78be6cdcca9189021baf3922874fd86a828a12537a2a190b0e0d6d833ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881a78be6cdcca9189021baf3922874fd86a828a12537a2a190b0e0d6d833ac1", kill_on_drop: false }` [INFO] [stdout] 881a78be6cdcca9189021baf3922874fd86a828a12537a2a190b0e0d6d833ac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7182f1d2dbcddc325f72b26e5498077a5906aca0a7407712a9263e4aea8b9c [INFO] running `Command { std: "docker" "start" "-a" "dc7182f1d2dbcddc325f72b26e5498077a5906aca0a7407712a9263e4aea8b9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking cinema v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `bookings` [INFO] [stdout] --> src/routes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod bookings; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `bookings`, create file "src/routes/bookings.rs" or "src/routes/bookings/mod.rs" [INFO] [stdout] = note: if there is a `mod bookings` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `bookings` [INFO] [stdout] --> src/routes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod bookings; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `bookings`, create file "src/routes/bookings.rs" or "src/routes/bookings/mod.rs" [INFO] [stdout] = note: if there is a `mod bookings` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `cinemas` [INFO] [stdout] --> src/routes.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod cinemas; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `cinemas`, create file "src/routes/cinemas.rs" or "src/routes/cinemas/mod.rs" [INFO] [stdout] = note: if there is a `mod cinemas` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `films` [INFO] [stdout] --> src/routes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod films; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `films`, create file "src/routes/films.rs" or "src/routes/films/mod.rs" [INFO] [stdout] = note: if there is a `mod films` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sessions` [INFO] [stdout] --> src/routes.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod sessions; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sessions`, create file "src/routes/sessions.rs" or "src/routes/sessions/mod.rs" [INFO] [stdout] = note: if there is a `mod sessions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tickets` [INFO] [stdout] --> src/routes.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tickets; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tickets`, create file "src/routes/tickets.rs" or "src/routes/tickets/mod.rs" [INFO] [stdout] = note: if there is a `mod tickets` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `cinemas` [INFO] [stdout] --> src/routes.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod cinemas; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `cinemas`, create file "src/routes/cinemas.rs" or "src/routes/cinemas/mod.rs" [INFO] [stdout] = note: if there is a `mod cinemas` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `films` [INFO] [stdout] --> src/routes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod films; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `films`, create file "src/routes/films.rs" or "src/routes/films/mod.rs" [INFO] [stdout] = note: if there is a `mod films` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `sessions` [INFO] [stdout] --> src/routes.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod sessions; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `sessions`, create file "src/routes/sessions.rs" or "src/routes/sessions/mod.rs" [INFO] [stdout] = note: if there is a `mod sessions` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tickets` [INFO] [stdout] --> src/routes.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tickets; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tickets`, create file "src/routes/tickets.rs" or "src/routes/tickets/mod.rs" [INFO] [stdout] = note: if there is a `mod tickets` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let cinemas = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 31 | | CinemaResponse, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 42 | | "# [INFO] [stdout] 43 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | CinemaResponse, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | cinema_id.into_inner() [INFO] [stdout] 69 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 87 | | CinemaResponse, [INFO] [stdout] 88 | | r#" [INFO] [stdout] 89 | | INSERT INTO cinema (name, address, employee_count, hall_count, opening_time, closing_time) [INFO] [stdout] ... | [INFO] [stdout] 105 | | closing_time [INFO] [stdout] 106 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 122 | | CinemaResponse, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | UPDATE cinema [INFO] [stdout] ... | [INFO] [stdout] 148 | | cinema_id.into_inner() [INFO] [stdout] 149 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 164 | | "DELETE FROM cinema WHERE cinema_id = $1", [INFO] [stdout] 165 | | cinema_id.into_inner() [INFO] [stdout] 166 | | ) [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: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let cinemas = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 31 | | CinemaResponse, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 42 | | "# [INFO] [stdout] 43 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | CinemaResponse, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | cinema_id.into_inner() [INFO] [stdout] 69 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 87 | | CinemaResponse, [INFO] [stdout] 88 | | r#" [INFO] [stdout] 89 | | INSERT INTO cinema (name, address, employee_count, hall_count, opening_time, closing_time) [INFO] [stdout] ... | [INFO] [stdout] 105 | | closing_time [INFO] [stdout] 106 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let films = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | FilmResponse, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 39 | | "# [INFO] [stdout] 40 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let cinema = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 122 | | CinemaResponse, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | UPDATE cinema [INFO] [stdout] ... | [INFO] [stdout] 148 | | cinema_id.into_inner() [INFO] [stdout] 149 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let films = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | FilmResponse, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 60 | | "# [INFO] [stdout] 61 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/cinemas.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 164 | | "DELETE FROM cinema WHERE cinema_id = $1", [INFO] [stdout] 165 | | cinema_id.into_inner() [INFO] [stdout] 166 | | ) [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: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | FilmResponse, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 85 | | film_id.into_inner() [INFO] [stdout] 86 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 104 | | FilmResponse, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | INSERT INTO film (title, age_restriction, is_booking_available, start_date, end_date) [INFO] [stdout] ... | [INFO] [stdout] 120 | | end_date [INFO] [stdout] 121 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 137 | | FilmResponse, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | UPDATE film [INFO] [stdout] ... | [INFO] [stdout] 160 | | film_id.into_inner() [INFO] [stdout] 161 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | let result = sqlx::query!("DELETE FROM film WHERE film_id = $1", film_id.into_inner()) [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: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let films = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | FilmResponse, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 39 | | "# [INFO] [stdout] 40 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let films = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | FilmResponse, [INFO] [stdout] 50 | | r#" [INFO] [stdout] 51 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 60 | | "# [INFO] [stdout] 61 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | FilmResponse, [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 85 | | film_id.into_inner() [INFO] [stdout] 86 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let sessions = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | SessionResponse, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 46 | | "# [INFO] [stdout] 47 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 104 | | FilmResponse, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | INSERT INTO film (title, age_restriction, is_booking_available, start_date, end_date) [INFO] [stdout] ... | [INFO] [stdout] 120 | | end_date [INFO] [stdout] 121 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | let sessions = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 56 | | SessionWithFilmResponse, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 70 | | "# [INFO] [stdout] 71 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | let film = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 137 | | FilmResponse, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | UPDATE film [INFO] [stdout] ... | [INFO] [stdout] 160 | | film_id.into_inner() [INFO] [stdout] 161 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/films.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | let result = sqlx::query!("DELETE FROM film WHERE film_id = $1", film_id.into_inner()) [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: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let session = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 83 | | SessionWithFilmResponse, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 97 | | session_id.into_inner() [INFO] [stdout] 98 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let session = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 115 | | SessionResponse, [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | INSERT INTO session (film_id, cinema_id, start_time, ticket_price) [INFO] [stdout] ... | [INFO] [stdout] 129 | | new_session.ticket_price [INFO] [stdout] 130 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 142 | | "DELETE FROM session WHERE session_id = $1", [INFO] [stdout] 143 | | session_id.into_inner() [INFO] [stdout] 144 | | ) [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: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let sessions = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | SessionResponse, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 46 | | "# [INFO] [stdout] 47 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | let sale = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 38 | | TicketSaleResponse, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 65 | | new_sale.ticket_count [INFO] [stdout] 66 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let stats = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 75 | | SalesStatsResponse, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 83 | | "# [INFO] [stdout] 84 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | let sessions = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 56 | | SessionWithFilmResponse, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 70 | | "# [INFO] [stdout] 71 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let session = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 83 | | SessionWithFilmResponse, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 97 | | session_id.into_inner() [INFO] [stdout] 98 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let sale = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | TicketSaleResponse, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | sale_id.into_inner() [INFO] [stdout] 111 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let session = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 115 | | SessionResponse, [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | INSERT INTO session (film_id, cinema_id, start_time, ticket_price) [INFO] [stdout] ... | [INFO] [stdout] 129 | | new_session.ticket_price [INFO] [stdout] 130 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sessions.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 142 | | "DELETE FROM session WHERE session_id = $1", [INFO] [stdout] 143 | | session_id.into_inner() [INFO] [stdout] 144 | | ) [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: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let bookings = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | BookingResponse, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 47 | | "# [INFO] [stdout] 48 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let bookings = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 57 | | BookingWithDetailsResponse, [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | let sale = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 38 | | TicketSaleResponse, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | WITH inserted AS ( [INFO] [stdout] ... | [INFO] [stdout] 65 | | new_sale.ticket_count [INFO] [stdout] 66 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | BookingWithDetailsResponse, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 105 | | booking_id.into_inner() [INFO] [stdout] 106 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let stats = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 75 | | SalesStatsResponse, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 83 | | "# [INFO] [stdout] 84 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/tickets.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | let sale = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | TicketSaleResponse, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 110 | | sale_id.into_inner() [INFO] [stdout] 111 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 121 | | BookingResponse, [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | INSERT INTO booking (session_id, customer_id, ticket_count, status) [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_booking.ticket_count [INFO] [stdout] 136 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 148 | | BookingResponse, [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | UPDATE booking [INFO] [stdout] ... | [INFO] [stdout] 161 | | booking_id.into_inner() [INFO] [stdout] 162 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 177 | | BookingResponse, [INFO] [stdout] 178 | | r#" [INFO] [stdout] 179 | | UPDATE booking [INFO] [stdout] ... | [INFO] [stdout] 190 | | booking_id.into_inner() [INFO] [stdout] 191 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let bookings = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | BookingResponse, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 47 | | "# [INFO] [stdout] 48 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let bookings = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 57 | | BookingWithDetailsResponse, [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 88 | | BookingWithDetailsResponse, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 105 | | booking_id.into_inner() [INFO] [stdout] 106 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 121 | | BookingResponse, [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | INSERT INTO booking (session_id, customer_id, ticket_count, status) [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_booking.ticket_count [INFO] [stdout] 136 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 148 | | BookingResponse, [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | UPDATE booking [INFO] [stdout] ... | [INFO] [stdout] 161 | | booking_id.into_inner() [INFO] [stdout] 162 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/bookings.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let booking = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 177 | | BookingResponse, [INFO] [stdout] 178 | | r#" [INFO] [stdout] 179 | | UPDATE booking [INFO] [stdout] ... | [INFO] [stdout] 190 | | booking_id.into_inner() [INFO] [stdout] 191 | | ) [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Film` and `NewFilm` [INFO] [stdout] --> src/handlers.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use super::models::{Cinema, Film, NewCinema, NewFilm}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/handlers.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDate, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Film` and `NewFilm` [INFO] [stdout] --> src/handlers.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use super::models::{Cinema, Film, NewCinema, NewFilm}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/handlers.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDate, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:83:87 [INFO] [stdout] | [INFO] [stdout] 83 | let opening_time = NaiveTime::parse_from_str(&new_cinema.opening_time, "%H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | let closing_time = NaiveTime::parse_from_str(&new_cinema.closing_time, "%H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | let opening_time = NaiveTime::parse_from_str(&updated_cinema.opening_time, "%H:%M:%S")?; [INFO] [stdout] | -------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:119:91 [INFO] [stdout] | [INFO] [stdout] 119 | let closing_time = NaiveTime::parse_from_str(&updated_cinema.closing_time, "%H:%M:%S")?; [INFO] [stdout] | -------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:100:81 [INFO] [stdout] | [INFO] [stdout] 100 | let start_date = NaiveDate::parse_from_str(&new_film.start_date, "%Y-%m-%d")?; [INFO] [stdout] | -----------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:101:77 [INFO] [stdout] | [INFO] [stdout] 101 | let end_date = NaiveDate::parse_from_str(&new_film.end_date, "%Y-%m-%d")?; [INFO] [stdout] | ---------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:133:85 [INFO] [stdout] | [INFO] [stdout] 133 | let start_date = NaiveDate::parse_from_str(&updated_film.start_date, "%Y-%m-%d")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:134:81 [INFO] [stdout] | [INFO] [stdout] 134 | let end_date = NaiveDate::parse_from_str(&updated_film.end_date, "%Y-%m-%d")?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/sessions.rs:112:97 [INFO] [stdout] | [INFO] [stdout] 112 | let start_time = NaiveDateTime::parse_from_str(&new_session.start_time, "%Y-%m-%d %H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/handlers.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn test(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:83:87 [INFO] [stdout] | [INFO] [stdout] 83 | let opening_time = NaiveTime::parse_from_str(&new_cinema.opening_time, "%H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | let closing_time = NaiveTime::parse_from_str(&new_cinema.closing_time, "%H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | let opening_time = NaiveTime::parse_from_str(&updated_cinema.opening_time, "%H:%M:%S")?; [INFO] [stdout] | -------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/cinemas.rs:119:91 [INFO] [stdout] | [INFO] [stdout] 119 | let closing_time = NaiveTime::parse_from_str(&updated_cinema.closing_time, "%H:%M:%S")?; [INFO] [stdout] | -------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:100:81 [INFO] [stdout] | [INFO] [stdout] 100 | let start_date = NaiveDate::parse_from_str(&new_film.start_date, "%Y-%m-%d")?; [INFO] [stdout] | -----------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:101:77 [INFO] [stdout] | [INFO] [stdout] 101 | let end_date = NaiveDate::parse_from_str(&new_film.end_date, "%Y-%m-%d")?; [INFO] [stdout] | ---------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:133:85 [INFO] [stdout] | [INFO] [stdout] 133 | let start_date = NaiveDate::parse_from_str(&updated_film.start_date, "%Y-%m-%d")?; [INFO] [stdout] | ---------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/films.rs:134:81 [INFO] [stdout] | [INFO] [stdout] 134 | let end_date = NaiveDate::parse_from_str(&updated_film.end_date, "%Y-%m-%d")?; [INFO] [stdout] | -------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError` [INFO] [stdout] --> src/sessions.rs:112:97 [INFO] [stdout] | [INFO] [stdout] 112 | let start_time = NaiveDateTime::parse_from_str(&new_session.start_time, "%Y-%m-%d %H:%M:%S")?; [INFO] [stdout] | ---------------------------------------------------------------------------^ the trait `std::convert::From` is not implemented for `AppError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::ParseError>` [INFO] [stdout] | [INFO] [stdout] note: `AppError` needs to implement `From` [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `AppError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `sqlx::Error`, found `chrono::ParseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/handlers.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn test(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | std::env::set_var("RUST_LOG", "actix_web=info"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cinema` (bin "cinema") due to 40 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | std::env::set_var("RUST_LOG", "actix_web=info"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cinema` (bin "cinema" test) due to 40 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc7182f1d2dbcddc325f72b26e5498077a5906aca0a7407712a9263e4aea8b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7182f1d2dbcddc325f72b26e5498077a5906aca0a7407712a9263e4aea8b9c", kill_on_drop: false }` [INFO] [stdout] dc7182f1d2dbcddc325f72b26e5498077a5906aca0a7407712a9263e4aea8b9c