# V8002 reserved_package_name

URL: /docs/errors/V8002
Markdown: /docs/errors/V8002.md

> 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:

```toml
[package]
name = "main"
```

Fixed:

```toml
[package]
name = "billing"
```

## Wrong program [#wrong-program]

No fixture in `compiler/tests/ui` reports this code yet.

## Fixed program [#fixed-program]

No fixed program yet; the explanation above describes the repair.
