[INFO] fetching crate lnbits_rust 0.2.1... [INFO] testing lnbits_rust-0.2.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate lnbits_rust 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lnbits_rust 0.2.1 [INFO] finished tweaking crates.io crate lnbits_rust 0.2.1 [INFO] tweaked toml for crates.io crate lnbits_rust 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lnbits_rust 0.2.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 251af1a0829df8a84e76afd9ce33e1fcc6589d71042e09e92478fd09d444adbf [INFO] running `Command { std: "docker" "start" "-a" "251af1a0829df8a84e76afd9ce33e1fcc6589d71042e09e92478fd09d444adbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "251af1a0829df8a84e76afd9ce33e1fcc6589d71042e09e92478fd09d444adbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251af1a0829df8a84e76afd9ce33e1fcc6589d71042e09e92478fd09d444adbf", kill_on_drop: false }` [INFO] [stdout] 251af1a0829df8a84e76afd9ce33e1fcc6589d71042e09e92478fd09d444adbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cb2a4b28351a14fdaf4584eb6b03d71a25e494d5f28e92d4eb466b0bdc56a96 [INFO] running `Command { std: "docker" "start" "-a" "4cb2a4b28351a14fdaf4584eb6b03d71a25e494d5f28e92d4eb466b0bdc56a96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lnbits_rust v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "4cb2a4b28351a14fdaf4584eb6b03d71a25e494d5f28e92d4eb466b0bdc56a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb2a4b28351a14fdaf4584eb6b03d71a25e494d5f28e92d4eb466b0bdc56a96", kill_on_drop: false }` [INFO] [stdout] 4cb2a4b28351a14fdaf4584eb6b03d71a25e494d5f28e92d4eb466b0bdc56a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6972363b34433570c5d23bf5a6a09b7eaf6f069698c052ca60a841eeffd4b89 [INFO] running `Command { std: "docker" "start" "-a" "a6972363b34433570c5d23bf5a6a09b7eaf6f069698c052ca60a841eeffd4b89", kill_on_drop: false }` [INFO] [stderr] Compiling lnbits_rust v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "a6972363b34433570c5d23bf5a6a09b7eaf6f069698c052ca60a841eeffd4b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6972363b34433570c5d23bf5a6a09b7eaf6f069698c052ca60a841eeffd4b89", kill_on_drop: false }` [INFO] [stdout] a6972363b34433570c5d23bf5a6a09b7eaf6f069698c052ca60a841eeffd4b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a35f4552604cb01245db25f7adf14e04d2ad5613f2d91eec7bf21a7ab473926 [INFO] running `Command { std: "docker" "start" "-a" "9a35f4552604cb01245db25f7adf14e04d2ad5613f2d91eec7bf21a7ab473926", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lnbits_rust-c580010b36481bdc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lnbits_rust [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/api/invoice.rs - api::invoice::crate::LNBitsClient::create_invoice (line 43) ... FAILED [INFO] [stdout] test src/api/invoice.rs - api::invoice::crate::LNBitsClient::pay_invoice (line 102) ... FAILED [INFO] [stdout] test src/lib.rs - LNBitsClient::new (line 44) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api/invoice.rs - api::invoice::crate::LNBitsClient::create_invoice (line 43) stdout ---- [INFO] [stdout] error: environment variable `WALLET_1_ID` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 10 | env!("WALLET_1_ID"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_1_ADMIN_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 11 | env!("WALLET_1_ADMIN_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_ADMIN_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_1_INVOICE_READ_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 12 | env!("WALLET_1_INVOICE_READ_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_INVOICE_READ_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_URL` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 13 | env!("LNBITS_URL"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_TOR_SOCKET` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 14 | Some(env!("LNBITS_TOR_SOCKET")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_TOR_SOCKET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/invoice.rs - api::invoice::crate::LNBitsClient::pay_invoice (line 102) stdout ---- [INFO] [stdout] error: environment variable `WALLET_1_ID` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 10 | env!("WALLET_1_ID"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_1_ADMIN_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 11 | env!("WALLET_1_ADMIN_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_ADMIN_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_1_INVOICE_READ_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 12 | env!("WALLET_1_INVOICE_READ_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_1_INVOICE_READ_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_URL` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 13 | env!("LNBITS_URL"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_TOR_SOCKET` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 14 | Some(env!("LNBITS_TOR_SOCKET")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_TOR_SOCKET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_2_ID` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 18 | env!("WALLET_2_ID"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_2_ID")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_2_ADMIN_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 19 | env!("WALLET_2_ADMIN_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_2_ADMIN_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `WALLET_2_INVOICE_READ_KEY` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 20 | env!("WALLET_2_INVOICE_READ_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("WALLET_2_INVOICE_READ_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_URL` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 21 | env!("LNBITS_URL"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_URL")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: environment variable `LNBITS_TOR_SOCKET` not defined at compile time [INFO] [stdout] --> src/api/invoice.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 22 | Some(env!("LNBITS_TOR_SOCKET")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("LNBITS_TOR_SOCKET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api/invoice.rs - api::invoice::crate::LNBitsClient::create_invoice (line 43) [INFO] [stdout] src/api/invoice.rs - api::invoice::crate::LNBitsClient::pay_invoice (line 102) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9a35f4552604cb01245db25f7adf14e04d2ad5613f2d91eec7bf21a7ab473926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a35f4552604cb01245db25f7adf14e04d2ad5613f2d91eec7bf21a7ab473926", kill_on_drop: false }` [INFO] [stdout] 9a35f4552604cb01245db25f7adf14e04d2ad5613f2d91eec7bf21a7ab473926