[INFO] cloning repository https://github.com/SaipulImdn/rust-api-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SaipulImdn/rust-api-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaipulImdn%2Frust-api-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaipulImdn%2Frust-api-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23a4df1973d2f9e59dd3fcc64040aa2ab048d8b1 [INFO] checking SaipulImdn/rust-api-gateway/23a4df1973d2f9e59dd3fcc64040aa2ab048d8b1 against master#733108b6d4acaa93fe26ae281ea305aacd6aac4e for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaipulImdn%2Frust-api-gateway" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SaipulImdn/rust-api-gateway [INFO] finished tweaking git repo https://github.com/SaipulImdn/rust-api-gateway [INFO] tweaked toml for git repo https://github.com/SaipulImdn/rust-api-gateway written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SaipulImdn/rust-api-gateway on toolchain 733108b6d4acaa93fe26ae281ea305aacd6aac4e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SaipulImdn/rust-api-gateway 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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a75346ba838c435f27bdc74b629c9b980bfa23852265a4dccc442a20d591a6 [INFO] running `Command { std: "docker" "start" "-a" "d3a75346ba838c435f27bdc74b629c9b980bfa23852265a4dccc442a20d591a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a75346ba838c435f27bdc74b629c9b980bfa23852265a4dccc442a20d591a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a75346ba838c435f27bdc74b629c9b980bfa23852265a4dccc442a20d591a6", kill_on_drop: false }` [INFO] [stdout] d3a75346ba838c435f27bdc74b629c9b980bfa23852265a4dccc442a20d591a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5286143779287b9d9232520e8ca4ae117983ae0921156e6a3f52d6e026d5cbb [INFO] running `Command { std: "docker" "start" "-a" "b5286143779287b9d9232520e8ca4ae117983ae0921156e6a3f52d6e026d5cbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rust-api-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `domain` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod domain; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `domain`, create file "src/domain.rs" or "src/domain/mod.rs" [INFO] [stdout] = note: if there is a `mod domain` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `use_cases` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod use_cases; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `use_cases`, create file "src/use_cases.rs" or "src/use_cases/mod.rs" [INFO] [stdout] = note: if there is a `mod use_cases` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `infrastructure` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod infrastructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `infrastructure`, create file "src/infrastructure.rs" or "src/infrastructure/mod.rs" [INFO] [stdout] = note: if there is a `mod infrastructure` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `presentation` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod presentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `presentation`, create file "src/presentation.rs" or "src/presentation/mod.rs" [INFO] [stdout] = note: if there is a `mod presentation` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let app = http_server::create_server().await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | .serve(app.into_make_service()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `app` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let app: /* Type */ = http_server::create_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / Server::bind(&addr) [INFO] [stdout] 17 | | .serve(app.into_make_service()) [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-api-gateway` (bin "rust-api-gateway") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0583. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `domain` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod domain; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `domain`, create file "src/domain.rs" or "src/domain/mod.rs" [INFO] [stdout] = note: if there is a `mod domain` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `use_cases` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod use_cases; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `use_cases`, create file "src/use_cases.rs" or "src/use_cases/mod.rs" [INFO] [stdout] = note: if there is a `mod use_cases` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `infrastructure` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod infrastructure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `infrastructure`, create file "src/infrastructure.rs" or "src/infrastructure/mod.rs" [INFO] [stdout] = note: if there is a `mod infrastructure` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `presentation` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod presentation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `presentation`, create file "src/presentation.rs" or "src/presentation/mod.rs" [INFO] [stdout] = note: if there is a `mod presentation` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let app = http_server::create_server().await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | .serve(app.into_make_service()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `app` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let app: /* Type */ = http_server::create_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / Server::bind(&addr) [INFO] [stdout] 17 | | .serve(app.into_make_service()) [INFO] [stdout] 18 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, 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-gateway` (bin "rust-api-gateway" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "b5286143779287b9d9232520e8ca4ae117983ae0921156e6a3f52d6e026d5cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5286143779287b9d9232520e8ca4ae117983ae0921156e6a3f52d6e026d5cbb", kill_on_drop: false }` [INFO] [stdout] b5286143779287b9d9232520e8ca4ae117983ae0921156e6a3f52d6e026d5cbb