[INFO] fetching crate nostr-sdk-base 0.2.0... [INFO] testing nostr-sdk-base-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate nostr-sdk-base 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate nostr-sdk-base 0.2.0 [INFO] finished tweaking crates.io crate nostr-sdk-base 0.2.0 [INFO] tweaked toml for crates.io crate nostr-sdk-base 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nostr-sdk-base 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nostr-sdk-base 0.2.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3a9c86dfe71ca8146f8c80e6e729fb4118cf1bfd6a791ed400966704c23671 [INFO] running `Command { std: "docker" "start" "-a" "1b3a9c86dfe71ca8146f8c80e6e729fb4118cf1bfd6a791ed400966704c23671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3a9c86dfe71ca8146f8c80e6e729fb4118cf1bfd6a791ed400966704c23671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3a9c86dfe71ca8146f8c80e6e729fb4118cf1bfd6a791ed400966704c23671", kill_on_drop: false }` [INFO] [stdout] 1b3a9c86dfe71ca8146f8c80e6e729fb4118cf1bfd6a791ed400966704c23671 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 25b4ab5f4eb6d2cdac86ee78078080a70986716b207138bf3a0c364ed2076a7d [INFO] running `Command { std: "docker" "start" "-a" "25b4ab5f4eb6d2cdac86ee78078080a70986716b207138bf3a0c364ed2076a7d", kill_on_drop: false }` [INFO] [stderr] Compiling nostr-sdk-base v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "25b4ab5f4eb6d2cdac86ee78078080a70986716b207138bf3a0c364ed2076a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b4ab5f4eb6d2cdac86ee78078080a70986716b207138bf3a0c364ed2076a7d", kill_on_drop: false }` [INFO] [stdout] 25b4ab5f4eb6d2cdac86ee78078080a70986716b207138bf3a0c364ed2076a7d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7d36f6d414a1575d6a95d4b48ad9ce3a9a691e198c759dc07966c06346c00e0a [INFO] running `Command { std: "docker" "start" "-a" "7d36f6d414a1575d6a95d4b48ad9ce3a9a691e198c759dc07966c06346c00e0a", kill_on_drop: false }` [INFO] [stderr] Compiling nostr-sdk-base v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `nostr_sdk_base::key` [INFO] [stdout] --> examples/keys.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use nostr_sdk_base::key::{FromBech32, Keys}; [INFO] [stdout] | ^^^ could not find `key` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `util` in `nostr_sdk_base` [INFO] [stdout] --> examples/dm.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use nostr_sdk_base::util::nip04::decrypt; [INFO] [stdout] | ^^^^ could not find `util` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin_hashes` [INFO] [stdout] --> examples/bip340.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin_hashes::hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitcoin_hashes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_hashes`, use `cargo add bitcoin_hashes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] --> examples/bip340.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use secp256k1::schnorr::Signature; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin_hashes` [INFO] [stdout] --> examples/bip340.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bitcoin_hashes::sha256; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitcoin_hashes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_hashes`, use `cargo add bitcoin_hashes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> examples/bip340.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use secp256k1::{KeyPair, Message, Secp256k1, XOnlyPublicKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "keys") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `nostr_sdk_base::event` [INFO] [stdout] --> examples/tweet.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use nostr_sdk_base::event::{Kind, KindBase}; [INFO] [stdout] | ^^^^^ could not find `event` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nostr_sdk_base::ClientMessage`, `nostr_sdk_base::Event`, `nostr_sdk_base::Keys`, `nostr_sdk_base::RelayMessage`, `nostr_sdk_base::SubscriptionFilter` [INFO] [stdout] --> examples/tweet.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use nostr_sdk_base::{ClientMessage, Event, Keys, RelayMessage, SubscriptionFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `SubscriptionFilter` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `RelayMessage` in the root [INFO] [stdout] | | | no `Keys` in the root [INFO] [stdout] | | no `Event` in the root [INFO] [stdout] | no `ClientMessage` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::collections::btree_map::Keys [INFO] [stdout] std::collections::hash_map::Keys [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> examples/tweet.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/tweet.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tungstenite::{connect, Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/tweet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nostr_sdk_base::event` [INFO] [stdout] --> examples/dm.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use nostr_sdk_base::event::KindBase; [INFO] [stdout] | ^^^^^ could not find `event` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bitcoin_hashes` [INFO] [stdout] --> examples/delete_event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitcoin_hashes::sha256::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bitcoin_hashes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bitcoin_hashes`, use `cargo add bitcoin_hashes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `csv` [INFO] [stdout] --> examples/bip340.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let mut rdr = csv::Reader::from_path("examples/bip340.csv")?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `csv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `csv`, use `cargo add csv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/bip340.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/tweet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/tweet.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nostr_sdk_base::ClientMessage`, `nostr_sdk_base::Event`, `nostr_sdk_base::Keys`, `nostr_sdk_base::Kind`, `nostr_sdk_base::RelayMessage`, `nostr_sdk_base::SubscriptionFilter` [INFO] [stdout] --> examples/dm.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use nostr_sdk_base::{ClientMessage, Event, Keys, Kind, RelayMessage, SubscriptionFilter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `SubscriptionFilter` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `RelayMessage` in the root [INFO] [stdout] | | | | no `Kind` in the root [INFO] [stdout] | | | no `Keys` in the root [INFO] [stdout] | | no `Event` in the root [INFO] [stdout] | no `ClientMessage` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::collections::btree_map::Keys [INFO] [stdout] std::collections::hash_map::Keys [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/dm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tungstenite::{connect, Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/dm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nostr_sdk_base::key` [INFO] [stdout] --> examples/delete_event.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use nostr_sdk_base::key::{FromBech32, Keys}; [INFO] [stdout] | ^^^ could not find `key` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nostr_sdk_base::ClientMessage`, `nostr_sdk_base::Event` [INFO] [stdout] --> examples/delete_event.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use nostr_sdk_base::{ClientMessage, Event}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ no `Event` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ClientMessage` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/delete_event.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tungstenite::{connect, Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/delete_event.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/delete_event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nostr_sdk_base::Event`, `nostr_sdk_base::Keys` [INFO] [stdout] --> examples/nip13.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use nostr_sdk_base::{Event, Keys}; [INFO] [stdout] | ^^^^^ ^^^^ no `Keys` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Event` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::collections::btree_map::Keys [INFO] [stdout] std::collections::hash_map::Keys [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/dm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/delete_event.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nostr_sdk_base::key` [INFO] [stdout] --> examples/set_metadata.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use nostr_sdk_base::key::{FromBech32, Keys}; [INFO] [stdout] | ^^^ could not find `key` in `nostr_sdk_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/dm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> examples/nip13.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `nostr_sdk_base::ClientMessage`, `nostr_sdk_base::Event` [INFO] [stdout] --> examples/set_metadata.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use nostr_sdk_base::{ClientMessage, Event}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ no `Event` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ClientMessage` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tungstenite` [INFO] [stdout] --> examples/set_metadata.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tungstenite::{connect, Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> examples/set_metadata.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use url::Url; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/set_metadata.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "bip340") due to 5 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "tweet") due to 6 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/nip13.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "delete_event") due to 6 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "set_metadata") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> examples/nip13.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "dm") due to 6 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nostr-sdk-base` (example "nip13") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7d36f6d414a1575d6a95d4b48ad9ce3a9a691e198c759dc07966c06346c00e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d36f6d414a1575d6a95d4b48ad9ce3a9a691e198c759dc07966c06346c00e0a", kill_on_drop: false }` [INFO] [stdout] 7d36f6d414a1575d6a95d4b48ad9ce3a9a691e198c759dc07966c06346c00e0a