# Diagnostics 三个文件**故意编译失败**,用来复现第 18 章「报错现场」的真实诊断。 ```bash swiftc Diagnostics/UniquenessOnInt.swift # error: requires that 'Int' be a class type swiftc Diagnostics/MutatingGetterOnLet.swift # error: cannot use mutating getter on immutable value swiftc Diagnostics/MissingMutating.swift # error: cannot assign to property: 'self' is immutable ```