in Sources/CollectionsBenchmark/Benchmark/Benchmark+Links.swift [35:45]
func _sourceLink(base: URL) -> URL? {
var file = Substring(self.file.description)
guard let prefix = packageBuildRoot(for: file.base) else { return nil }
guard file.starts(with: prefix) else { return nil }
file = file.dropFirst(prefix.count)
guard file.starts(with: "/") else { return nil }
file = file.dropFirst()
let url = base.appendingPathComponent(String(file))
// FIXME: URL doesn't let us set the fragment.
return URL(string: "\(url.relativeString)#L\(line)")
}