[INFO] cloning repository https://github.com/espeon/yaiba [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/espeon/yaiba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fespeon%2Fyaiba", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fespeon%2Fyaiba'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 402c4f580f05662b42ed7b5ffa869e507d802897 [INFO] checking espeon/yaiba against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fespeon%2Fyaiba" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/espeon/yaiba [INFO] finished tweaking git repo https://github.com/espeon/yaiba [INFO] tweaked toml for git repo https://github.com/espeon/yaiba written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/espeon/yaiba on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/espeon/yaiba 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded async-trait v0.1.85 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded openssl v0.10.69 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddea95e7d955efd3c1857d28b6abc905ca64b36221831e744cc3dee3865fd23a [INFO] running `Command { std: "docker" "start" "-a" "ddea95e7d955efd3c1857d28b6abc905ca64b36221831e744cc3dee3865fd23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddea95e7d955efd3c1857d28b6abc905ca64b36221831e744cc3dee3865fd23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddea95e7d955efd3c1857d28b6abc905ca64b36221831e744cc3dee3865fd23a", kill_on_drop: false }` [INFO] [stdout] ddea95e7d955efd3c1857d28b6abc905ca64b36221831e744cc3dee3865fd23a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944296292cd0709b12cd6ce163044bed1d38a7d0a0b2af77bb2935807f4d2751 [INFO] running `Command { std: "docker" "start" "-a" "944296292cd0709b12cd6ce163044bed1d38a7d0a0b2af77bb2935807f4d2751", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling yaiba v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | CacheEntry, [INFO] [stdout] 35 | | "insert into cache (key, size, date, importance, tier, content_type) values ($1, $2, $3, $4, $5, $6) returning *", [INFO] [stdout] 36 | | key, [INFO] [stdout] ... | [INFO] [stdout] 41 | | content_type [INFO] [stdout] 42 | | ) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | sqlx::query_as!(CacheEntry, "select * from cache where key = $1", key) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | "update cache set last_access = $1, times_accessed = times_accessed + 1 where key = $2", [INFO] [stdout] 59 | | current_time, [INFO] [stdout] 60 | | key [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sqlx::query!("delete from cache where key = $1", key) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | CacheEntry, [INFO] [stdout] 78 | | "select * from cache where key like $1", [INFO] [stdout] 79 | | fmt_prefix [INFO] [stdout] 80 | | ) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let size = sqlx::query_scalar!("SELECT COALESCE(SUM(size), 0) FROM cache") [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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | CacheEntry, [INFO] [stdout] 35 | | "insert into cache (key, size, date, importance, tier, content_type) values ($1, $2, $3, $4, $5, $6) returning *", [INFO] [stdout] 36 | | key, [INFO] [stdout] ... | [INFO] [stdout] 41 | | content_type [INFO] [stdout] 42 | | ) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | sqlx::query_as!(CacheEntry, "select * from cache where key = $1", key) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | "update cache set last_access = $1, times_accessed = times_accessed + 1 where key = $2", [INFO] [stdout] 59 | | current_time, [INFO] [stdout] 60 | | key [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sqlx::query!("delete from cache where key = $1", key) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | CacheEntry, [INFO] [stdout] 78 | | "select * from cache where key like $1", [INFO] [stdout] 79 | | fmt_prefix [INFO] [stdout] 80 | | ) [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/metadata/sqlite.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let size = sqlx::query_scalar!("SELECT COALESCE(SUM(size), 0) FROM cache") [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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let entries = sqlx::query_as!(CacheEntry, "select * from cache order by importance desc") [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let entries = sqlx::query_as!(CacheEntry, "select * from cache order by importance desc") [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 import: `crate::structs::CacheEntry` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structs::CacheEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::CacheEntry` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structs::CacheEntry; [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 [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let entries = sqlx::query_as!(CacheEntry, "select * from cache order by importance desc") [INFO] [stdout] | ___________________^ [INFO] [stdout] 162 | | .fetch_all(&*pool) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let entries = sqlx::query_as!(CacheEntry, "select * from cache order by importance desc") [INFO] [stdout] | ___________________^ [INFO] [stdout] 162 | | .fetch_all(&*pool) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | CacheEntry, [INFO] [stdout] 35 | | "insert into cache (key, size, date, importance, tier, content_type) values ($1, $2, $3, $4, $5, $6) returning *", [INFO] [stdout] 36 | | key, [INFO] [stdout] ... | [INFO] [stdout] 43 | | .fetch_one(&self.db) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!(CacheEntry, "select * from cache where key = $1", key) [INFO] [stdout] 50 | | .fetch_optional(&self.db) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | CacheEntry, [INFO] [stdout] 78 | | "select * from cache where key like $1", [INFO] [stdout] 79 | | fmt_prefix [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | .fetch_all(&self.db) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | CacheEntry, [INFO] [stdout] 35 | | "insert into cache (key, size, date, importance, tier, content_type) values ($1, $2, $3, $4, $5, $6) returning *", [INFO] [stdout] 36 | | key, [INFO] [stdout] ... | [INFO] [stdout] 43 | | .fetch_one(&self.db) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!(CacheEntry, "select * from cache where key = $1", key) [INFO] [stdout] 50 | | .fetch_optional(&self.db) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/metadata/sqlite.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query_as!( [INFO] [stdout] 77 | | CacheEntry, [INFO] [stdout] 78 | | "select * from cache where key like $1", [INFO] [stdout] 79 | | fmt_prefix [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | .fetch_all(&self.db) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaiba` (bin "yaiba" test) due to 11 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 `yaiba` (bin "yaiba") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "944296292cd0709b12cd6ce163044bed1d38a7d0a0b2af77bb2935807f4d2751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944296292cd0709b12cd6ce163044bed1d38a7d0a0b2af77bb2935807f4d2751", kill_on_drop: false }` [INFO] [stdout] 944296292cd0709b12cd6ce163044bed1d38a7d0a0b2af77bb2935807f4d2751