[INFO] cloning repository https://github.com/farneser/avatars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/farneser/avatars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarneser%2Favatars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarneser%2Favatars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0feb39766b7c17ac30374142c76f360fe317f35 [INFO] checking farneser/avatars against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarneser%2Favatars" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/farneser/avatars on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/farneser/avatars [INFO] finished tweaking git repo https://github.com/farneser/avatars [INFO] tweaked toml for git repo https://github.com/farneser/avatars written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/farneser/avatars 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2bb8c8731c49d177a41464d60437daeba3b56ac8776aae9177fc77f9815de21 [INFO] running `Command { std: "docker" "start" "-a" "e2bb8c8731c49d177a41464d60437daeba3b56ac8776aae9177fc77f9815de21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2bb8c8731c49d177a41464d60437daeba3b56ac8776aae9177fc77f9815de21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bb8c8731c49d177a41464d60437daeba3b56ac8776aae9177fc77f9815de21", kill_on_drop: false }` [INFO] [stdout] e2bb8c8731c49d177a41464d60437daeba3b56ac8776aae9177fc77f9815de21 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 658df906d552d953620bf2645455b4ee62c7ac6f1f0091c3af9efdb5145cb9bb [INFO] running `Command { std: "docker" "start" "-a" "658df906d552d953620bf2645455b4ee62c7ac6f1f0091c3af9efdb5145cb9bb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Compiling stacker v0.1.16 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling sqlx-postgres v0.8.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Checking askama_axum v0.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking sqlx v0.8.1 [INFO] [stderr] Checking domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking application v0.1.0 (/opt/rustwide/workdir/application) [INFO] [stderr] Checking persistence v0.1.0 (/opt/rustwide/workdir/persistence) [INFO] [stdout] warning: unused import: `domain::models::session::Session` [INFO] [stdout] --> application/src/command/user/login_user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use domain::models::session::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_otp` is never used [INFO] [stdout] --> domain/src/repositories/user_repository.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn create_test_otp(user_id: i64, otp_id: &str) -> Otp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> persistence/src/adapters/smtp.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SmtpService { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(host: String, port: u16, username: String, password: String, email_from: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_user` is never used [INFO] [stdout] --> persistence/src/lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | async fn insert_user(pool: &PgPool, email: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> persistence/src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | async fn get_user_by_id(pool: &PgPool, user_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `domain::models::session::Session` [INFO] [stdout] --> application/src/command/user/login_user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use domain::models::session::Session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `profile` [INFO] [stdout] --> web/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod profile; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `profile`, create file "web/src/profile.rs" or "web/src/profile/mod.rs" [INFO] [stdout] = note: if there is a `mod profile` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `cookie_layer` [INFO] [stdout] --> web/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod cookie_layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `cookie_layer`, create file "web/src/cookie_layer.rs" or "web/src/cookie_layer/mod.rs" [INFO] [stdout] = note: if there is a `mod cookie_layer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `profile` [INFO] [stdout] --> web/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod profile; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `profile`, create file "web/src/profile.rs" or "web/src/profile/mod.rs" [INFO] [stdout] = note: if there is a `mod profile` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `cookie_layer` [INFO] [stdout] --> web/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod cookie_layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `cookie_layer`, create file "web/src/cookie_layer.rs" or "web/src/cookie_layer/mod.rs" [INFO] [stdout] = note: if there is a `mod cookie_layer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> persistence/src/adapters/smtp.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SmtpService { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(host: String, port: u16, username: String, password: String, email_from: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_user` is never used [INFO] [stdout] --> persistence/src/lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | async fn insert_user(pool: &PgPool, email: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> persistence/src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | async fn get_user_by_id(pool: &PgPool, user_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower` [INFO] [stdout] --> web/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tower::Layer; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower` [INFO] [stdout] --> web/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tower::Layer; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> web/src/login.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> web/src/login.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> application/src/lib.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | struct TestResponse(pub String); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestCommandHandler` is never constructed [INFO] [stdout] --> application/src/lib.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | struct TestCommandHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, Form) -> impl Future> {handle_email}: Handler<_, _>` is not satisfied [INFO] [stdout] --> web/src/lib.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | .route("/login/email", post(login::handle_email)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Form) -> impl Future> {handle_email}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, Form) -> impl Future> {handle_email}: Handler<_, _>` is not satisfied [INFO] [stdout] --> web/src/lib.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | .route("/login/email", post(login::handle_email)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Form) -> impl Future> {handle_email}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, Form) -> impl Future {handle_login}: Handler<_, _>` is not satisfied [INFO] [stdout] --> web/src/lib.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | .route("/login", get(login::login_get).post(login::handle_login)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Form) -> impl Future {handle_login}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `MethodRouter::::post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | chained_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `MethodRouter::::post` [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State>, Form) -> impl Future {handle_login}: Handler<_, _>` is not satisfied [INFO] [stdout] --> web/src/lib.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | .route("/login", get(login::login_get).post(login::handle_login)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State>, Form) -> impl Future {handle_login}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `MethodRouter::::post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.5/src/routing/method_routing.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | chained_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `MethodRouter::::post` [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0583. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `web` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "658df906d552d953620bf2645455b4ee62c7ac6f1f0091c3af9efdb5145cb9bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658df906d552d953620bf2645455b4ee62c7ac6f1f0091c3af9efdb5145cb9bb", kill_on_drop: false }` [INFO] [stdout] 658df906d552d953620bf2645455b4ee62c7ac6f1f0091c3af9efdb5145cb9bb