# `import.unused`

Imported name the file does not use.

Area 1, [Project layout and modules](../topics/project-layout-and-modules.md); not declinable; the next step is usually the agent's.

```jadpo
use shared/types { Percent, Stock }

action stock_loaf(each: Stock) -> Stock {
    return each
}
```

```text
error: `Percent` is imported but not used
 --> domains/bakery/actions/stock_loaf.jadpo:1:20
  |
1 | use shared/types { Percent, Stock }
  |                    ^^^^^^^ not used
  reason: A `use` line lists only the names its file uses, so each says where it comes from; nothing here uses `Percent`.
  next: Remove `Percent` from this line (agent)
  rule: import.unused
  help: https://jadpo.dev/docs/errors/import.unused

check failed: 1 error, 5 files
```
