[INFO] cloning repository https://github.com/tiagoGottardo/netimp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiagoGottardo/netimp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiagoGottardo%2Fnetimp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiagoGottardo%2Fnetimp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 997a143af70a353c2b8d5ca931ecfbc330baf038 [INFO] checking tiagoGottardo/netimp/997a143af70a353c2b8d5ca931ecfbc330baf038 against master#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtiagoGottardo%2Fnetimp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tiagoGottardo/netimp [INFO] finished tweaking git repo https://github.com/tiagoGottardo/netimp [INFO] tweaked toml for git repo https://github.com/tiagoGottardo/netimp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiagoGottardo/netimp on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tiagoGottardo/netimp 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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Downloaded tuirealm_derive v2.0.1 [INFO] [stderr] Downloaded lazy-regex v3.4.1 [INFO] [stderr] Downloaded icu_properties v2.0.0 [INFO] [stderr] Downloaded windows-result v0.3.2 [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded tui-realm-stdlib v3.0.0 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded async-compression v0.4.23 [INFO] [stderr] Downloaded cc v1.2.22 [INFO] [stderr] Downloaded icu_properties_data v2.0.0 [INFO] [stderr] Downloaded tuirealm v3.0.1 [INFO] [stderr] Downloaded rustube v0.6.0 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded log-derive v0.4.1 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1093b60aaf327d603254418aee9f8a443a18734d5ac66d27b1243500cc8b5cc [INFO] running `Command { std: "docker" "start" "-a" "d1093b60aaf327d603254418aee9f8a443a18734d5ac66d27b1243500cc8b5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1093b60aaf327d603254418aee9f8a443a18734d5ac66d27b1243500cc8b5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1093b60aaf327d603254418aee9f8a443a18734d5ac66d27b1243500cc8b5cc", kill_on_drop: false }` [INFO] [stdout] d1093b60aaf327d603254418aee9f8a443a18734d5ac66d27b1243500cc8b5cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da398a36e99cea4e76fa6026e0753d59a1d88d11e436cd30df97830a1d7afbb6 [INFO] running `Command { std: "docker" "start" "-a" "da398a36e99cea4e76fa6026e0753d59a1d88d11e436cd30df97830a1d7afbb6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling log-derive v0.4.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tuirealm_derive v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking lazy-regex v3.4.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.23 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking tuirealm v3.0.1 [INFO] [stderr] Checking tui-realm-stdlib v3.0.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking rustube v0.6.0 [INFO] [stderr] Checking silk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/types.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | DELETE FROM subscriptions WHERE channel_id = ?1;"#, [INFO] [stdout] 148 | | self.channel.id, [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let subscribed_channels = sqlx::query_as!(ChannelDB, r#"SELECT * FROM subscriptions"#) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | r#" INSERT INTO feed ( id, title, url, channel, published_at ) VALUES ( ?1, ?2, ?3, ?4, ?5 ) "#, [INFO] [stdout] 124 | | e.id, [INFO] [stdout] 125 | | e.title, [INFO] [stdout] ... | [INFO] [stdout] 128 | | published_at [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let feed_videos = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 139 | | VideoDB, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 152 | | "# [INFO] [stdout] 153 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 182 | | r#" [INFO] [stdout] 183 | | INSERT INTO subscriptions ( channel_id, channel_username ) VALUES ( ?1, ?2 ) "#, [INFO] [stdout] 184 | | channel_id, [INFO] [stdout] 185 | | channel_username [INFO] [stdout] 186 | | ) [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] warning: unused imports: `ChannelDB` and `VideoDB` [INFO] [stdout] --> src/youtube/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | types::{Channel, ChannelDB, ContentItem, Video, VideoDB}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/types.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | DELETE FROM subscriptions WHERE channel_id = ?1;"#, [INFO] [stdout] 148 | | self.channel.id, [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let subscribed_channels = sqlx::query_as!(ChannelDB, r#"SELECT * FROM subscriptions"#) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 123 | | r#" INSERT INTO feed ( id, title, url, channel, published_at ) VALUES ( ?1, ?2, ?3, ?4, ?5 ) "#, [INFO] [stdout] 124 | | e.id, [INFO] [stdout] 125 | | e.title, [INFO] [stdout] ... | [INFO] [stdout] 128 | | published_at [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let feed_videos = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 139 | | VideoDB, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 152 | | "# [INFO] [stdout] 153 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/youtube/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 182 | | r#" [INFO] [stdout] 183 | | INSERT INTO subscriptions ( channel_id, channel_username ) VALUES ( ?1, ?2 ) "#, [INFO] [stdout] 184 | | channel_id, [INFO] [stdout] 185 | | channel_username [INFO] [stdout] 186 | | ) [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] warning: unused imports: `ChannelDB` and `VideoDB` [INFO] [stdout] --> src/youtube/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | types::{Channel, ChannelDB, ContentItem, Video, VideoDB}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/types.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(e) if e.rows_affected() == 0 => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 145 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let subscribed_channels = sqlx::query_as!(ChannelDB, r#"SELECT * FROM subscriptions"#) [INFO] [stdout] | _______________________________^ [INFO] [stdout] 91 | | .fetch_all(&pool) [INFO] [stdout] 92 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let feed_videos = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 139 | | VideoDB, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 154 | | .fetch_all(&pool) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/youtube/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | if e.as_database_error().map(|e| e.code().unwrap_or_default()) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 181 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | if e.as_database_error().map(|e| e.code().unwrap_or_default()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 193 | if e.as_database_error().map(|e: /* Type */| e.code().unwrap_or_default()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/types.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(e) if e.rows_affected() == 0 => { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 145 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let subscribed_channels = sqlx::query_as!(ChannelDB, r#"SELECT * FROM subscriptions"#) [INFO] [stdout] | _______________________________^ [INFO] [stdout] 91 | | .fetch_all(&pool) [INFO] [stdout] 92 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | let feed_videos = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 139 | | VideoDB, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 154 | | .fetch_all(&pool) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/youtube/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | if e.as_database_error().map(|e| e.code().unwrap_or_default()) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 181 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/youtube/mod.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | if e.as_database_error().map(|e| e.code().unwrap_or_default()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 193 | if e.as_database_error().map(|e: /* Type */| e.code().unwrap_or_default()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `silk` (lib) due to 10 previous errors; 1 warning emitted [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 `silk` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "da398a36e99cea4e76fa6026e0753d59a1d88d11e436cd30df97830a1d7afbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da398a36e99cea4e76fa6026e0753d59a1d88d11e436cd30df97830a1d7afbb6", kill_on_drop: false }` [INFO] [stdout] da398a36e99cea4e76fa6026e0753d59a1d88d11e436cd30df97830a1d7afbb6