[INFO] cloning repository https://github.com/edgeflyer/decentralized-storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edgeflyer/decentralized-storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgeflyer%2Fdecentralized-storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgeflyer%2Fdecentralized-storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d5cb63abe98458f0c240351aeddb31accc988de [INFO] checking edgeflyer/decentralized-storage against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgeflyer%2Fdecentralized-storage" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/edgeflyer/decentralized-storage [INFO] finished tweaking git repo https://github.com/edgeflyer/decentralized-storage [INFO] tweaked toml for git repo https://github.com/edgeflyer/decentralized-storage written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edgeflyer/decentralized-storage on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/edgeflyer/decentralized-storage 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking edgeflyer/decentralized-storage against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgeflyer%2Fdecentralized-storage" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/edgeflyer/decentralized-storage [INFO] finished tweaking git repo https://github.com/edgeflyer/decentralized-storage [INFO] tweaked toml for git repo https://github.com/edgeflyer/decentralized-storage written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edgeflyer/decentralized-storage on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/edgeflyer/decentralized-storage 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 330f5c4c0e52db6ca2a690316e0c36755dee03e20800fed405ba54d09376a38e [INFO] running `Command { std: "docker" "start" "-a" "330f5c4c0e52db6ca2a690316e0c36755dee03e20800fed405ba54d09376a38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "330f5c4c0e52db6ca2a690316e0c36755dee03e20800fed405ba54d09376a38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330f5c4c0e52db6ca2a690316e0c36755dee03e20800fed405ba54d09376a38e", kill_on_drop: false }` [INFO] [stdout] 330f5c4c0e52db6ca2a690316e0c36755dee03e20800fed405ba54d09376a38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff13fcdb8ba8845819a65e71e89079a31191d6b61f06c8300efbdf64b751e81 [INFO] running `Command { std: "docker" "start" "-a" "4ff13fcdb8ba8845819a65e71e89079a31191d6b61f06c8300efbdf64b751e81", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling psm v0.1.27 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking bcrypt v0.17.1 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking lettre v0.11.18 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking decentralized-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/controllers/user.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let user_exists = sqlx::query!("select * from users where username = $1", &data.username) [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/controllers/user.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let user_exists = sqlx::query!("select * from users where username = $1", &data.username) [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/controllers/user.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let email_exists = sqlx::query!("SELECT * FROM users WHERE email = $1", &data.email) [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/controllers/user.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let email_exists = sqlx::query!("SELECT * FROM users WHERE email = $1", &data.email) [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/controllers/user.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 79 | | "INSERT INTO users (username, email, password_hash) VALUES ($1, $2, $3) RETURNING user_id, created_at, updated_at", [INFO] [stdout] 80 | | &data.username, [INFO] [stdout] 81 | | &data.email, [INFO] [stdout] 82 | | &password_hash [INFO] [stdout] 83 | | ) [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/controllers/user.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 79 | | "INSERT INTO users (username, email, password_hash) VALUES ($1, $2, $3) RETURNING user_id, created_at, updated_at", [INFO] [stdout] 80 | | &data.username, [INFO] [stdout] 81 | | &data.email, [INFO] [stdout] 82 | | &password_hash [INFO] [stdout] 83 | | ) [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: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/services/email.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/services/email.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let user_exists = sqlx::query!("select * from users where username = $1", &data.username) [INFO] [stdout] | _______________________^ [INFO] [stdout] 54 | | .fetch_optional(&pool) [INFO] [stdout] 55 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let email_exists = sqlx::query!("SELECT * FROM users WHERE email = $1", &data.email) [INFO] [stdout] | ________________________^ [INFO] [stdout] 65 | | .fetch_optional(&pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 79 | | "INSERT INTO users (username, email, password_hash) VALUES ($1, $2, $3) RETURNING user_id, created_at, updated_at", [INFO] [stdout] 80 | | &data.username, [INFO] [stdout] 81 | | &data.email, [INFO] [stdout] ... | [INFO] [stdout] 84 | | .fetch_one(&pool) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let user_exists = sqlx::query!("select * from users where username = $1", &data.username) [INFO] [stdout] | _______________________^ [INFO] [stdout] 54 | | .fetch_optional(&pool) [INFO] [stdout] 55 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | let email_exists = sqlx::query!("SELECT * FROM users WHERE email = $1", &data.email) [INFO] [stdout] | ________________________^ [INFO] [stdout] 65 | | .fetch_optional(&pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/controllers/user.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 79 | | "INSERT INTO users (username, email, password_hash) VALUES ($1, $2, $3) RETURNING user_id, created_at, updated_at", [INFO] [stdout] 80 | | &data.username, [INFO] [stdout] 81 | | &data.email, [INFO] [stdout] ... | [INFO] [stdout] 84 | | .fetch_one(&pool) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/services/email.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let code = rng.gen_range(100000..999999).to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/services/email.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let code = rng.gen_range(100000..999999).to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `decentralized-storage` (bin "decentralized-storage" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `decentralized-storage` (bin "decentralized-storage") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ff13fcdb8ba8845819a65e71e89079a31191d6b61f06c8300efbdf64b751e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff13fcdb8ba8845819a65e71e89079a31191d6b61f06c8300efbdf64b751e81", kill_on_drop: false }` [INFO] [stdout] 4ff13fcdb8ba8845819a65e71e89079a31191d6b61f06c8300efbdf64b751e81