# Diagnostics 两个文件**故意编译失败**,用来复现第 52 章「报错现场」的真实诊断。 ```bash swiftc -typecheck Diagnostics/DurationSeconds.swift # error: static member 'seconds' cannot be used on instance swiftc -typecheck Diagnostics/DateFromString.swift # error: cannot convert 'String' to 'TimeInterval' ```