[INFO] cloning repository https://github.com/devulgaa/aider_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devulgaa/aider_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevulgaa%2Faider_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevulgaa%2Faider_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f30ae0912f91876536916b7dff858f65d82997b
[INFO] checking devulgaa/aider_example against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevulgaa%2Faider_example" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files: 63% (2722/4264)
Updating files: 64% (2729/4264)
Updating files: 65% (2772/4264)
Updating files: 66% (2815/4264)
Updating files: 67% (2857/4264)
Updating files: 68% (2900/4264)
Updating files: 69% (2943/4264)
Updating files: 70% (2985/4264)
Updating files: 71% (3028/4264)
Updating files: 72% (3071/4264)
Updating files: 73% (3113/4264)
Updating files: 74% (3156/4264)
Updating files: 75% (3198/4264)
Updating files: 76% (3241/4264)
Updating files: 77% (3284/4264)
Updating files: 78% (3326/4264)
Updating files: 78% (3355/4264)
Updating files: 79% (3369/4264)
Updating files: 80% (3412/4264)
Updating files: 81% (3454/4264)
Updating files: 82% (3497/4264)
Updating files: 83% (3540/4264)
Updating files: 83% (3555/4264)
Updating files: 84% (3582/4264)
Updating files: 85% (3625/4264)
Updating files: 86% (3668/4264)
Updating files: 86% (3695/4264)
Updating files: 87% (3710/4264)
Updating files: 88% (3753/4264)
Updating files: 89% (3795/4264)
Updating files: 90% (3838/4264)
Updating files: 91% (3881/4264)
Updating files: 92% (3923/4264)
Updating files: 93% (3966/4264)
Updating files: 94% (4009/4264)
Updating files: 95% (4051/4264)
Updating files: 96% (4094/4264)
Updating files: 97% (4137/4264)
Updating files: 98% (4179/4264)
Updating files: 99% (4222/4264)
Updating files: 100% (4264/4264)
Updating files: 100% (4264/4264), done.
[INFO] started tweaking git repo https://github.com/devulgaa/aider_example
[INFO] finished tweaking git repo https://github.com/devulgaa/aider_example
[INFO] tweaked toml for git repo https://github.com/devulgaa/aider_example written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devulgaa/aider_example on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devulgaa/aider_example 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988
[INFO] running `Command { std: "docker" "start" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] Compiling quote v1.0.45
[INFO] [stderr] Compiling libc v0.2.186
[INFO] [stderr] Compiling cc v1.2.61
[INFO] [stderr] Compiling zerocopy v0.8.48
[INFO] [stderr] Compiling typenum v1.20.0
[INFO] [stderr] Compiling litemap v0.8.2
[INFO] [stderr] Compiling openssl v0.10.79
[INFO] [stderr] Compiling writeable v0.6.3
[INFO] [stderr] Compiling thiserror v2.0.18
[INFO] [stderr] Compiling syn v2.0.117
[INFO] [stderr] Compiling native-tls v0.2.18
[INFO] [stderr] Compiling pin-project-lite v0.2.17
[INFO] [stderr] Compiling icu_properties_data v2.2.0
[INFO] [stderr] Compiling icu_normalizer_data v2.2.0
[INFO] [stderr] Compiling futures-core v0.3.32
[INFO] [stderr] Compiling errno v0.3.14
[INFO] [stderr] Compiling foreign-types-shared v0.1.1
[INFO] [stderr] Checking bytes v1.11.1
[INFO] [stderr] Compiling foreign-types v0.3.2
[INFO] [stderr] Compiling signal-hook-registry v1.4.8
[INFO] [stderr] Compiling mio v1.2.0
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling getrandom v0.2.17
[INFO] [stderr] Compiling socket2 v0.6.3
[INFO] [stderr] Compiling memchr v2.8.0
[INFO] [stderr] Compiling bitflags v2.11.1
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-common v0.1.7
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling futures-sink v0.3.32
[INFO] [stderr] Compiling openssl-sys v0.9.115
[INFO] [stderr] Compiling foldhash v0.1.5
[INFO] [stderr] Compiling hashbrown v0.15.5
[INFO] [stderr] Compiling form_urlencoded v1.2.2
[INFO] [stderr] Compiling tracing-core v0.1.36
[INFO] [stderr] Compiling tinyvec v1.11.0
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling concurrent-queue v2.5.0
[INFO] [stderr] Compiling zmij v1.0.21
[INFO] [stderr] Compiling slab v0.4.12
[INFO] [stderr] Compiling futures-task v0.3.32
[INFO] [stderr] Compiling crc-catalog v2.5.0
[INFO] [stderr] Compiling hashbrown v0.17.0
[INFO] [stderr] Compiling futures-io v0.3.32
[INFO] [stderr] Compiling parking v2.2.1
[INFO] [stderr] Compiling openssl-probe v0.2.1
[INFO] [stderr] Compiling itoa v1.0.18
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling event-listener v5.4.1
[INFO] [stderr] Compiling futures-util v0.3.32
[INFO] [stderr] Compiling crc v3.4.0
[INFO] [stderr] Compiling serde_json v1.0.149
[INFO] [stderr] Compiling indexmap v2.14.0
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling unicode-normalization v0.1.25
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling base64 v0.22.1
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling futures-channel v0.3.32
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Checking http v0.2.12
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Checking dotenv v0.15.0
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling zerofrom-derive v0.1.7
[INFO] [stderr] Compiling yoke-derive v0.8.2
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling zerovec-derive v0.11.3
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling tokio-macros v2.7.0
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling tracing-attributes v0.1.31
[INFO] [stderr] Compiling thiserror-impl v2.0.18
[INFO] [stderr] Compiling rand v0.8.6
[INFO] [stderr] Compiling zerofrom v0.1.7
[INFO] [stderr] Compiling yoke v0.8.2
[INFO] [stderr] Compiling zerovec v0.11.6
[INFO] [stderr] Compiling zerotrie v0.2.4
[INFO] [stderr] Compiling tracing v0.1.44
[INFO] [stderr] Checking http-body v0.4.6
[INFO] [stderr] Compiling tinystr v0.8.3
[INFO] [stderr] Compiling potential_utf v0.1.5
[INFO] [stderr] Compiling icu_collections v2.2.0
[INFO] [stderr] Compiling icu_locale_core v2.2.0
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Checking icu_provider v2.2.0
[INFO] [stderr] Checking icu_properties v2.2.0
[INFO] [stderr] Checking smallvec v1.15.1
[INFO] [stderr] Checking either v1.15.0
[INFO] [stderr] Checking parking_lot_core v0.9.12
[INFO] [stderr] Checking icu_normalizer v2.2.0
[INFO] [stderr] Checking parking_lot v0.12.5
[INFO] [stderr] Checking tokio v1.52.2
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Checking idna_adapter v1.2.2
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking url v2.5.8
[INFO] [stderr] Checking tokio-stream v0.1.18
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Checking sqlx-core v0.8.6
[INFO] [stderr] Checking sqlx-postgres v0.8.6
[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 rust_starter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::Server`
[INFO] [stdout] --> src/lib.rs:21:42
[INFO] [stdout] |
[INFO] [stdout] 21 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout] | ^^^^^^ no `Server` in the root
[INFO] [stdout] |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:111:28
[INFO] [stdout] |
[INFO] [stdout] 107 | #![feature = "server"]
[INFO] [stdout] | ------------------ the item is gated behind the `server` feature
[INFO] [stdout] ...
[INFO] [stdout] 111 | pub use crate::server::Server;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `hyper::Server`
[INFO] [stdout] --> src/lib.rs:21:42
[INFO] [stdout] |
[INFO] [stdout] 21 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout] | ^^^^^^ no `Server` in the root
[INFO] [stdout] |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:111:28
[INFO] [stdout] |
[INFO] [stdout] 107 | #![feature = "server"]
[INFO] [stdout] | ------------------ the item is gated behind the `server` feature
[INFO] [stdout] ...
[INFO] [stdout] 111 | pub use crate::server::Server;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `PgPoolOptions` in `sqlx`
[INFO] [stdout] --> src/lib.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | sqlx::PgPoolOptions::new()
[INFO] [stdout] | ^^^^^^^^^^^^^ could not find `PgPoolOptions` in `sqlx`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `PgPoolOptions` in `sqlx`
[INFO] [stdout] --> src/lib.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | sqlx::PgPoolOptions::new()
[INFO] [stdout] | ^^^^^^^^^^^^^ could not find `PgPoolOptions` in `sqlx`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:16:44
[INFO] [stdout] |
[INFO] [stdout] 16 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 16 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 16 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:16:44
[INFO] [stdout] |
[INFO] [stdout] 16 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 16 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 16 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:32:45
[INFO] [stdout] |
[INFO] [stdout] 32 | let users = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 32 - let users = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 32 + let users = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:32:45
[INFO] [stdout] |
[INFO] [stdout] 32 | let users = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 32 - let users = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 32 + let users = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:45:44
[INFO] [stdout] |
[INFO] [stdout] 45 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 45 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 45 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:45:44
[INFO] [stdout] |
[INFO] [stdout] 45 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 45 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 45 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:63:44
[INFO] [stdout] |
[INFO] [stdout] 63 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 63 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 63 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout] --> src/lib.rs:37:23
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request
) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout] |
[INFO] [stdout] 4 + use std::error::Request;
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Request;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:37:31
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout] --> src/lib.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Response;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:37:57
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout] --> src/lib.rs:39:8
[INFO] [stdout] |
[INFO] [stdout] 39 | Ok(Response::new(Body::from("Hello, world!")))
[INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Response;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:39:22
[INFO] [stdout] |
[INFO] [stdout] 39 | Ok(Response::new(Body::from("Hello, world!")))
[INFO] [stdout] | ^^^^ use of undeclared type `Body`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `User` in module `models`
[INFO] [stdout] --> src/handlers/user_handler.rs:63:44
[INFO] [stdout] |
[INFO] [stdout] 63 | let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ^^^^ not found in `models`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 1 + use crate::models::user::User;
[INFO] [stdout] |
[INFO] [stdout] help: if you import `User`, refer to it directly
[INFO] [stdout] |
[INFO] [stdout] 63 - let user = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] 63 + let user = sqlx::query_as::<_, User>(query)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout] --> src/lib.rs:37:23
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout] |
[INFO] [stdout] 4 + use std::error::Request;
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Request;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:37:31
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout] --> src/lib.rs:37:48
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Response;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:37:57
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn handler(req: Request) -> Result, hyper::Error> {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout] --> src/lib.rs:39:8
[INFO] [stdout] |
[INFO] [stdout] 39 | Ok(Response::new(Body::from("Hello, world!")))
[INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Response;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `Body` in this scope
[INFO] [stdout] --> src/lib.rs:39:22
[INFO] [stdout] |
[INFO] [stdout] 39 | Ok(Response::new(Body::from("Hello, world!")))
[INFO] [stdout] | ^^^^ use of undeclared type `Body`
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 4 + use hyper::Body;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout] --> src/handlers/user_handler.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Request, Response};
[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: `Request`
[INFO] [stdout] --> src/handlers/user_handler.rs:1:19
[INFO] [stdout] |
[INFO] [stdout] 1 | use hyper::{Body, Request, Response};
[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 imports: `Body`, `Request`, and `Response`
[INFO] [stdout] --> src/lib.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 21 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Body`, `Request`, and `Response`
[INFO] [stdout] --> src/lib.rs:21:17
[INFO] [stdout] |
[INFO] [stdout] 21 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / pub async fn create_user(
[INFO] [stdout] 10 | | pool: &PgPool,
[INFO] [stdout] 11 | | username: String,
[INFO] [stdout] 12 | | password: String,
[INFO] [stdout] 13 | | birthdate: Option,
[INFO] [stdout] 14 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:26:55
[INFO] [stdout] |
[INFO] [stdout] 26 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 16 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / pub async fn create_user(
[INFO] [stdout] 10 | | pool: &PgPool,
[INFO] [stdout] 11 | | username: String,
[INFO] [stdout] 12 | | password: String,
[INFO] [stdout] 13 | | birthdate: Option,
[INFO] [stdout] 14 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:26:55
[INFO] [stdout] |
[INFO] [stdout] 26 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 16 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:30:1
[INFO] [stdout] |
[INFO] [stdout] 30 | pub async fn get_users(pool: &PgPool) -> Result, Box> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:36:55
[INFO] [stdout] |
[INFO] [stdout] 36 | Ok(Response::new(Body::from(serde_json::to_string(&users)?)))
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 32 | let users: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:30:1
[INFO] [stdout] |
[INFO] [stdout] 30 | pub async fn get_users(pool: &PgPool) -> Result, Box> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:36:55
[INFO] [stdout] |
[INFO] [stdout] 36 | Ok(Response::new(Body::from(serde_json::to_string(&users)?)))
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 32 | let users: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:40:1
[INFO] [stdout] |
[INFO] [stdout] 40 | / pub async fn get_user_by_id(
[INFO] [stdout] 41 | | pool: &PgPool,
[INFO] [stdout] 42 | | id: i32,
[INFO] [stdout] 43 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:50:55
[INFO] [stdout] |
[INFO] [stdout] 50 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 45 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:40:1
[INFO] [stdout] |
[INFO] [stdout] 40 | / pub async fn get_user_by_id(
[INFO] [stdout] 41 | | pool: &PgPool,
[INFO] [stdout] 42 | | id: i32,
[INFO] [stdout] 43 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:50:55
[INFO] [stdout] |
[INFO] [stdout] 50 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 45 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:54:1
[INFO] [stdout] |
[INFO] [stdout] 54 | / pub async fn update_user(
[INFO] [stdout] 55 | | pool: &PgPool,
[INFO] [stdout] 56 | | id: i32,
[INFO] [stdout] 57 | | username: String,
[INFO] [stdout] 58 | | password: String,
[INFO] [stdout] 59 | | birthdate: Option,
[INFO] [stdout] 60 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:74:55
[INFO] [stdout] |
[INFO] [stdout] 74 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 63 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout] --> src/handlers/user_handler.rs:54:1
[INFO] [stdout] |
[INFO] [stdout] 54 | / pub async fn update_user(
[INFO] [stdout] 55 | | pool: &PgPool,
[INFO] [stdout] 56 | | id: i32,
[INFO] [stdout] 57 | | username: String,
[INFO] [stdout] 58 | | password: String,
[INFO] [stdout] 59 | | birthdate: Option,
[INFO] [stdout] 60 | | ) -> Result, Box> {
[INFO] [stdout] | |_______________________________________________________^
[INFO] [stdout] |
[INFO] [stdout] = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout] --> src/handlers/user_handler.rs:74:55
[INFO] [stdout] |
[INFO] [stdout] 74 | Ok(Response::new(Body::from(serde_json::to_string(&user)?)))
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout] = note: for more information, see
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout] |
[INFO] [stdout] 63 | let user: () = sqlx::query_as::<_, models::User>(query)
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `rust_starter` (lib) due to 20 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_starter` (lib test) due to 20 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988", kill_on_drop: false }`
[INFO] [stdout] 85446c1234bbfc96d62a634ebce5ab8fed25f3b17a75f58cd52bf3c97fbfb988