[INFO] cloning repository https://github.com/trymuch/rs-web-dev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trymuch/rs-web-dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrymuch%2Frs-web-dev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrymuch%2Frs-web-dev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dca6e3680829b70c71e813dc07811bcb329430a [INFO] checking trymuch/rs-web-dev/1dca6e3680829b70c71e813dc07811bcb329430a against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrymuch%2Frs-web-dev" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trymuch/rs-web-dev [INFO] finished tweaking git repo https://github.com/trymuch/rs-web-dev [INFO] tweaked toml for git repo https://github.com/trymuch/rs-web-dev written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trymuch/rs-web-dev on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trymuch/rs-web-dev 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded openssl-src v300.5.2+3.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 274acee625f6b5c66f7102622864ed95e00327e12d0abbe44b14f8d8bb5e701a [INFO] running `Command { std: "docker" "start" "-a" "274acee625f6b5c66f7102622864ed95e00327e12d0abbe44b14f8d8bb5e701a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "274acee625f6b5c66f7102622864ed95e00327e12d0abbe44b14f8d8bb5e701a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274acee625f6b5c66f7102622864ed95e00327e12d0abbe44b14f8d8bb5e701a", kill_on_drop: false }` [INFO] [stdout] 274acee625f6b5c66f7102622864ed95e00327e12d0abbe44b14f8d8bb5e701a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47f37995900e7dbdb1bd633829142201e56dc2819ffdede6702042180fac6e05 [INFO] running `Command { std: "docker" "start" "-a" "47f37995900e7dbdb1bd633829142201e56dc2819ffdede6702042180fac6e05", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir/http) [INFO] [stderr] Checking tcpserver v0.1.0 (/opt/rustwide/workdir/tcpserver) [INFO] [stderr] Checking tcpclient v0.1.0 (/opt/rustwide/workdir/tcpclient) [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir/httpserver) [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [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] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking webservice v0.1.0 (/opt/rustwide/workdir/webservice) [INFO] [stderr] Checking db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> db/src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let course_rows = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 21 | | r#"select id, teacher_id, name, time from course where id = $1"#, [INFO] [stdout] 22 | | 1 [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> db/src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let course_rows = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 21 | | r#"select id, teacher_id, name, time from course where id = $1"#, [INFO] [stdout] 22 | | 1 [INFO] [stdout] 23 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> db/src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let course_rows = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 21 | | r#"select id, teacher_id, name, time from course where id = $1"#, [INFO] [stdout] 22 | | 1 [INFO] [stdout] ... | [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> db/src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let course_rows = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 21 | | r#"select id, teacher_id, name, time from course where id = $1"#, [INFO] [stdout] 22 | | 1 [INFO] [stdout] ... | [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `db` (bin "db") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `db` (bin "db" test) due to 2 previous errors [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | r#"SELECT id, teacher_id, name, time FROM course WHERE teacher_id = $1"#, [INFO] [stdout] 12 | | teacher_id [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 38 | | r#"SELECT * FROM course WHERE teacher_id = $1 AND id = $2"#, [INFO] [stdout] 39 | | teacher_id, [INFO] [stdout] 40 | | course_id, [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | r#"INSERT INTO course (id, teacher_id, name) [INFO] [stdout] 59 | | VALUES ($1, $2, $3) [INFO] [stdout] 60 | | RETURNING id, teacher_id, name, time"#, [INFO] [stdout] ... | [INFO] [stdout] 63 | | new_course.name [INFO] [stdout] 64 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | r#"SELECT id, teacher_id, name, time FROM course WHERE teacher_id = $1"#, [INFO] [stdout] 12 | | teacher_id [INFO] [stdout] 13 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 38 | | r#"SELECT * FROM course WHERE teacher_id = $1 AND id = $2"#, [INFO] [stdout] 39 | | teacher_id, [INFO] [stdout] 40 | | course_id, [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../db_access.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | r#"INSERT INTO course (id, teacher_id, name) [INFO] [stdout] 59 | | VALUES ($1, $2, $3) [INFO] [stdout] 60 | | RETURNING id, teacher_id, name, time"#, [INFO] [stdout] ... | [INFO] [stdout] 63 | | new_course.name [INFO] [stdout] 64 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../db_access.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let rows = sqlx::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | let courses = rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | let rows: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../db_access.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | r#"INSERT INTO course (id, teacher_id, name) [INFO] [stdout] 59 | | VALUES ($1, $2, $3) [INFO] [stdout] 60 | | RETURNING id, teacher_id, name, time"#, [INFO] [stdout] ... | [INFO] [stdout] 65 | | .fetch_one(pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../db_access.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let rows = sqlx::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | let courses = rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | let rows: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../db_access.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | r#"INSERT INTO course (id, teacher_id, name) [INFO] [stdout] 59 | | VALUES ($1, $2, $3) [INFO] [stdout] 60 | | RETURNING id, teacher_id, name, time"#, [INFO] [stdout] ... | [INFO] [stdout] 65 | | .fetch_one(pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webservice` (bin "teacher-service") due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webservice` (bin "teacher-service" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "47f37995900e7dbdb1bd633829142201e56dc2819ffdede6702042180fac6e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f37995900e7dbdb1bd633829142201e56dc2819ffdede6702042180fac6e05", kill_on_drop: false }` [INFO] [stdout] 47f37995900e7dbdb1bd633829142201e56dc2819ffdede6702042180fac6e05