Skip to content

Instantly share code, notes, and snippets.

@longbowlu
Created February 24, 2023 18:49
Show Gist options
  • Save longbowlu/544cc9ab3b88d29317a33f4271fea037 to your computer and use it in GitHub Desktop.
Save longbowlu/544cc9ab3b88d29317a33f4271fea037 to your computer and use it in GitHub Desktop.
cargo test -p sui-framework
Finished test [unoptimized + debuginfo] target(s) in 1.24s
Running unittests src/lib.rs (/Users/luzhang/Workplaces/sui/target/debug/deps/sui_framework-841a5ba86f139623)
running 3 tests
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Basics
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING sui-by-example
INCLUDING DEPENDENCY MoveStdlib
BUILDING Sui
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Basics
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING sui-by-example
INCLUDING DEPENDENCY MoveStdlib
BUILDING Sui
Running Move unit tests
Running Move unit tests
Test result: OK. Total tests: 0; passed: 0; failed: 0
test tests::run_book_examples_move_unit_tests ... ok
[ PASS ] 0x0::lockTest::test_lock
[ PASS ] 0x0::counter_test::test_counter
[ PASS ] 0x0::test_sandwich::test_make_sandwich
Test result: OK. Total tests: 3; passed: 3; failed: 0
Running Move unit tests
[ PASS ] 0x2::ecdsa_k1_tests::test_ecrecover_eth_address
[ PASS ] 0x2::ecdsa_k1_tests::test_ecrecover_pubkey
[ PASS ] 0x2::ecdsa_k1_tests::test_ecrecover_pubkey_fail_to_recover
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_add
[ PASS ] 0x2::ecdsa_k1_tests::test_ecrecover_pubkey_invalid_sig
[ PASS ] 0x2::ecdsa_k1_tests::test_secp256k1_invalid
[ PASS ] 0x2::ecdsa_k1_tests::test_secp256k1_verify_fails_with_recoverable_sig
[ PASS ] 0x2::ecdsa_k1_tests::test_secp256k1_verify_success_with_nonrecoverable_sig
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_add__baseline
[ PASS ] 0x2::ecdsa_r1_tests::test_ecrecover_pubkey
[ PASS ] 0x2::ecdsa_r1_tests::test_ecrecover_pubkey_invalid_sig
[ PASS ] 0x2::ecdsa_r1_tests::test_secp256r1_invalid_public_key_length
[ PASS ] 0x2::ecdsa_r1_tests::test_secp256r1_verify_fails_with_recoverable_sig
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_and
[ PASS ] 0x2::ecdsa_r1_tests::test_secp256r1_verify_success_with_nonrecoverable_sig
[ PASS ] 0x2::ecvrf_tests::test_ecvrf_invalid
[ PASS ] 0x2::ecvrf_tests::test_ecvrf_verify
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_and__baseline
[ PASS ] 0x2::ecvrf_tests::test_invalid_length
[ PASS ] 0x2::ecvrf_tests::test_invalid_proof
[ PASS ] 0x2::ecvrf_tests::test_invalid_public_key
[ PASS ] 0x2::digest_tests::test_good_hash
[ PASS ] 0x2::digest_tests::test_too_long_hash
[ PASS ] 0x2::digest_tests::test_too_short_hash
[ PASS ] 0x2::hex::test_hex_decode__hex_literal
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_bitand
[ PASS ] 0x2::hex::test_hex_decode__invalid_length
[ PASS ] 0x2::hex::test_hex_decode__invalid_string_literal
[ PASS ] 0x2::hex::test_hex_decode_string_literal
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_bitand__baseline
[ PASS ] 0x2::hex::test_hex_decode_string_literal__long_hex
[ PASS ] 0x2::hex::test_hex_decode_string_literal__lowercase_and_uppercase
[ PASS ] 0x2::hex::test_hex_encode_hex_literal
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_bitor
[ PASS ] 0x2::hex::test_hex_encode_string_literal
[ PASS ] 0x2::hmac_tests::test_hmac_sha3_256
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_bitor__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u128
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u128__baseline
[ PASS ] 0x2::devnet_nftTests::mint_transfer_update
[ PASS ] 0x2::address_tests::from_bytes_ok
[ PASS ] 0x2::linked_table_tests::borrow_missing
[ PASS ] 0x2::display_tests::capy_init
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u64
[ PASS ] 0x2::groth16_tests::test_prepare_verifying_key
[ PASS ] 0x2::groth16_tests::test_prepare_verifying_key_invalid
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u64__baseline
[ PASS ] 0x2::ed25519_tests::test_ed25519_invalid_pubkey
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u8
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING DeFi
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_cast_u8__baseline
[ PASS ] 0x2::groth16_tests::test_verify_groth_16_proof
[ PASS ] 0x2::hash_tests::test_blake2b256_hash
[ PASS ] 0x2::hash_tests::test_keccak256_hash
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_copy_loc
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_copy_loc__baseline
[ PASS ] 0x2::bcs::test_bcs
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_div
[ PASS ] 0x2::id_tests::test_get_id
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_div__baseline
[ PASS ] 0x2::bcs::test_bool_fail
[ PASS ] 0x2::immutable_external_resource_tests::test_init
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_eq
[ PASS ] 0x2::dynamic_field_tests::add_duplicate
[ PASS ] 0x2::bcs::test_option
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_eq__baseline
[ PASS ] 0x2::dynamic_object_field_tests::add_duplicate
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ge
[ PASS ] 0x2::address_tests::from_bytes_too_few_bytes
[ PASS ] 0x2::linked_table_tests::borrow_mut_missing
[ PASS ] 0x2::bcs::test_uleb_len_fail
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ge__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_gt
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_gt__baseline
[ PASS ] 0x2::ed25519_tests::test_ed25519_valid_sig
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_imm_borrow_field
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_imm_borrow_field__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_imm_borrow_loc
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_imm_borrow_loc__baseline
[ PASS ] 0x2::coin_balance_tests::test_locked_coin_invalid
[ PASS ] 0x2::dynamic_field_tests::add_duplicate_mismatched_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ld_const
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ld_const__baseline
[ PASS ] 0x2::dynamic_object_field_tests::add_duplicate_mismatched_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu128
[ PASS ] 0x2::linked_table_tests::destroy_non_empty
[ PASS ] 0x2::address_tests::from_u256_ok
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu128__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu64
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_pk_invalid_public_key_length
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu64__baseline
[ PASS ] 0x2::table_tests::add_duplicate
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu8
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_ldu8__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_le
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_le__baseline
[ PASS ] 0x2::dynamic_field_tests::borrow_missing
[ PASS ] 0x2::coin_balance_tests::test_locked_coin_valid
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_lt
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_lt__baseline
[ PASS ] 0x2::dynamic_object_field_tests::borrow_missing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mod
[ PASS ] 0x2::linked_table_tests::front_back_empty
[ PASS ] 0x2::address_tests::from_u256_tests_too_many_bytes1
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mod__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mul
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mul__baseline
[ PASS ] 0x2::table_tests::borrow_missing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mut_borrow_field
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_pk_invalid_signature_key_length
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mut_borrow_field__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mut_borrow_loc
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_mut_borrow_loc__baseline
[ PASS ] 0x2::dynamic_field_tests::borrow_mut_missing
[ PASS ] 0x2::coin_balance_tests::type_morphing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_neq
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_neq__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_not
[ PASS ] 0x2::dynamic_object_field_tests::borrow_mut_missing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_not__baseline
[ PASS ] 0x2::linked_table_tests::pop_back_empty
[ PASS ] 0x2::address_tests::from_u256_tests_too_many_bytes2
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_or
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_or__baseline
[ PASS ] 0x2::table_tests::borrow_mut_missing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_pack
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_pack__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_read_ref
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_read_ref__baseline
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_pk_valid_and_invalid_sig
[ PASS ] 0x2::dynamic_field_tests::borrow_mut_wrong_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_shl
[ PASS ] 0x2::coin_tests::coin_tests_metadata
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_shl__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_shr
[ PASS ] 0x2::dynamic_object_field_tests::borrow_mut_wrong_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_shr__baseline
[ PASS ] 0x2::linked_table_tests::pop_front_empty
[ PASS ] 0x2::address_tests::test_from_bytes_too_many_bytes
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_sub
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING DeFi
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_sub__baseline
[ PASS ] 0x2::table_tests::destroy_non_empty
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_unpack
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_unpack__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_imm_borrow
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_imm_borrow__baseline
[ PASS ] 0x2::dynamic_field_tests::borrow_wrong_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_len
[ PASS ] 0x2::coin_tests::coin_tests_mint
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_len__baseline
[ PASS ] 0x2::url_tests::test_basic_url
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_sig_invalid_public_key_length
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_mut_borrow
[ PASS ] 0x2::dynamic_object_field_tests::borrow_wrong_type
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_mut_borrow__baseline
[ PASS ] 0x2::linked_table_tests::push_back_duplicate
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_pack
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_pack__baseline
[ PASS ] 0x2::table_tests::remove_missing
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_pop_back
[ PASS ] 0x2::address_tests::to_ascii_string_ok
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_pop_back__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_push_back
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_push_back__baseline
[ PASS ] 0x2::dynamic_field_tests::delete_uid_with_fields
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_swap
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_swap__baseline
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_unpack
[ PASS ] 0x2::dynamic_object_field_tests::delete_uid_with_fields
[ PASS ] 0x2::validator_set_tests::test_reference_gas_price_derivation
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_vec_unpack__baseline
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_sig_invalid_sig
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_write_ref
[ PASS ] 0x2::linked_table_tests::push_back_singleton
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_write_ref__baseline
[ PASS ] 0x2::table_tests::sanity_check_contains
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_xor
[ PASS ] 0x2::address_tests::to_bytes_ok
[ PASS ] 0x2::bytecode_calibration_tests::test_calibrate_xor__baseline
[ PASS ] 0x2::vec_map_tests::destroy_empty
[ PASS ] 0x2::vec_map_tests::destroy_non_empty
[ PASS ] 0x2::dynamic_field_tests::remove_missing
[ PASS ] 0x2::vec_map_tests::duplicate_key_abort
[ PASS ] 0x2::vec_map_tests::nonexistent_key_get
[ PASS ] 0x2::vec_map_tests::nonexistent_key_get_idx_or_abort
[ PASS ] 0x2::vec_map_tests::out_of_bounds_get_entry_by_idx
[ PASS ] 0x2::dynamic_object_field_tests::remove_missing
[ PASS ] 0x2::vec_map_tests::out_of_bounds_remove_entry_by_idx
[ PASS ] 0x2::vec_map_tests::remove_entry_by_idx
[ PASS ] 0x2::validator_set_tests::test_validator_set_flow
[ PASS ] 0x2::vec_map_tests::return_list_of_keys
[ PASS ] 0x2::linked_table_tests::push_front_duplicate
[ PASS ] 0x2::table_tests::sanity_check_drop
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_sig_invalid_signature_key_length
[ PASS ] 0x2::vec_map_tests::smoke
[ PASS ] 0x2::vec_set_tests::duplicate_key_abort
[ PASS ] 0x2::vec_set_tests::nonexistent_key_remove
[ PASS ] 0x2::vec_set_tests::smoke
[ PASS ] 0x2::address_tests::to_string_ok
[ PASS ] 0x2::dynamic_field_tests::remove_wrong_type
[ PASS ] 0x2::dynamic_object_field_tests::remove_wrong_type
[ PASS ] 0x2::linked_table_tests::push_front_singleton
[ PASS ] 0x2::table_tests::sanity_check_size
[ PASS ] 0x2::validator_tests::test_pending_validator_flow
Running Move unit tests
[ PASS ] 0x2::verifier_tests::test_init
[ PASS ] 0x2::bls12381_tests::test_bls12381_min_sig_valid_sig
[ PASS ] 0x2::bulletproofs_tests::test_bulletproof_standard_0_2pow64_invalid_proof
[ PASS ] 0x2::dynamic_field_tests::sanity_check_exists
[ PASS ] 0x2::address_tests::to_u256_ok
[ PASS ] 0x2::bulletproofs_tests::test_bulletproof_standard_0_2pow64_proof
[ PASS ] 0x2::bulletproofs_tests::test_pedersen_commitment
[ PASS ] 0x2::bulletproofs_tests::test_ristretto_point_addition
[ PASS ] 0x2::bulletproofs_tests::test_ristretto_point_subtraction
[ PASS ] 0x2::dynamic_object_field_tests::sanity_check_exists
[ PASS ] 0x2::table_tests::simple_all_functions
[ PASS ] 0x2::linked_table_tests::push_mixed_duplicate
[ PASS ] 0x2::verifier_tests::test_otw
[ PASS ] 0x0::escrow_tests::test_escrow_flow
[ PASS ] 0x0::shared_escrow_tests::test_cancel
[ PASS ] 0x0::flash_lender_tests::flash_loan_example
[ PASS ] 0x2::validator_tests::test_validator_owner_flow
[ PASS ] 0x0::pool_tests::test_add_liquidity
[ PASS ] 0x2::dynamic_field_tests::simple_all_functions
[ PASS ] 0x2::bag_tests::add_duplicate
[ PASS ] 0x2::pay_tests::test_coin_split_n
[ PASS ] 0x2::dynamic_object_field_tests::sanity_check_exists_with_type
[ PASS ] 0x2::table_vec_tests::borrow_mut_out_of_bounds_aborts
[ PASS ] 0x2::linked_table_tests::remove_missing
[ PASS ] 0x0::escrow_tests::test_return_to_sender
[ PASS ] 0x0::shared_escrow_tests::test_cancel_twice
[ PASS ] 0x2::object_bag_tests::add_duplicate
[ PASS ] 0x2::bag_tests::add_duplicate_mismatched_type
[ PASS ] 0x0::pool_tests::test_init_pool
[ PASS ] 0x2::validator_tests::test_validator_update_metadata
[ PASS ] 0x2::pay_tests::test_coin_split_n_to_vec
[ PASS ] 0x2::dynamic_object_field_tests::simple_all_functions
[ PASS ] 0x2::voting_power_tests::test_medium_validator_sets
[ PASS ] 0x2::table_vec_tests::borrow_out_of_bounds_aborts
[ PASS ] 0x2::linked_table_tests::sanity_check_contains
[ PASS ] 0x0::escrow_tests::test_swap_wrong_objects
[ PASS ] 0x0::shared_escrow_tests::test_cancel_with_wrong_owner
[ PASS ] 0x2::bag_tests::borrow_missing
[ PASS ] 0x2::object_bag_tests::borrow_missing
[ PASS ] 0x0::pool_tests::test_math
[ PASS ] 0x2::object_table_tests::add_duplicate
[ PASS ] 0x2::pay_tests::test_join_vec_and_transfer
[ PASS ] 0x2::dynamic_object_field_tests::transfer_object
[ PASS ] 0x2::table_vec_tests::destroy_non_empty_aborts
[ PASS ] 0x2::linked_table_tests::sanity_check_drop
[ PASS ] 0x0::escrow_tests::test_swap_wrong_recipient
[ PASS ] 0x0::shared_escrow_tests::test_escrow_flow
[ PASS ] 0x2::bag_tests::borrow_mut_missing
[ PASS ] 0x2::voting_power_tests::test_small_validator_sets
[ PASS ] 0x2::object_bag_tests::borrow_mut_missing
[ PASS ] 0x2::object_table_tests::borrow_missing
[ PASS ] 0x0::pool_tests::test_swap_sui
[ PASS ] 0x2::pay_tests::test_split_and_transfer
[ PASS ] 0x2::object_tests::test_bytes_address_roundtrip
[ PASS ] 0x2::table_vec_tests::pop_back_empty_aborts
[ PASS ] 0x2::linked_table_tests::sanity_check_size
[ PASS ] 0x0::shared_escrow_tests::test_swap_wrong_objects
[ PASS ] 0x2::priority_queue::test_pq
[ PASS ] 0x2::bag_tests::borrow_mut_wrong_type
[ PASS ] 0x2::object_bag_tests::destroy_non_empty
[ PASS ] 0x2::object_table_tests::borrow_mut_missing
[ PASS ] 0x0::pool_tests::test_swap_tok
[ PASS ] 0x2::pay_tests::test_split_and_transfer_fail
[ PASS ] 0x2::table_vec_tests::simple_all_functions
[ PASS ] 0x2::safe_tests::test_safe_attempt_to_over_withdraw
[ PASS ] 0x2::linked_table_tests::simple_all_functions
[ PASS ] 0x0::shared_escrow_tests::test_swap_wrong_recipient
[ PASS ] 0x2::bag_tests::borrow_wrong_type
[ PASS ] 0x2::randomness_tests::test_tbls_happy_flow
[ PASS ] 0x2::object_bag_tests::remove_missing
[ PASS ] 0x2::object_table_tests::destroy_non_empty
[ PASS ] 0x2::pay_tests::test_split_vec
[ PASS ] 0x0::pool_tests::test_withdraw_all
[ PASS ] 0x2::test_random_tests::test_next_bool
[ PASS ] 0x2::test_publisher::test_is_module
[ PASS ] 0x2::safe_tests::test_safe_create_and_withdraw_funds_as_delegatee
[ PASS ] 0x2::test_random_tests::test_next_bytes
[ PASS ] 0x2::test_random_tests::test_next_u128
[ PASS ] 0x2::test_random_tests::test_next_u128_in_range
[ PASS ] 0x2::bag_tests::destroy_non_empty
[ PASS ] 0x2::linked_table_tests::test_all_orderings
[ PASS ] 0x2::test_random_tests::test_next_u16
[ PASS ] 0x2::object_bag_tests::sanity_check_contains
[ PASS ] 0x2::randomness_tests::test_tbls_invalid_format
[ PASS ] 0x2::object_table_tests::remove_missing
[ PASS ] 0x2::test_random_tests::test_next_u16_in_range
[ PASS ] 0x2::test_random_tests::test_next_u256
[ PASS ] 0x0::pool_tests::test_withdraw_almost_all
Test result: OK. Total tests: 18; passed: 18; failed: 0
[ PASS ] 0x2::test_publisher::test_is_package
[ PASS ] 0x2::test_random_tests::test_next_u256_in_range
[ PASS ] 0x2::safe_tests::test_safe_create_and_withdraw_funds_as_owner
[ PASS ] 0x2::test_random_tests::test_next_u32
[ PASS ] 0x2::test_random_tests::test_next_u32_in_range
[ PASS ] 0x2::test_random_tests::test_next_u64
[ PASS ] 0x2::bag_tests::remove_missing
[ PASS ] 0x2::object_bag_tests::sanity_check_contains_with_type
[ PASS ] 0x2::object_table_tests::sanity_check_contains
[ PASS ] 0x2::test_random_tests::test_next_u64_in_range
[ PASS ] 0x2::randomness_tests::test_tbls_wrong_signature
[ PASS ] 0x2::test_random_tests::test_next_u8
[ PASS ] 0x2::math_tests::test_imperfect_sqrt
[ PASS ] 0x2::test_random_tests::test_next_u8_in_range
[ PASS ] 0x2::math_tests::test_max
[ PASS ] 0x2::math_tests::test_min
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_event_emit
[ PASS ] 0x2::safe_tests::test_safe_withdraw_revoked
[ PASS ] 0x2::bag_tests::remove_wrong_type
[ PASS ] 0x2::object_bag_tests::sanity_check_size
[ PASS ] 0x2::object_table_tests::sanity_check_size
[ PASS ] 0x2::test_scenarioTests::test_double_remove
[ PASS ] 0x2::tx_context_tests::test_id_generation
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_event_emit__baseline
[ PASS ] 0x2::safe_tests::test_safe_withdraw_self_revoked
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING sui-capybaras
[ PASS ] 0x2::math_tests::test_perfect_sqrt
[ PASS ] 0x2::math_tests::test_pow
[ PASS ] 0x2::math_tests::test_pow_overflow
[ PASS ] 0x2::math_tests::test_sqrt_big_numbers
[ PASS ] 0x2::bag_tests::sanity_check_contains
[ PASS ] 0x2::object_bag_tests::simple_all_functions
[ PASS ] 0x2::object_table_tests::simple_all_functions
[ PASS ] 0x2::test_scenarioTests::test_dynamic_field_immutable_misuse
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_id_address_from_bytes
[ PASS ] 0x2::bag_tests::sanity_check_size
[ PASS ] 0x2::object_bag_tests::transfer_object
[ PASS ] 0x2::object_table_tests::transfer_object
[ PASS ] 0x2::test_scenarioTests::test_dynamic_field_shared_misuse
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_id_address_from_bytes__baseline
[ PASS ] 0x2::bag_tests::simple_all_functions
[ PASS ] 0x2::test_scenarioTests::test_dynamic_field_still_borrowed
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_id_borrow_uid
[ PASS ] 0x2::balance_tests::test_balance
[ PASS ] 0x2::test_scenarioTests::test_dynamic_object_field_immutable_misuse
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_id_borrow_uid__baseline
[ PASS ] 0x2::test_scenarioTests::test_dynamic_object_field_not_retrievable
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING sui-capybaras
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_pop
[ PASS ] 0x2::test_scenarioTests::test_dynamic_object_field_shared_misuse
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_pop__baseline
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_tx_context_derive_id
[ PASS ] 0x2::test_scenarioTests::test_dynamic_object_field_still_borrowed
[ PASS ] 0x2::natives_calibration_tests::test_calibrate_tx_context_derive_id__baseline
[ PASS ] 0x2::test_scenarioTests::test_empty_inventory
[ PASS ] 0x2::test_scenarioTests::test_empty_inventory_immutable
Running Move unit tests
[ PASS ] 0x2::test_scenarioTests::test_empty_inventory_shared
[ PASS ] 0x0::capy::test_raw_vec_to_values
Test result: OK. Total tests: 1; passed: 1; failed: 0
[ PASS ] 0x2::test_scenarioTests::test_get_last_created_object_id
[ PASS ] 0x2::test_scenarioTests::test_get_owned_obj_ids
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING FungibleTokens
[ PASS ] 0x2::test_scenarioTests::test_invalid_address_return
[ PASS ] 0x2::test_scenarioTests::test_invalid_immutable_return
[ PASS ] 0x2::test_scenarioTests::test_invalid_immutable_usage
[ PASS ] 0x2::test_scenarioTests::test_invalid_shared_return
[ PASS ] 0x2::test_scenarioTests::test_invalid_shared_usage
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING FungibleTokens
[ PASS ] 0x2::test_scenarioTests::test_modify_immutable
[ PASS ] 0x2::test_scenarioTests::test_object_not_found
[ PASS ] 0x2::test_scenarioTests::test_object_not_found_immutable
[ PASS ] 0x2::test_scenarioTests::test_object_not_found_shared
Running Move unit tests
[ PASS ] 0x2::test_scenarioTests::test_remove_during_tx
[ PASS ] 0x0::basket_tests::test_mint_burn
[ PASS ] 0x0::treasury_lock_tests::test_banned_cap_cannot_mint
[ PASS ] 0x0::tests::test_address_banned_fail
[ PASS ] 0x0::private_coin_tests::test_init_pool
[ PASS ] 0x2::test_scenarioTests::test_remove_then_return
[ PASS ] 0x0::treasury_lock_tests::test_minted_amount_resets_at_epoch_change
[ PASS ] 0x0::tests::test_different_account_fail
[ PASS ] 0x2::test_scenarioTests::test_return_and_update
[ PASS ] 0x0::treasury_lock_tests::test_minting_over_limit_fails
[ PASS ] 0x0::tests::test_not_owned_balance_fail
[ PASS ] 0x2::test_scenarioTests::test_take_immutable
[ PASS ] 0x0::treasury_lock_tests::test_user_can_mint
[ PASS ] 0x2::test_scenarioTests::test_take_immutable_by_id
[ PASS ] 0x0::treasury_lock_tests::test_user_can_mint_after_unban
Test result: OK. Total tests: 10; passed: 10; failed: 0
[ PASS ] 0x2::test_scenarioTests::test_take_owned_by_id
[ PASS ] 0x2::test_scenarioTests::test_take_shared
[ PASS ] 0x2::test_scenarioTests::test_take_shared_by_id
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Games
[ PASS ] 0x2::test_scenarioTests::test_three_owners
[ PASS ] 0x2::test_scenarioTests::test_transfer_then_delete
[ PASS ] 0x2::test_scenarioTests::test_unreturned_objects
[ PASS ] 0x2::test_scenarioTests::test_wrap_unwrap
[ PASS ] 0x2::test_scenarioTests::test_wrong_object_type
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Games
[ PASS ] 0x2::test_scenarioTests::test_wrong_object_type_immutable
[ PASS ] 0x2::test_scenarioTests::test_wrong_object_type_shared
test tests::run_framework_move_unit_tests ... FAILED
Running Move unit tests
[ PASS ] 0x0::hero::slay_boar_test
[ PASS ] 0x0::shared_tic_tac_toe_tests::play_tictactoe
[ PASS ] 0x0::rock_paper_scissors_tests::play_rock_paper_scissors
[ PASS ] 0x0::tic_tac_toe_tests::play_tictactoe
[ PASS ] 0x0::randomness_based_lottery_tests::test_play_randomness_lottery
[ PASS ] 0x0::drand_based_lottery_tests::test_play_drand_lottery
[ PASS ] 0x0::drand_based_scratch_card_tests::test_play_drand_scratch_card_with_winner
[ PASS ] 0x0::shared_tic_tac_toe_tests::play_tictactoe_draw
[ PASS ] 0x0::tic_tac_toe_tests::play_tictactoe_draw
[ PASS ] 0x0::drand_based_lottery_tests::test_verify_time_has_passed_failure
[ PASS ] 0x0::drand_based_scratch_card_tests::test_play_drand_scratch_card_without_winner
[ PASS ] 0x0::drand_based_lottery_tests::test_verify_time_has_passed_success
Test result: OK. Total tests: 12; passed: 12; failed: 0
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING MyFirstPackage
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING MyFirstPackage
Running Move unit tests
[ PASS ] 0x0::my_module::test_module_init
[ PASS ] 0x0::my_module::test_sword_create
[ PASS ] 0x0::my_module::test_sword_transactions
Test result: OK. Total tests: 3; passed: 3; failed: 0
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING NFTs
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING NFTs
Running Move unit tests
[ PASS ] 0x0::cross_chain_airdrop_tests::test_claim_airdrop
[ PASS ] 0x0::chat_tests::test_chat
[ PASS ] 0x0::discount_coupon_tests::test_mint_then_transfer
[ PASS ] 0x0::shared_auction_tests::simple_auction_test
[ PASS ] 0x0::auction_tests::simple_auction_test
[ PASS ] 0x0::random_word_tests::test_random_word
[ PASS ] 0x0::cross_chain_airdrop_tests::test_double_claim
Test result: OK. Total tests: 7; passed: 7; failed: 0
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Tutorial
INCLUDING DEPENDENCY Sui
INCLUDING DEPENDENCY MoveStdlib
BUILDING Tutorial
Running Move unit tests
[ PASS ] 0x0::color_objectTests::test_copy_into
[ PASS ] 0x0::color_objectTests::test_create
[ PASS ] 0x0::color_objectTests::test_delete
[ PASS ] 0x0::color_objectTests::test_immutable
[ PASS ] 0x0::color_objectTests::test_transfer
Test result: OK. Total tests: 5; passed: 5; failed: 0
test tests::run_examples_move_unit_tests ... ok
failures:
---- tests::run_framework_move_unit_tests stdout ----
thread '<unnamed>' panicked at 'assertion failed: false', crates/sui-framework/src/natives/test_scenario.rs:651:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'assertion failed: false', crates/sui-framework/src/natives/test_scenario.rs:651:17
thread '<unnamed>' panicked at 'assertion failed: false', crates/sui-framework/src/natives/test_scenario.rs:651:17
failures:
tests::run_framework_move_unit_tests
test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.50s
error: test failed, to rerun pass `-p sui-framework --lib`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment