[INFO] cloning repository https://github.com/joeldsouzax/kafka-whole [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joeldsouzax/kafka-whole" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeldsouzax%2Fkafka-whole", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeldsouzax%2Fkafka-whole'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c1d60e3965a92dd4a773047ba638d6be5b846ee [INFO] testing joeldsouzax/kafka-whole against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoeldsouzax%2Fkafka-whole" "/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/joeldsouzax/kafka-whole [INFO] finished tweaking git repo https://github.com/joeldsouzax/kafka-whole [INFO] tweaked toml for git repo https://github.com/joeldsouzax/kafka-whole written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joeldsouzax/kafka-whole on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joeldsouzax/kafka-whole 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cqrs-es v0.4.12 [INFO] [stderr] Downloaded validator_types v0.15.0 [INFO] [stderr] Downloaded validator_derive v0.15.0 [INFO] [stderr] Downloaded rdkafka v0.37.0 [INFO] [stderr] Downloaded rdkafka-sys v4.8.0+2.3.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0b457719d9c5c021849725dc49c4aaefa0e229b517f316b1af5988d1ef1547e [INFO] running `Command { std: "docker" "start" "-a" "b0b457719d9c5c021849725dc49c4aaefa0e229b517f316b1af5988d1ef1547e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0b457719d9c5c021849725dc49c4aaefa0e229b517f316b1af5988d1ef1547e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b457719d9c5c021849725dc49c4aaefa0e229b517f316b1af5988d1ef1547e", kill_on_drop: false }` [INFO] [stdout] b0b457719d9c5c021849725dc49c4aaefa0e229b517f316b1af5988d1ef1547e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ec2ff0abc6297906a92729a60a76f6413e891dca736884d34c4fc9517e6259c [INFO] running `Command { std: "docker" "start" "-a" "6ec2ff0abc6297906a92729a60a76f6413e891dca736884d34c4fc9517e6259c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling rdkafka-sys v4.8.0+2.3.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling rdkafka v0.37.0 [INFO] [stderr] Compiling cqrs-es v0.4.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [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 mybank v0.1.0 (/opt/rustwide/workdir/mybank) [INFO] [stderr] Compiling consumer v0.1.0 (/opt/rustwide/workdir/consumer) [INFO] [stderr] Compiling producer v0.1.0 (/opt/rustwide/workdir/producer) [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling sandwich-recipes v0.1.0 (/opt/rustwide/workdir/sandwich-recipes) [INFO] [stdout] error[E0425]: cannot find type `ApiError` in this scope [INFO] [stdout] --> sandwich-recipes/src/driving/rest_handler/validate.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn validate(params: &Json) -> Result<(), ApiError> [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::driving::rest_handler::errors::ApiError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ApiError` in this scope [INFO] [stdout] --> sandwich-recipes/src/driving/rest_handler/validate.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Err(error) => Err(ApiError::ValidationError(collect_errors(error))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ApiError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::driving::rest_handler::errors::ApiError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ValidationErrors` in this scope [INFO] [stdout] --> sandwich-recipes/src/driving/rest_handler/validate.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn collect_errors(error: ValidationErrors) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use validator::ValidationErrors; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SandwichType` [INFO] [stdout] --> sandwich-recipes/src/domain/find_all_sanwiches.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::sandwich::{Sandwich, SandwichType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> sandwich-recipes/src/driving/rest_handler/sandwiches.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 53 | let result = crate::domain::create_sandwich::create_sandwich( [INFO] [stdout] | __________________- [INFO] [stdout] 54 | | &request.name, [INFO] [stdout] 55 | | string_vec_to_vec_str(&request.ingredients).as_ref(), [INFO] [stdout] 56 | | &request.sandwich_type, [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____- this call returns `Result` [INFO] [stdout] 58 | .await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 58 - .await; [INFO] [stdout] 58 + ; [INFO] [stdout] | [INFO] [stdout] help: alternatively, consider making `fn create_sandwich` asynchronous [INFO] [stdout] --> sandwich-recipes/src/domain/create_sandwich.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create_sandwich<'a>( [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> sandwich-recipes/src/domain/delete_sandwich.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn delete_one_sandwich(id: &str) -> Result<(), DeleteError> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> sandwich-recipes/src/domain/find_all_sanwiches.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | name: &'a str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredients` [INFO] [stdout] --> sandwich-recipes/src/domain/find_all_sanwiches.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ingredients: &'a Vec<&str>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sandwich-recipes` (bin "sandwich-recipes") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ec2ff0abc6297906a92729a60a76f6413e891dca736884d34c4fc9517e6259c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec2ff0abc6297906a92729a60a76f6413e891dca736884d34c4fc9517e6259c", kill_on_drop: false }` [INFO] [stdout] 6ec2ff0abc6297906a92729a60a76f6413e891dca736884d34c4fc9517e6259c