[INFO] cloning repository https://github.com/chaitanya5/event-driven-microservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chaitanya5/event-driven-microservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaitanya5%2Fevent-driven-microservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaitanya5%2Fevent-driven-microservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c346a92048c1937db2a381c2120476fb2e8ef93 [INFO] checking chaitanya5/event-driven-microservice against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchaitanya5%2Fevent-driven-microservice" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chaitanya5/event-driven-microservice [INFO] finished tweaking git repo https://github.com/chaitanya5/event-driven-microservice [INFO] tweaked toml for git repo https://github.com/chaitanya5/event-driven-microservice written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chaitanya5/event-driven-microservice on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chaitanya5/event-driven-microservice 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ca9be641ba6b36e13898b87586e8b3c6aec5a11601f8e56a6a4e434d177a3f1 [INFO] running `Command { std: "docker" "start" "-a" "9ca9be641ba6b36e13898b87586e8b3c6aec5a11601f8e56a6a4e434d177a3f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ca9be641ba6b36e13898b87586e8b3c6aec5a11601f8e56a6a4e434d177a3f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca9be641ba6b36e13898b87586e8b3c6aec5a11601f8e56a6a4e434d177a3f1", kill_on_drop: false }` [INFO] [stdout] 9ca9be641ba6b36e13898b87586e8b3c6aec5a11601f8e56a6a4e434d177a3f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f02fc122f7c5b4dd28c280cd5fa4022c2f7b1af3ee3747808a4a61c34ccff997 [INFO] running `Command { std: "docker" "start" "-a" "f02fc122f7c5b4dd28c280cd5fa4022c2f7b1af3ee3747808a4a61c34ccff997", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking hyper v1.8.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Checking hexagonal-grpc-opentelemetry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | user_id: UserId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(id: OrderId, user_id: UserId, items: Vec) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn user_id(&self) -> &UserId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | pub user_id: UserId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn new(user_id: UserId, items: Vec) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn user_id(&self) -> &UserId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Order` in this scope [INFO] [stdout] --> src/domain/ports/order_repository.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | fn save(&self, order: &Order) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::order::Order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Order` in this scope [INFO] [stdout] --> src/domain/ports/order_repository.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | fn find_by_id(&self, id: &str) -> anyhow::Result>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::order::Order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::entities::user::User` [INFO] [stdout] --> src/domain/ports/order_repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::domain::entities::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `hexagonal_grpc_opentelemetry` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod domain; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | user_id: UserId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(id: OrderId, user_id: UserId, items: Vec) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn user_id(&self) -> &UserId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | pub user_id: UserId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn new(user_id: UserId, items: Vec) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn user_id(&self) -> &UserId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserId` in this scope [INFO] [stdout] --> src/domain/entities/order.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | fn create_test_user_id() -> UserId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 454 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId` [INFO] [stdout] --> src/domain/entities/order.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | UserId::generate() [INFO] [stdout] | ^^^^^^ use of undeclared type `UserId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 454 + use crate::domain::entities::user::UserId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Order` in this scope [INFO] [stdout] --> src/domain/ports/order_repository.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | fn save(&self, order: &Order) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::order::Order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Order` in this scope [INFO] [stdout] --> src/domain/ports/order_repository.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | fn find_by_id(&self, id: &str) -> anyhow::Result>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entities::order::Order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::entities::user::User` [INFO] [stdout] --> src/domain/ports/order_repository.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::domain::entities::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/domain/ports/order_repository.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn save(&self, order: &Order) -> 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/domain/ports/order_repository.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | fn find_by_id(&self, id: &str) -> 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] Some errors have detailed explanations: E0425, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hexagonal-grpc-opentelemetry` (bin "hexagonal-grpc-opentelemetry") due to 11 previous errors; 1 warning emitted [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 `anyhow` [INFO] [stdout] --> src/domain/ports/order_repository.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn save(&self, order: &Order) -> 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/domain/ports/order_repository.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | fn find_by_id(&self, id: &str) -> 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] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hexagonal-grpc-opentelemetry` (bin "hexagonal-grpc-opentelemetry" test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f02fc122f7c5b4dd28c280cd5fa4022c2f7b1af3ee3747808a4a61c34ccff997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02fc122f7c5b4dd28c280cd5fa4022c2f7b1af3ee3747808a4a61c34ccff997", kill_on_drop: false }` [INFO] [stdout] f02fc122f7c5b4dd28c280cd5fa4022c2f7b1af3ee3747808a4a61c34ccff997