[INFO] cloning repository https://github.com/kodehost/lite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodehost/lite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodehost%2Flite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodehost%2Flite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ca22566d1c69a03c7dfaaf88d0edb75de5182c9 [INFO] building kodehost/lite against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodehost%2Flite" "/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/kodehost/lite [INFO] finished tweaking git repo https://github.com/kodehost/lite [INFO] tweaked toml for git repo https://github.com/kodehost/lite written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kodehost/lite on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kodehost/lite 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42fcfdc3d4adbf04149c2939962f0761998a12e2b2b58ee772990971b251bcf0 [INFO] running `Command { std: "docker" "start" "-a" "42fcfdc3d4adbf04149c2939962f0761998a12e2b2b58ee772990971b251bcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42fcfdc3d4adbf04149c2939962f0761998a12e2b2b58ee772990971b251bcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fcfdc3d4adbf04149c2939962f0761998a12e2b2b58ee772990971b251bcf0", kill_on_drop: false }` [INFO] [stdout] 42fcfdc3d4adbf04149c2939962f0761998a12e2b2b58ee772990971b251bcf0 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccdbf93cbfe76b886ea52d063b2520de20e23a49571d6ef388e70dc1044a7ce [INFO] running `Command { std: "docker" "start" "-a" "2ccdbf93cbfe76b886ea52d063b2520de20e23a49571d6ef388e70dc1044a7ce", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 serde_derive v1.0.216 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling lite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `surrealdb` [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use surrealdb::{error::Db::Thrown, Error}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `surrealdb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surrealdb`, use `cargo add surrealdb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::infrastructure::data::db_context::surreal_context` [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{domain::models::todo::Todo, infrastructure::data::db_context::surreal_context::DB}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `surreal_context` in `db_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `surrealdb` [INFO] [stdout] --> src/domain/models/todo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use surrealdb::sql::Thing; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `surrealdb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surrealdb`, use `cargo add surrealdb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surrealdb` [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use surrealdb::{error::Db::Thrown, Error}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `surrealdb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surrealdb`, use `cargo add surrealdb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .take(0)? [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/infrastructure/data/repositories/todo_repository.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | let result = DB.delete((&self.table, id)).await?.unwrap(); [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 `lite` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "2ccdbf93cbfe76b886ea52d063b2520de20e23a49571d6ef388e70dc1044a7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccdbf93cbfe76b886ea52d063b2520de20e23a49571d6ef388e70dc1044a7ce", kill_on_drop: false }` [INFO] [stdout] 2ccdbf93cbfe76b886ea52d063b2520de20e23a49571d6ef388e70dc1044a7ce