[INFO] cloning repository https://github.com/21r21a33333/RustBackendWithWebActix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/21r21a33333/RustBackendWithWebActix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F21r21a33333%2FRustBackendWithWebActix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F21r21a33333%2FRustBackendWithWebActix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a6c3987b8b0a0f1691c12809921116edf68bf7b
[INFO] checking 21r21a33333/RustBackendWithWebActix against master#a2db9280539229a3b8a084a09886670a57bc7e9c for pr-147185
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F21r21a33333%2FRustBackendWithWebActix" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/21r21a33333/RustBackendWithWebActix
[INFO] finished tweaking git repo https://github.com/21r21a33333/RustBackendWithWebActix
[INFO] tweaked toml for git repo https://github.com/21r21a33333/RustBackendWithWebActix written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/21r21a33333/RustBackendWithWebActix on toolchain a2db9280539229a3b8a084a09886670a57bc7e9c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/21r21a33333/RustBackendWithWebActix 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" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 466d6d6889df3883fdfd3b4be1bce206ea0225109ee752fe7e372256142efcda
[INFO] running `Command { std: "docker" "start" "-a" "466d6d6889df3883fdfd3b4be1bce206ea0225109ee752fe7e372256142efcda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "466d6d6889df3883fdfd3b4be1bce206ea0225109ee752fe7e372256142efcda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "466d6d6889df3883fdfd3b4be1bce206ea0225109ee752fe7e372256142efcda", kill_on_drop: false }`
[INFO] [stdout] 466d6d6889df3883fdfd3b4be1bce206ea0225109ee752fe7e372256142efcda
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64130b8d7e4f1ab8dbe2e9a8ed8c72ebe9fe675f2b21b7d029bc46fef1de3633
[INFO] running `Command { std: "docker" "start" "-a" "64130b8d7e4f1ab8dbe2e9a8ed8c72ebe9fe675f2b21b7d029bc46fef1de3633", kill_on_drop: false }`
[INFO] [stderr]     Checking clean-arch-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::mysql::MySqlPool;
[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 `actix_web`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{App, HttpServer};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `adapters` in the crate root
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapters::web::employee_handler::create_employee;
[INFO] [stdout]   |            ^^^^^^^^ could not find `adapters` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `use_cases` in the crate root
[INFO] [stdout]  --> src/main.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::use_cases::employee_usecases::EmployeeUseCase;
[INFO] [stdout]   |            ^^^^^^^^^ could not find `use_cases` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `adapters` in the crate root
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::adapters::db::employee_repo::EmployeeRepository;
[INFO] [stdout]   |            ^^^^^^^^ could not find `adapters` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::config`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::Config;
[INFO] [stdout]   |            ^^^^^^ could not find `config` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout]  --> src/main.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[actix_web::main]
[INFO] [stdout]   |   ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:14:63
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let pool = MySqlPool::connect(&config.database_url).await.expect("Failed to connect to database");
[INFO] [stdout]    |                                                               ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clean-arch-rust` (bin "clean-arch-rust" test) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::mysql::MySqlPool;
[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 `actix_web`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{App, HttpServer};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `adapters` in the crate root
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapters::web::employee_handler::create_employee;
[INFO] [stdout]   |            ^^^^^^^^ could not find `adapters` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `use_cases` in the crate root
[INFO] [stdout]  --> src/main.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::use_cases::employee_usecases::EmployeeUseCase;
[INFO] [stdout]   |            ^^^^^^^^^ could not find `use_cases` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `adapters` in the crate root
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::adapters::db::employee_repo::EmployeeRepository;
[INFO] [stdout]   |            ^^^^^^^^ could not find `adapters` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::config`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::Config;
[INFO] [stdout]   |            ^^^^^^ could not find `config` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout]  --> src/main.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[actix_web::main]
[INFO] [stdout]   |   ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:14:63
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let pool = MySqlPool::connect(&config.database_url).await.expect("Failed to connect to database");
[INFO] [stdout]    |                                                               ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | async fn main() -> std::io::Result<()> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clean-arch-rust` (bin "clean-arch-rust") due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "64130b8d7e4f1ab8dbe2e9a8ed8c72ebe9fe675f2b21b7d029bc46fef1de3633", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64130b8d7e4f1ab8dbe2e9a8ed8c72ebe9fe675f2b21b7d029bc46fef1de3633", kill_on_drop: false }`
[INFO] [stdout] 64130b8d7e4f1ab8dbe2e9a8ed8c72ebe9fe675f2b21b7d029bc46fef1de3633
