# Diagnostics 两个文件**故意编译失败**,用来复现第 56 章「报错现场」的真实诊断。 ```bash swiftc -typecheck Diagnostics/BundleIDInt.swift # error: cannot convert 'Int' to 'String' swiftc -typecheck Diagnostics/ProfileMapInt.swift # error: cannot convert 'Int' to dictionary value 'String' ```