Sui's Move.toml dependency is outdated

:link: Chain Sui

:stopwatch: Timestamp 2025/Aug/13

:test_tube: The Sui’s dependency is outdated. We can’t execute the basic sui move test

error[E02015]: invalid attribute

┌─ /Users/anna/.move/https___github_com_MystenLabs_sui_git_041c5f2bae2fe52079e44b70514333532d69f4e6/crates/sui-framework/packages/move-stdlib/tests/type_name_tests.move:87:13

87 │ #[test, expected_failure = std::type_name::ENonModuleType]

│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Attribute ‘expected_failure’ does not support assignment. Expected either ‘#[expected_failure]’ or #[expected_failure(, …)]’

error[E02015]: invalid attribute

┌─ /Users/anna/.move/https___github_com_MystenLabs_sui_git_041c5f2bae2fe52079e44b70514333532d69f4e6/crates/sui-framework/packages/move-stdlib/tests/type_name_tests.move:92:13

92 │ #[test, expected_failure = std::type_name::ENonModuleType]

│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Attribute ‘expected_failure’ does not support assignment. Expected either ‘#[expected_failure]’ or #[expected_failure(, …)]’

error[E02015]: invalid attribute

┌─ /Users/anna/.move/https___github_com_MystenLabs_sui_git_041c5f2bae2fe52079e44b70514333532d69f4e6/crates/sui-framework/packages/move-stdlib/tests/type_name_tests.move:97:13

97 │ #[test, expected_failure = std::type_name::ENonModuleType]

│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Attribute ‘expected_failure’ does not support assignment. Expected either ‘#[expected_failure]’ or #[expected_failure(, …)]’

error[E02015]: invalid attribute

┌─ /Users/anna/.move/https___github_com_MystenLabs_sui_git_041c5f2bae2fe52079e44b70514333532d69f4e6/crates/sui-framework/packages/move-stdlib/tests/type_name_tests.move:102:13

│

102 │ #[test, expected_failure = std::type_name::ENonModuleType]

│             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Attribute 'expected_failure' does not support assignment. Expected either '#\[expected_failure\]' or #\[expected_failure(<arg>, ...)\]'

Hello! Apologies for not getting to this for some time. Ive reproduced the issue and will spend some time this coming week to resolve the issues. Thanks for bringing it to our attention!

1 Like