[INFO] fetching crate solana-address 2.6.0... [INFO] testing solana-address-2.6.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate solana-address 2.6.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate solana-address 2.6.0 [INFO] finished tweaking crates.io crate solana-address 2.6.0 [INFO] tweaked toml for crates.io crate solana-address 2.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-address 2.6.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-address 2.6.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wincode-derive v0.4.3 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded solana-atomic-u64 v3.0.1 [INFO] [stderr] Downloaded solana-program-error v3.0.1 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded solana-nullable v1.1.0 [INFO] [stderr] Downloaded archery v1.2.1 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded imbl-sized-chunks v0.1.3 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded wincode v0.5.0 [INFO] [stderr] Downloaded bytemuck v1.23.0 [INFO] [stderr] Downloaded boxcar v0.2.12 [INFO] [stderr] Downloaded bitmaps v3.2.1 [INFO] [stderr] Downloaded solana-frozen-abi v3.2.2 [INFO] [stderr] Downloaded imbl v6.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb9f7fb822b8cd9f2c96ec7b34ef6eb8ef1b8a14eae4aba06e98a81a3ac4f0dd [INFO] running `Command { std: "docker" "start" "-a" "bb9f7fb822b8cd9f2c96ec7b34ef6eb8ef1b8a14eae4aba06e98a81a3ac4f0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9f7fb822b8cd9f2c96ec7b34ef6eb8ef1b8a14eae4aba06e98a81a3ac4f0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9f7fb822b8cd9f2c96ec7b34ef6eb8ef1b8a14eae4aba06e98a81a3ac4f0dd", kill_on_drop: false }` [INFO] [stdout] bb9f7fb822b8cd9f2c96ec7b34ef6eb8ef1b8a14eae4aba06e98a81a3ac4f0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c62a76c828372c8fa5751b621a77d1679a851892cd0150bc71c166c5603972de [INFO] running `Command { std: "docker" "start" "-a" "c62a76c828372c8fa5751b621a77d1679a851892cd0150bc71c166c5603972de", kill_on_drop: false }` [INFO] [stderr] Compiling solana-address v2.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "c62a76c828372c8fa5751b621a77d1679a851892cd0150bc71c166c5603972de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62a76c828372c8fa5751b621a77d1679a851892cd0150bc71c166c5603972de", kill_on_drop: false }` [INFO] [stdout] c62a76c828372c8fa5751b621a77d1679a851892cd0150bc71c166c5603972de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bfde4dc31837a20b48e9ca37577ac0eab33b5dd5fdf2bfa992f0631ea05791f [INFO] running `Command { std: "docker" "start" "-a" "2bfde4dc31837a20b48e9ca37577ac0eab33b5dd5fdf2bfa992f0631ea05791f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling solana-hash v4.2.0 [INFO] [stderr] Compiling borsh v1.5.5 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling syn v2.0.117 [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 solana-program-error v3.0.1 [INFO] [stderr] Compiling solana-address v2.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/lib.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | 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]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/lib.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 716 | 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:30:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 30 | extern crate std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `address` in this scope [INFO] [stdout] --> src/lib.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | address!("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq"), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:745:70 [INFO] [stdout] | [INFO] [stdout] 745 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | use crate::error::AddressError; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 745 | fn address_from_seed_by_marker(marker: &[u8]) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `five8` in this scope [INFO] [stdout] --> src/lib.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | 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:517:55 [INFO] [stdout] | [INFO] [stdout] 517 | 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] 512 + 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:522:26 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 522 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:522:51 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 522 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:527:32 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 527 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseAddressError` in this scope [INFO] [stdout] --> src/lib.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | 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:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 23 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseAddressError` in this scope [INFO] [stdout] --> src/lib.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | 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:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 23 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseAddressError` in this scope [INFO] [stdout] --> src/lib.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | 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:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 23 | use crate::error::ParseAddressError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ParseAddressError` in this scope [INFO] [stdout] --> src/lib.rs:564:17 [INFO] [stdout] | [INFO] [stdout] 564 | 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:23:19 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "decode")] [INFO] [stdout] | ------------------ the item is gated behind the `decode` feature [INFO] [stdout] 23 | 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:571:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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(&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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:571:49 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 571 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:571:78 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 571 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:574:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 574 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:575:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 575 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:577:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 577 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:581:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 581 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:582:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 582 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:586:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 586 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:591:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 591 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:592:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 592 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:596:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 596 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:601:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 601 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:602:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 602 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:604:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 604 | &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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:609:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 609 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:609:49 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 609 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:609:77 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 609 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:613:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 613 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:665:35 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 665 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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] 665 - let program_id = Address::from_str("BPFLoaderUpgradeab1e11111111111111111111111").unwrap(); [INFO] [stdout] 665 + 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:666:35 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 666 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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] 666 - let public_key = Address::from_str("SeedPubey1111111111111111111111111111111111").unwrap(); [INFO] [stdout] 666 + 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:669:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 669 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:673:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 673 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:673:62 [INFO] [stdout] | [INFO] [stdout] 673 | 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]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:676:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 676 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:678:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 678 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:681:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 681 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:683:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 683 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:683:52 [INFO] [stdout] | [INFO] [stdout] 683 | 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:689:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 689 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:689:51 [INFO] [stdout] | [INFO] [stdout] 689 | 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:695:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 695 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:695:59 [INFO] [stdout] | [INFO] [stdout] 695 | 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:701:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 701 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:707:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 707 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:707:59 [INFO] [stdout] | [INFO] [stdout] 707 | 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:708:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 708 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:718:39 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 718 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/lib.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | 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]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/lib.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | 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:722:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 722 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:734:39 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 734 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:736:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 736 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:739:26 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 739 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:739:69 [INFO] [stdout] | [INFO] [stdout] 739 | 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:746:28 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `new_unique` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 746 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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:755:18 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 755 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub const fn new_from_array(address_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AddressError` in this scope [INFO] [stdout] --> src/lib.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | 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:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "sha2")] [INFO] [stdout] | ---------------- the item is gated behind the `sha2` feature [INFO] [stdout] 21 | 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:786:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Address(pub(crate) [u8; 32]); [INFO] [stdout] | ------------------ function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 786 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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] 786 - Address::from_str("9h1HyLCW5dZnBVap8C5egQ9Z6pHyjsh5MNy83iPqqRuq").unwrap(), [INFO] [stdout] 786 + 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:780:22 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 780 | 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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | 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, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-address` (lib test) due to 68 previous errors [INFO] running `Command { std: "docker" "inspect" "2bfde4dc31837a20b48e9ca37577ac0eab33b5dd5fdf2bfa992f0631ea05791f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfde4dc31837a20b48e9ca37577ac0eab33b5dd5fdf2bfa992f0631ea05791f", kill_on_drop: false }` [INFO] [stdout] 2bfde4dc31837a20b48e9ca37577ac0eab33b5dd5fdf2bfa992f0631ea05791f