[INFO] fetching crate switchgear-service 0.1.10... [INFO] testing switchgear-service-0.1.10 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate switchgear-service 0.1.10 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate switchgear-service 0.1.10 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate switchgear-service 0.1.10 [INFO] tweaked toml for crates.io crate switchgear-service 0.1.10 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate switchgear-service 0.1.10 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate switchgear-service 0.1.10 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce0cdacd365ef58fae6b0b50bac6cbe5a2a8448c543c9ed192c051afc11c1c1 [INFO] running `Command { std: "docker" "start" "-a" "8ce0cdacd365ef58fae6b0b50bac6cbe5a2a8448c543c9ed192c051afc11c1c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce0cdacd365ef58fae6b0b50bac6cbe5a2a8448c543c9ed192c051afc11c1c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce0cdacd365ef58fae6b0b50bac6cbe5a2a8448c543c9ed192c051afc11c1c1", kill_on_drop: false }` [INFO] [stdout] 8ce0cdacd365ef58fae6b0b50bac6cbe5a2a8448c543c9ed192c051afc11c1c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20b311de43960da9fee5b17dccd4103b32bd31dbaac357ea7d8a139b5238ae5e [INFO] running `Command { std: "docker" "start" "-a" "20b311de43960da9fee5b17dccd4103b32bd31dbaac357ea7d8a139b5238ae5e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.47.1 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling sea-query v0.32.6 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v21.0.0 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.14 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling tonic-build v0.14.2 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling sea-orm-cli v1.1.14 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling tonic-prost-build v0.14.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling forwarded-header-value v0.1.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling switchgear-service v0.1.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling lightning-types v0.2.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling lightning-invoice v0.33.2 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling client-ip v0.1.1 [INFO] [stderr] Compiling qrcode v0.14.1 [INFO] [stderr] Compiling fs4 v0.13.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling axum-forwarded-header v0.1.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling tonic v0.14.2 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling tonic-prost v0.14.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.14 [INFO] [stderr] Compiling sea-schema v0.16.2 [INFO] [stderr] Compiling sea-orm-migration v1.1.14 [INFO] [stderr] Compiling switchgear-migration v0.1.10 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8m 58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "20b311de43960da9fee5b17dccd4103b32bd31dbaac357ea7d8a139b5238ae5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b311de43960da9fee5b17dccd4103b32bd31dbaac357ea7d8a139b5238ae5e", kill_on_drop: false }` [INFO] [stdout] 20b311de43960da9fee5b17dccd4103b32bd31dbaac357ea7d8a139b5238ae5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b7abaec8e674b0f9b15287379b80a1a671401a9e2d634ec7a5b108586c83eb8 [INFO] running `Command { std: "docker" "start" "-a" "7b7abaec8e674b0f9b15287379b80a1a671401a9e2d634ec7a5b108586c83eb8", kill_on_drop: false }` [INFO] [stderr] Compiling switchgear-service v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/ln/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use switchgear_testing::credentials::{LnCredentials, RegTestLnNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use switchgear_testing::credentials::{LnCredentials, RegTestLnNode}; [INFO] [stdout] 11 + use switchgear_service::credentials::{LnCredentials, RegTestLnNode}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> tests/discovery/../common/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use p256::ecdsa::SigningKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> tests/discovery/../common/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::bail; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pkcs8` [INFO] [stdout] --> tests/discovery/../common/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pkcs8::{EncodePrivateKey, EncodePublicKey, LineEnding}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pkcs8` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pkcs8`, use `cargo add pkcs8` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/discovery/../common/service.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use switchgear_testing::ports::PortAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use switchgear_testing::ports::PortAllocator; [INFO] [stdout] 16 + use switchgear_service::ports::PortAllocator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/discovery/db_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] 4 + use switchgear_service::services::IntegrationTestServices; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/discovery/db_postgres.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] 4 + use switchgear_service::services::IntegrationTestServices; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/discovery/../common/service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> tests/ln/../common/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use p256::ecdsa::SigningKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> tests/ln/../common/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::bail; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pkcs8` [INFO] [stdout] --> tests/ln/../common/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pkcs8::{EncodePrivateKey, EncodePublicKey, LineEnding}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pkcs8` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pkcs8`, use `cargo add pkcs8` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/ln/../common/service.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use switchgear_testing::ports::PortAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use switchgear_testing::ports::PortAllocator; [INFO] [stdout] 16 + use switchgear_service::ports::PortAllocator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/ln/../common/service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> tests/ln/cln.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::bail; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/ln/cln.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use switchgear_testing::credentials::LnCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - use switchgear_testing::credentials::LnCredentials; [INFO] [stdout] 12 + use switchgear_service::credentials::LnCredentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/ln/cln.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/lnd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> tests/ln/lnd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::bail; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/ln/lnd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use switchgear_testing::credentials::LnCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - use switchgear_testing::credentials::LnCredentials; [INFO] [stdout] 12 + use switchgear_service::credentials::LnCredentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/ln/lnd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | .ok_or_else(|| anyhow::anyhow!("no cln nodes available"))?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | .ok_or_else(|| anyhow::anyhow!("no lnd nodes available"))?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> tests/offer/../common/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use p256::ecdsa::SigningKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> tests/offer/../common/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::bail; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pkcs8` [INFO] [stdout] --> tests/offer/../common/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pkcs8::{EncodePrivateKey, EncodePublicKey, LineEnding}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pkcs8` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pkcs8`, use `cargo add pkcs8` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/offer/../common/service.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use switchgear_testing::ports::PortAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use switchgear_testing::ports::PortAllocator; [INFO] [stdout] 16 + use switchgear_service::ports::PortAllocator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/offer/db_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] 4 + use switchgear_service::services::IntegrationTestServices; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] --> tests/offer/db_postgres.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `switchgear_testing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use switchgear_testing::services::IntegrationTestServices; [INFO] [stdout] 4 + use switchgear_service::services::IntegrationTestServices; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/offer/../common/service.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/offer/http.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let test_service = service::TestService::start(&ports_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/discovery/http.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let test_service = service::TestService::start(&ports_path).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 61 | | .get_invoice( [INFO] [stdout] 62 | | Some(expected_amount_msat), [INFO] [stdout] 63 | | description, [INFO] [stdout] ... | [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 113 | | .get_invoice( [INFO] [stdout] 114 | | Some(expected_amount_msat), [INFO] [stdout] 115 | | description, [INFO] [stdout] ... | [INFO] [stdout] 118 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | let result = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | let error = result.expect_err("Expected error for Hash description but got successful invoice"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let result: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 203 | | .get_invoice( [INFO] [stdout] 204 | | None, // No amount specified [INFO] [stdout] 205 | | description, [INFO] [stdout] ... | [INFO] [stdout] 208 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/cln.rs:241:33 [INFO] [stdout] | [INFO] [stdout] 241 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 235 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 249 | | .get_invoice( [INFO] [stdout] 250 | | Some(750_000), // 750 sats in msat [INFO] [stdout] 251 | | description, [INFO] [stdout] ... | [INFO] [stdout] 254 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let client = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | let metrics_result = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 283 | let client: /* Type */ = match try_create_cln_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/cln.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | let metrics_result = client [INFO] [stdout] | __________________________^ [INFO] [stdout] 290 | | .get_metrics() [INFO] [stdout] 291 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/lnd.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let client = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let client: /* Type */ = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 58 | | .get_invoice( [INFO] [stdout] 59 | | Some(expected_amount_msat), [INFO] [stdout] 60 | | description, [INFO] [stdout] ... | [INFO] [stdout] 63 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/lnd.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let client = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | let client: /* Type */ = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 113 | | .get_invoice(Some(expected_amount_msat), description, Some(3600)) [INFO] [stdout] 114 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/lnd.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let client = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | let client: /* Type */ = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 154 | | .get_invoice( [INFO] [stdout] 155 | | None, // No amount specified [INFO] [stdout] 156 | | description, [INFO] [stdout] ... | [INFO] [stdout] 159 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/ln/lnd.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | let random_string: String = rand::thread_rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let client = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | let invoice_str = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 186 | let client: /* Type */ = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let invoice_str = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | .get_invoice( [INFO] [stdout] 203 | | Some(expected_amount_msat), [INFO] [stdout] 204 | | description, [INFO] [stdout] ... | [INFO] [stdout] 207 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let client = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | let metrics_result = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 241 | let client: /* Type */ = match try_create_lnd_tonic_client(&credentials).await { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/ln/lnd.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let metrics_result = client [INFO] [stdout] | __________________________^ [INFO] [stdout] 248 | | .get_metrics() [INFO] [stdout] 249 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/../common/service.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start(ports_path: &Path) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/../common/service.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | async fn wait_for_startup(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/cln.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> anyhow::Result< [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/main.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/ln/lnd.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `switchgear-service` (test "ln") due to 53 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/discovery/../common/service.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start(ports_path: &Path) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/discovery/../common/service.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | async fn wait_for_startup(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `switchgear-service` (test "discovery") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/offer/../common/service.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn start(ports_path: &Path) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> tests/offer/../common/service.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | async fn wait_for_startup(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `switchgear-service` (test "offer") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/discovery/service.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use p256::ecdsa::SigningKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/discovery/service.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use p256::pkcs8::EncodePrivateKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/discovery/service.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use p256::pkcs8::EncodePublicKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_test` [INFO] [stdout] --> src/discovery/service.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/discovery/service.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_test` [INFO] [stdout] --> src/lnurl/service.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use p256::ecdsa::SigningKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use p256::pkcs8::EncodePrivateKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use p256::pkcs8::EncodePublicKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum_test` [INFO] [stdout] --> src/offer/service.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | 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] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/offer/service.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use rand::thread_rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rqrr` [INFO] [stdout] --> src/lnurl/service.rs:828:13 [INFO] [stdout] | [INFO] [stdout] 828 | use rqrr::PreparedImage; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rqrr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rqrr`, use `cargo add rqrr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/discovery/service.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .to_pkcs8_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/discovery/service.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | .to_public_key_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | .to_pkcs8_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | .to_public_key_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | .to_pkcs8_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | .to_public_key_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | .to_pkcs8_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `p256` [INFO] [stdout] --> src/offer/service.rs:210:32 [INFO] [stdout] | [INFO] [stdout] 210 | .to_public_key_pem(p256::pkcs8::LineEnding::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `p256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `p256`, use `cargo add p256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let response = server.server.get("/health").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 123 | [INFO] [stdout] 124 | 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] 122 | let response: /* Type */ = server.server.get("/health").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | 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] 133 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | 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] 157 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let response1 = server [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | assert_eq!(response1.status_code(), StatusCode::CREATED); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response1` an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let response1: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let response2 = server [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | assert_eq!(response2.status_code(), StatusCode::CONFLICT); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response2` an explicit type [INFO] [stdout] | [INFO] [stdout] 184 | let response2: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | let location = response.header("location"); [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 */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | 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] 210 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | 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] 229 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | 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] 243 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | let location = response.header("location"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 259 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 271 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let get_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | let updated: DiscoveryBackend = get_response.json(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 281 | let get_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | let location = response.header("location"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 296 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 306 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let get_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | assert_eq!(get_response.status_code(), StatusCode::NOT_FOUND); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | let get_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | 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] 329 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | 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] 359 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | assert_eq!(response.status_code(), StatusCode::UNSUPPORTED_MEDIA_TYPE); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 374 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | 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] 388 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | 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] 401 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | let response = server.server.post("/discovery").json(&backend).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 416 | [INFO] [stdout] 417 | 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] 415 | let response: /* Type */ = server.server.post("/discovery").json(&backend).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | 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] 419 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | 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] 426 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discovery/service.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let response = server.server.delete("/discovery/default").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 435 | [INFO] [stdout] 436 | 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] 434 | let response: /* Type */ = server.server.delete("/discovery/default").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | let response = server.get("/health").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 294 | [INFO] [stdout] 295 | 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] 293 | let response: /* Type */ = server.get("/health").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let server = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 306 | [INFO] [stdout] 307 | let response = server.get(&format!("/offers/default/{offer_id}")).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] 305 | let server: /* Type */ = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 308 | [INFO] [stdout] 309 | 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] 307 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lnurl/service.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | let (server, offer_id) = create_test_server_with_scheme(test_offer, "https").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 372 | [INFO] [stdout] 373 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 371 | let (server, offer_id): (_, _) = create_test_server_with_scheme(test_offer, "https").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 374 | 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] 373 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lnurl/service.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let (server, offer_id) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | [INFO] [stdout] 385 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 383 | let (server, offer_id): (_, _) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | 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] 385 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lnurl/service.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let (server, offer_id) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 399 | [INFO] [stdout] 400 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 398 | let (server, offer_id): (_, _) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | 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] 400 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lnurl/service.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | let (server, offer_id) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 414 | [INFO] [stdout] 415 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 413 | let (server, offer_id): (_, _) = create_test_server_with_scheme(test_offer, "http").await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | 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] 415 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 433 | [INFO] [stdout] 434 | let response = server.get(&format!("/offers/default/{offer_id}")).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] 432 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 435 | [INFO] [stdout] 436 | 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] 434 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 464 | [INFO] [stdout] 465 | let response = server.get(&format!("/offers/default/{offer_id}")).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] 463 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 466 | [INFO] [stdout] 467 | 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] 465 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 495 | [INFO] [stdout] 496 | let response = server.get(&format!("/offers/default/{offer_id}")).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] 494 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 497 | 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] 496 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | 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] 521 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 535 | [INFO] [stdout] 536 | let response = server.get(&format!("/offers/default/{offer_id}")).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] 534 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | let response = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 537 | [INFO] [stdout] 538 | 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] 536 | let response: /* Type */ = server.get(&format!("/offers/default/{offer_id}")).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | let response = server.get("/offers/default/invalid-uuid").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 546 | [INFO] [stdout] 547 | 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] 545 | let response: /* Type */ = server.get("/offers/default/invalid-uuid").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 557 | [INFO] [stdout] 558 | 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] 556 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | 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] 558 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | 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] 575 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 589 | [INFO] [stdout] 590 | 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] 588 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | 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] 590 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | let server = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | 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] 602 | let server: /* Type */ = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | 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] 605 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | let server = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | 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] 623 | let server: /* Type */ = create_test_server_with_offer(test_offer.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | 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] 626 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:637:13 [INFO] [stdout] | [INFO] [stdout] 637 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 645 | 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] 637 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:652:13 [INFO] [stdout] | [INFO] [stdout] 652 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 653 | [INFO] [stdout] 654 | 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] 652 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:654:13 [INFO] [stdout] | [INFO] [stdout] 654 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | 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] 654 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 670 | [INFO] [stdout] 671 | 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] 669 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | 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] 671 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let server = create_test_server_with_failing_balancer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 683 | [INFO] [stdout] 684 | 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] 682 | let server: /* Type */ = create_test_server_with_failing_balancer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | assert_eq!(response.status_code(), StatusCode::INTERNAL_SERVER_ERROR); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 684 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:695:13 [INFO] [stdout] | [INFO] [stdout] 695 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 699 | 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] 695 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 745 | 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] 741 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lnurl/service.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | let (server, balancer) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | let response = server [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 756 | let (server, balancer): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | 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] 760 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `({type error}, _)` [INFO] [stdout] --> src/lnurl/service.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | let (server, balancer) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 767 | assert_eq!(balancer.captured_expiry(), Some(expected_expiry)); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 756 | let (server, balancer): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | let response = server.get(&request_url_bech32).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] 776 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | let response = server.get(&request_url_bech32).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 782 | [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] 781 | let response: /* Type */ = server.get(&request_url_bech32).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:802:13 [INFO] [stdout] | [INFO] [stdout] 802 | let server = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | let response = server.get(&request_url_bech32_qr).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] 802 | let server: /* Type */ = create_test_server_with_offer(test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lnurl/service.rs:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | let response = server.get(&request_url_bech32_qr).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 808 | [INFO] [stdout] 809 | 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 */ = server.get(&request_url_bech32_qr).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let response = server.server.get("/health").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 246 | [INFO] [stdout] 247 | 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] 245 | let response: /* Type */ = server.server.get("/health").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 257 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | 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] 266 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | 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] 278 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | 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] 292 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | 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] 310 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | 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] 323 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | 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] 335 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | 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] 350 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | 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] 368 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let get_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | assert_eq!(get_response.status_code(), StatusCode::OK); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 385 | let get_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | assert_eq!(response.status_code(), StatusCode::CONFLICT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 408 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 427 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | 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] 445 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | 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] 461 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | 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] 482 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | let get_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | assert_eq!(get_response.status_code(), StatusCode::OK); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 492 | let get_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | 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] 508 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | 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] 527 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | 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] 537 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | let delete_offer_response = server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | assert_eq!(delete_offer_response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delete_offer_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 546 | let delete_offer_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let second_response = server [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | assert_eq!(second_response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `second_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 555 | let second_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 571 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | 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] 580 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | 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] 592 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | 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] 606 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | 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] 622 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:634:13 [INFO] [stdout] | [INFO] [stdout] 634 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | 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] 634 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | 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] 649 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:664:13 [INFO] [stdout] | [INFO] [stdout] 664 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 671 | 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] 664 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | let get_response = server [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | assert_eq!(get_response.status_code(), StatusCode::OK); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_response` an explicit type [INFO] [stdout] | [INFO] [stdout] 681 | let get_response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:705:13 [INFO] [stdout] | [INFO] [stdout] 705 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 711 | assert_eq!(response.status_code(), StatusCode::CONFLICT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 705 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 731 | assert_eq!(response.status_code(), StatusCode::NO_CONTENT); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 724 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | 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] 739 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let response = server.server.post("/offers").json(&test_offer).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 755 | [INFO] [stdout] 756 | 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] 754 | let response: /* Type */ = server.server.post("/offers").json(&test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:758:13 [INFO] [stdout] | [INFO] [stdout] 758 | let response = server.server.get("/offers/default").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 759 | [INFO] [stdout] 760 | 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] 758 | let response: /* Type */ = server.server.get("/offers/default").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | let response = server.server.put("/offers/default").json(&test_offer).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 763 | [INFO] [stdout] 764 | 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] 762 | let response: /* Type */ = server.server.put("/offers/default").json(&test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | let response = server.server.delete("/offers/default").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 767 | [INFO] [stdout] 768 | 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] 766 | let response: /* Type */ = server.server.delete("/offers/default").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:770:13 [INFO] [stdout] | [INFO] [stdout] 770 | let response = server.server.post("/metadata").json(&test_offer).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 771 | [INFO] [stdout] 772 | 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] 770 | let response: /* Type */ = server.server.post("/metadata").json(&test_offer).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 774 | let response = server.server.get("/metadata/default").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 775 | [INFO] [stdout] 776 | 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] 774 | let response: /* Type */ = server.server.get("/metadata/default").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | let response = server [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | 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] 778 | let response: /* Type */ = server [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/offer/service.rs:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | let response = server.server.delete("/metadata/default").await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 787 | [INFO] [stdout] 788 | 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] 786 | let response: /* Type */ = server.server.delete("/metadata/default").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `switchgear-service` (lib test) due to 132 previous errors [INFO] running `Command { std: "docker" "inspect" "7b7abaec8e674b0f9b15287379b80a1a671401a9e2d634ec7a5b108586c83eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7abaec8e674b0f9b15287379b80a1a671401a9e2d634ec7a5b108586c83eb8", kill_on_drop: false }` [INFO] [stdout] 7b7abaec8e674b0f9b15287379b80a1a671401a9e2d634ec7a5b108586c83eb8