[INFO] cloning repository https://github.com/VladislavVostok/rust_http_server_bw321 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VladislavVostok/rust_http_server_bw321" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2Frust_http_server_bw321", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2Frust_http_server_bw321'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bc94d935fa4f70238e007613e3f819199870ed4 [INFO] testing VladislavVostok/rust_http_server_bw321 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladislavVostok%2Frust_http_server_bw321" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VladislavVostok/rust_http_server_bw321 [INFO] finished tweaking git repo https://github.com/VladislavVostok/rust_http_server_bw321 [INFO] tweaked toml for git repo https://github.com/VladislavVostok/rust_http_server_bw321 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VladislavVostok/rust_http_server_bw321 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VladislavVostok/rust_http_server_bw321 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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 actix-service v2.0.3 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] [stderr] Downloaded icu_locid_transform_data v1.5.1 [INFO] [stderr] Downloaded bytestring v1.4.0 [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded icu_normalizer_data v1.5.1 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded icu_properties_data v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30e2dca355cadcc0c318a79d413f7e5337dc80d7ee89765a97ef710da38ef6db [INFO] running `Command { std: "docker" "start" "-a" "30e2dca355cadcc0c318a79d413f7e5337dc80d7ee89765a97ef710da38ef6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e2dca355cadcc0c318a79d413f7e5337dc80d7ee89765a97ef710da38ef6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e2dca355cadcc0c318a79d413f7e5337dc80d7ee89765a97ef710da38ef6db", kill_on_drop: false }` [INFO] [stdout] 30e2dca355cadcc0c318a79d413f7e5337dc80d7ee89765a97ef710da38ef6db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2038a0e7a8941884f35fe30bf22c759f0cebb0dc09b446e49111ff7c177d3c2b [INFO] running `Command { std: "docker" "start" "-a" "2038a0e7a8941884f35fe30bf22c759f0cebb0dc09b446e49111ff7c177d3c2b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.1 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [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 actix-http v3.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 actix-web v4.10.2 [INFO] [stderr] Compiling web_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `to_do_items` [INFO] [stdout] --> src/to_do/structs/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod to_do_items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `to_do_items`, create file "src/to_do/structs/to_do_items.rs" or "src/to_do/structs/to_do_items/mod.rs" [INFO] [stdout] = note: if there is a `mod to_do_items` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json::Serialize` [INFO] [stdout] --> src/json_serialization/to_do_items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `Serialize` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Serializer; [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 - use serde_json::Serialize; [INFO] [stdout] 2 + use actix_web::error::JsonPayloadError::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 - use serde_json::Serialize; [INFO] [stdout] 2 + use actix_web::error::UrlencodedError::Serialize; [INFO] [stdout] | [INFO] [stdout] 2 - use serde_json::Serialize; [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Selialize` in this scope [INFO] [stdout] --> src/json_serialization/to_do_items.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Selialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::views::to_do::to_do_views_factory` [INFO] [stdout] --> src/views/to_do/create.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::views::to_do::to_do_views_factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/views/to_do/get.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::to_do::traits::delete::Delete` [INFO] [stdout] --> src/processes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::to_do::traits::delete::Delete; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web:: {web, App, HttpServer, Responder, HttpRequest}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Responder` is not satisfied [INFO] [stdout] --> src/views/to_do/get.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get() -> impl Responder{ [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Responder` is not implemented for `()` [INFO] [stdout] ... [INFO] [stdout] 14 | / for(key, value) in state{ [INFO] [stdout] 15 | | let status = TaskStatus::from_string(value.as_str().unwrap().to_string()); [INFO] [stdout] 16 | | let item: ItemTypes = to_do_factory(&key, status); [INFO] [stdout] 17 | | array_buffer.push(item); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____- return type was inferred to be `()` here [INFO] [stdout] | [INFO] [stdout] = help: the trait `Responder` is implemented for `(R, StatusCode)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Responder {views::to_do::get::get}: Handler<_>` is not satisfied [INFO] [stdout] --> src/views/to_do/mod.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | .route("get", get().to(get::get)) [INFO] [stdout] | -- ^^^^^^^^ the trait `Handler<_>` is not implemented for fn item `fn() -> impl Responder {views::to_do::get::get}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Route::to` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.10.2/src/route.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn to(mut self, handler: F) -> Self [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 211 | where [INFO] [stdout] 212 | F: Handler, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Route::to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web_app` (bin "web_app") due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2038a0e7a8941884f35fe30bf22c759f0cebb0dc09b446e49111ff7c177d3c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2038a0e7a8941884f35fe30bf22c759f0cebb0dc09b446e49111ff7c177d3c2b", kill_on_drop: false }` [INFO] [stdout] 2038a0e7a8941884f35fe30bf22c759f0cebb0dc09b446e49111ff7c177d3c2b