[INFO] fetching crate trezoa-address 3.2.3... [INFO] testing trezoa-address-3.2.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate trezoa-address 3.2.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate trezoa-address 3.2.3 [INFO] finished tweaking crates.io crate trezoa-address 3.2.3 [INFO] tweaked toml for crates.io crate trezoa-address 3.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trezoa-address 3.2.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trezoa-address 3.2.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trezoa-program-error v3.2.2 [INFO] [stderr] Downloaded trezoa-sanitize v3.2.2 [INFO] [stderr] Downloaded trezoa-define-syscall v3.2.2 [INFO] [stderr] Downloaded trezoa-atomic-u64 v3.2.2 [INFO] [stderr] Downloaded trezoa-frozen-abi-macro v3.2.2 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded five8_core v1.0.0 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded five8 v1.0.0 [INFO] [stderr] Downloaded trezoa-frozen-abi v3.2.2 [INFO] [stderr] Downloaded trezoa-hash v3.2.3 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded five8_const v1.0.0 [INFO] [stderr] Downloaded trezoa-sha256-hasher v3.2.2 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16b5c1526c00c053f3125b62dbad496b134c2a4e662ab9e3ff688df6c8be57b7 [INFO] running `Command { std: "docker" "start" "-a" "16b5c1526c00c053f3125b62dbad496b134c2a4e662ab9e3ff688df6c8be57b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b5c1526c00c053f3125b62dbad496b134c2a4e662ab9e3ff688df6c8be57b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b5c1526c00c053f3125b62dbad496b134c2a4e662ab9e3ff688df6c8be57b7", kill_on_drop: false }` [INFO] [stdout] 16b5c1526c00c053f3125b62dbad496b134c2a4e662ab9e3ff688df6c8be57b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e30ff11fd2e85d377921247f641b8a4b6d14aa07bce5ef8e34896b2b846b6484 [INFO] running `Command { std: "docker" "start" "-a" "e30ff11fd2e85d377921247f641b8a4b6d14aa07bce5ef8e34896b2b846b6484", kill_on_drop: false }` [INFO] [stderr] Compiling trezoa-address v3.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "e30ff11fd2e85d377921247f641b8a4b6d14aa07bce5ef8e34896b2b846b6484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e30ff11fd2e85d377921247f641b8a4b6d14aa07bce5ef8e34896b2b846b6484", kill_on_drop: false }` [INFO] [stdout] e30ff11fd2e85d377921247f641b8a4b6d14aa07bce5ef8e34896b2b846b6484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ba8395e30bef05bd1e3be8077dc4db505472aaeccea64ba2a6ded9a631a1f6 [INFO] running `Command { std: "docker" "start" "-a" "71ba8395e30bef05bd1e3be8077dc4db505472aaeccea64ba2a6ded9a631a1f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling trezoa-hash v3.2.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling borsh v1.5.5 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling borsh-derive v1.5.5 [INFO] [stderr] Compiling trezoa-program-error v3.2.2 [INFO] [stderr] Compiling trezoa-address v3.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/lib.rs:470:42 [INFO] [stdout] | [INFO] [stdout] 470 | use {super::*, core::str::from_utf8, std::string::String}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` 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 `std` [INFO] [stdout] --> src/lib.rs:674:29 [INFO] [stdout] | [INFO] [stdout] 674 | let mut addresses = std::vec![]; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 28 | extern crate std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `address` in this scope [INFO] [stdout] --> src/lib.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | address!("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq"), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:703:70 [INFO] [stdout] | [INFO] [stdout] 703 | fn address_from_seed_by_marker(marker: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 703 | fn address_from_seed_by_marker(marker: &[u8]) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `five8` [INFO] [stdout] --> src/lib.rs:474:21 [INFO] [stdout] | [INFO] [stdout] 474 | let count = five8::encode_32(address, &mut buffer); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `five8` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `five8`, use `cargo add five8` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_string` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:475:55 [INFO] [stdout] | [INFO] [stdout] 475 | from_utf8(&buffer[..count as usize]).unwrap().to_string() [INFO] [stdout] | ^^^^^^^^^ method not found in `&str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 470 + use alloc::string::ToString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:480:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 480 | assert!(Address::new_unique() != Address::new_unique()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:480:51 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 480 | assert!(Address::new_unique() != Address::new_unique()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:485:32 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 485 | let address = Address::new_unique(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseAddressError` [INFO] [stdout] --> src/lib.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | Err(ParseAddressError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ParseAddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 21 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseAddressError` [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | Err(ParseAddressError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ParseAddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 21 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseAddressError` [INFO] [stdout] --> src/lib.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | Err(ParseAddressError::Invalid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ParseAddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 21 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParseAddressError` [INFO] [stdout] --> src/lib.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | Err(ParseAddressError::WrongSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ParseAddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 21 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:529:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 529 | Address::create_with_seed(&Address::new_unique(), "☉", &Address::new_unique()).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:529:49 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 529 | Address::create_with_seed(&Address::new_unique(), "☉", &Address::new_unique()).is_ok() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:529:78 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 529 | Address::create_with_seed(&Address::new_unique(), "☉", &Address::new_unique()).is_ok() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:532:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 532 | Address::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:533:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 533 | &Address::new_unique(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:535:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 535 | &Address::new_unique() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:537:17 [INFO] [stdout] | [INFO] [stdout] 537 | Err(AddressError::MaxSeedLengthExceeded) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:539:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 539 | assert!(Address::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:540:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 540 | &Address::new_unique(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:544:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 544 | &Address::new_unique() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:549:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 549 | Address::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 550 | &Address::new_unique(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:554:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 554 | &Address::new_unique() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 556 | Err(AddressError::MaxSeedLengthExceeded) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:559:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 559 | assert!(Address::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:560:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 560 | &Address::new_unique(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:562:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 562 | &Address::new_unique(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:567:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 567 | Address::create_with_seed(&Address::new_unique(), "", &Address::new_unique(),).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:567:49 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 567 | Address::create_with_seed(&Address::new_unique(), "", &Address::new_unique(),).is_ok() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:567:77 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 567 | Address::create_with_seed(&Address::new_unique(), "", &Address::new_unique(),).is_ok() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 571 | Address::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:623:35 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 623 | let program_id = Address::from_str("BPFLoaderUpgradeab1e11111111111111111111111").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 623 - let program_id = Address::from_str("BPFLoaderUpgradeab1e11111111111111111111111").unwrap(); [INFO] [stdout] 623 + let program_id = Address::from("BPFLoaderUpgradeab1e11111111111111111111111").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:624:35 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 624 | let public_key = Address::from_str("SeedPubey1111111111111111111111111111111111").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 624 - let public_key = Address::from_str("SeedPubey1111111111111111111111111111111111").unwrap(); [INFO] [stdout] 624 + let public_key = Address::from("SeedPubey1111111111111111111111111111111111").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:627:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 627 | Address::create_program_address(&[exceeded_seed], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | Err(AddressError::MaxSeedLengthExceeded) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:631:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 631 | Address::create_program_address(&[b"short_seed", exceeded_seed], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:631:62 [INFO] [stdout] | [INFO] [stdout] 631 | Address::create_program_address(&[b"short_seed", exceeded_seed], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^ expected an array with a size of 10, found one with a size of 33 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | Err(AddressError::MaxSeedLengthExceeded) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:634:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 634 | assert!(Address::create_program_address(&[max_seed], &program_id).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:636:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 636 | Address::create_program_address(exceeded_seeds, &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 637 | Err(AddressError::MaxSeedLengthExceeded) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:639:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 639 | assert!(Address::create_program_address(max_seeds, &program_id).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:641:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 641 | Address::create_program_address(&[b"", &[1]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:641:52 [INFO] [stdout] | [INFO] [stdout] 641 | Address::create_program_address(&[b"", &[1]], &program_id), [INFO] [stdout] | ^^^^ expected an array with a size of 0, found one with a size of 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:647:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 647 | Address::create_program_address(&["☉".as_ref(), &[0]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: AsRef<[{integer}; 1]>` is not satisfied [INFO] [stdout] --> src/lib.rs:647:51 [INFO] [stdout] | [INFO] [stdout] 647 | Address::create_program_address(&["☉".as_ref(), &[0]], &program_id), [INFO] [stdout] | ^^^^^^ the trait `AsRef<[{integer}; 1]>` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `str` implements `AsRef` [INFO] [stdout] `str` implements `AsRef<[u8]>` [INFO] [stdout] `str` implements `AsRef` [INFO] [stdout] `str` implements `AsRef` [INFO] [stdout] `str` implements `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:653:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 653 | Address::create_program_address(&[b"Talking", b"Squirrels"], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:653:59 [INFO] [stdout] | [INFO] [stdout] 653 | Address::create_program_address(&[b"Talking", b"Squirrels"], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^ expected an array with a size of 7, found one with a size of 9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:659:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 659 | Address::create_program_address(&[public_key.as_ref(), &[1]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:665:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 665 | Address::create_program_address(&[b"Talking", b"Squirrels"], &program_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:665:59 [INFO] [stdout] | [INFO] [stdout] 665 | Address::create_program_address(&[b"Talking", b"Squirrels"], &program_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ expected an array with a size of 7, found one with a size of 9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:666:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 666 | Address::create_program_address(&[b"Talking"], &program_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:676:39 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 676 | let program_id = Address::new_unique(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/lib.rs:677:26 [INFO] [stdout] | [INFO] [stdout] 677 | let bytes1 = rand::random::<[u8; 10]>(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/lib.rs:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | let bytes2 = rand::random::<[u8; 32]>(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:680:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 680 | Address::create_program_address(&[&bytes1, &bytes2], &program_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:682:26 [INFO] [stdout] | [INFO] [stdout] 682 | assert!(!program_address.is_on_curve()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:692:39 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 692 | let program_id = Address::new_unique(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:694:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `find_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 694 | Address::find_program_address(&[b"Lil'", b"Bits"], &program_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:697:26 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 697 | Address::create_program_address(&[b"Lil'", b"Bits", &[bump_seed]], &program_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:697:69 [INFO] [stdout] | [INFO] [stdout] 697 | Address::create_program_address(&[b"Lil'", b"Bits", &[bump_seed]], &program_id) [INFO] [stdout] | ^^^^^^^^^^^^ expected an array with a size of 4, found one with a size of 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unique` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:704:28 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 704 | let key = Address::new_unique(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:713:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 713 | Address::create_with_seed(&key, seed, base) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressError` [INFO] [stdout] --> src/lib.rs:720:17 [INFO] [stdout] | [INFO] [stdout] 720 | Err(AddressError::IllegalOwner) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 19 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:744:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 744 | Address::from_str("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_str`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `FromStr` [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 744 - Address::from_str("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq").unwrap(), [INFO] [stdout] 744 + Address::from("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str_const` found for struct `Address` in the current scope [INFO] [stdout] --> src/lib.rs:738:22 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str_const` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 738 | Address::from_str_const("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq"); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Address` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Address`, consider using `Address::new_from_array` which returns `Address` [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trezoa-address` (lib test) due to 69 previous errors [INFO] running `Command { std: "docker" "inspect" "71ba8395e30bef05bd1e3be8077dc4db505472aaeccea64ba2a6ded9a631a1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ba8395e30bef05bd1e3be8077dc4db505472aaeccea64ba2a6ded9a631a1f6", kill_on_drop: false }` [INFO] [stdout] 71ba8395e30bef05bd1e3be8077dc4db505472aaeccea64ba2a6ded9a631a1f6