[INFO] fetching crate clone-solana-pubkey 2.2.1... [INFO] testing clone-solana-pubkey-2.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate clone-solana-pubkey 2.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate clone-solana-pubkey 2.2.1 [INFO] finished tweaking crates.io crate clone-solana-pubkey 2.2.1 [INFO] tweaked toml for crates.io crate clone-solana-pubkey 2.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clone-solana-pubkey 2.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clone-solana-pubkey 2.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.8 [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded five8_core v0.1.1 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded toml_edit v0.22.23 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded proc-macro-crate v3.2.0 [INFO] [stderr] Downloaded winnow v0.7.0 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded semver v1.0.25 [INFO] [stderr] Downloaded strum v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1df16351cfef8feb71d114664ce4498a4ade14df39b9945d954ee25a9856a3f [INFO] running `Command { std: "docker" "start" "-a" "c1df16351cfef8feb71d114664ce4498a4ade14df39b9945d954ee25a9856a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1df16351cfef8feb71d114664ce4498a4ade14df39b9945d954ee25a9856a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1df16351cfef8feb71d114664ce4498a4ade14df39b9945d954ee25a9856a3f", kill_on_drop: false }` [INFO] [stdout] c1df16351cfef8feb71d114664ce4498a4ade14df39b9945d954ee25a9856a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17069d770f4936abc4da597f4e22cfd757c356ffaee498d913168f273719b06 [INFO] running `Command { std: "docker" "start" "-a" "e17069d770f4936abc4da597f4e22cfd757c356ffaee498d913168f273719b06", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling clone-solana-decode-error v2.2.1 [INFO] [stderr] Compiling clone-solana-pubkey v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "e17069d770f4936abc4da597f4e22cfd757c356ffaee498d913168f273719b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17069d770f4936abc4da597f4e22cfd757c356ffaee498d913168f273719b06", kill_on_drop: false }` [INFO] [stdout] e17069d770f4936abc4da597f4e22cfd757c356ffaee498d913168f273719b06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 510c52deea4b7508da91686cce4dad2d16b62402625db27a6365d2bc3bffbe17 [INFO] running `Command { std: "docker" "start" "-a" "510c52deea4b7508da91686cce4dad2d16b62402625db27a6365d2bc3bffbe17", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling clone-solana-pubkey v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stdout] error[E0425]: cannot find value `PDA_MARKER` in this scope [INFO] [stdout] --> src/lib.rs:1557:40 [INFO] [stdout] | [INFO] [stdout] 1557 | pubkey_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:52:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(any(target_os = "solana", feature = "sha2", feature = "curve25519"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 52 | 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:1560:45 [INFO] [stdout] | [INFO] [stdout] 1560 | assert!(pubkey_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:52:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(any(target_os = "solana", feature = "sha2", feature = "curve25519"))] [INFO] [stdout] | ---------------------------------------------------------------- the item is gated here [INFO] [stdout] 52 | const PDA_MARKER: &[u8; 21] = b"ProgramDerivedAddress"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1367:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1367 | Pubkey::create_with_seed(&Pubkey::new_unique(), "☉", &Pubkey::new_unique()).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1370:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1370 | Pubkey::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1377:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1377 | assert!(Pubkey::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1387:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1387 | Pubkey::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1397:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1397 | assert!(Pubkey::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1405:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1405 | Pubkey::create_with_seed(&Pubkey::new_unique(), "", &Pubkey::new_unique(),).is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1409:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1409 | Pubkey::create_with_seed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1465:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1465 | Pubkey::create_program_address(&[exceeded_seed], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1469:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1469 | Pubkey::create_program_address(&[b"short_seed", exceeded_seed], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1469:61 [INFO] [stdout] | [INFO] [stdout] 1469 | Pubkey::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[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1472:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1472 | assert!(Pubkey::create_program_address(&[max_seed], &program_id).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1474:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1474 | Pubkey::create_program_address(exceeded_seeds, &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1477:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1477 | assert!(Pubkey::create_program_address(max_seeds, &program_id).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1479:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1479 | Pubkey::create_program_address(&[b"", &[1]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1479:51 [INFO] [stdout] | [INFO] [stdout] 1479 | Pubkey::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 `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1485:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1485 | Pubkey::create_program_address(&["☉".as_ref(), &[0]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> 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:1485:50 [INFO] [stdout] | [INFO] [stdout] 1485 | Pubkey::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` [INFO] [stdout] `str` implements `AsRef` [INFO] [stdout] `str` implements `AsRef<[u8]>` [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 `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1491:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1491 | Pubkey::create_program_address(&[b"Talking", b"Squirrels"], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1491:58 [INFO] [stdout] | [INFO] [stdout] 1491 | Pubkey::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 `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1497:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1497 | Pubkey::create_program_address(&[public_key.as_ref(), &[1]], &program_id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1503:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1503 | Pubkey::create_program_address(&[b"Talking", b"Squirrels"], &program_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1503:58 [INFO] [stdout] | [INFO] [stdout] 1503 | Pubkey::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 `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1504:21 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1504 | Pubkey::create_program_address(&[b"Talking"], &program_id).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> 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:1515:26 [INFO] [stdout] | [INFO] [stdout] 1515 | 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:1516:26 [INFO] [stdout] | [INFO] [stdout] 1516 | 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 `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1518:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1518 | Pubkey::create_program_address(&[&bytes1, &bytes2], &program_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1520:26 [INFO] [stdout] | [INFO] [stdout] 1520 | assert!(!program_address.is_on_curve()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1532:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `find_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1532 | Pubkey::find_program_address(&[b"Lil'", b"Bits"], &program_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_program_address` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1535:25 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_program_address` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1535 | Pubkey::create_program_address(&[b"Lil'", b"Bits", &[bump_seed]], &program_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1535:68 [INFO] [stdout] | [INFO] [stdout] 1535 | Pubkey::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 `create_with_seed` found for struct `Pubkey` in the current scope [INFO] [stdout] --> src/lib.rs:1551:17 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ----------------- function or associated item `create_with_seed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1551 | Pubkey::create_with_seed(&key, seed, base) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `Pubkey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Pubkey` consider using one of the following associated functions: [INFO] [stdout] Pubkey::new_from_array [INFO] [stdout] Pubkey::from_str_const [INFO] [stdout] Pubkey::new_unique [INFO] [stdout] --> src/lib.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | pub const fn new_from_array(pubkey_array: [u8; 32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub const fn from_str_const(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn new_unique() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 `clone-solana-pubkey` (lib test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "510c52deea4b7508da91686cce4dad2d16b62402625db27a6365d2bc3bffbe17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510c52deea4b7508da91686cce4dad2d16b62402625db27a6365d2bc3bffbe17", kill_on_drop: false }` [INFO] [stdout] 510c52deea4b7508da91686cce4dad2d16b62402625db27a6365d2bc3bffbe17