[INFO] fetching crate domino_program 0.1.2... [INFO] testing domino_program-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate domino_program 0.1.2 into /workspace/builds/worker-40/source [INFO] validating manifest of crates.io crate domino_program 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate domino_program 0.1.2 [INFO] finished tweaking crates.io crate domino_program 0.1.2 [INFO] tweaked toml for crates.io crate domino_program 0.1.2 written to /workspace/builds/worker-40/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df037edf6150d976128ada59281171b81344f0892939f08cd93aa688cf46652 [INFO] running `Command { std: "docker" "start" "-a" "9df037edf6150d976128ada59281171b81344f0892939f08cd93aa688cf46652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df037edf6150d976128ada59281171b81344f0892939f08cd93aa688cf46652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df037edf6150d976128ada59281171b81344f0892939f08cd93aa688cf46652", kill_on_drop: false }` [INFO] [stdout] 9df037edf6150d976128ada59281171b81344f0892939f08cd93aa688cf46652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e1adbc3f87b957035f5d62775011ce18acf5f83b6650af1dea665c8bb8c3969 [INFO] running `Command { std: "docker" "start" "-a" "1e1adbc3f87b957035f5d62775011ce18acf5f83b6650af1dea665c8bb8c3969", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling domino_program v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.46s [INFO] running `Command { std: "docker" "inspect" "1e1adbc3f87b957035f5d62775011ce18acf5f83b6650af1dea665c8bb8c3969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1adbc3f87b957035f5d62775011ce18acf5f83b6650af1dea665c8bb8c3969", kill_on_drop: false }` [INFO] [stdout] 1e1adbc3f87b957035f5d62775011ce18acf5f83b6650af1dea665c8bb8c3969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd26406c6cbd235bd80789598d815c9c826d30b043bccf4ef5c8f097259ccd92 [INFO] running `Command { std: "docker" "start" "-a" "bd26406c6cbd235bd80789598d815c9c826d30b043bccf4ef5c8f097259ccd92", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi v1.10.0 [INFO] [stderr] Compiling domino_program v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling solana-logger v1.10.0 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.66s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/domino_program-ce1e31288d6c55bc) [INFO] running `Command { std: "docker" "inspect" "bd26406c6cbd235bd80789598d815c9c826d30b043bccf4ef5c8f097259ccd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd26406c6cbd235bd80789598d815c9c826d30b043bccf4ef5c8f097259ccd92", kill_on_drop: false }` [INFO] [stdout] bd26406c6cbd235bd80789598d815c9c826d30b043bccf4ef5c8f097259ccd92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97c2e1302c507c0c80886a96635628aca74ee4473049bc61b706f7d7fde89e63 [INFO] running `Command { std: "docker" "start" "-a" "97c2e1302c507c0c80886a96635628aca74ee4473049bc61b706f7d7fde89e63", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/domino_program-ce1e31288d6c55bc) [INFO] [stdout] [INFO] [stdout] running 170 tests [INFO] [stdout] test account_info::tests::test_account_info_as_ref ... ok [INFO] [stdout] test blake3::tests::test_new_unique ... ok [INFO] [stdout] test bpf_loader::test_id ... ok [INFO] [stdout] test bpf_loader_deprecated::test_id ... ok [INFO] [stdout] test account_info::tests::test_account_info_debug_data ... ok [INFO] [stdout] test bpf_loader_upgradeable::test_id ... ok [INFO] [stdout] test bpf_loader_upgradeable::tests::test_account_lengths ... ok [INFO] [stdout] test account_info::tests::test_next_account_infos ... ok [INFO] [stdout] test ed25519_program::test_id ... ok [INFO] [stdout] test decode_error::tests::test_decode_custom_error_to_enum ... ok [INFO] [stdout] test config::program::test_id ... ok [INFO] [stdout] test borsh::tests::unchecked_deserialization ... ok [INFO] [stdout] test borsh::tests::packed_len ... ok [INFO] [stdout] test borsh::tests::instance_packed_len_with_varying_sizes_in_hashmap ... ok [INFO] [stdout] test blake3::tests::test_hash_fromstr ... ok [INFO] [stdout] test entrypoint::test::test_bump_allocator ... ok [INFO] [stdout] test borsh::tests::instance_packed_len_matches_packed_len ... ok [INFO] [stdout] test bpf_loader_upgradeable::tests::test_is_upgrade_instruction ... ok [INFO] [stdout] test bpf_loader_upgradeable::tests::test_is_set_authority_instruction ... ok [INFO] [stdout] test fee_calculator::tests::test_fee_calculator_calculate_fee_secp256k1 ... ok [INFO] [stdout] test fee_calculator::tests::test_fee_rate_governor_burn ... ok [INFO] [stdout] test feature::test::feature_sizeof ... ok [INFO] [stdout] test fee_calculator::tests::test_fee_rate_governor_derived_adjust ... ok [INFO] [stdout] test feature::test_id ... ok [INFO] [stdout] test fee_calculator::tests::test_fee_calculator_calculate_fee ... ok [INFO] [stdout] test blake3::tests::test_extend_and_hash ... ok [INFO] [stdout] test borsh::tests::instance_packed_len_with_vec ... ok [INFO] [stdout] test fee_calculator::tests::test_fee_rate_governor_derived_default ... ok [INFO] [stdout] test incinerator::test_id ... ok [INFO] [stdout] test message::legacy::tests::test_get_account_keys_by_lock_type ... ok [INFO] [stdout] test message::legacy::tests::test_is_key_passed_to_program ... ok [INFO] [stdout] test hash::tests::test_hash_fromstr ... ok [INFO] [stdout] test message::legacy::tests::test_is_non_loader_key ... ok [INFO] [stdout] test hash::tests::test_new_unique ... ok [INFO] [stdout] test message::legacy::tests::test_is_writable ... ok [INFO] [stdout] test instruction::test_account_meta_layout ... ok [INFO] [stdout] test message::legacy::tests::test_builtin_program_keys ... ok [INFO] [stdout] test message::legacy::tests::test_builtin_program_keys_abi_freeze ... ok [INFO] [stdout] test message::legacy::tests::test_message_signed_keys_first ... ok [INFO] [stdout] test message::legacy::tests::test_message_signed_keys_len ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_both_signed ... ok [INFO] [stdout] test message::legacy::tests::test_message_hash ... ok [INFO] [stdout] test message::legacy::tests::test_message_program_last ... ok [INFO] [stdout] test message::legacy::tests::test_message_header_len_constant ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_not_adjacent ... ok [INFO] [stdout] test message::legacy::tests::test_message_payer_first ... ok [INFO] [stdout] test message::legacy::tests::test_message_kitchen_sink ... ok [INFO] [stdout] test message::legacy::tests::test_message_readonly_keys_last ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_one_signed ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_one_readonly_signed ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_signed_and_payer ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_program_ids ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_get_with_dynamic_keys ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_get ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_one_readonly_unsigned ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_unsigned_and_payer ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_program_ids_not_adjacent ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_program_ids_order_preserved ... ok [INFO] [stdout] test message::legacy::tests::test_program_ids ... ok [INFO] [stdout] test message::legacy::tests::test_program_position ... ok [INFO] [stdout] test message::non_bpf_modules::sanitized::tests::test_num_readonly_accounts ... ok [INFO] [stdout] test message::legacy::tests::test_message_unique_keys_order_preserved ... ok [INFO] [stdout] test message::non_bpf_modules::sanitized::tests::test_is_non_loader_key ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_len_with_dynamic_keys ... ok [INFO] [stdout] test message::non_bpf_modules::sanitized::tests::test_try_compile_instruction ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_iter ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_iter_with_dynamic_keys ... ok [INFO] [stdout] test message::non_bpf_modules::versions::tests::test_legacy_message_serialization ... ok [INFO] [stdout] test message::non_bpf_modules::sanitized::tests::test_try_from_message ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_key_segment_iter ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_empty_table_lookup ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::loaded::tests::test_has_duplicates ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_invalid_ix_account ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_instruction ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::loaded::tests::test_is_writable ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::loaded::tests::test_demote_writable_program ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_max_table_loaded_keys ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_invalid_ix_program_id ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::loaded::tests::test_is_writable_index ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_max_account_keys ... ok [INFO] [stdout] test message::non_bpf_modules::versions::tests::test_versioned_message_serialization ... ok [INFO] [stdout] test message::non_bpf_modules::account_keys::tests::test_len ... ok [INFO] [stdout] test program_stubs::tests::test_is_nonoverlapping ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_serialize ... ok [INFO] [stdout] test rent::tests::test_rent_due_is_exempt ... ok [INFO] [stdout] test short_vec::tests::test_short_vec_aliased_length ... ok [INFO] [stdout] test pubkey::tests::test_new_unique ... ok [INFO] [stdout] test short_vec::tests::test_short_vec_json ... ok [INFO] [stdout] test short_vec::tests::test_deserialize ... ok [INFO] [stdout] test short_vec::tests::test_short_vec_encode_len ... ok [INFO] [stdout] test nonce::state::current::test::default_is_uninitialized ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_table_lookup ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_without_signer ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_without_writable_signer ... ok [INFO] [stdout] test rent::tests::test_rent_due_lamports ... ok [INFO] [stdout] test rent::tests::test_due ... ok [INFO] [stdout] test program_option::test::test_from_rust_option ... ok [INFO] [stdout] test secp256k1_program::test_id ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_too_many_account_keys ... ok [INFO] [stdout] test program_utils::tests::test_limited_deserialize_advance_nonce_account ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_table_lookup_and_ix ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::tests::test_sanitize_with_too_many_table_loaded_keys ... ok [INFO] [stdout] test pubkey::tests::pubkey_fromstr ... ok [INFO] [stdout] test short_vec::tests::test_short_vec_u8 ... ok [INFO] [stdout] test message::non_bpf_modules::versions::v0::loaded::tests::test_has_duplicates_with_dupe_keys ... ok [INFO] [stdout] test pubkey::tests::test_create_with_seed ... ok [INFO] [stdout] test pubkey::tests::test_create_with_seed_rejects_illegal_owner ... ok [INFO] [stdout] test pubkey::tests::test_create_program_address ... ok [INFO] [stdout] test short_vec::tests::test_short_vec_u8_too_long ... ok [INFO] [stdout] test epoch_schedule::tests::test_epoch_schedule ... ok [INFO] [stdout] test stake::config::test_id ... ok [INFO] [stdout] test stake::state::test::bincode_vs_borsh_deserialization ... ok [INFO] [stdout] test stake::program::test_id ... ok [INFO] [stdout] test sysvar::fees::test_id ... ok [INFO] [stdout] test system_instruction::tests::test_nonce_error_adapter_compat ... ok [INFO] [stdout] test system_instruction::tests::test_nonce_error_decode ... ok [INFO] [stdout] test system_program::test_id ... ok [INFO] [stdout] test sysvar::fees::test_sysvar_id ... ok [INFO] [stdout] test system_instruction::tests::test_nonce_to_instruction_error ... ok [INFO] [stdout] test sysvar::instructions::tests::test_serialize_instructions ... ok [INFO] [stdout] test stake_history::tests::test_stake_history ... ok [INFO] [stdout] test stake::state::test::borsh_deserialization_live_data ... ok [INFO] [stdout] test sysvar::instructions::test_id ... ok [INFO] [stdout] test slot_history::tests::test_older_slot ... ok [INFO] [stdout] test sysvar::instructions::test_sysvar_id ... ok [INFO] [stdout] test sysvar::instructions::tests::test_load_instruction_at_checked ... ok [INFO] [stdout] test sysvar::instructions::tests::test_decompile_instructions_out_of_bounds ... ok [INFO] [stdout] test sysvar::instructions::tests::test_get_instruction_relative ... ok [INFO] [stdout] test sysvar::instructions::tests::test_load_current_index_checked ... ok [INFO] [stdout] test stake::instruction::tests::test_custom_error_decode ... ok [INFO] [stdout] test system_instruction::tests::test_move_many ... ok [INFO] [stdout] test sysvar::instructions::tests::test_load_store_instruction ... ok [INFO] [stdout] test system_instruction::tests::test_create_nonce_account ... ok [INFO] [stdout] test stake::state::test::bincode_vs_borsh_serialization ... ok [INFO] [stdout] test system_instruction::tests::test_instruction_to_nonce_error ... ok [INFO] [stdout] test slot_hashes::tests::test ... ok [INFO] [stdout] test sysvar::clock::test_sysvar_id ... ok [INFO] [stdout] test sysvar::epoch_schedule::test_id ... ok [INFO] [stdout] test sysvar::epoch_schedule::test_sysvar_id ... ok [INFO] [stdout] test sysvar::clock::test_id ... ok [INFO] [stdout] test sysvar::recent_blockhashes::test_id ... ok [INFO] [stdout] test sysvar::recent_blockhashes::test_sysvar_id ... ok [INFO] [stdout] test sysvar::rent::test_id ... ok [INFO] [stdout] test tests::test_unchecked_div_by_const ... ok [INFO] [stdout] test sysvar::stake_history::tests::test_size_of ... ok [INFO] [stdout] test sysvar::test_id ... ok [INFO] [stdout] test vote::program::test_id ... ok [INFO] [stdout] test sysvar::tests::test_id ... ok [INFO] [stdout] test sysvar::slot_history::test_id ... ok [INFO] [stdout] test sysvar::stake_history::test_id ... ok [INFO] [stdout] test sysvar::slot_hashes::tests::test_size_of ... ok [INFO] [stdout] test sysvar::slot_history::test_sysvar_id ... ok [INFO] [stdout] test sysvar::recent_blockhashes::tests::test_sysvar_can_hold_all_active_blockhashes ... ok [INFO] [stdout] test sysvar::stake_history::test_sysvar_id ... ok [INFO] [stdout] test sysvar::rent::test_sysvar_id ... ok [INFO] [stdout] test sysvar::slot_hashes::test_sysvar_id ... ok [INFO] [stdout] test sysvar::rewards::test_id ... ok [INFO] [stdout] test sysvar::slot_history::tests::test_size_of ... ok [INFO] [stdout] test sysvar::stake_history::tests::test_create_account ... ok [INFO] [stdout] test sysvar::tests::test_sysvar_account_info_to_from ... ok [INFO] [stdout] test sysvar::rewards::test_sysvar_id ... ok [INFO] [stdout] test sysvar::recent_blockhashes::tests::test_size_of ... ok [INFO] [stdout] test sysvar::slot_hashes::test_id ... ok [INFO] [stdout] test pubkey::tests::test_find_program_address ... ok [INFO] [stdout] test pubkey::tests::test_pubkey_off_curve ... ok [INFO] [stdout] test slot_history::tests::test_oldest ... ok [INFO] [stdout] test slot_history::tests::slot_history_test_same_index ... ok [INFO] [stdout] test slot_history::tests::slot_history_test_wrap ... ok [INFO] [stderr] Doc-tests domino_program [INFO] [stdout] test slot_history::tests::slot_history_test1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 170 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.26s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test src/entrypoint.rs - entrypoint::custom_panic_default (line 199) ... ignored [INFO] [stdout] test src/entrypoint.rs - entrypoint::entrypoint (line 50) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption<&'_T>::cloned (line 700) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption<&'_T>::copied (line 664) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption<&'_mutT>::cloned (line 718) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption<&'_mutT>::copied (line 682) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption>::flatten (line 920) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption>::flatten (line 932) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption>::transpose (line 828) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::and (line 394) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::and_then (line 428) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::as_deref (line 778) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::as_deref_mut (line 800) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::as_mut (line 137) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::as_ref (line 118) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::contains (line 77) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::default (line 887) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::expect (line 169) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::filter (line 458) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::get_or_insert (line 581) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::get_or_insert_with (line 605) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::is_none (line 57) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::is_some (line 35) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::map (line 270) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::map_or (line 290) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::map_or_else (line 310) ... ignored [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 146) - compile fail ... ok [INFO] [stdout] test src/program_option.rs - program_option::COption::ok_or (line 343) ... ignored [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 155) - compile fail ... ok [INFO] [stdout] test src/program_option.rs - program_option::COption::ok_or_else (line 369) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::or (line 491) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::or_else (line 521) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::replace (line 641) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::unwrap (line 201) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::unwrap_or (line 228) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::unwrap_or_default (line 744) ... ignored [INFO] [stdout] test src/program_option.rs - program_option::COption::unwrap_or_else (line 244) ... ignored [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 137) - compile fail ... ok [INFO] [stdout] test src/program_option.rs - program_option::COption::xor (line 544) ... ignored [INFO] [stdout] test src/pubkey.rs - pubkey::Pubkey::find_program_address (line 349) ... ignored [INFO] [stdout] test src/loader_upgradeable_instruction.rs - loader_upgradeable_instruction::UpgradeableLoaderInstruction::DeployWithMaxDataLen (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 184) - compile fail ... ok [INFO] [stdout] test src/entrypoint.rs - entrypoint::entrypoint (line 89) - compile ... FAILED [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 174) - compile fail ... ok [INFO] [stdout] test src/message/legacy.rs - message::legacy::Message::new (line 264) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::Instruction::new_with_bincode (line 405) ... FAILED [INFO] [stdout] test src/account_info.rs - account_info::next_account_infos (line 308) ... FAILED [INFO] [stdout] test src/lib.rs - declare_id (line 84) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::AccountMeta::new_readonly (line 582) ... FAILED [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 193) - compile fail ... ok [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 164) - compile fail ... ok [INFO] [stdout] test src/instruction.rs - instruction::Instruction::new_with_borsh (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - pubkey (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 129) - compile fail ... ok [INFO] [stdout] test src/message/legacy.rs - message::legacy::Message::new_with_nonce (line 435) ... FAILED [INFO] [stdout] test src/lib.rs - unchecked_div_by_const (line 203) - compile fail ... ok [INFO] [stdout] test src/message/legacy.rs - message::legacy::Message::new_with_blockhash (line 335) ... FAILED [INFO] [stdout] test src/pubkey.rs - pubkey::Pubkey::find_program_address (line 270) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::AccountMeta::new (line 547) ... FAILED [INFO] [stdout] test src/account_info.rs - account_info::next_account_info (line 257) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::Instruction::new_with_bytes (line 458) ... FAILED [INFO] [stdout] test src/pubkey.rs - pubkey::Pubkey::create_program_address (line 523) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/loader_upgradeable_instruction.rs - loader_upgradeable_instruction::UpgradeableLoaderInstruction::DeployWithMaxDataLen (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/loader_upgradeable_instruction.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/loader_upgradeable_instruction.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::bpf_loader_upgradeable; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::bpf_loader_upgradeable; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/loader_upgradeable_instruction.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 6 | let (program_data_address, _) = Pubkey::find_program_address( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/entrypoint.rs - entrypoint::entrypoint (line 89) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/entrypoint.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/entrypoint.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> src/entrypoint.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 21 | msg!("Hello world"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `entrypoint` [INFO] [stdout] --> src/entrypoint.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 14 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/entrypoint.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 17 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/entrypoint.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 18 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/entrypoint.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::entrypoint::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::entrypoint_deprecated::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/legacy.rs - message::legacy::Message::new (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::example_mocks::solana_sdk; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::example_mocks::solana_sdk; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::example_mocks::solana_client; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::example_mocks::solana_client; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_client` [INFO] [stdout] --> src/message/legacy.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/message/legacy.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `solana_client::rpc_client::RpcClient`, `solana_sdk::instruction::Instruction`, `solana_sdk::message::Message`, `solana_sdk::pubkey::Pubkey`, `solana_sdk::signature::Keypair`, `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/message/legacy.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] 9 | instruction::Instruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | message::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | signature::Keypair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RpcClient` in this scope [INFO] [stdout] --> src/message/legacy.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 27 | client: &RpcClient, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/message/legacy.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 28 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> src/message/legacy.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 29 | payer: &Keypair [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/message/legacy.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 34 | let instruction = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/message/legacy.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 40 | let message = Message::new( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::v0::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use libsecp256k1::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/message/legacy.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 46 | let mut tx = Transaction::new(&[payer], message, blockhash); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RpcClient` [INFO] [stdout] --> src/message/legacy.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 52 | let client = RpcClient::new(String::new()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/message/legacy.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 53 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> src/message/legacy.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 54 | let payer = Keypair::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction.rs - instruction::Instruction::new_with_bincode (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/instruction.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 15 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:419:12 [INFO] [stdout] | [INFO] [stdout] 16 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 17 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/instruction.rs:422:6 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 | ) -> MyInstruction { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/instruction.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | Instruction::new_with_bincode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 | MyInstruction::new_with_bincode( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 26 | AccountMeta::new(*from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 27 | AccountMeta::new(*to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account_info.rs - account_info::next_account_infos (line 308) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/account_info.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/account_info.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use domino_program::program_error::ProgramError; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/account_info.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 11 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/account_info.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 12 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/account_info.rs:320:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint_deprecated::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/account_info.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 16 | let signer = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/account_info.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 17 | let payer = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_infos` in this scope [INFO] [stdout] --> src/account_info.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 18 | let outputs = next_account_infos(accounts_iter, 3)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_infos; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/account_info.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 24 | let p = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/account_info.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 27 | let a = AccountInfo::new(&p, false, false, l, d, &p, false, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/account_info.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 30 | &Pubkey::new_unique(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> src/account_info.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<(), ProgramError>(()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - declare_id (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{declare_id, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::{declare_id, pubkey::Pubkey}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{declare_id, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use domino_program::{declare_id, pubkey::Pubkey}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 9 | use solana_program::declare_id; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use domino_program::declare_id; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `item_wrapper::id` [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 12 | use item_wrapper::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `id` in `::::item_wrapper` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `declare_id` [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_id!("My11111111111111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 14 | let my_id = Pubkey::from_str("My11111111111111111111111111111111111111111").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction.rs - instruction::AccountMeta::new_readonly (line 582) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/instruction.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 13 | let from = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:594:10 [INFO] [stdout] | [INFO] [stdout] 14 | let to = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:595:28 [INFO] [stdout] | [INFO] [stdout] 15 | let from_account_storage = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:596:18 [INFO] [stdout] | [INFO] [stdout] 16 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/instruction.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction; [INFO] [stdout] | ------------------------- similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | let instr = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 | let instr = MyInstruction::new_with_borsh( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:601:9 [INFO] [stdout] | [INFO] [stdout] 21 | AccountMeta::new(from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 22 | AccountMeta::new(to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 23 | AccountMeta::new_readonly(from_account_storage, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction.rs - instruction::Instruction::new_with_borsh (line 353) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/instruction.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:366:18 [INFO] [stdout] | [INFO] [stdout] 15 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 16 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 17 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/instruction.rs:370:6 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 | ) -> MyInstruction { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/instruction.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 | MyInstruction::new_with_borsh( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 26 | AccountMeta::new(*from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 27 | AccountMeta::new(*to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - pubkey (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::{pubkey, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::{pubkey, pubkey::Pubkey}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::{pubkey, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::{pubkey, pubkey::Pubkey}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pubkey` [INFO] [stdout] --> src/lib.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 6 | static ID: Pubkey = pubkey!("My11111111111111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 6 | static ID: Pubkey = pubkey!("My11111111111111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/lib.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 8 | let my_id = Pubkey::from_str("My11111111111111111111111111111111111111111").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/legacy.rs - message::legacy::Message::new_with_nonce (line 435) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::example_mocks::solana_sdk; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::example_mocks::solana_sdk; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::example_mocks::solana_client; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::example_mocks::solana_client; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_client` [INFO] [stdout] --> src/message/legacy.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/message/legacy.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `solana_client::rpc_client::RpcClient`, `solana_sdk::hash::Hash`, `solana_sdk::instruction::Instruction`, `solana_sdk::message::Message`, `solana_sdk`, `solana_sdk::pubkey::Pubkey`, `solana_sdk::signature::Keypair`, `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/message/legacy.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] 9 | hash::Hash, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | instruction::Instruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | message::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | nonce, [INFO] [stdout] 13 | pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | signature::Keypair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | system_instruction, [INFO] [stdout] 16 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RpcClient` in this scope [INFO] [stdout] --> src/message/legacy.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 32 | client: &RpcClient, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/message/legacy.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 33 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> src/message/legacy.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 34 | payer: &Keypair [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transaction` in this scope [INFO] [stdout] --> src/message/legacy.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result<(Transaction, Pubkey)> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/message/legacy.rs:468:27 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result<(Transaction, Pubkey)> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/message/legacy.rs:471:28 [INFO] [stdout] | [INFO] [stdout] 38 | let bank_instruction = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/message/legacy.rs:481:23 [INFO] [stdout] | [INFO] [stdout] 48 | let mut message = Message::new_with_nonce( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::v0::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use libsecp256k1::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/message/legacy.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 57 | let tx = Transaction::new_unsigned(message); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RpcClient` in this scope [INFO] [stdout] --> src/message/legacy.rs:495:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn make_nonce_account(client: &RpcClient, payer: &Keypair) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> src/message/legacy.rs:495:51 [INFO] [stdout] | [INFO] [stdout] 62 | fn make_nonce_account(client: &RpcClient, payer: &Keypair) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/message/legacy.rs:496:15 [INFO] [stdout] | [INFO] [stdout] 63 | -> Result [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> src/message/legacy.rs:498:33 [INFO] [stdout] | [INFO] [stdout] 65 | let nonce_account_address = Keypair::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/message/legacy.rs:511:23 [INFO] [stdout] | [INFO] [stdout] 78 | let mut nonce_tx = Transaction::new_with_payer(&create_nonce_instr, Some(&payer.pubkey())); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RpcClient` [INFO] [stdout] --> src/message/legacy.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 86 | let client = RpcClient::new(String::new()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/message/legacy.rs:520:18 [INFO] [stdout] | [INFO] [stdout] 87 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> src/message/legacy.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 88 | let payer = Keypair::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/legacy.rs - message::legacy::Message::new_with_blockhash (line 335) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::example_mocks::solana_sdk; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::example_mocks::solana_sdk; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/message/legacy.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::example_mocks::solana_client; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::example_mocks::solana_client; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_client` [INFO] [stdout] --> src/message/legacy.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/message/legacy.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `solana_client::rpc_client::RpcClient`, `solana_sdk::instruction::Instruction`, `solana_sdk::message::Message`, `solana_sdk::pubkey::Pubkey`, `solana_sdk::signature::Keypair`, `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/message/legacy.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_client::rpc_client::RpcClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use solana_sdk::{ [INFO] [stdout] 9 | instruction::Instruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | message::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | signature::Keypair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RpcClient` in this scope [INFO] [stdout] --> src/message/legacy.rs:360:14 [INFO] [stdout] | [INFO] [stdout] 27 | client: &RpcClient, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/message/legacy.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 28 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> src/message/legacy.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 29 | payer: &Keypair [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/message/legacy.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 34 | let instruction = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/message/legacy.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 42 | let message = Message::new_with_blockhash( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::message::v0::Message; [INFO] [stdout] | [INFO] [stdout] 2 | use libsecp256k1::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transaction` [INFO] [stdout] --> src/message/legacy.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 48 | let mut tx = Transaction::new_unsigned(message); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::transaction::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RpcClient` [INFO] [stdout] --> src/message/legacy.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 55 | let client = RpcClient::new(String::new()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_client::rpc_client::RpcClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/message/legacy.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 56 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> src/message/legacy.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 57 | let payer = Keypair::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::example_mocks::solana_sdk::signature::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pubkey.rs - pubkey::Pubkey::find_program_address (line 270) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/pubkey.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/pubkey.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/pubkey.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 33 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/pubkey.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 34 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/pubkey.rs:304:6 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint_deprecated::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/pubkey.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 38 | let payer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/pubkey.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 40 | let vault = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope [INFO] [stdout] --> src/pubkey.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 50 | invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::program::invoke_signed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction.rs - instruction::AccountMeta::new (line 547) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/instruction.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:558:12 [INFO] [stdout] | [INFO] [stdout] 13 | let from = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:559:10 [INFO] [stdout] | [INFO] [stdout] 14 | let to = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/instruction.rs:560:18 [INFO] [stdout] | [INFO] [stdout] 15 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/instruction.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MyInstruction; [INFO] [stdout] | ------------------------- similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 16 | let instr = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | let instr = MyInstruction::new_with_borsh( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 20 | AccountMeta::new(from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 21 | AccountMeta::new(to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account_info.rs - account_info::next_account_info (line 257) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/account_info.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/account_info.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use domino_program::program_error::ProgramError; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/account_info.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 11 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/account_info.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 12 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/account_info.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::entrypoint_deprecated::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/account_info.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 16 | let signer = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/account_info.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 17 | let payer = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/account_info.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 23 | let p = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountInfo` [INFO] [stdout] --> src/account_info.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 26 | let a = AccountInfo::new(&p, false, false, l, d, &p, false, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/account_info.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 29 | &Pubkey::new_unique(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> src/account_info.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 33 | Ok::<(), ProgramError>(()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/instruction.rs - instruction::Instruction::new_with_bytes (line 458) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/instruction.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::{ [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 16 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 17 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/instruction.rs:474:10 [INFO] [stdout] | [INFO] [stdout] 18 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/instruction.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 20 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/instruction.rs:482:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MyInstruction { [INFO] [stdout] | ------------------------ similarly named struct `MyInstruction` defined here [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Instruction::new_with_bytes( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | Ok(MyInstruction::new_with_bytes( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 30 | AccountMeta::new(*from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/instruction.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 31 | AccountMeta::new(*to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pubkey.rs - pubkey::Pubkey::create_program_address (line 523) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/pubkey.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/pubkey.rs:525:18 [INFO] [stdout] | [INFO] [stdout] 4 | let program_id = Pubkey::new_unique(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/pubkey.rs:526:33 [INFO] [stdout] | [INFO] [stdout] 5 | let (expected_pda, bump_seed) = Pubkey::find_program_address(&[b"vault"], &program_id); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> src/pubkey.rs:527:18 [INFO] [stdout] | [INFO] [stdout] 6 | let actual_pda = Pubkey::create_program_address(&[b"vault", &[bump_seed]], &program_id)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use domino_program::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pubkey.rs:527:61 [INFO] [stdout] | [INFO] [stdout] 6 | let actual_pda = Pubkey::create_program_address(&[b"vault", &[bump_seed]], &program_id)?; [INFO] [stdout] | ^^^^^^^^^^^^ expected an array with a fixed size of 5 elements, found one with 1 element [INFO] [stdout] | [INFO] [stdout] = note: expected type `&[u8; 5]` [INFO] [stdout] found reference `&[u8; 1]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/account_info.rs - account_info::next_account_info (line 257) [INFO] [stdout] src/account_info.rs - account_info::next_account_infos (line 308) [INFO] [stdout] src/entrypoint.rs - entrypoint::entrypoint (line 89) [INFO] [stdout] src/instruction.rs - instruction::AccountMeta::new (line 547) [INFO] [stdout] src/instruction.rs - instruction::AccountMeta::new_readonly (line 582) [INFO] [stdout] src/instruction.rs - instruction::Instruction::new_with_bincode (line 405) [INFO] [stdout] src/instruction.rs - instruction::Instruction::new_with_borsh (line 353) [INFO] [stdout] src/instruction.rs - instruction::Instruction::new_with_bytes (line 458) [INFO] [stdout] src/lib.rs - declare_id (line 84) [INFO] [stdout] src/lib.rs - pubkey (line 106) [INFO] [stdout] src/loader_upgradeable_instruction.rs - loader_upgradeable_instruction::UpgradeableLoaderInstruction::DeployWithMaxDataLen (line 49) [INFO] [stdout] src/message/legacy.rs - message::legacy::Message::new (line 264) [INFO] [stdout] src/message/legacy.rs - message::legacy::Message::new_with_blockhash (line 335) [INFO] [stdout] src/message/legacy.rs - message::legacy::Message::new_with_nonce (line 435) [INFO] [stdout] src/pubkey.rs - pubkey::Pubkey::create_program_address (line 523) [INFO] [stdout] src/pubkey.rs - pubkey::Pubkey::find_program_address (line 270) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 16 failed; 37 ignored; 0 measured; 0 filtered out; finished in 4.75s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "97c2e1302c507c0c80886a96635628aca74ee4473049bc61b706f7d7fde89e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c2e1302c507c0c80886a96635628aca74ee4473049bc61b706f7d7fde89e63", kill_on_drop: false }` [INFO] [stdout] 97c2e1302c507c0c80886a96635628aca74ee4473049bc61b706f7d7fde89e63