[INFO] fetching crate clone-solana-pubkey 2.2.1... [INFO] testing clone-solana-pubkey-2.2.1 against master#a1531335fe2807715fff569904d99602022643a7 for pr-145277 [INFO] extracting crate clone-solana-pubkey 2.2.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clone-solana-pubkey 2.2.1 on toolchain a1531335fe2807715fff569904d99602022643a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "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" "+a1531335fe2807715fff569904d99602022643a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded toml_datetime v0.6.8 [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded toml_edit v0.22.23 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded winnow v0.7.0 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded indexmap v2.7.1 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded getrandom v0.2.15 [INFO] [stderr] Downloaded zerocopy v0.7.35 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded smallvec v1.13.2 [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded zerocopy-derive v0.7.35 [INFO] [stderr] Downloaded proc-macro-crate v3.2.0 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded clone-solana-frozen-abi v2.2.1 [INFO] [stderr] Downloaded redox_syscall v0.5.8 [INFO] [stderr] Downloaded clone-solana-hash v2.2.1 [INFO] [stderr] Downloaded clone-solana-sha256-hasher v2.2.1 [INFO] [stderr] Downloaded semver v1.0.25 [INFO] [stderr] Downloaded ppv-lite86 v0.2.20 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded log v0.4.25 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded clone-solana-decode-error v2.2.1 [INFO] [stderr] Downloaded clone-solana-frozen-abi-macro v2.2.1 [INFO] [stderr] Downloaded clone-solana-define-syscall v2.2.1 [INFO] [stderr] Downloaded clone-solana-atomic-u64 v2.2.1 [INFO] [stderr] Downloaded clone-solana-sanitize v2.2.1 [INFO] [stderr] Downloaded five8_core v0.1.1 [INFO] [stderr] Downloaded five8_const v0.1.3 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b84a9db97de0278605dfac1a1ae3b16180592136b88d80d467388a91425eb2dc [INFO] running `Command { std: "docker" "start" "-a" "b84a9db97de0278605dfac1a1ae3b16180592136b88d80d467388a91425eb2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b84a9db97de0278605dfac1a1ae3b16180592136b88d80d467388a91425eb2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84a9db97de0278605dfac1a1ae3b16180592136b88d80d467388a91425eb2dc", kill_on_drop: false }` [INFO] [stdout] b84a9db97de0278605dfac1a1ae3b16180592136b88d80d467388a91425eb2dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845791f532f94453efa2b782cbb6f69a495c6e9fd4519b7928681ef9494d8896 [INFO] running `Command { std: "docker" "start" "-a" "845791f532f94453efa2b782cbb6f69a495c6e9fd4519b7928681ef9494d8896", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling clone-solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling clone-solana-sanitize v2.2.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [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.37s [INFO] running `Command { std: "docker" "inspect" "845791f532f94453efa2b782cbb6f69a495c6e9fd4519b7928681ef9494d8896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845791f532f94453efa2b782cbb6f69a495c6e9fd4519b7928681ef9494d8896", kill_on_drop: false }` [INFO] [stdout] 845791f532f94453efa2b782cbb6f69a495c6e9fd4519b7928681ef9494d8896 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b72a06ab24b1b5060e30ee07a3a7496bdc570af9b320c86caf6254efd5636b [INFO] running `Command { std: "docker" "start" "-a" "e3b72a06ab24b1b5060e30ee07a3a7496bdc570af9b320c86caf6254efd5636b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [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 heck v0.4.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling strum v0.24.1 [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[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, 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 32 previous errors [INFO] running `Command { std: "docker" "inspect" "e3b72a06ab24b1b5060e30ee07a3a7496bdc570af9b320c86caf6254efd5636b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b72a06ab24b1b5060e30ee07a3a7496bdc570af9b320c86caf6254efd5636b", kill_on_drop: false }` [INFO] [stdout] e3b72a06ab24b1b5060e30ee07a3a7496bdc570af9b320c86caf6254efd5636b