Cargo Features

[dependencies]
radix-native-sdk = { version = "1.2.0", default-features = false, features = ["std", "alloc"] }
default = std

You should enable either std or alloc

std default

Enables std of radix-common, radix-engine-interface, radix-rust, and sbor

sbor:

preserve_order requires std

alloc

Enables alloc of radix-common, radix-engine-interface, radix-rust, and sbor