V8002 reserved_package_name
sakura.toml names its package std or main (design §9, §17.131).
An error from the package phase. sakura explain V8002 prints this explanation offline.
sakura.toml names its package std or main (design §9, §17.131). The first segment of an
import is a package name: std is the standard library and main is the package of a file run
without a manifest, so a package under either name would make import std/… or import main/…
mean two things.
Wrong:
[package]
name = "main"Fixed:
[package]
name = "billing"Wrong program
No fixture in compiler/tests/ui reports this code yet.
Fixed program
No fixed program yet; the explanation above describes the repair.
V8001 missing_entry_point
sakura run needs pub fn main() -> Unit ! {…} in the program it runs (design §9).
V8003 abi_version_mismatch
The WASM module was compiled against a runtime ABI this host does not implement (runtime/rt/ABI.md §0): its major version differs, or its minor version is newer than the host's, so it may need imports the host lacks.