[INFO] cloning repository https://github.com/jeetnik/tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeetnik/tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeetnik%2Ftic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeetnik%2Ftic-tac-toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b793cb81d332b2eb82604cb94e0165b825e2a487 [INFO] checking jeetnik/tic-tac-toe against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeetnik%2Ftic-tac-toe" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeetnik/tic-tac-toe [INFO] finished tweaking git repo https://github.com/jeetnik/tic-tac-toe [INFO] tweaked toml for git repo https://github.com/jeetnik/tic-tac-toe written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeetnik/tic-tac-toe 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/jeetnik/tic-tac-toe 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] [stderr] warning: db/Cargo.toml: unused manifest key: dependencies.serde.feature [INFO] [stderr] warning: `db` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3 [INFO] running `Command { std: "docker" "start" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3", 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" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3", 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" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: db/Cargo.toml: unused manifest key: dependencies.serde.feature [INFO] [stderr] warning: `db` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> backend/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> backend/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{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[E0432]: unresolved import `actix_web` [INFO] [stdout] --> backend/src/routes/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, Result}; [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]: cannot find module or crate `db` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db::models::user::{CreateUserRequest, CreateUserResponse, GetUserRequest}; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db` [INFO] [stdout] --> backend/src/routes/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db::Store; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> backend/src/routes/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/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[E0432]: unresolved import `anyhow` [INFO] [stdout] --> backend/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> backend/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{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[E0432]: unresolved import `actix_web` [INFO] [stdout] --> backend/src/routes/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, Result}; [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]: cannot find module or crate `db` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db::models::user::{CreateUserRequest, CreateUserResponse, GetUserRequest}; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `db` [INFO] [stdout] --> backend/src/routes/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db::Store; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> backend/src/routes/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/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[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | let user = store.create_user(request.into_inner()).await.map_err(|e| actix_web::error::ErrorInternalServerError(e.to_string()))?; [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]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:19:109 [INFO] [stdout] | [INFO] [stdout] 19 | ...).username }).await.map_err(|e| actix_web::error::ErrorInternalServerError(e.to_string()))?; [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]: cannot find module or crate `db` in this scope [INFO] [stdout] --> backend/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let store = db::Store::new().await?; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | actix_web::App::new() [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]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | let user = store.create_user(request.into_inner()).await.map_err(|e| actix_web::error::ErrorInternalServerError(e.to_string()))?; [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]: cannot find module or crate `dotenvy` in this scope [INFO] [stdout] --> backend/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dotenvy::dotenv().ok(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenvy`, use `cargo add dotenvy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/routes/user.rs:19:109 [INFO] [stdout] | [INFO] [stdout] 19 | ...).username }).await.map_err(|e| actix_web::error::ErrorInternalServerError(e.to_string()))?; [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `db` in this scope [INFO] [stdout] --> backend/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let store = db::Store::new().await?; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db`, use `cargo add db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `actix_web` in this scope [INFO] [stdout] --> backend/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | actix_web::App::new() [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]: cannot find module or crate `dotenvy` in this scope [INFO] [stdout] --> backend/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | dotenvy::dotenv().ok(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenvy`, use `cargo add dotenvy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> backend/src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3", kill_on_drop: false }` [INFO] [stdout] e2eec3b54ae7db044fa748be812774a4638cbed6f92a318f505328dbcb0150f3