Build Information
Failed to build swift-corelibs-foundation, reference main (e17c61
), with Swift 6.0 for Linux on 27 Jun 2025 03:57:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1232/1249] Compiling FoundationEssentials ErrorCodes+POSIX.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1233/1249] Compiling FoundationEssentials ErrorCodes+Win32.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1234/1249] Compiling FoundationEssentials ErrorCodes.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1235/1249] Compiling FoundationEssentials FileManager+Basics.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1236/1249] Compiling FoundationEssentials FileManager+Bridge.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1237/1249] Compiling FoundationEssentials FileManager+Directories.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
[1238/1249] Compiling FoundationEssentials FileManager+Files.swift
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:26: error: expected ',' separator
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: expected ',' separator
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: consecutive statements on a line must be separated by ';'
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: consecutive statements on a line must be separated by ';'
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: consecutive statements on a line must be separated by ';'
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: consecutive statements on a line must be separated by ';'
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2229:20: error: consecutive statements on a line must be separated by ';'
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
2229 | return unsafe _overrideLifetime(span, borrowing: self)
| `- error: consecutive statements on a line must be separated by ';'
2230 | }
2231 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:26: error: expected ',' separator
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: expected ',' separator
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: consecutive statements on a line must be separated by ';'
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: consecutive statements on a line must be separated by ';'
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: consecutive statements on a line must be separated by ';'
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: consecutive statements on a line must be separated by ';'
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: consecutive statements on a line must be separated by ';'
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2265:20: error: consecutive statements on a line must be separated by ';'
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
2265 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2266 | }
2267 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2275:24: error: consecutive statements on a line must be separated by ';'
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
2274 | var bytes = mutableBytes
2275 | let span = unsafe bytes._unsafeMutableView(as: UInt8.self)
| `- error: consecutive statements on a line must be separated by ';'
2276 | return _overrideLifetime(span, mutating: &self)
2277 | #else
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: consecutive statements on a line must be separated by ';'
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: consecutive statements on a line must be separated by ';'
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: consecutive statements on a line must be separated by ';'
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: consecutive statements on a line must be separated by ';'
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: consecutive statements on a line must be separated by ';'
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: consecutive statements on a line must be separated by ';'
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2297:20: error: consecutive statements on a line must be separated by ';'
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
2297 | return unsafe _overrideLifetime(span, mutating: &self)
| `- error: consecutive statements on a line must be separated by ';'
2298 | #endif
2299 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:18: error: expected ',' separator
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: expected ',' separator
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2207:23: error: cannot find type 'RawSpan' in scope
2205 |
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
2208 | @lifetime(borrow self)
2209 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2208:10: error: unknown attribute 'lifetime'
2206 | @available(FoundationSpan 6.2, *)
2207 | public var bytes: RawSpan {
2208 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2209 | borrowing get {
2210 | let buffer: UnsafeRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2234:22: error: cannot find type 'Span' in scope
2232 |
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
| `- error: cannot find type 'Span' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2235:10: error: unknown attribute 'lifetime'
2233 | @available(FoundationSpan 6.2, *)
2234 | public var span: Span<UInt8> {
2235 | @lifetime(borrow self)
| `- error: unknown attribute 'lifetime'
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2243:30: error: cannot find type 'MutableRawSpan' in scope
2241 |
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
| `- error: cannot find type 'MutableRawSpan' in scope
2244 | @lifetime(&self)
2245 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2244:10: error: unknown attribute 'lifetime'
2242 | @available(FoundationSpan 6.2, *)
2243 | public var mutableBytes: MutableRawSpan {
2244 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2245 | mutating get {
2246 | let buffer: UnsafeMutableRawBufferPointer
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2270:29: error: cannot find type 'MutableSpan' in scope
2268 |
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
| `- error: cannot find type 'MutableSpan' in scope
2271 | @lifetime(&self)
2272 | mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2271:10: error: unknown attribute 'lifetime'
2269 | @available(FoundationSpan 6.2, *)
2270 | public var mutableSpan: MutableSpan<UInt8> {
2271 | @lifetime(&self)
| `- error: unknown attribute 'lifetime'
2272 | mutating get {
2273 | #if false // see https://github.com/swiftlang/swift/issues/81218
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2984:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2982 | @lifetime(borrow source)
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2985 | >(
2986 | _ dependent: consuming T, borrowing source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2982:2: error: unknown attribute 'lifetime'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
2982 | @lifetime(borrow source)
| `- error: unknown attribute 'lifetime'
2983 | internal func _overrideLifetime<
2984 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2979:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
2979 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2980 | @_alwaysEmitIntoClient
2981 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2978:2: error: unknown attribute 'unsafe'
2976 | /// a value identical to `dependent` with a lifetime dependency on the caller's
2977 | /// borrow scope of the `source` argument.
2978 | @unsafe
| `- error: unknown attribute 'unsafe'
2979 | @_unsafeNonescapableResult
2980 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3000:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
2998 | @lifetime(copy source)
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3001 | >(
3002 | _ dependent: consuming T, copying source: borrowing U
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2998:2: error: unknown attribute 'lifetime'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
2998 | @lifetime(copy source)
| `- error: unknown attribute 'lifetime'
2999 | internal func _overrideLifetime<
3000 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2995:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
2993 | /// the `source` argument.
2994 | @unsafe
2995 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
2996 | @_alwaysEmitIntoClient
2997 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2994:2: error: unknown attribute 'unsafe'
2992 | /// a value identical to `dependent` that inherits all lifetime dependencies from
2993 | /// the `source` argument.
2994 | @unsafe
| `- error: unknown attribute 'unsafe'
2995 | @_unsafeNonescapableResult
2996 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:19: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3016:46: error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3014 | @lifetime(&source)
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
| `- error: type 'Escapable' requires -enable-experimental-feature NonescapableTypes
3017 | >(
3018 | _ dependent: consuming T,
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3014:2: error: unknown attribute 'lifetime'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
3014 | @lifetime(&source)
| `- error: unknown attribute 'lifetime'
3015 | internal func _overrideLifetime<
3016 | T: ~Copyable & ~Escapable, U: ~Copyable & ~Escapable
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3011:1: error: attribute requires '-enable-experimental-feature NonescapableTypes'
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
3011 | @_unsafeNonescapableResult
| `- error: attribute requires '-enable-experimental-feature NonescapableTypes'
3012 | @_alwaysEmitIntoClient
3013 | @_transparent
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:3010:2: error: unknown attribute 'unsafe'
3008 | /// Return a value identical to `dependent` with a lifetime dependency
3009 | /// on the caller's exclusive borrow scope of the `source` argument.
3010 | @unsafe
| `- error: unknown attribute 'unsafe'
3011 | @_unsafeNonescapableResult
3012 | @_alwaysEmitIntoClient
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2215:26: error: cannot find 'unsafe' in scope
2213 | buffer = UnsafeRawBufferPointer(start: nil, count: 0)
2214 | case .inline:
2215 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2216 | start: UnsafeRawPointer(Builtin.addressOfBorrow(self)),
2217 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2220:26: error: cannot find 'unsafe' in scope
2218 | )
2219 | case .large(let slice):
2220 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2221 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2222 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2224:26: error: cannot find 'unsafe' in scope
2222 | )
2223 | case .slice(let slice):
2224 | buffer = unsafe UnsafeRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2225 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2226 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:24: error: cannot find 'unsafe' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2228:31: error: cannot find 'RawSpan' in scope
2226 | )
2227 | }
2228 | let span = unsafe RawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'RawSpan' in scope
2229 | return unsafe _overrideLifetime(span, borrowing: self)
2230 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2237:24: error: cannot find 'unsafe' in scope
2235 | @lifetime(borrow self)
2236 | borrowing get {
2237 | let span = unsafe bytes._unsafeView(as: UInt8.self)
| `- error: cannot find 'unsafe' in scope
2238 | return _overrideLifetime(span, borrowing: self)
2239 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2251:26: error: cannot find 'unsafe' in scope
2249 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2250 | case .inline:
2251 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2252 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2253 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2256:26: error: cannot find 'unsafe' in scope
2254 | )
2255 | case .large(let slice):
2256 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2257 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2258 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2260:26: error: cannot find 'unsafe' in scope
2258 | )
2259 | case .slice(let slice):
2260 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2261 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2262 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:24: error: cannot find 'unsafe' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2264:31: error: cannot find 'MutableRawSpan' in scope
2262 | )
2263 | }
2264 | let span = unsafe MutableRawSpan(_unsafeBytes: buffer)
| `- error: cannot find 'MutableRawSpan' in scope
2265 | return unsafe _overrideLifetime(span, mutating: &self)
2266 | }
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2283:26: error: cannot find 'unsafe' in scope
2281 | buffer = UnsafeMutableRawBufferPointer(start: nil, count: 0)
2282 | case .inline:
2283 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2284 | start: UnsafeMutableRawPointer(Builtin.addressOfBorrow(self)),
2285 | count: _representation.count
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2288:26: error: cannot find 'unsafe' in scope
2286 | )
2287 | case .large(let slice):
2288 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2289 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2290 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2292:26: error: cannot find 'unsafe' in scope
2290 | )
2291 | case .slice(let slice):
2292 | buffer = unsafe UnsafeMutableRawBufferPointer(
| `- error: cannot find 'unsafe' in scope
2293 | start: slice.storage.mutableBytes?.advanced(by: slice.startIndex), count: slice.count
2294 | )
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:24: error: cannot find 'unsafe' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'unsafe' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-foundation/Sources/FoundationEssentials/Data/Data.swift:2296:31: error: cannot find 'MutableSpan' in scope
2294 | )
2295 | }
2296 | let span = unsafe MutableSpan<UInt8>(_unsafeBytes: buffer)
| `- error: cannot find 'MutableSpan' in scope
2297 | return unsafe _overrideLifetime(span, mutating: &self)
2298 | #endif
BUILD FAILURE 6.0 linux