[INFO] cloning repository https://github.com/deannahernandez130033/nostr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deannahernandez130033/nostr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeannahernandez130033%2Fnostr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeannahernandez130033%2Fnostr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b43306f0873463f3e794d8d2e3172fe9978e7e2 [INFO] checking deannahernandez130033/nostr against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeannahernandez130033%2Fnostr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/deannahernandez130033/nostr [INFO] finished tweaking git repo https://github.com/deannahernandez130033/nostr [INFO] tweaked toml for git repo https://github.com/deannahernandez130033/nostr written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deannahernandez130033/nostr on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deannahernandez130033/nostr 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b815791182d78ecfb0df3f2e6dc544458d60241453177306608cfb0b420a9f91 [INFO] running `Command { std: "docker" "start" "-a" "b815791182d78ecfb0df3f2e6dc544458d60241453177306608cfb0b420a9f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b815791182d78ecfb0df3f2e6dc544458d60241453177306608cfb0b420a9f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b815791182d78ecfb0df3f2e6dc544458d60241453177306608cfb0b420a9f91", kill_on_drop: false }` [INFO] [stdout] b815791182d78ecfb0df3f2e6dc544458d60241453177306608cfb0b420a9f91 [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=forbid -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94c0f6c99de39aa3dd1b5f5f43a0bd135b663629a5d059a824ffdd40bd70824e [INFO] running `Command { std: "docker" "start" "-a" "94c0f6c99de39aa3dd1b5f5f43a0bd135b663629a5d059a824ffdd40bd70824e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling thiserror v2.0.8 [INFO] [stderr] Checking lru v0.16.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking atomic-destructor v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking negentropy v0.5.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling flatbuffers v25.2.10 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling thiserror-impl v2.0.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking tungstenite v0.26.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling doxygen-rs v0.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling lmdb-master-sys v0.2.4 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking heed-traits v0.20.0 [INFO] [stderr] Checking heed-types v0.20.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking async-utility v0.3.1 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking tokio-tungstenite v0.26.1 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking async-wsocket v0.13.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking heed v0.20.5 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling macroific_core v1.0.2 [INFO] [stderr] Compiling macroific_attr_parse v1.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking nostr v0.43.0 (/opt/rustwide/workdir/crates/nostr) [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling macroific_macro v1.1.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling macroific v1.3.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking linux-keyutils v0.2.4 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking webbrowser v1.0.4 [INFO] [stderr] Compiling fancy_constructor v1.3.0 [INFO] [stderr] Compiling accessory v1.3.1 [INFO] [stderr] Compiling delegate-display v2.1.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking dbus-secret-service v4.0.3 [INFO] [stderr] Compiling nostrdb v0.8.0 [INFO] [stderr] Checking keyring v3.6.2 [INFO] [stdout] warning: enum `EventKey` is never used [INFO] [stdout] --> crates/nostr/src/event/mod.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | enum EventKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/mod.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn coordinate(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn coordinate(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/tag/mod.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn kind(&self) -> TagKind { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn kind(&self) -> TagKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/tag/standard.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn kind(&self) -> TagKind { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 601 | pub fn kind(&self) -> TagKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | fn backend(&self) -> SignerBackend { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | fn backend(&self) -> SignerBackend<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | fn get_public_key(&self) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | fn get_public_key(&self) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | Nip19::Secret(sec) => Ok(sec.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | Nip19::Secret(sec) => Ok(sec.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | Nip19::Pubkey(pubkey) => Ok(pubkey.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | Nip19::Pubkey(pubkey) => Ok(pubkey.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | Nip19::EventId(event_id) => Ok(event_id.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | Nip19::EventId(event_id) => Ok(event_id.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:302:54 [INFO] [stdout] | [INFO] [stdout] 302 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 303 | | Ok( [INFO] [stdout] 304 | | bech32::encode::(HRP_SECRET_KEY, self.as_secret_bytes()) [INFO] [stdout] 305 | | .expect("Less than 1023"), [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | / Ok( [INFO] [stdout] 304 | | bech32::encode::(HRP_SECRET_KEY, self.as_secret_bytes()) [INFO] [stdout] 305 | | .expect("Less than 1023"), [INFO] [stdout] 306 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:354:54 [INFO] [stdout] | [INFO] [stdout] 354 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 355 | | Ok(bech32::encode::(HRP_PUBLIC_KEY, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(bech32::encode::(HRP_PUBLIC_KEY, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:376:54 [INFO] [stdout] | [INFO] [stdout] 376 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 377 | | Ok(bech32::encode::(HRP_NOTE_ID, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] 378 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | Ok(bech32::encode::(HRP_NOTE_ID, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | Self::Pubkey(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | Self::Pubkey(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Self::EventId(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Self::EventId(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn extract_root(event: &Event) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn extract_root(event: &Event) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn extract_parent(event: &Event) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn extract_parent(event: &Event) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | fn extract_data(event: &Event, is_root: bool) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | fn extract_data(event: &Event, is_root: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | fn backend(&self) -> SignerBackend; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | fn backend(&self) -> SignerBackend<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_public_key(&self) -> BoxedFuture>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn get_public_key(&self) -> BoxedFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn backend(&self) -> SignerBackend { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn backend(&self) -> SignerBackend<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_public_key(&self) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn get_public_key(&self) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:256:58 [INFO] [stdout] | [INFO] [stdout] 256 | fn try_into_url(self) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 257 | | Ok(self) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:265:58 [INFO] [stdout] | [INFO] [stdout] 265 | fn try_into_url(self) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 266 | | Ok(self.clone()) [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(self.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr` (lib) due to 20 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `EventKey` is never used [INFO] [stdout] --> crates/nostr/src/event/mod.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | enum EventKey { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/mod.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn coordinate(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 261 | pub fn coordinate(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/tag/mod.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn kind(&self) -> TagKind { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn kind(&self) -> TagKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/event/tag/standard.rs:601:17 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn kind(&self) -> TagKind { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 601 | pub fn kind(&self) -> TagKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | fn backend(&self) -> SignerBackend { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | fn backend(&self) -> SignerBackend<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | fn get_public_key(&self) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | fn get_public_key(&self) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/key/mod.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | Nip19::Secret(sec) => Ok(sec.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | Nip19::Secret(sec) => Ok(sec.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | Nip19::Pubkey(pubkey) => Ok(pubkey.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | Nip19::Pubkey(pubkey) => Ok(pubkey.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | Nip19::EventId(event_id) => Ok(event_id.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | Nip19::EventId(event_id) => Ok(event_id.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:302:54 [INFO] [stdout] | [INFO] [stdout] 302 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 303 | | Ok( [INFO] [stdout] 304 | | bech32::encode::(HRP_SECRET_KEY, self.as_secret_bytes()) [INFO] [stdout] 305 | | .expect("Less than 1023"), [INFO] [stdout] 306 | | ) [INFO] [stdout] 307 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | / Ok( [INFO] [stdout] 304 | | bech32::encode::(HRP_SECRET_KEY, self.as_secret_bytes()) [INFO] [stdout] 305 | | .expect("Less than 1023"), [INFO] [stdout] 306 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:354:54 [INFO] [stdout] | [INFO] [stdout] 354 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 355 | | Ok(bech32::encode::(HRP_PUBLIC_KEY, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] 356 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(bech32::encode::(HRP_PUBLIC_KEY, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:376:54 [INFO] [stdout] | [INFO] [stdout] 376 | fn to_bech32(&self) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 377 | | Ok(bech32::encode::(HRP_NOTE_ID, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] 378 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | Ok(bech32::encode::(HRP_NOTE_ID, self.as_bytes()).expect("Less than 1023")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | public_key.to_bech32().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | secret_key.to_bech32().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip19.rs:825:13 [INFO] [stdout] | [INFO] [stdout] 825 | event_id.to_bech32().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | Self::Pubkey(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | Self::Pubkey(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Self::EventId(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/nips/nip21.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Self::EventId(val) => Ok(val.to_bech32()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn extract_root(event: &Event) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn extract_root(event: &Event) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn extract_parent(event: &Event) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn extract_parent(event: &Event) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/nips/nip22.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | fn extract_data(event: &Event, is_root: bool) -> Option { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | fn extract_data(event: &Event, is_root: bool) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | fn backend(&self) -> SignerBackend; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | fn backend(&self) -> SignerBackend<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_public_key(&self) -> BoxedFuture>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn get_public_key(&self) -> BoxedFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn backend(&self) -> SignerBackend { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn backend(&self) -> SignerBackend<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_public_key(&self) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn get_public_key(&self) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/nostr/src/signer.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn sign_event(&self, unsigned: UnsignedEvent) -> BoxedFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:256:58 [INFO] [stdout] | [INFO] [stdout] 256 | fn try_into_url(self) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 257 | | Ok(self) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:265:58 [INFO] [stdout] | [INFO] [stdout] 265 | fn try_into_url(self) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 266 | | Ok(self.clone()) [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> crates/nostr/src/types/url.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(self.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr` (lib test) due to 23 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94c0f6c99de39aa3dd1b5f5f43a0bd135b663629a5d059a824ffdd40bd70824e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c0f6c99de39aa3dd1b5f5f43a0bd135b663629a5d059a824ffdd40bd70824e", kill_on_drop: false }` [INFO] [stdout] 94c0f6c99de39aa3dd1b5f5f43a0bd135b663629a5d059a824ffdd40bd70824e