[INFO] cloning repository https://github.com/Chilengue/rust-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chilengue/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChilengue%2Frust-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChilengue%2Frust-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3bcfe4751442c878cb10a5bae5fcda2ef439a1e
[INFO] checking Chilengue/rust-api against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChilengue%2Frust-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Chilengue/rust-api
[INFO] finished tweaking git repo https://github.com/Chilengue/rust-api
[INFO] tweaked toml for git repo https://github.com/Chilengue/rust-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chilengue/rust-api on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Chilengue/rust-api 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded diesel v2.2.7
[INFO] [stderr]   Downloaded mysqlclient-sys v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc8b2b741bfed581fff05e7f569ddb4b87ee7a45738248108f92318efd1a084e
[INFO] running `Command { std: "docker" "start" "-a" "cc8b2b741bfed581fff05e7f569ddb4b87ee7a45738248108f92318efd1a084e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc8b2b741bfed581fff05e7f569ddb4b87ee7a45738248108f92318efd1a084e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc8b2b741bfed581fff05e7f569ddb4b87ee7a45738248108f92318efd1a084e", kill_on_drop: false }`
[INFO] [stdout] cc8b2b741bfed581fff05e7f569ddb4b87ee7a45738248108f92318efd1a084e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] baf1c65ee47abc2858e71bd8936f577862441a9c9293cf7c7956b5d6646931f3
[INFO] running `Command { std: "docker" "start" "-a" "baf1c65ee47abc2858e71bd8936f577862441a9c9293cf7c7956b5d6646931f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]    Compiling cc v1.2.14
[INFO] [stderr]     Checking miniz_oxide v0.8.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling mysqlclient-sys v0.4.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]     Checking serde_json v1.0.138
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling dsl_auto_type v0.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling diesel_derives v2.2.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking diesel v2.2.7
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking rust-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/model.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |                                    ^ help: add `;` here
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/model.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   |                           ^ help: add `;` here
[INFO] [stdout] 3 | use sqlx::FromRow;
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/model.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |                                    ^ help: add `;` here
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/model.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   |                           ^ help: add `;` here
[INFO] [stdout] 3 | use sqlx::FromRow;
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `schema`
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod schema;
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `schema`, create file "src/schema/schema.rs" or "src/schema/schema/mod.rs"
[INFO] [stdout]   = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `model`
[INFO] [stdout]  --> src/schema.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod model;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `model`, create file "src/schema/model.rs" or "src/schema/model/mod.rs"
[INFO] [stdout]   = note: if there is a `mod model` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `schema`
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod schema;
[INFO] [stdout]   | ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `schema`, create file "src/schema/schema.rs" or "src/schema/schema/mod.rs"
[INFO] [stdout]   = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `services`
[INFO] [stdout]  --> src/schema.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod services;
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `services`, create file "src/schema/services.rs" or "src/schema/services/mod.rs"
[INFO] [stdout]   = note: if there is a `mod services` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `model`
[INFO] [stdout]  --> src/schema.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod model;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `model`, create file "src/schema/model.rs" or "src/schema/model/mod.rs"
[INFO] [stdout]   = note: if there is a `mod model` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `services`
[INFO] [stdout]  --> src/schema.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod services;
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `services`, create file "src/schema/services.rs" or "src/schema/services/mod.rs"
[INFO] [stdout]   = note: if there is a `mod services` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]   --> src/services.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]   --> src/services.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::schema::CreateTaskSchema`, `crate::schema::FilterOptions`, `crate::schema::UpdateTaskSchema`, `crate::AppState`
[INFO] [stdout]   --> src/services.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{schema::{CreateTaskSchema, FilterOptions, UpdateTaskSchema}, model::TaskModel, AppState};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^                     ^^^^^^^^ no `AppState` in the root
[INFO] [stdout]    |                      |                 |              |
[INFO] [stdout]    |                      |                 |              no `UpdateTaskSchema` in `schema`
[INFO] [stdout]    |                      |                 no `FilterOptions` in `schema`
[INFO] [stdout]    |                      no `CreateTaskSchema` in `schema`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            crate::schema::AppState
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::schema::CreateTaskSchema`, `crate::schema::FilterOptions`, `crate::schema::UpdateTaskSchema`, `crate::AppState`
[INFO] [stdout]   --> src/services.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{schema::{CreateTaskSchema, FilterOptions, UpdateTaskSchema}, model::TaskModel, AppState};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^                     ^^^^^^^^ no `AppState` in the root
[INFO] [stdout]    |                      |                 |              |
[INFO] [stdout]    |                      |                 |              no `UpdateTaskSchema` in `schema`
[INFO] [stdout]    |                      |                 no `FilterOptions` in `schema`
[INFO] [stdout]    |                      no `CreateTaskSchema` in `schema`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            crate::schema::AppState
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/schema.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sqlx::{
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/schema.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sqlx::{
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]   --> src/schema.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sqlx::{
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chron`
[INFO] [stdout]  --> src/model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `chron`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chron`, use `cargo add chron` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::FromRow;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]   --> src/schema.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sqlx::{
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]  --> src/model.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid:: Uuid;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 210 |                     sqlx::query_as!(
[INFO] [stdout]     |                     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chron`
[INFO] [stdout]  --> src/model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chron::{DateTime, Utc}
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `chron`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chron`, use `cargo add chron` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/services.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         sqlx::query_as!(
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/services.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         sqlx::query_as!(
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]  --> src/model.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::FromRow;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]  --> src/model.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid:: Uuid;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 210 |                     sqlx::query_as!(
[INFO] [stdout]     |                     ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]    --> src/services.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         sqlx::query_as!(
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/services.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         sqlx::query_as!(
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]   --> src/services.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         sqlx::query_as!(
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/model.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromRow, Deserialize, Serialize)]
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/model.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/model.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromRow, Deserialize, Serialize)]
[INFO] [stdout]   |                                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/model.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/model.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromRow, Deserialize, Serialize)]
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/model.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/model.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromRow, Deserialize, Serialize)]
[INFO] [stdout]   |                                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/model.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize}
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STring` in this scope
[INFO] [stdout]   --> src/model.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub content: STring,
[INFO] [stdout]    |                  ^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/alloc/src/string.rs:360:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::TaskModel`
[INFO] [stdout]   --> src/services.rs:21:74
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{schema::{CreateTaskSchema, FilterOptions, UpdateTaskSchema}, model::TaskModel, AppState};
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STring` in this scope
[INFO] [stdout]   --> src/model.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub content: STring,
[INFO] [stdout]    |                  ^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/alloc/src/string.rs:360:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::TaskModel`
[INFO] [stdout]   --> src/services.rs:21:74
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{schema::{CreateTaskSchema, FilterOptions, UpdateTaskSchema}, model::TaskModel, AppState};
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |                     "result":  tasks.len(),
[INFO] [stdout]    |                                ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/services.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |                     "result":  tasks.len(),
[INFO] [stdout]    |                                ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]   --> src/schema.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]   --> src/schema.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/schema.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool = match PgPoolOptions::new().max_connections(10).connect(&database_url).await {
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |             .app_data(web::Data::new(AppState { db: pool.clone()}))
[INFO] [stdout]    |                                                     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `pool` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool: /* Type */ = match PgPoolOptions::new().max_connections(10).connect(&database_url).await {
[INFO] [stdout]    |             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/schema.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool = match PgPoolOptions::new().max_connections(10).connect(&database_url).await {
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |             .app_data(web::Data::new(AppState { db: pool.clone()}))
[INFO] [stdout]    |                                                     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `pool` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool: /* Type */ = match PgPoolOptions::new().max_connections(10).connect(&database_url).await {
[INFO] [stdout]    |             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let pool = PgPoolOptions::new()
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 20 | |         .max_connections(5)
[INFO] [stdout] 21 | |         .connect(&database_url)
[INFO] [stdout] 22 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let pool = PgPoolOptions::new()
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 20 | |         .max_connections(5)
[INFO] [stdout] 21 | |         .connect(&database_url)
[INFO] [stdout] 22 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::App::<T>::data`: Use `.app_data(Data::new(val))` instead.
[INFO] [stdout]   --> src/main.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .data(pool.clone()) // Passar pool de conexões para o App
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::App::<T>::data`: Use `.app_data(Data::new(val))` instead.
[INFO] [stdout]   --> src/main.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .data(pool.clone()) // Passar pool de conexões para o App
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-api` (bin "rust-api" test) due to 26 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-api` (bin "rust-api") due to 26 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "baf1c65ee47abc2858e71bd8936f577862441a9c9293cf7c7956b5d6646931f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baf1c65ee47abc2858e71bd8936f577862441a9c9293cf7c7956b5d6646931f3", kill_on_drop: false }`
[INFO] [stdout] baf1c65ee47abc2858e71bd8936f577862441a9c9293cf7c7956b5d6646931f3
