[INFO] cloning repository https://github.com/mg3994/server-linux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mg3994/server-linux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmg3994%2Fserver-linux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmg3994%2Fserver-linux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e1bded7ba50ee55d3f1c91b32219f82f3f84053 [INFO] checking mg3994/server-linux/9e1bded7ba50ee55d3f1c91b32219f82f3f84053 against master#da2544bfbe84df7b24d83c029c74299ebf6112c6 for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmg3994%2Fserver-linux" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mg3994/server-linux [INFO] finished tweaking git repo https://github.com/mg3994/server-linux [INFO] tweaked toml for git repo https://github.com/mg3994/server-linux written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mg3994/server-linux on toolchain da2544bfbe84df7b24d83c029c74299ebf6112c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mg3994/server-linux 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" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v2.0.16 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded time-core v0.1.5 [INFO] [stderr] Downloaded bincode_derive v2.0.1 [INFO] [stderr] Downloaded h3-quinn v0.0.10 [INFO] [stderr] Downloaded thiserror v2.0.16 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded rustls-platform-verifier-android v0.1.1 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded virtue v0.0.18 [INFO] [stderr] Downloaded rustls-native-certs v0.8.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded h3 v0.0.8 [INFO] [stderr] Downloaded time v0.3.42 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded webpki-roots v1.0.2 [INFO] [stderr] Downloaded webpki-root-certs v1.0.2 [INFO] [stderr] Downloaded h2 v0.4.12 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded redis v0.32.5 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded iri-string v0.7.8 [INFO] [stderr] Downloaded tower-http v0.6.6 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded rustls-platform-verifier v0.6.1 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded hyper-rustls v0.27.7 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded time-macros v0.2.23 [INFO] [stderr] Downloaded fastbloom v0.14.0 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad5dc792b067563ab875642032e8b73682f4178c2f8c6cbc05848dfec8f0262 [INFO] running `Command { std: "docker" "start" "-a" "7ad5dc792b067563ab875642032e8b73682f4178c2f8c6cbc05848dfec8f0262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad5dc792b067563ab875642032e8b73682f4178c2f8c6cbc05848dfec8f0262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad5dc792b067563ab875642032e8b73682f4178c2f8c6cbc05848dfec8f0262", kill_on_drop: false }` [INFO] [stdout] 7ad5dc792b067563ab875642032e8b73682f4178c2f8c6cbc05848dfec8f0262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43033e5e4cb9a7b9a67aca9f69e45f93859e9d9b256015608f022f7f4204f4f9 [INFO] running `Command { std: "docker" "start" "-a" "43033e5e4cb9a7b9a67aca9f69e45f93859e9d9b256015608f022f7f4204f4f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Checking fastbloom v0.14.0 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking time v0.3.42 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking h3 v0.0.8 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking redis v0.32.5 [INFO] [stderr] Checking rustls-platform-verifier v0.6.1 [INFO] [stderr] Checking quinn-proto v0.11.13 [INFO] [stderr] Checking h3-quinn v0.0.10 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `setup_test_db` is never used [INFO] [stdout] --> src/delivery/tests.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | async fn setup_test_db() -> Database { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/performance_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [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: `serde_json::json` [INFO] [stdout] --> tests/load_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_test` [INFO] [stdout] --> tests/integration_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_test::TestServer; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_test`, use `cargo add axum_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `benchmark` [INFO] [stdout] --> tests/integration_tests.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | #[cfg(feature = "benchmark")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `benchmark` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `body::Body` [INFO] [stdout] --> tests/integration_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | http::{Request, StatusCode}, [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: `auth::models::User` [INFO] [stdout] --> tests/integration_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | auth::models::User, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> tests/performance_tests.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let response = self.client [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_test` [INFO] [stdout] --> tests/india_features_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum_test::TestServer; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_test`, use `cargo add axum_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/load_tests.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | fn calculate_percentiles(&self, mut response_times: &Vec) -> ResponseTimePercentiles { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:43:63 [INFO] [stdout] | [INFO] [stdout] 43 | let fcm_service = Arc::new(Mutex::new(FCMService::new(config.clone()).await.unwrap())); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ expected `&Config`, found `Config` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/notifications/fcm.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(config: &Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 43 | let fcm_service = Arc::new(Mutex::new(FCMService::new(&config.clone()).await.unwrap())); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> tests/integration_tests.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | let fcm_service = Arc::new(Mutex::new(FCMService::new(config.clone()).await.unwrap())); [INFO] [stdout] | ------------------------------- ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [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] 43 - let fcm_service = Arc::new(Mutex::new(FCMService::new(config.clone()).await.unwrap())); [INFO] [stdout] 43 + let fcm_service = Arc::new(Mutex::new(FCMService::new(config.clone()).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | let fcm_service = Arc::new(Mutex::new(FCMService::new(config.clone()).await.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `analytics_service`, `delivery_websocket_manager` and `enhanced_delivery_service` in initializer of `AppState` [INFO] [stdout] --> tests/integration_tests.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let app_state = AppState { [INFO] [stdout] | ^^^^^^^^ missing `analytics_service`, `delivery_websocket_manager` and `enhanced_delivery_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | server::auth::firebase::FirebaseAuth::new(config.firebase_project_id.clone()) [INFO] [stdout] | ----------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Config`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/auth/firebase.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(config: &Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `FirebaseAuth` is not a future [INFO] [stdout] --> tests/integration_tests.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | server::auth::firebase::FirebaseAuth::new(config.firebase_project_id.clone()) [INFO] [stdout] | ----------------------------------------------------------------------------- this call returns `FirebaseAuth` [INFO] [stdout] 57 | .await [INFO] [stdout] | ^^^^^ `FirebaseAuth` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `FirebaseAuth` [INFO] [stdout] = note: FirebaseAuth must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `FirebaseAuth` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 57 - .await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | / server::auth::firebase::FirebaseAuth::new(config.firebase_project_id.clone()) [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 455 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 937 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 930 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 957 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 950 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let response = ctx.server.get("/health").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let response: /* Type */ = ctx.server.get("/health").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let response = ctx.server.get("/health/detailed").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 106 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | let response: /* Type */ = ctx.server.get("/health/detailed").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let response = ctx.server.get("/metrics").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | let response: /* Type */ = ctx.server.get("/metrics").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 155 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 172 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 199 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Default` is not satisfied [INFO] [stdout] --> tests/india_features_test.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | let config = Config::from_env().unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Config` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap_or_default` [INFO] [stdout] --> /rustc/da2544bfbe84df7b24d83c029c74299ebf6112c6/library/core/src/result.rs:1265:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 233 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `analytics_service`, `delivery_websocket_manager` and `enhanced_delivery_service` in initializer of `AppState` [INFO] [stdout] --> tests/india_features_test.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let app_state = AppState { [INFO] [stdout] | ^^^^^^^^ missing `analytics_service`, `delivery_websocket_manager` and `enhanced_delivery_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 304 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let response = ctx.server.post("/orders").json(&order_payload).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 331 | [INFO] [stdout] 332 | assert_eq!(response.status_code(), StatusCode::UNAUTHORIZED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 330 | let response: /* Type */ = ctx.server.post("/orders").json(&order_payload).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | assert_eq!(response.status_code(), StatusCode::BAD_REQUEST); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 347 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | assert_eq!(response.status_code(), StatusCode::NOT_FOUND); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 365 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let response = handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 423 | if response.status_code() == StatusCode::CREATED { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 422 | let response: /* Type */ = handle.await.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | assert_ne!(response.status_code(), StatusCode::NOT_FOUND); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 477 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | let response = ctx.server.get("/metrics").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 506 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 505 | let response: /* Type */ = ctx.server.get("/metrics").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | [INFO] [stdout] 32 | let response = server.get("/india/cities").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 30 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let response = ctx.server.get("/health/detailed").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 516 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 515 | let response: /* Type */ = ctx.server.get("/health/detailed").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let response = server.get("/india/cities").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let response: /* Type */ = server.get("/india/cities").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | assert_eq!(response.status_code(), StatusCode::BAD_REQUEST); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 531 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | assert_eq!(response.status_code(), StatusCode::BAD_REQUEST); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 542 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | assert_eq!(response.status_code(), StatusCode::BAD_REQUEST); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 552 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 603 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 624 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | let response = server.get("/india/states").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 50 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let response = server.get("/india/states").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let response: /* Type */ = server.get("/india/states").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 647 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 676 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | [INFO] [stdout] 73 | let response = server.get("/india/cuisines").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let response = server.get("/india/cuisines").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 74 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let response: /* Type */ = server.get("/india/cuisines").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 711 | assert_eq!(response.status_code(), StatusCode::CREATED); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 704 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | [INFO] [stdout] 93 | let response = server.get("/india/gst-rates").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 91 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let response = server.get("/india/gst-rates").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 93 | let response: /* Type */ = server.get("/india/gst-rates").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 752 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 783 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 777 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | [INFO] [stdout] 114 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 112 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 813 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 807 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 831 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 826 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | [INFO] [stdout] 132 | let response = server.get("/india/upi-apps").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 130 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let response = server.get("/india/upi-apps").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let response: /* Type */ = server.get("/india/upi-apps").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 862 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 856 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 883 | assert_eq!(response.status_code(), StatusCode::OK); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 877 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | let response = ctx [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 910 | assert_eq!(response.status_code(), StatusCode::FORBIDDEN); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 904 | let response: /* Type */ = ctx [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 157 | [INFO] [stdout] 158 | let response = server.get("/india/banks").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 156 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let response = server.get("/india/banks").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 159 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | let response: /* Type */ = server.get("/india/banks").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | [INFO] [stdout] 179 | let response = server.get("/india/payment-fees").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let response = server.get("/india/payment-fees").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 180 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 179 | let response: /* Type */ = server.get("/india/payment-fees").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> tests/integration_tests.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | fn create_test_token(uid: &str, email: &str, role: &str) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 200 | [INFO] [stdout] 201 | let response = server.get("/india/delivery-zones").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 199 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let response = server.get("/india/delivery-zones").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 202 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 201 | let response: /* Type */ = server.get("/india/delivery-zones").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 221 | [INFO] [stdout] 222 | let response = server.get("/india/config").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 220 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let response = server.get("/india/config").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 222 | let response: /* Type */ = server.get("/india/config").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 238 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 241 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:257:47 [INFO] [stdout] | [INFO] [stdout] 257 | let has_peak_factor = factors.iter().any(|factor| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 258 | factor.as_str() == Some("Peak Hour Multiplier") [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 257 | let has_peak_factor = factors.iter().any(|factor: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 266 | [INFO] [stdout] 267 | let response = server.get("/india/localization").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 265 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0282, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let response = server.get("/india/localization").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 268 | assert_eq!(response.status_code(), 200); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 267 | let response: /* Type */ = server.get("/india/localization").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:280:53 [INFO] [stdout] | [INFO] [stdout] 280 | let has_hindi = supported_languages.iter().any(|lang| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 281 | lang.as_str() == Some("Hindi") [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 280 | let has_hindi = supported_languages.iter().any(|lang: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | let cities_response = server.get("/india/cities").await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 288 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let cities_response = server.get("/india/cities").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 292 | assert_eq!(cities_response.status_code(), 200); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cities_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 291 | let cities_response: /* Type */ = server.get("/india/cities").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let cuisines_response = server.get("/india/cuisines").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | assert_eq!(cuisines_response.status_code(), 200); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cuisines_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 295 | let cuisines_response: /* Type */ = server.get("/india/cuisines").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | let gst_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | assert_eq!(gst_response.status_code(), 200); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `gst_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 299 | let gst_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let delivery_response = server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | assert_eq!(delivery_response.status_code(), 200); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delivery_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 308 | let delivery_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let upi_response = server.get("/india/upi-apps").await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | assert_eq!(upi_response.status_code(), 200); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `upi_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | let upi_response: /* Type */ = server.get("/india/upi-apps").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | let server = create_test_server().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 326 | let server: /* Type */ = create_test_server().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/india_features_test.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | assert_eq!(response.status_code(), 200); // Should still work, defaulting to Tier 2 [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 329 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server` (test "integration_tests") due to 43 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server` (test "india_features_test") due to 37 previous errors [INFO] running `Command { std: "docker" "inspect" "43033e5e4cb9a7b9a67aca9f69e45f93859e9d9b256015608f022f7f4204f4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43033e5e4cb9a7b9a67aca9f69e45f93859e9d9b256015608f022f7f4204f4f9", kill_on_drop: false }` [INFO] [stdout] 43033e5e4cb9a7b9a67aca9f69e45f93859e9d9b256015608f022f7f4204f4f9