[INFO] cloning repository https://github.com/ReDestroyDeR/otus-highload-social-network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ReDestroyDeR/otus-highload-social-network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReDestroyDeR%2Fotus-highload-social-network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReDestroyDeR%2Fotus-highload-social-network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d30298b23c225de0b03fce812177be0501ad5edf [INFO] checking ReDestroyDeR/otus-highload-social-network/d30298b23c225de0b03fce812177be0501ad5edf against master#d93f678fa55842cccd2f091deccd93e9494b3764 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReDestroyDeR%2Fotus-highload-social-network" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ReDestroyDeR/otus-highload-social-network on toolchain d93f678fa55842cccd2f091deccd93e9494b3764 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ReDestroyDeR/otus-highload-social-network [INFO] finished tweaking git repo https://github.com/ReDestroyDeR/otus-highload-social-network [INFO] tweaked toml for git repo https://github.com/ReDestroyDeR/otus-highload-social-network written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ReDestroyDeR/otus-highload-social-network 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" "+d93f678fa55842cccd2f091deccd93e9494b3764" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-bag-sval2 v1.9.0 [INFO] [stderr] Downloaded sval_serde v2.13.0 [INFO] [stderr] Downloaded value-bag v1.9.0 [INFO] [stderr] Downloaded sval_buffer v2.13.0 [INFO] [stderr] Downloaded value-bag-serde1 v1.9.0 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded serde_fmt v1.0.3 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded hashlink v0.9.1 [INFO] [stderr] Downloaded postgres v0.19.8 [INFO] [stderr] Downloaded confique v0.2.5 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.2 [INFO] [stderr] Downloaded tokio-postgres v0.7.11 [INFO] [stderr] Downloaded sqlx-mysql v0.8.2 [INFO] [stderr] Downloaded sqlx-postgres v0.8.2 [INFO] [stderr] Downloaded sqlx-core v0.8.2 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded sqlx v0.8.2 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded postgres-types v0.2.7 [INFO] [stderr] Downloaded refinery v0.8.14 [INFO] [stderr] Downloaded structured-logger v1.0.3 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded sval_dynamic v2.13.0 [INFO] [stderr] Downloaded sval_json v2.13.0 [INFO] [stderr] Downloaded confique-macro v0.0.9 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded refinery-core v0.8.14 [INFO] [stderr] Downloaded refinery-macros v0.8.14 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded sval_fmt v2.13.0 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.2 [INFO] [stderr] Downloaded sqlx-macros v0.8.2 [INFO] [stderr] Downloaded sval v2.13.0 [INFO] [stderr] Downloaded sval_ref v2.13.0 [INFO] [stderr] Downloaded sval_nested v2.13.0 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e5cbee7b02e543643416799006c43ad0202049c67da68563c3efc9a54f8247a [INFO] running `Command { std: "docker" "start" "-a" "5e5cbee7b02e543643416799006c43ad0202049c67da68563c3efc9a54f8247a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e5cbee7b02e543643416799006c43ad0202049c67da68563c3efc9a54f8247a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5cbee7b02e543643416799006c43ad0202049c67da68563c3efc9a54f8247a", kill_on_drop: false }` [INFO] [stdout] 5e5cbee7b02e543643416799006c43ad0202049c67da68563c3efc9a54f8247a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27d418c77a9414a0b7288eeb7915e1d88cfd3d57e7179c6ed4b5cd50058555b [INFO] running `Command { std: "docker" "start" "-a" "e27d418c77a9414a0b7288eeb7915e1d88cfd3d57e7179c6ed4b5cd50058555b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking value-bag-serde1 v1.9.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling refinery-core v0.8.14 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling refinery-macros v0.8.14 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling confique-macro v0.0.9 [INFO] [stderr] Compiling otus_highload_social_network_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking structured-logger v1.0.3 [INFO] [stderr] Checking confique v0.2.5 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking postgres v0.19.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking refinery v0.8.14 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/auth_repository.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query_as!( [INFO] [stdout] 32 | | Credentials, [INFO] [stdout] 33 | | "SELECT auth.login, auth.password FROM auth WHERE auth.login = $1", [INFO] [stdout] 34 | | login [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/auth_repository.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | INSERT INTO auth(id, user_id, login, password) [INFO] [stdout] 50 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 55 | | &credentials.password, [INFO] [stdout] 56 | | ) [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/repo/session_repository.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_scalar!( [INFO] [stdout] 35 | | r#"SELECT expires as "expires!" FROM sessions WHERE session_id = $1"#, [INFO] [stdout] 36 | | &session_id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/session_repository.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query!( [INFO] [stdout] 50 | | "INSERT INTO sessions(session_id, expires) VALUES ($1, $2)", [INFO] [stdout] 51 | | session.session_id.clone(), [INFO] [stdout] 52 | | session.expires.clone().naive_utc(), [INFO] [stdout] 53 | | ) [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/repo/user_repository.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / sqlx::query_as!( [INFO] [stdout] 27 | | User, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 48 | | &id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/user_repository.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO users ( [INFO] [stdout] 60 | | id, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &user.city, [INFO] [stdout] 81 | | ) [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/repo/auth_repository.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query_as!( [INFO] [stdout] 32 | | Credentials, [INFO] [stdout] 33 | | "SELECT auth.login, auth.password FROM auth WHERE auth.login = $1", [INFO] [stdout] 34 | | login [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/auth_repository.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | INSERT INTO auth(id, user_id, login, password) [INFO] [stdout] 50 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 55 | | &credentials.password, [INFO] [stdout] 56 | | ) [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/repo/session_repository.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_scalar!( [INFO] [stdout] 35 | | r#"SELECT expires as "expires!" FROM sessions WHERE session_id = $1"#, [INFO] [stdout] 36 | | &session_id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/session_repository.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query!( [INFO] [stdout] 50 | | "INSERT INTO sessions(session_id, expires) VALUES ($1, $2)", [INFO] [stdout] 51 | | session.session_id.clone(), [INFO] [stdout] 52 | | session.expires.clone().naive_utc(), [INFO] [stdout] 53 | | ) [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/repo/user_repository.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / sqlx::query_as!( [INFO] [stdout] 27 | | User, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 48 | | &id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repo/user_repository.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO users ( [INFO] [stdout] 60 | | id, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &user.city, [INFO] [stdout] 81 | | ) [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: `uuid::Uuid` [INFO] [stdout] --> src/repo/auth_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interest` [INFO] [stdout] --> src/repo/user_repository.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::domain::user::{Interest, User}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `Err` [INFO] [stdout] --> src/pool.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | async fn begin_tx(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 59 - async fn begin_tx(&self) -> Result { [INFO] [stdout] 59 + async fn begin_tx(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] 59 - async fn begin_tx(&self) -> Result { [INFO] [stdout] 59 + async fn begin_tx(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] 59 - async fn begin_tx(&self) -> Result { [INFO] [stdout] 59 + async fn begin_tx(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] 59 - async fn begin_tx(&self) -> Result { [INFO] [stdout] 59 + async fn begin_tx(&self) -> Result { [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 59 | async fn begin_tx(&self) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/repo/auth_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interest` [INFO] [stdout] --> src/repo/user_repository.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::domain::user::{Interest, User}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on type `Tx` do not match the trait declaration [INFO] [stdout] --> src/pool.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 9 | type Tx: Send + TransactionOps; [INFO] [stdout] | - lifetimes in impl do not match this type in trait [INFO] [stdout] ... [INFO] [stdout] 56 | type Tx<'c> = (); [INFO] [stdout] | ^^^^ lifetimes do not match type in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): DbErrorOps` is not satisfied [INFO] [stdout] --> src/pool.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | type Err = (); [INFO] [stdout] | ^^ the trait `DbErrorOps` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DbErrorOps` is implemented for `sqlx::Error` [INFO] [stdout] note: required by a bound in `DatabasePool::Err` [INFO] [stdout] --> src/pool.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | type Err: 'static + Send + Sync + StdError + DbErrorOps; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `DatabasePool::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): StdError` is not satisfied [INFO] [stdout] --> src/pool.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | type Err = (); [INFO] [stdout] | ^^ the trait `StdError` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `DatabasePool::Err` [INFO] [stdout] --> src/pool.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | type Err: 'static + Send + Sync + StdError + DbErrorOps; [INFO] [stdout] | ^^^^^^^^ required by this bound in `DatabasePool::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `begin_tx` do not match the trait declaration [INFO] [stdout] --> src/pool.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 12 | async fn begin_tx(&self) -> Result; [INFO] [stdout] | --------------- lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 59 | async fn begin_tx(&self) -> Result { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0277, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `otus_highload_social_network_1` (bin "otus_highload_social_network_1" test) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `otus_highload_social_network_1` (bin "otus_highload_social_network_1") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e27d418c77a9414a0b7288eeb7915e1d88cfd3d57e7179c6ed4b5cd50058555b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27d418c77a9414a0b7288eeb7915e1d88cfd3d57e7179c6ed4b5cd50058555b", kill_on_drop: false }` [INFO] [stdout] e27d418c77a9414a0b7288eeb7915e1d88cfd3d57e7179c6ed4b5cd50058555b