# ./main.go:5:2: imported and not used: "fmt"

- **ID:** `go/imported-and-not-used`
- **Domain:** go
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

An import is declared but no identifier from that package is referenced in the file. Go treats unused imports as a compile error.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.x | active | — | — |

## Workarounds

1. **** (98% success)
   ```
   // delete the import line, or run:
goimports -w ./...
# or: gofmt -w main.go
   ```
2. **** (90% success)
   ```
   import _ "net/http/pprof"
   ```

## Dead Ends

- **** — linters respect it but the compiler still errors (100% fail)
- **** — compiles but is dead code and often flagged by vet (80% fail)
- **** — does not disable unused-import errors (100% fail)
