[INFO] fetching crate solana-address 1.0.0...
[INFO] testing solana-address-1.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1
[INFO] extracting crate solana-address 1.0.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate solana-address 1.0.0
[INFO] finished tweaking crates.io crate solana-address 1.0.0
[INFO] tweaked toml for crates.io crate solana-address 1.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate solana-address 1.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate solana-address 1.0.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e162dd4be7a9d3b622a7dbb4253104a3a4bb02cacf37edafe521bd1a9ed30f4
[INFO] running `Command { std: "docker" "start" "-a" "9e162dd4be7a9d3b622a7dbb4253104a3a4bb02cacf37edafe521bd1a9ed30f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e162dd4be7a9d3b622a7dbb4253104a3a4bb02cacf37edafe521bd1a9ed30f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e162dd4be7a9d3b622a7dbb4253104a3a4bb02cacf37edafe521bd1a9ed30f4", kill_on_drop: false }`
[INFO] [stdout] 9e162dd4be7a9d3b622a7dbb4253104a3a4bb02cacf37edafe521bd1a9ed30f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48e3e1d2e5d3ad66d5746d4d92b7ab1b35e26acaf6e14093066955174e84f1d4
[INFO] running `Command { std: "docker" "start" "-a" "48e3e1d2e5d3ad66d5746d4d92b7ab1b35e26acaf6e14093066955174e84f1d4", kill_on_drop: false }`
[INFO] [stderr] Compiling solana-address v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "48e3e1d2e5d3ad66d5746d4d92b7ab1b35e26acaf6e14093066955174e84f1d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48e3e1d2e5d3ad66d5746d4d92b7ab1b35e26acaf6e14093066955174e84f1d4", kill_on_drop: false }`
[INFO] [stdout] 48e3e1d2e5d3ad66d5746d4d92b7ab1b35e26acaf6e14093066955174e84f1d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d76f01ac13bc38c485c73e35c08f58fddeaab11f9124d63dd1ec7c53ad633b7
[INFO] running `Command { std: "docker" "start" "-a" "7d76f01ac13bc38c485c73e35c08f58fddeaab11f9124d63dd1ec7c53ad633b7", kill_on_drop: false }`
[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 syn v2.0.98
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Compiling five8_core v0.1.1
[INFO] [stderr] Compiling solana-sanitize v3.0.0
[INFO] [stderr] Compiling solana-atomic-u64 v3.0.0
[INFO] [stderr] Compiling strum v0.24.1
[INFO] [stderr] Compiling borsh v1.5.5
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling five8 v0.2.1
[INFO] [stderr] Compiling solana-hash v3.0.0
[INFO] [stderr] Compiling indexmap v2.7.1
[INFO] [stderr] Compiling strum_macros v0.24.3
[INFO] [stderr] Compiling toml_edit v0.22.27
[INFO] [stderr] Compiling proc-macro-crate v3.2.0
[INFO] [stderr] Compiling borsh-derive v1.5.5
[INFO] [stderr] Compiling solana-program-error v3.0.0
[INFO] [stderr] Compiling solana-address v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std`
[INFO] [stdout] --> src/lib.rs:334:42
[INFO] [stdout] |
[INFO] [stdout] 334 | 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:538:29
[INFO] [stdout] |
[INFO] [stdout] 538 | 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:26:14
[INFO] [stdout] |
[INFO] [stdout] 25 | #[cfg(feature = "std")]
[INFO] [stdout] | --------------- the item is gated behind the `std` feature
[INFO] [stdout] 26 | extern crate std;
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `AddressError` in this scope
[INFO] [stdout] --> src/lib.rs:567:70
[INFO] [stdout] |
[INFO] [stdout] 567 | 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] 567 | fn address_from_seed_by_marker(marker: &[u8]) -> Result {
[INFO] [stdout] | ++++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `PDA_MARKER` in this scope
[INFO] [stdout] --> src/lib.rs:583:41
[INFO] [stdout] |
[INFO] [stdout] 583 | address_from_seed_by_marker(PDA_MARKER),
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout] --> src/lib.rs:59:7
[INFO] [stdout] |
[INFO] [stdout] 58 | #[cfg(feature = "sha2")]
[INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature
[INFO] [stdout] 59 | const PDA_MARKER: &[u8; 21] = b"ProgramDerivedAddress";
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `PDA_MARKER` in this scope
[INFO] [stdout] --> src/lib.rs:586:46
[INFO] [stdout] |
[INFO] [stdout] 586 | assert!(address_from_seed_by_marker(&PDA_MARKER[1..]).is_ok());
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout] --> src/lib.rs:59:7
[INFO] [stdout] |
[INFO] [stdout] 58 | #[cfg(feature = "sha2")]
[INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature
[INFO] [stdout] 59 | const PDA_MARKER: &[u8; 21] = b"ProgramDerivedAddress";
[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:338:21
[INFO] [stdout] |
[INFO] [stdout] 338 | 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:339:55
[INFO] [stdout] |
[INFO] [stdout] 339 | 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] 334 + 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:344:26
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 344 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:344:51
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 344 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:349:32
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 349 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:357:17
[INFO] [stdout] |
[INFO] [stdout] 357 | 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:366:17
[INFO] [stdout] |
[INFO] [stdout] 366 | 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:376:17
[INFO] [stdout] |
[INFO] [stdout] 376 | 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:386:17
[INFO] [stdout] |
[INFO] [stdout] 386 | 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:393:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 393 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:393:49
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 393 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:393:78
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 393 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:396:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 396 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:397:27
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 397 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:399:27
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 399 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:401:17
[INFO] [stdout] |
[INFO] [stdout] 401 | 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:403:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 403 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:404:23
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 404 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:408:23
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 408 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:413:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 413 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:414:27
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 414 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:418:27
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 418 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:420:17
[INFO] [stdout] |
[INFO] [stdout] 420 | 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:423:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 423 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:424:23
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 424 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:426:23
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 426 | &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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:431:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 431 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:431:49
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 431 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:431:77
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 431 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:435:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 435 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:487:35
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 487 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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] 487 - let program_id = Address::from_str("BPFLoaderUpgradeab1e11111111111111111111111").unwrap();
[INFO] [stdout] 487 + 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:488:35
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 488 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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] 488 - let public_key = Address::from_str("SeedPubey1111111111111111111111111111111111").unwrap();
[INFO] [stdout] 488 + 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:491:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 491 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:492:17
[INFO] [stdout] |
[INFO] [stdout] 492 | 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:495:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 495 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:495:62
[INFO] [stdout] |
[INFO] [stdout] 495 | 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:496:17
[INFO] [stdout] |
[INFO] [stdout] 496 | 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:498:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 498 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:500:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 500 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:501:17
[INFO] [stdout] |
[INFO] [stdout] 501 | 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:503:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 503 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:505:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 505 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:505:52
[INFO] [stdout] |
[INFO] [stdout] 505 | 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:511:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 511 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:511:51
[INFO] [stdout] |
[INFO] [stdout] 511 | 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:517:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 517 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:517:59
[INFO] [stdout] |
[INFO] [stdout] 517 | 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:523:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 523 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:529:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 529 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:529:59
[INFO] [stdout] |
[INFO] [stdout] 529 | 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:530:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 530 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:39
[INFO] [stdout] |
[INFO] [stdout] 87 | 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 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:541:26
[INFO] [stdout] |
[INFO] [stdout] 541 | 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:542:26
[INFO] [stdout] |
[INFO] [stdout] 542 | 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:544:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 544 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:556:39
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 556 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:558:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 558 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:561:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 561 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:561:69
[INFO] [stdout] |
[INFO] [stdout] 561 | 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:568:28
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 568 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:577:18
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 577 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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:584:17
[INFO] [stdout] |
[INFO] [stdout] 584 | 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_const` found for struct `Address` in the current scope
[INFO] [stdout] --> src/lib.rs:328:26
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 328 | $crate::Address::from_str_const($input)
[INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Address`
[INFO] [stdout] ...
[INFO] [stdout] 604 | address!("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq"),
[INFO] [stdout] | -------------------------------------------------------- in this macro invocation
[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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | pub const fn new_from_array(address_array: [u8; 32]) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: this error originates in the macro `address` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:608:22
[INFO] [stdout] |
[INFO] [stdout] 87 | pub struct Address(pub(crate) [u8; 32]);
[INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 608 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | 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] 608 - Address::from_str("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq").unwrap(),
[INFO] [stdout] 608 + 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:602:22
[INFO] [stdout] |
[INFO] [stdout] 87 | 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] 602 | 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:183:5
[INFO] [stdout] |
[INFO] [stdout] 183 | pub const fn new_from_array(address_array: [u8; 32]) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `solana-address` (lib test) due to 70 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0433, E0599.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "7d76f01ac13bc38c485c73e35c08f58fddeaab11f9124d63dd1ec7c53ad633b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d76f01ac13bc38c485c73e35c08f58fddeaab11f9124d63dd1ec7c53ad633b7", kill_on_drop: false }`
[INFO] [stdout] 7d76f01ac13bc38c485c73e35c08f58fddeaab11f9124d63dd1ec7c53ad633b7