[INFO] cloning repository https://github.com/tiarhax/michilante_user_api_service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiarhax/michilante_user_api_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiarhax%2Fmichilante_user_api_service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiarhax%2Fmichilante_user_api_service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb41f0bb8619434010770da80f4415748ccb1bee [INFO] checking tiarhax/michilante_user_api_service against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiarhax%2Fmichilante_user_api_service" "/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/tiarhax/michilante_user_api_service [INFO] finished tweaking git repo https://github.com/tiarhax/michilante_user_api_service [INFO] tweaked toml for git repo https://github.com/tiarhax/michilante_user_api_service written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tiarhax/michilante_user_api_service on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tiarhax/michilante_user_api_service 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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] 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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 754676c03f2d14e6a5e932f9fdc72705bd9b4802fb6a07355c616fc617a03a64 [INFO] running `Command { std: "docker" "start" "-a" "754676c03f2d14e6a5e932f9fdc72705bd9b4802fb6a07355c616fc617a03a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "754676c03f2d14e6a5e932f9fdc72705bd9b4802fb6a07355c616fc617a03a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754676c03f2d14e6a5e932f9fdc72705bd9b4802fb6a07355c616fc617a03a64", kill_on_drop: false }` [INFO] [stdout] 754676c03f2d14e6a5e932f9fdc72705bd9b4802fb6a07355c616fc617a03a64 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c4e4853e01515be8d810b2ad08a19fcd6ae4cbf66ffada86d0df9480854ef3 [INFO] running `Command { std: "docker" "start" "-a" "b1c4e4853e01515be8d810b2ad08a19fcd6ae4cbf66ffada86d0df9480854ef3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling aws-types v1.3.7 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking aws-smithy-xml v0.60.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking aws-smithy-types v1.3.1 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking aws-smithy-runtime-api v1.8.0 [INFO] [stderr] Checking aws-smithy-json v0.61.3 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking aws-credential-types v1.2.3 [INFO] [stderr] Checking aws-smithy-http v0.62.1 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking aws-sigv4 v1.3.2 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.16 [INFO] [stderr] Checking jwtk v0.4.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-http-client v1.0.2 [INFO] [stderr] Checking aws-smithy-runtime v1.8.3 [INFO] [stderr] Checking aws-runtime v1.5.7 [INFO] [stderr] Checking aws-sdk-sso v1.69.0 [INFO] [stderr] Checking aws-sdk-sts v1.70.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.70.0 [INFO] [stderr] Checking aws-sdk-dynamodb v1.76.0 [INFO] [stderr] Checking aws-config v1.6.3 [INFO] [stderr] Checking user_api_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ewi::error::AppError` [INFO] [stdout] --> src/layers/business/usecases/delete_camera/implementation.rs:1:198 [INFO] [stdout] | [INFO] [stdout] 1 | ...ase, sanitization_rules::DeleteCameraSanitizedInput}}, ewi::error::AppError, ewm::{ [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: `usecases::put_camera::interface::PutCameraInput` [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:1:121 [INFO] [stdout] | [INFO] [stdout] 1 | ...remove_double_spaces, trim_both_sides}}, usecases::put_camera::interface::PutCameraInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field::Field` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::field::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ewi::error::UserInputError` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ewi::error::UserInputError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `remove_double_spaces` and `usecases::put_camera::interface::PutCameraInput` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/sanitization_rules.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | ...{pipe_all, strings::{remove_double_spaces, trim_both_sides}}, usecases::put_camera::interface::PutCameraInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::ewm::permanent_stream_server::AddCreationOutput` [INFO] [stdout] --> src/layers/ewm/temporary_stream_server/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::layers::ewm::permanent_stream_server::AddCreationOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/layers/ewi/endpoints/cameras.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `providers::permanent_stream_server` [INFO] [stdout] --> src/layers/ewi/endpoints/cameras.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | ewi::{appstate::AppState, error::AppError, providers::permanent_stream_server}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/layers/ewi/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/layers/ewi/setup.rs:9:103 [INFO] [stdout] | [INFO] [stdout] 9 | appstate::{auth0::{Auth0Config, Auth0State}, AppConfig, AppState}, endpoints, middleware::auth0::{self, auth0_middleware} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `permanent_stream_server::PermanentStreamServer` [INFO] [stdout] --> src/layers/ewi/providers/temporary_stream_server.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::layers::{ewi::appstate::AppState, ewm::{permanent_stream_server::PermanentStreamServer, temporary_stream_server::Temporary... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ewi::error::AppError` [INFO] [stdout] --> src/layers/business/usecases/delete_camera/implementation.rs:1:198 [INFO] [stdout] | [INFO] [stdout] 1 | ...ase, sanitization_rules::DeleteCameraSanitizedInput}}, ewi::error::AppError, ewm::{ [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: `usecases::put_camera::interface::PutCameraInput` [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:1:121 [INFO] [stdout] | [INFO] [stdout] 1 | ...remove_double_spaces, trim_both_sides}}, usecases::put_camera::interface::PutCameraInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field::Field` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::field::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ewi::error::UserInputError` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/implementation.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ewi::error::UserInputError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `remove_double_spaces` and `usecases::put_camera::interface::PutCameraInput` [INFO] [stdout] --> src/layers/business/usecases/get_camera_stream_url/sanitization_rules.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | ...{pipe_all, strings::{remove_double_spaces, trim_both_sides}}, usecases::put_camera::interface::PutCameraInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::ewm::permanent_stream_server::AddCreationOutput` [INFO] [stdout] --> src/layers/ewm/temporary_stream_server/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::layers::ewm::permanent_stream_server::AddCreationOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/layers/ewi/endpoints/cameras.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `providers::permanent_stream_server` [INFO] [stdout] --> src/layers/ewi/endpoints/cameras.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | ewi::{appstate::AppState, error::AppError, providers::permanent_stream_server}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/layers/ewi/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/layers/ewi/setup.rs:9:103 [INFO] [stdout] | [INFO] [stdout] 9 | appstate::{auth0::{Auth0Config, Auth0State}, AppConfig, AppState}, endpoints, middleware::auth0::{self, auth0_middleware} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `permanent_stream_server::PermanentStreamServer` [INFO] [stdout] --> src/layers/ewi/providers/temporary_stream_server.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::layers::{ewi::appstate::AppState, ewm::{permanent_stream_server::PermanentStreamServer, temporary_stream_server::Temporary... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | trim_both_sides, [INFO] [stdout] 15 | | remove_double_spaces [INFO] [stdout] 16 | | ], &value.name)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | trim_both_sides, [INFO] [stdout] 15 | | remove_double_spaces [INFO] [stdout] 16 | | ], &value.name)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | trim_both_sides, [INFO] [stdout] 15 | | remove_double_spaces [INFO] [stdout] 16 | | ], &value.name)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | trim_both_sides, [INFO] [stdout] 15 | | remove_double_spaces [INFO] [stdout] 16 | | ], &value.name)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 18 | | trim_both_sides, [INFO] [stdout] 19 | | remove_double_spaces [INFO] [stdout] 20 | | ], &value.source_url)? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 18 | | trim_both_sides, [INFO] [stdout] 19 | | remove_double_spaces [INFO] [stdout] 20 | | ], &value.source_url)? [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 18 | | trim_both_sides, [INFO] [stdout] 19 | | remove_double_spaces [INFO] [stdout] 20 | | ], &value.source_url)? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/create_camera/sanitization_rules.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 18 | | trim_both_sides, [INFO] [stdout] 19 | | remove_double_spaces [INFO] [stdout] 20 | | ], &value.source_url)? [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | id: pipe_all( vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | trim_both_sides, [INFO] [stdout] 13 | | remove_double_spaces [INFO] [stdout] 14 | | ], &value.id)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | id: pipe_all( vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | trim_both_sides, [INFO] [stdout] 13 | | remove_double_spaces [INFO] [stdout] 14 | | ], &value.id)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | id: pipe_all( vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | trim_both_sides, [INFO] [stdout] 13 | | remove_double_spaces [INFO] [stdout] 14 | | ], &value.id)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | id: pipe_all( vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | trim_both_sides, [INFO] [stdout] 13 | | remove_double_spaces [INFO] [stdout] 14 | | ], &value.id)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 16 | | trim_both_sides, [INFO] [stdout] 17 | | remove_double_spaces [INFO] [stdout] 18 | | ], &value.name)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 16 | | trim_both_sides, [INFO] [stdout] 17 | | remove_double_spaces [INFO] [stdout] 18 | | ], &value.name)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | trim_both_sides, [INFO] [stdout] 21 | | remove_double_spaces [INFO] [stdout] 22 | | ], &value.source_url)? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | trim_both_sides, [INFO] [stdout] 21 | | remove_double_spaces [INFO] [stdout] 22 | | ], &value.source_url)? [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 16 | | trim_both_sides, [INFO] [stdout] 17 | | remove_double_spaces [INFO] [stdout] 18 | | ], &value.name)?, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | name: pipe_all( vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 16 | | trim_both_sides, [INFO] [stdout] 17 | | remove_double_spaces [INFO] [stdout] 18 | | ], &value.name)?, [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let inner = pipe_all( vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 11 | | trim_both_sides, [INFO] [stdout] 12 | | remove_double_spaces [INFO] [stdout] 13 | | ], &value)?; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let inner = pipe_all( vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 11 | | trim_both_sides, [INFO] [stdout] 12 | | remove_double_spaces [INFO] [stdout] 13 | | ], &value)?; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | trim_both_sides, [INFO] [stdout] 21 | | remove_double_spaces [INFO] [stdout] 22 | | ], &value.source_url)? [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/put_camera/sanitization_rules.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | source_url: pipe_all(vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 20 | | trim_both_sides, [INFO] [stdout] 21 | | remove_double_spaces [INFO] [stdout] 22 | | ], &value.source_url)? [INFO] [stdout] | |_____________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let inner = pipe_all( vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 11 | | trim_both_sides, [INFO] [stdout] 12 | | remove_double_spaces [INFO] [stdout] 13 | | ], &value)?; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(String) -> ... {trim_both_sides}; _]`, found `[fn(String) -> Result; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn(std::string::String) -> Result {trim_both_sides}; _]` [INFO] [stdout] found array `[fn(std::string::String) -> Result; 2]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `trim_both_sides as fn(std::string::String) -> Result` [INFO] [stdout] help: the return type of this call is `[fn(std::string::String) -> Result; 2]` due to the type of the argument passed [INFO] [stdout] --> src/layers/business/usecases/delete_camera/sanitization_rules.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let inner = pipe_all( vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 11 | | trim_both_sides, [INFO] [stdout] 12 | | remove_double_spaces [INFO] [stdout] 13 | | ], &value)?; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_input` [INFO] [stdout] --> src/layers/business/usecases/list_cameras/implementation.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | command_input: crate::layers::ewm::main_database::qc_collection::camera_qc_collection::PutCameraCommandInput, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/layers/business/usecases/list_cameras/implementation.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | id: &str, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/layers/business/usecases/list_cameras/implementation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | id: &str, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/layers/business/usecases/list_cameras/implementation.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | id: &str, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `user_api_server` (lib test) due to 6 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `user_api_server` (lib) due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1c4e4853e01515be8d810b2ad08a19fcd6ae4cbf66ffada86d0df9480854ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c4e4853e01515be8d810b2ad08a19fcd6ae4cbf66ffada86d0df9480854ef3", kill_on_drop: false }` [INFO] [stdout] b1c4e4853e01515be8d810b2ad08a19fcd6ae4cbf66ffada86d0df9480854ef3