[INFO] cloning repository https://github.com/mseravalli/grizol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mseravalli/grizol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmseravalli%2Fgrizol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmseravalli%2Fgrizol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6983cecfa6daf74348371f0c62ac2a7fb4839d6a [INFO] checking mseravalli/grizol against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmseravalli%2Fgrizol" "/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/mseravalli/grizol [INFO] finished tweaking git repo https://github.com/mseravalli/grizol [INFO] tweaked toml for git repo https://github.com/mseravalli/grizol written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mseravalli/grizol on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mseravalli/grizol 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-codegen v0.15.0 [INFO] [stderr] Downloaded logos-derive v0.15.0 [INFO] [stderr] Downloaded prost-reflect-derive v0.15.1 [INFO] [stderr] Downloaded env_logger v0.11.2 [INFO] [stderr] Downloaded rsa v0.9.2 [INFO] [stderr] Downloaded fuser v0.15.1 [INFO] [stderr] Downloaded prost-reflect v0.15.2 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded prost-reflect-build v0.15.1 [INFO] [stderr] Downloaded logos v0.15.0 [INFO] [stderr] Downloaded chrono-timesource v0.1.0 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08bd1adeadf3c3f8f19c676f0de9bda1aab1b7e0b8c167a142d0c95fcce32e94 [INFO] running `Command { std: "docker" "start" "-a" "08bd1adeadf3c3f8f19c676f0de9bda1aab1b7e0b8c167a142d0c95fcce32e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08bd1adeadf3c3f8f19c676f0de9bda1aab1b7e0b8c167a142d0c95fcce32e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08bd1adeadf3c3f8f19c676f0de9bda1aab1b7e0b8c167a142d0c95fcce32e94", kill_on_drop: false }` [INFO] [stdout] 08bd1adeadf3c3f8f19c676f0de9bda1aab1b7e0b8c167a142d0c95fcce32e94 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ed0c8a86d54dc078196bbc6b3e02b17e47608d4e3e8471521d2210091155195 [INFO] running `Command { std: "docker" "start" "-a" "7ed0c8a86d54dc078196bbc6b3e02b17e47608d4e3e8471521d2210091155195", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling prost-reflect-derive v0.15.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.24 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fuser v0.15.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Checking chrono-timesource v0.1.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking parse-size v1.0.0 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Compiling prost-reflect v0.15.2 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Compiling prost-reflect-build v0.15.1 [INFO] [stderr] Compiling grizol v0.2.1 (/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/core/bep_state.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record = sqlx::query!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT MAX(sequence) as max_seq FROM bep_file_info; [INFO] [stdout] 76 | | "#, [INFO] [stdout] 77 | | ) [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/core/bep_state.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 107 | | " [INFO] [stdout] 108 | | INSERT INTO bep_index ( [INFO] [stdout] 109 | | device, [INFO] [stdout] ... | [INFO] [stdout] 118 | | folder, [INFO] [stdout] 119 | | ) [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/core/bep_state.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 134 | | " [INFO] [stdout] 135 | | DELETE FROM bep_file_info [INFO] [stdout] 136 | | WHERE folder = ? AND device = ?; [INFO] [stdout] ... | [INFO] [stdout] 139 | | device_id_str, [INFO] [stdout] 140 | | ) [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/core/bep_state.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | INSERT INTO bep_file_info ( [INFO] [stdout] 155 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 203 | | file.symlink_target, [INFO] [stdout] 204 | | ) [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/core/bep_state.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 219 | | r#" [INFO] [stdout] 220 | | INSERT INTO bep_file_version ( [INFO] [stdout] 221 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 234 | | version_value, [INFO] [stdout] 235 | | ) [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/core/bep_state.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | INSERT INTO bep_block_info ( [INFO] [stdout] 248 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 267 | | not_stored, [INFO] [stdout] 268 | | ) [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/core/bep_state.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | let insert_res = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 293 | | " [INFO] [stdout] 294 | | INSERT INTO bep_folders ( [INFO] [stdout] 295 | | id, [INFO] [stdout] ... | [INFO] [stdout] 319 | | other_folder.paused, [INFO] [stdout] 320 | | ) [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/core/bep_state.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO bep_devices ( [INFO] [stdout] 343 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 379 | | device.encryption_password_token, [INFO] [stdout] 380 | | ) [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/core/bep_state.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | / sqlx::query!( [INFO] [stdout] 425 | | r#" [INFO] [stdout] 426 | | SELECT device [INFO] [stdout] 427 | | FROM bep_index [INFO] [stdout] ... | [INFO] [stdout] 430 | | f, [INFO] [stdout] 431 | | ) [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/core/bep_state.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | / sqlx::query!( [INFO] [stdout] 446 | | r#" [INFO] [stdout] 447 | | SELECT ind_a.folder [INFO] [stdout] 448 | | FROM bep_index ind_a JOIN bep_index ind_b ON ind_a.folder = ind_b.folder [INFO] [stdout] ... | [INFO] [stdout] 452 | | client_device_id, [INFO] [stdout] 453 | | ) [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/core/bep_state.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 495 | | r#" [INFO] [stdout] 496 | | SELECT f.*, bi.* [INFO] [stdout] 497 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 502 | | device_id_str, [INFO] [stdout] 503 | | ) [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/core/bep_state.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 507 | | r#" [INFO] [stdout] 508 | | SELECT f.name, v.id, v.value [INFO] [stdout] 509 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 514 | | device_id_str, [INFO] [stdout] 515 | | ) [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/core/bep_state.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 628 | | r#" [INFO] [stdout] 629 | | UPDATE OR ROLLBACK bep_block_info [INFO] [stdout] 630 | | SET storage_status = ? [INFO] [stdout] ... | [INFO] [stdout] 637 | | block_hash, [INFO] [stdout] 638 | | ) [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/core/bep_state.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | let block_count = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 644 | | r#" [INFO] [stdout] 645 | | SELECT fi.block_size AS block_size, fi.size AS byte_size, COUNT(*) as stored_blocks [INFO] [stdout] 646 | | FROM bep_file_info AS fi JOIN bep_block_info AS bi ON [INFO] [stdout] ... | [INFO] [stdout] 655 | | device_id, [INFO] [stdout] 656 | | ) [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/core/bep_state.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 696 | | r#" [INFO] [stdout] 697 | | SELECT * [INFO] [stdout] 698 | | FROM bep_block_info [INFO] [stdout] ... | [INFO] [stdout] 703 | | storage_status [INFO] [stdout] 704 | | ) [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/core/bep_state.rs:737:23 [INFO] [stdout] | [INFO] [stdout] 737 | let folders = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 738 | | r#" [INFO] [stdout] 739 | | SELECT DISTINCT(f.rowid) AS f_id, f.* [INFO] [stdout] 740 | | FROM bep_folders f JOIN bep_index i ON f.id = i.folder [INFO] [stdout] ... | [INFO] [stdout] 743 | | device_id, [INFO] [stdout] 744 | | ) [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/core/bep_state.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 783 | | r#" [INFO] [stdout] 784 | | SELECT fin.rowid as r_id, * [INFO] [stdout] 785 | | FROM bep_file_location flo RIGHT JOIN bep_file_info fin ON [INFO] [stdout] ... | [INFO] [stdout] 789 | | device_id, [INFO] [stdout] 790 | | ) [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/core/bep_state.rs:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | let file = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 877 | | r#" [INFO] [stdout] 878 | | SELECT f.* [INFO] [stdout] 879 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 884 | | device_id, [INFO] [stdout] 885 | | ) [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/core/bep_state.rs:889:27 [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 890 | | r#" [INFO] [stdout] 891 | | SELECT * [INFO] [stdout] 892 | | FROM bep_block_info [INFO] [stdout] ... | [INFO] [stdout] 897 | | device_id, [INFO] [stdout] 898 | | ) [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/core/bep_state.rs:902:29 [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 903 | | r#" [INFO] [stdout] 904 | | SELECT * [INFO] [stdout] 905 | | FROM bep_file_version [INFO] [stdout] ... | [INFO] [stdout] 910 | | device_id, [INFO] [stdout] 911 | | ) [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/core/bep_state.rs:981:23 [INFO] [stdout] | [INFO] [stdout] 981 | let devices = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 982 | | r#" [INFO] [stdout] 983 | | SELECT * [INFO] [stdout] 984 | | FROM bep_devices [INFO] [stdout] ... | [INFO] [stdout] 988 | | client_device_id [INFO] [stdout] 989 | | ) [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/core/bep_state.rs:993:23 [INFO] [stdout] | [INFO] [stdout] 993 | let folders = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 994 | | r#" [INFO] [stdout] 995 | | SELECT fo.* [INFO] [stdout] 996 | | FROM bep_folders fo JOIN bep_devices de ON fo.id = de.folder [INFO] [stdout] 997 | | WHERE de.id = ? ;"#, [INFO] [stdout] 998 | | client_device_id [INFO] [stdout] 999 | | ) [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/core/bep_state.rs:1074:31 [INFO] [stdout] | [INFO] [stdout] 1074 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1075 | | r#" [INFO] [stdout] 1076 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1077 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1125 | | file.symlink_target, [INFO] [stdout] 1126 | | ) [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/core/bep_state.rs:1140:35 [INFO] [stdout] | [INFO] [stdout] 1140 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1141 | | r#" [INFO] [stdout] 1142 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1143 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1156 | | version_value, [INFO] [stdout] 1157 | | ) [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/core/bep_state.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1168 | | r#" [INFO] [stdout] 1169 | | INSERT INTO bep_block_info ( [INFO] [stdout] 1170 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 1189 | | not_stored, [INFO] [stdout] 1190 | | ) [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/core/bep_state.rs:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1219 | | " [INFO] [stdout] 1220 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1221 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1229 | | orig_file_info.name, [INFO] [stdout] 1230 | | ) [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/core/bep_state.rs:1237:27 [INFO] [stdout] | [INFO] [stdout] 1237 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1238 | | " [INFO] [stdout] 1239 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1240 | | DELETE FROM bep_file_location [INFO] [stdout] ... | [INFO] [stdout] 1245 | | dest_file_name, [INFO] [stdout] 1246 | | ) [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/core/bep_state.rs:1251:27 [INFO] [stdout] | [INFO] [stdout] 1251 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1252 | | " [INFO] [stdout] 1253 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1254 | | DELETE FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1259 | | dest_file_name, [INFO] [stdout] 1260 | | ) [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/core/bep_state.rs:1268:31 [INFO] [stdout] | [INFO] [stdout] 1268 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1269 | | " [INFO] [stdout] 1270 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1271 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1289 | | file_location.location, [INFO] [stdout] 1290 | | ) [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/core/bep_state.rs:1355:35 [INFO] [stdout] | [INFO] [stdout] 1355 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1356 | | " [INFO] [stdout] 1357 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1358 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1365 | | file.name, [INFO] [stdout] 1366 | | ) [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/core/bep_state.rs:1375:35 [INFO] [stdout] | [INFO] [stdout] 1375 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1376 | | " [INFO] [stdout] 1377 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1378 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1383 | | file.name, [INFO] [stdout] 1384 | | ) [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/core/bep_state.rs:1393:31 [INFO] [stdout] | [INFO] [stdout] 1393 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1394 | | r#" [INFO] [stdout] 1395 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1396 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1444 | | file.symlink_target, [INFO] [stdout] 1445 | | ) [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/core/bep_state.rs:1459:35 [INFO] [stdout] | [INFO] [stdout] 1459 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1460 | | r#" [INFO] [stdout] 1461 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1462 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1475 | | version_value, [INFO] [stdout] 1476 | | ) [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/core/bep_state.rs:1535:27 [INFO] [stdout] | [INFO] [stdout] 1535 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1536 | | " [INFO] [stdout] 1537 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1538 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1543 | | file_name, [INFO] [stdout] 1544 | | ) [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/core/bep_state.rs:1565:31 [INFO] [stdout] | [INFO] [stdout] 1565 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1566 | | " [INFO] [stdout] 1567 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1568 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1586 | | location.1 [INFO] [stdout] 1587 | | ) [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/core/bep_state.rs:1607:31 [INFO] [stdout] | [INFO] [stdout] 1607 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1608 | | " [INFO] [stdout] 1609 | | DELETE FROM bep_file_location [INFO] [stdout] 1610 | | WHERE TRUE [INFO] [stdout] ... | [INFO] [stdout] 1619 | | storage_backend, [INFO] [stdout] 1620 | | ) [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/core/bep_state.rs:1666:26 [INFO] [stdout] | [INFO] [stdout] 1666 | let file_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 1667 | | " [INFO] [stdout] 1668 | | SELECT COUNT(cache_file_name) as c [INFO] [stdout] 1669 | | FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1678 | | file, [INFO] [stdout] 1679 | | ) [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/core/bep_state.rs:1709:21 [INFO] [stdout] | [INFO] [stdout] 1709 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 1710 | | r#" [INFO] [stdout] 1711 | | SELECT lc.cache_folder, lc.cache_file_name, lc.cache_device, lc.timestamp_added, fi.size [INFO] [stdout] 1712 | | FROM bep_local_cache lc JOIN bep_file_info fi ON TRUE [INFO] [stdout] ... | [INFO] [stdout] 1718 | | ;"# [INFO] [stdout] 1719 | | ) [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/core/bep_state.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | / sqlx::query!( [INFO] [stdout] 1739 | | " [INFO] [stdout] 1740 | | DELETE FROM bep_local_cache WHERE TRUE [INFO] [stdout] 1741 | | AND cache_device = ? [INFO] [stdout] ... | [INFO] [stdout] 1747 | | removed_file.cache_file_name, [INFO] [stdout] 1748 | | ) [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/core/bep_state.rs:1775:27 [INFO] [stdout] | [INFO] [stdout] 1775 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1776 | | " [INFO] [stdout] 1777 | | INSERT INTO bep_local_cache ( [INFO] [stdout] 1778 | | cache_folder , [INFO] [stdout] ... | [INFO] [stdout] 1792 | | now [INFO] [stdout] 1793 | | ) [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/core/bep_state.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record = sqlx::query!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | SELECT MAX(sequence) as max_seq FROM bep_file_info; [INFO] [stdout] 76 | | "#, [INFO] [stdout] 77 | | ) [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/core/bep_state.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 107 | | " [INFO] [stdout] 108 | | INSERT INTO bep_index ( [INFO] [stdout] 109 | | device, [INFO] [stdout] ... | [INFO] [stdout] 118 | | folder, [INFO] [stdout] 119 | | ) [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/core/bep_state.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 134 | | " [INFO] [stdout] 135 | | DELETE FROM bep_file_info [INFO] [stdout] 136 | | WHERE folder = ? AND device = ?; [INFO] [stdout] ... | [INFO] [stdout] 139 | | device_id_str, [INFO] [stdout] 140 | | ) [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/core/bep_state.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | INSERT INTO bep_file_info ( [INFO] [stdout] 155 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 203 | | file.symlink_target, [INFO] [stdout] 204 | | ) [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/core/bep_state.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 219 | | r#" [INFO] [stdout] 220 | | INSERT INTO bep_file_version ( [INFO] [stdout] 221 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 234 | | version_value, [INFO] [stdout] 235 | | ) [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/core/bep_state.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | INSERT INTO bep_block_info ( [INFO] [stdout] 248 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 267 | | not_stored, [INFO] [stdout] 268 | | ) [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/core/bep_state.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | let insert_res = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 293 | | " [INFO] [stdout] 294 | | INSERT INTO bep_folders ( [INFO] [stdout] 295 | | id, [INFO] [stdout] ... | [INFO] [stdout] 319 | | other_folder.paused, [INFO] [stdout] 320 | | ) [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/core/bep_state.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO bep_devices ( [INFO] [stdout] 343 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 379 | | device.encryption_password_token, [INFO] [stdout] 380 | | ) [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/core/bep_state.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | / sqlx::query!( [INFO] [stdout] 425 | | r#" [INFO] [stdout] 426 | | SELECT device [INFO] [stdout] 427 | | FROM bep_index [INFO] [stdout] ... | [INFO] [stdout] 430 | | f, [INFO] [stdout] 431 | | ) [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/core/bep_state.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | / sqlx::query!( [INFO] [stdout] 446 | | r#" [INFO] [stdout] 447 | | SELECT ind_a.folder [INFO] [stdout] 448 | | FROM bep_index ind_a JOIN bep_index ind_b ON ind_a.folder = ind_b.folder [INFO] [stdout] ... | [INFO] [stdout] 452 | | client_device_id, [INFO] [stdout] 453 | | ) [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/core/bep_state.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 495 | | r#" [INFO] [stdout] 496 | | SELECT f.*, bi.* [INFO] [stdout] 497 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 502 | | device_id_str, [INFO] [stdout] 503 | | ) [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/core/bep_state.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 507 | | r#" [INFO] [stdout] 508 | | SELECT f.name, v.id, v.value [INFO] [stdout] 509 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 514 | | device_id_str, [INFO] [stdout] 515 | | ) [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/core/bep_state.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 628 | | r#" [INFO] [stdout] 629 | | UPDATE OR ROLLBACK bep_block_info [INFO] [stdout] 630 | | SET storage_status = ? [INFO] [stdout] ... | [INFO] [stdout] 637 | | block_hash, [INFO] [stdout] 638 | | ) [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/core/bep_state.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | let block_count = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 644 | | r#" [INFO] [stdout] 645 | | SELECT fi.block_size AS block_size, fi.size AS byte_size, COUNT(*) as stored_blocks [INFO] [stdout] 646 | | FROM bep_file_info AS fi JOIN bep_block_info AS bi ON [INFO] [stdout] ... | [INFO] [stdout] 655 | | device_id, [INFO] [stdout] 656 | | ) [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/core/bep_state.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 696 | | r#" [INFO] [stdout] 697 | | SELECT * [INFO] [stdout] 698 | | FROM bep_block_info [INFO] [stdout] ... | [INFO] [stdout] 703 | | storage_status [INFO] [stdout] 704 | | ) [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/core/bep_state.rs:737:23 [INFO] [stdout] | [INFO] [stdout] 737 | let folders = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 738 | | r#" [INFO] [stdout] 739 | | SELECT DISTINCT(f.rowid) AS f_id, f.* [INFO] [stdout] 740 | | FROM bep_folders f JOIN bep_index i ON f.id = i.folder [INFO] [stdout] ... | [INFO] [stdout] 743 | | device_id, [INFO] [stdout] 744 | | ) [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/core/bep_state.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 783 | | r#" [INFO] [stdout] 784 | | SELECT fin.rowid as r_id, * [INFO] [stdout] 785 | | FROM bep_file_location flo RIGHT JOIN bep_file_info fin ON [INFO] [stdout] ... | [INFO] [stdout] 789 | | device_id, [INFO] [stdout] 790 | | ) [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/core/bep_state.rs:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | let file = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 877 | | r#" [INFO] [stdout] 878 | | SELECT f.* [INFO] [stdout] 879 | | FROM bep_file_info f [INFO] [stdout] ... | [INFO] [stdout] 884 | | device_id, [INFO] [stdout] 885 | | ) [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/core/bep_state.rs:889:27 [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 890 | | r#" [INFO] [stdout] 891 | | SELECT * [INFO] [stdout] 892 | | FROM bep_block_info [INFO] [stdout] ... | [INFO] [stdout] 897 | | device_id, [INFO] [stdout] 898 | | ) [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/core/bep_state.rs:902:29 [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 903 | | r#" [INFO] [stdout] 904 | | SELECT * [INFO] [stdout] 905 | | FROM bep_file_version [INFO] [stdout] ... | [INFO] [stdout] 910 | | device_id, [INFO] [stdout] 911 | | ) [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/core/bep_state.rs:981:23 [INFO] [stdout] | [INFO] [stdout] 981 | let devices = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 982 | | r#" [INFO] [stdout] 983 | | SELECT * [INFO] [stdout] 984 | | FROM bep_devices [INFO] [stdout] ... | [INFO] [stdout] 988 | | client_device_id [INFO] [stdout] 989 | | ) [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/core/bep_state.rs:993:23 [INFO] [stdout] | [INFO] [stdout] 993 | let folders = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 994 | | r#" [INFO] [stdout] 995 | | SELECT fo.* [INFO] [stdout] 996 | | FROM bep_folders fo JOIN bep_devices de ON fo.id = de.folder [INFO] [stdout] 997 | | WHERE de.id = ? ;"#, [INFO] [stdout] 998 | | client_device_id [INFO] [stdout] 999 | | ) [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/core/bep_state.rs:1074:31 [INFO] [stdout] | [INFO] [stdout] 1074 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1075 | | r#" [INFO] [stdout] 1076 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1077 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1125 | | file.symlink_target, [INFO] [stdout] 1126 | | ) [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/core/bep_state.rs:1140:35 [INFO] [stdout] | [INFO] [stdout] 1140 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1141 | | r#" [INFO] [stdout] 1142 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1143 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1156 | | version_value, [INFO] [stdout] 1157 | | ) [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/core/bep_state.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1168 | | r#" [INFO] [stdout] 1169 | | INSERT INTO bep_block_info ( [INFO] [stdout] 1170 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 1189 | | not_stored, [INFO] [stdout] 1190 | | ) [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/core/bep_state.rs:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1219 | | " [INFO] [stdout] 1220 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1221 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1229 | | orig_file_info.name, [INFO] [stdout] 1230 | | ) [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/core/bep_state.rs:1237:27 [INFO] [stdout] | [INFO] [stdout] 1237 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1238 | | " [INFO] [stdout] 1239 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1240 | | DELETE FROM bep_file_location [INFO] [stdout] ... | [INFO] [stdout] 1245 | | dest_file_name, [INFO] [stdout] 1246 | | ) [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/core/bep_state.rs:1251:27 [INFO] [stdout] | [INFO] [stdout] 1251 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1252 | | " [INFO] [stdout] 1253 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1254 | | DELETE FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1259 | | dest_file_name, [INFO] [stdout] 1260 | | ) [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/core/bep_state.rs:1268:31 [INFO] [stdout] | [INFO] [stdout] 1268 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1269 | | " [INFO] [stdout] 1270 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1271 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1289 | | file_location.location, [INFO] [stdout] 1290 | | ) [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/core/bep_state.rs:1355:35 [INFO] [stdout] | [INFO] [stdout] 1355 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1356 | | " [INFO] [stdout] 1357 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1358 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1365 | | file.name, [INFO] [stdout] 1366 | | ) [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/core/bep_state.rs:1375:35 [INFO] [stdout] | [INFO] [stdout] 1375 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1376 | | " [INFO] [stdout] 1377 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1378 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1383 | | file.name, [INFO] [stdout] 1384 | | ) [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/core/bep_state.rs:1393:31 [INFO] [stdout] | [INFO] [stdout] 1393 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1394 | | r#" [INFO] [stdout] 1395 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1396 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1444 | | file.symlink_target, [INFO] [stdout] 1445 | | ) [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/core/bep_state.rs:1459:35 [INFO] [stdout] | [INFO] [stdout] 1459 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1460 | | r#" [INFO] [stdout] 1461 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1462 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1475 | | version_value, [INFO] [stdout] 1476 | | ) [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/core/bep_state.rs:1535:27 [INFO] [stdout] | [INFO] [stdout] 1535 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1536 | | " [INFO] [stdout] 1537 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1538 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1543 | | file_name, [INFO] [stdout] 1544 | | ) [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/core/bep_state.rs:1565:31 [INFO] [stdout] | [INFO] [stdout] 1565 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1566 | | " [INFO] [stdout] 1567 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1568 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1586 | | location.1 [INFO] [stdout] 1587 | | ) [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/core/bep_state.rs:1607:31 [INFO] [stdout] | [INFO] [stdout] 1607 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1608 | | " [INFO] [stdout] 1609 | | DELETE FROM bep_file_location [INFO] [stdout] 1610 | | WHERE TRUE [INFO] [stdout] ... | [INFO] [stdout] 1619 | | storage_backend, [INFO] [stdout] 1620 | | ) [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/core/bep_state.rs:1666:26 [INFO] [stdout] | [INFO] [stdout] 1666 | let file_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 1667 | | " [INFO] [stdout] 1668 | | SELECT COUNT(cache_file_name) as c [INFO] [stdout] 1669 | | FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1678 | | file, [INFO] [stdout] 1679 | | ) [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/core/bep_state.rs:1709:21 [INFO] [stdout] | [INFO] [stdout] 1709 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 1710 | | r#" [INFO] [stdout] 1711 | | SELECT lc.cache_folder, lc.cache_file_name, lc.cache_device, lc.timestamp_added, fi.size [INFO] [stdout] 1712 | | FROM bep_local_cache lc JOIN bep_file_info fi ON TRUE [INFO] [stdout] ... | [INFO] [stdout] 1718 | | ;"# [INFO] [stdout] 1719 | | ) [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/core/bep_state.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | / sqlx::query!( [INFO] [stdout] 1739 | | " [INFO] [stdout] 1740 | | DELETE FROM bep_local_cache WHERE TRUE [INFO] [stdout] 1741 | | AND cache_device = ? [INFO] [stdout] ... | [INFO] [stdout] 1747 | | removed_file.cache_file_name, [INFO] [stdout] 1748 | | ) [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/core/bep_state.rs:1775:27 [INFO] [stdout] | [INFO] [stdout] 1775 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1776 | | " [INFO] [stdout] 1777 | | INSERT INTO bep_local_cache ( [INFO] [stdout] 1778 | | cache_folder , [INFO] [stdout] ... | [INFO] [stdout] 1792 | | now [INFO] [stdout] 1793 | | ) [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 import: `Rng` [INFO] [stdout] --> src/file_writer.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | use rand::{thread_rng, Rng}; [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: `std::borrow::BorrowMut` [INFO] [stdout] --> src/file_writer.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/file_writer.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grizol` [INFO] [stdout] --> src/storage.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | use crate::grizol; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::StorageManager` [INFO] [stdout] --> src/storage.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | use crate::storage::StorageManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::syncthing::Request` [INFO] [stdout] --> src/storage.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | use crate::syncthing::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GrizolConfig` [INFO] [stdout] --> src/storage.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | use crate::GrizolConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/core/bep_state.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x| x.into()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `max_sequence_record` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:82:73 [INFO] [stdout] | [INFO] [stdout] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x| x.into()); [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] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x: /* Type */| x.into()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 107 | | " [INFO] [stdout] 108 | | INSERT INTO bep_index ( [INFO] [stdout] 109 | | device, [INFO] [stdout] ... | [INFO] [stdout] 120 | | .execute(&mut *transaction) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 134 | | " [INFO] [stdout] 135 | | DELETE FROM bep_file_info [INFO] [stdout] 136 | | WHERE folder = ? AND device = ?; [INFO] [stdout] ... | [INFO] [stdout] 141 | | .execute(&mut *transaction) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | INSERT INTO bep_file_info ( [INFO] [stdout] 155 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 205 | | .execute(&mut *transaction) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 219 | | r#" [INFO] [stdout] 220 | | INSERT INTO bep_file_version ( [INFO] [stdout] 221 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 236 | | .execute(&mut *transaction) [INFO] [stdout] 237 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | INSERT INTO bep_block_info ( [INFO] [stdout] 248 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 269 | | .execute(&mut *transaction) [INFO] [stdout] 270 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | let insert_res = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 293 | | " [INFO] [stdout] 294 | | INSERT INTO bep_folders ( [INFO] [stdout] 295 | | id, [INFO] [stdout] ... | [INFO] [stdout] 321 | | .execute(&mut *transaction) [INFO] [stdout] 322 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO bep_devices ( [INFO] [stdout] 343 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 381 | | .execute(&mut *transaction) [INFO] [stdout] 382 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | / sqlx::query!( [INFO] [stdout] 425 | | r#" [INFO] [stdout] 426 | | SELECT device [INFO] [stdout] 427 | | FROM bep_index [INFO] [stdout] ... | [INFO] [stdout] 432 | | .fetch_all(&self.db_pool_read) [INFO] [stdout] 433 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | / sqlx::query!( [INFO] [stdout] 446 | | r#" [INFO] [stdout] 447 | | SELECT ind_a.folder [INFO] [stdout] 448 | | FROM bep_index ind_a JOIN bep_index ind_b ON ind_a.folder = ind_b.folder [INFO] [stdout] ... | [INFO] [stdout] 454 | | .fetch_all(&self.db_pool_read) [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | for file in file_blocks.unwrap() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | for version in file_versions.unwrap() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_versions` an explicit type [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 628 | | r#" [INFO] [stdout] 629 | | UPDATE OR ROLLBACK bep_block_info [INFO] [stdout] 630 | | SET storage_status = ? [INFO] [stdout] ... | [INFO] [stdout] 639 | | .execute(&mut *transaction) [INFO] [stdout] 640 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | let block_count = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 644 | | r#" [INFO] [stdout] 645 | | SELECT fi.block_size AS block_size, fi.size AS byte_size, COUNT(*) as stored_blocks [INFO] [stdout] 646 | | FROM bep_file_info AS fi JOIN bep_block_info AS bi ON [INFO] [stdout] ... | [INFO] [stdout] 657 | | .fetch_one(&mut *transaction) [INFO] [stdout] 658 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | let blocks: Vec = file_blocks [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | let folders = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | folders [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `folders` an explicit type [INFO] [stdout] | [INFO] [stdout] 737 | let folders: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | let files = sqlx::query!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | for file in files.unwrap().into_iter() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `files` an explicit type [INFO] [stdout] | [INFO] [stdout] 782 | let files: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:834:71 [INFO] [stdout] | [INFO] [stdout] 834 | if let Some("local") = file.storage_backend.as_ref().map(|x| x.as_str()) { [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] 834 | if let Some("local") = file.storage_backend.as_ref().map(|x: /* Type */| x.as_str()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 917 | let blocks: Vec = file_blocks [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 928 | let versions: Vec = file_versions [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_versions` an explicit type [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | let file = sqlx::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | let file = file.unwrap()?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type [INFO] [stdout] | [INFO] [stdout] 876 | let file: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | let devices: Vec<(String, syncthing::Device)> = devices [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 981 | let devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1018:60 [INFO] [stdout] | [INFO] [stdout] 1018 | addresses: x.addresses.split(',').map(|y| y.to_string()).collect(), [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] 1018 | addresses: x.addresses.split(',').map(|y: /* Type */| y.to_string()).collect(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:993:13 [INFO] [stdout] | [INFO] [stdout] 993 | let folders = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | let folders: Vec = folders [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `folders` an explicit type [INFO] [stdout] | [INFO] [stdout] 993 | let folders: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/core/bep_state.rs:1046:31 [INFO] [stdout] | [INFO] [stdout] 1046 | .map(|(_f, d)| d.clone()) [INFO] [stdout] | ^^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1046 | .map(|(_f, d): (_, _)| d.clone()) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1074:31 [INFO] [stdout] | [INFO] [stdout] 1074 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1075 | | r#" [INFO] [stdout] 1076 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1077 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1127 | | .execute(&mut *transaction) [INFO] [stdout] 1128 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1140:35 [INFO] [stdout] | [INFO] [stdout] 1140 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1141 | | r#" [INFO] [stdout] 1142 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1143 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1158 | | .execute(&mut *transaction) [INFO] [stdout] 1159 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1168 | | r#" [INFO] [stdout] 1169 | | INSERT INTO bep_block_info ( [INFO] [stdout] 1170 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 1191 | | .execute(&mut *transaction) [INFO] [stdout] 1192 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1219 | | " [INFO] [stdout] 1220 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1221 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1231 | | .execute(&mut *transaction) [INFO] [stdout] 1232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/core/bep_state.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x| x.into()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `max_sequence_record` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 73 | let max_sequence_record: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:82:73 [INFO] [stdout] | [INFO] [stdout] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x| x.into()); [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] 82 | self.sequence = record.and_then(|r| r.max_seq).map(|x: /* Type */| x.into()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1237:27 [INFO] [stdout] | [INFO] [stdout] 1237 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1238 | | " [INFO] [stdout] 1239 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1240 | | DELETE FROM bep_file_location [INFO] [stdout] ... | [INFO] [stdout] 1247 | | .execute(&mut *transaction) [INFO] [stdout] 1248 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1251:27 [INFO] [stdout] | [INFO] [stdout] 1251 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1252 | | " [INFO] [stdout] 1253 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1254 | | DELETE FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1261 | | .execute(&mut *transaction) [INFO] [stdout] 1262 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1268:31 [INFO] [stdout] | [INFO] [stdout] 1268 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1269 | | " [INFO] [stdout] 1270 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1271 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1291 | | .execute(&mut *transaction) [INFO] [stdout] 1292 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 107 | | " [INFO] [stdout] 108 | | INSERT INTO bep_index ( [INFO] [stdout] 109 | | device, [INFO] [stdout] ... | [INFO] [stdout] 120 | | .execute(&mut *transaction) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 134 | | " [INFO] [stdout] 135 | | DELETE FROM bep_file_info [INFO] [stdout] 136 | | WHERE folder = ? AND device = ?; [INFO] [stdout] ... | [INFO] [stdout] 141 | | .execute(&mut *transaction) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | INSERT INTO bep_file_info ( [INFO] [stdout] 155 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 205 | | .execute(&mut *transaction) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 219 | | r#" [INFO] [stdout] 220 | | INSERT INTO bep_file_version ( [INFO] [stdout] 221 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 236 | | .execute(&mut *transaction) [INFO] [stdout] 237 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1355:35 [INFO] [stdout] | [INFO] [stdout] 1355 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1356 | | " [INFO] [stdout] 1357 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1358 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1367 | | .execute(&mut *transaction) [INFO] [stdout] 1368 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1375:35 [INFO] [stdout] | [INFO] [stdout] 1375 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1376 | | " [INFO] [stdout] 1377 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1378 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1385 | | .execute(&mut *transaction) [INFO] [stdout] 1386 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | INSERT INTO bep_block_info ( [INFO] [stdout] 248 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 269 | | .execute(&mut *transaction) [INFO] [stdout] 270 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1393:31 [INFO] [stdout] | [INFO] [stdout] 1393 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1394 | | r#" [INFO] [stdout] 1395 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1396 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1446 | | .execute(&mut *transaction) [INFO] [stdout] 1447 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | let insert_res = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 293 | | " [INFO] [stdout] 294 | | INSERT INTO bep_folders ( [INFO] [stdout] 295 | | id, [INFO] [stdout] ... | [INFO] [stdout] 321 | | .execute(&mut *transaction) [INFO] [stdout] 322 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO bep_devices ( [INFO] [stdout] 343 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 381 | | .execute(&mut *transaction) [INFO] [stdout] 382 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1459:35 [INFO] [stdout] | [INFO] [stdout] 1459 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1460 | | r#" [INFO] [stdout] 1461 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1462 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1477 | | .execute(&mut *transaction) [INFO] [stdout] 1478 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | / sqlx::query!( [INFO] [stdout] 425 | | r#" [INFO] [stdout] 426 | | SELECT device [INFO] [stdout] 427 | | FROM bep_index [INFO] [stdout] ... | [INFO] [stdout] 432 | | .fetch_all(&self.db_pool_read) [INFO] [stdout] 433 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1535:27 [INFO] [stdout] | [INFO] [stdout] 1535 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1536 | | " [INFO] [stdout] 1537 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1538 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1545 | | .execute(&mut *transaction) [INFO] [stdout] 1546 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1565:31 [INFO] [stdout] | [INFO] [stdout] 1565 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1566 | | " [INFO] [stdout] 1567 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1568 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1588 | | .execute(&mut *transaction) [INFO] [stdout] 1589 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1607:31 [INFO] [stdout] | [INFO] [stdout] 1607 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1608 | | " [INFO] [stdout] 1609 | | DELETE FROM bep_file_location [INFO] [stdout] 1610 | | WHERE TRUE [INFO] [stdout] ... | [INFO] [stdout] 1621 | | .execute(&mut *transaction) [INFO] [stdout] 1622 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1666:26 [INFO] [stdout] | [INFO] [stdout] 1666 | let file_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 1667 | | " [INFO] [stdout] 1668 | | SELECT COUNT(cache_file_name) as c [INFO] [stdout] 1669 | | FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1680 | | .fetch_optional(&self.db_pool_read) [INFO] [stdout] 1681 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1709:21 [INFO] [stdout] | [INFO] [stdout] 1709 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 1710 | | r#" [INFO] [stdout] 1711 | | SELECT lc.cache_folder, lc.cache_file_name, lc.cache_device, lc.timestamp_added, fi.size [INFO] [stdout] 1712 | | FROM bep_local_cache lc JOIN bep_file_info fi ON TRUE [INFO] [stdout] ... | [INFO] [stdout] 1720 | | .fetch_all(&mut *transaction) [INFO] [stdout] 1721 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | / sqlx::query!( [INFO] [stdout] 446 | | r#" [INFO] [stdout] 447 | | SELECT ind_a.folder [INFO] [stdout] 448 | | FROM bep_index ind_a JOIN bep_index ind_b ON ind_a.folder = ind_b.folder [INFO] [stdout] ... | [INFO] [stdout] 454 | | .fetch_all(&self.db_pool_read) [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | for file in file_blocks.unwrap() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 494 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | for version in file_versions.unwrap() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_versions` an explicit type [INFO] [stdout] | [INFO] [stdout] 506 | let file_versions: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:627:27 [INFO] [stdout] | [INFO] [stdout] 627 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 628 | | r#" [INFO] [stdout] 629 | | UPDATE OR ROLLBACK bep_block_info [INFO] [stdout] 630 | | SET storage_status = ? [INFO] [stdout] ... | [INFO] [stdout] 639 | | .execute(&mut *transaction) [INFO] [stdout] 640 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | let block_count = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 644 | | r#" [INFO] [stdout] 645 | | SELECT fi.block_size AS block_size, fi.size AS byte_size, COUNT(*) as stored_blocks [INFO] [stdout] 646 | | FROM bep_file_info AS fi JOIN bep_block_info AS bi ON [INFO] [stdout] ... | [INFO] [stdout] 657 | | .fetch_one(&mut *transaction) [INFO] [stdout] 658 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | let blocks: Vec = file_blocks [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 695 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | / sqlx::query!( [INFO] [stdout] 1739 | | " [INFO] [stdout] 1740 | | DELETE FROM bep_local_cache WHERE TRUE [INFO] [stdout] 1741 | | AND cache_device = ? [INFO] [stdout] ... | [INFO] [stdout] 1749 | | .execute(&mut *transaction) [INFO] [stdout] 1750 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | let folders = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | folders [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `folders` an explicit type [INFO] [stdout] | [INFO] [stdout] 737 | let folders: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | let files = sqlx::query!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | for file in files.unwrap().into_iter() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `files` an explicit type [INFO] [stdout] | [INFO] [stdout] 782 | let files: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:834:71 [INFO] [stdout] | [INFO] [stdout] 834 | if let Some("local") = file.storage_backend.as_ref().map(|x| x.as_str()) { [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] 834 | if let Some("local") = file.storage_backend.as_ref().map(|x: /* Type */| x.as_str()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 917 | let blocks: Vec = file_blocks [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_blocks` an explicit type [INFO] [stdout] | [INFO] [stdout] 889 | let file_blocks: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 928 | let versions: Vec = file_versions [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file_versions` an explicit type [INFO] [stdout] | [INFO] [stdout] 902 | let file_versions: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | let file = sqlx::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | let file = file.unwrap()?; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type [INFO] [stdout] | [INFO] [stdout] 876 | let file: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | let devices: Vec<(String, syncthing::Device)> = devices [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 981 | let devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1775:27 [INFO] [stdout] | [INFO] [stdout] 1775 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1776 | | " [INFO] [stdout] 1777 | | INSERT INTO bep_local_cache ( [INFO] [stdout] 1778 | | cache_folder , [INFO] [stdout] ... | [INFO] [stdout] 1794 | | .execute(&mut *transaction) [INFO] [stdout] 1795 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1018:60 [INFO] [stdout] | [INFO] [stdout] 1018 | addresses: x.addresses.split(',').map(|y| y.to_string()).collect(), [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] 1018 | addresses: x.addresses.split(',').map(|y: /* Type */| y.to_string()).collect(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:993:13 [INFO] [stdout] | [INFO] [stdout] 993 | let folders = sqlx::query!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | let folders: Vec = folders [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `folders` an explicit type [INFO] [stdout] | [INFO] [stdout] 993 | let folders: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/core/bep_state.rs:1046:31 [INFO] [stdout] | [INFO] [stdout] 1046 | .map(|(_f, d)| d.clone()) [INFO] [stdout] | ^^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1046 | .map(|(_f, d): (_, _)| d.clone()) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1074:31 [INFO] [stdout] | [INFO] [stdout] 1074 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1075 | | r#" [INFO] [stdout] 1076 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1077 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1127 | | .execute(&mut *transaction) [INFO] [stdout] 1128 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1140:35 [INFO] [stdout] | [INFO] [stdout] 1140 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1141 | | r#" [INFO] [stdout] 1142 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1143 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1158 | | .execute(&mut *transaction) [INFO] [stdout] 1159 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1168 | | r#" [INFO] [stdout] 1169 | | INSERT INTO bep_block_info ( [INFO] [stdout] 1170 | | file_name, [INFO] [stdout] ... | [INFO] [stdout] 1191 | | .execute(&mut *transaction) [INFO] [stdout] 1192 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1218:27 [INFO] [stdout] | [INFO] [stdout] 1218 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1219 | | " [INFO] [stdout] 1220 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1221 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1231 | | .execute(&mut *transaction) [INFO] [stdout] 1232 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1237:27 [INFO] [stdout] | [INFO] [stdout] 1237 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1238 | | " [INFO] [stdout] 1239 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1240 | | DELETE FROM bep_file_location [INFO] [stdout] ... | [INFO] [stdout] 1247 | | .execute(&mut *transaction) [INFO] [stdout] 1248 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1251:27 [INFO] [stdout] | [INFO] [stdout] 1251 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1252 | | " [INFO] [stdout] 1253 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1254 | | DELETE FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1261 | | .execute(&mut *transaction) [INFO] [stdout] 1262 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1268:31 [INFO] [stdout] | [INFO] [stdout] 1268 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1269 | | " [INFO] [stdout] 1270 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1271 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1291 | | .execute(&mut *transaction) [INFO] [stdout] 1292 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1355:35 [INFO] [stdout] | [INFO] [stdout] 1355 | let _update_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1356 | | " [INFO] [stdout] 1357 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1358 | | UPDATE OR ROLLBACK bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1367 | | .execute(&mut *transaction) [INFO] [stdout] 1368 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1375:35 [INFO] [stdout] | [INFO] [stdout] 1375 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1376 | | " [INFO] [stdout] 1377 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1378 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1385 | | .execute(&mut *transaction) [INFO] [stdout] 1386 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1393:31 [INFO] [stdout] | [INFO] [stdout] 1393 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1394 | | r#" [INFO] [stdout] 1395 | | INSERT INTO bep_file_info ( [INFO] [stdout] 1396 | | folder , [INFO] [stdout] ... | [INFO] [stdout] 1446 | | .execute(&mut *transaction) [INFO] [stdout] 1447 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1459:35 [INFO] [stdout] | [INFO] [stdout] 1459 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1460 | | r#" [INFO] [stdout] 1461 | | INSERT INTO bep_file_version ( [INFO] [stdout] 1462 | | file_folder , [INFO] [stdout] ... | [INFO] [stdout] 1477 | | .execute(&mut *transaction) [INFO] [stdout] 1478 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1535:27 [INFO] [stdout] | [INFO] [stdout] 1535 | let _delete_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1536 | | " [INFO] [stdout] 1537 | | PRAGMA foreign_keys = ON; [INFO] [stdout] 1538 | | DELETE FROM bep_file_info [INFO] [stdout] ... | [INFO] [stdout] 1545 | | .execute(&mut *transaction) [INFO] [stdout] 1546 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1565:31 [INFO] [stdout] | [INFO] [stdout] 1565 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1566 | | " [INFO] [stdout] 1567 | | INSERT INTO bep_file_location ( [INFO] [stdout] 1568 | | loc_folder , [INFO] [stdout] ... | [INFO] [stdout] 1588 | | .execute(&mut *transaction) [INFO] [stdout] 1589 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1607:31 [INFO] [stdout] | [INFO] [stdout] 1607 | let _insert_res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1608 | | " [INFO] [stdout] 1609 | | DELETE FROM bep_file_location [INFO] [stdout] 1610 | | WHERE TRUE [INFO] [stdout] ... | [INFO] [stdout] 1621 | | .execute(&mut *transaction) [INFO] [stdout] 1622 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1666:26 [INFO] [stdout] | [INFO] [stdout] 1666 | let file_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 1667 | | " [INFO] [stdout] 1668 | | SELECT COUNT(cache_file_name) as c [INFO] [stdout] 1669 | | FROM bep_local_cache [INFO] [stdout] ... | [INFO] [stdout] 1680 | | .fetch_optional(&self.db_pool_read) [INFO] [stdout] 1681 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1709:21 [INFO] [stdout] | [INFO] [stdout] 1709 | let files = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 1710 | | r#" [INFO] [stdout] 1711 | | SELECT lc.cache_folder, lc.cache_file_name, lc.cache_device, lc.timestamp_added, fi.size [INFO] [stdout] 1712 | | FROM bep_local_cache lc JOIN bep_file_info fi ON TRUE [INFO] [stdout] ... | [INFO] [stdout] 1720 | | .fetch_all(&mut *transaction) [INFO] [stdout] 1721 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1738:13 [INFO] [stdout] | [INFO] [stdout] 1738 | / sqlx::query!( [INFO] [stdout] 1739 | | " [INFO] [stdout] 1740 | | DELETE FROM bep_local_cache WHERE TRUE [INFO] [stdout] 1741 | | AND cache_device = ? [INFO] [stdout] ... | [INFO] [stdout] 1749 | | .execute(&mut *transaction) [INFO] [stdout] 1750 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/bep_state.rs:1775:27 [INFO] [stdout] | [INFO] [stdout] 1775 | let _insert_res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1776 | | " [INFO] [stdout] 1777 | | INSERT INTO bep_local_cache ( [INFO] [stdout] 1778 | | cache_folder , [INFO] [stdout] ... | [INFO] [stdout] 1794 | | .execute(&mut *transaction) [INFO] [stdout] 1795 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_writer.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut file_writer: FileWriter = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_writer.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut file_writer: FileWriter = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/file_writer.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let mut tmp = fw.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grizol` (bin "grizol" test) due to 84 previous errors; 10 warnings 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 `grizol` (bin "grizol") due to 84 previous errors [INFO] running `Command { std: "docker" "inspect" "7ed0c8a86d54dc078196bbc6b3e02b17e47608d4e3e8471521d2210091155195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed0c8a86d54dc078196bbc6b3e02b17e47608d4e3e8471521d2210091155195", kill_on_drop: false }` [INFO] [stdout] 7ed0c8a86d54dc078196bbc6b3e02b17e47608d4e3e8471521d2210091155195