[INFO] fetching crate lnbits_rust 0.2.1...
[INFO] testing lnbits_rust-0.2.1 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate lnbits_rust 0.2.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate lnbits_rust 0.2.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c9e27509b94db7bc4a61a2d83de4265711d1165061e349884af2084781ac664
[INFO] running `Command { std: "docker" "start" "-a" "5c9e27509b94db7bc4a61a2d83de4265711d1165061e349884af2084781ac664", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c9e27509b94db7bc4a61a2d83de4265711d1165061e349884af2084781ac664", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c9e27509b94db7bc4a61a2d83de4265711d1165061e349884af2084781ac664", kill_on_drop: false }`
[INFO] [stdout] 5c9e27509b94db7bc4a61a2d83de4265711d1165061e349884af2084781ac664
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6742c4a3d9459b5aa5558209a82c82dcbf90e1ddab7e4ff7c50d4640a1264e53
[INFO] running `Command { std: "docker" "start" "-a" "6742c4a3d9459b5aa5558209a82c82dcbf90e1ddab7e4ff7c50d4640a1264e53", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-socks v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling hyper v0.14.31
[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 20.22s
[INFO] running `Command { std: "docker" "inspect" "6742c4a3d9459b5aa5558209a82c82dcbf90e1ddab7e4ff7c50d4640a1264e53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6742c4a3d9459b5aa5558209a82c82dcbf90e1ddab7e4ff7c50d4640a1264e53", kill_on_drop: false }`
[INFO] [stdout] 6742c4a3d9459b5aa5558209a82c82dcbf90e1ddab7e4ff7c50d4640a1264e53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e82f5344ed783e6eedfad310daf0b0fb17be591aeb53e69fe119382c51e3e43
[INFO] running `Command { std: "docker" "start" "-a" "7e82f5344ed783e6eedfad310daf0b0fb17be591aeb53e69fe119382c51e3e43", 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.60s
[INFO] running `Command { std: "docker" "inspect" "7e82f5344ed783e6eedfad310daf0b0fb17be591aeb53e69fe119382c51e3e43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e82f5344ed783e6eedfad310daf0b0fb17be591aeb53e69fe119382c51e3e43", kill_on_drop: false }`
[INFO] [stdout] 7e82f5344ed783e6eedfad310daf0b0fb17be591aeb53e69fe119382c51e3e43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b5aa960ee9fcb2b725280119c2e12c0bc836257feefec5f0b420beaf33abc52e
[INFO] running `Command { std: "docker" "start" "-a" "b5aa960ee9fcb2b725280119c2e12c0bc836257feefec5f0b420beaf33abc52e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lnbits_rust-5479fe4fbdae47d3)
[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::pay_invoice (line 102) ... FAILED
[INFO] [stdout] test src/api/invoice.rs - api::invoice::crate::LNBitsClient::create_invoice (line 43) ... 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::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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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.45s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b5aa960ee9fcb2b725280119c2e12c0bc836257feefec5f0b420beaf33abc52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5aa960ee9fcb2b725280119c2e12c0bc836257feefec5f0b420beaf33abc52e", kill_on_drop: false }`
[INFO] [stdout] b5aa960ee9fcb2b725280119c2e12c0bc836257feefec5f0b420beaf33abc52e
