Build Information
Successful build of IkigaJSON, reference master (ccb32a), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 19:33:11 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/swift-json.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/swift-json
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ccb32aa Merge pull request #70 from true-false-maybe/patch-69-invalid-json-when-encodable-type-uses-multiple-containers
Cloned https://github.com/orlandos-nl/swift-json.git
Revision (git rev-parse @):
ccb32aab5a7b4c42e7f6b1898c45e13a86a79f9f
SUCCESS checkout https://github.com/orlandos-nl/swift-json.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/orlandos-nl/swift-json.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 804]
[Planning deferred tasks]
[151 / 316] swift-nio_NIOPosix
[154 / 316]
[166 / 322] CNIOLinux
[174 / 322] CNIOWindows
[180 / 342]
[197 / 386]
[204 / 386]
[217 / 386] _NIOBase64
[238 / 425]
[249 / 425] _AtomicsShims
[256 / 425] _JSONCore
[269 / 425]
[277 / 425] InternalCollectionsUtilities
[284 / 425] InternalCollectionsUtilities
[286 / 425] _JSONCore
[294 / 427]
[301 / 427] Atomics
[306 / 427] Atomics
[309 / 427] _NIODataStructures
[313 / 427] Atomics
[322 / 427] _NIODataStructures
[339 / 427] InternalCollectionsUtilities
[348 / 432] Atomics
[358 / 433] DequeModule
[367 / 444] DequeModule
[369 / 444] DequeModule
[378 / 445] NIOCore
[381 / 462]
[383 / 462]
[393 / 462] NIOCore
[395 / 462] NIOCore
[397 / 462] NIOCore
[408 / 465] NIOEmbedded
[412 / 469] NIOEmbedded
[418 / 469] NIOFoundationEssentialsCompat
[430 / 501]
[435 / 501]
[437 / 501]
[438 / 501]
[449 / 501] NIOPosix
[450 / 501] NIOFoundationEssentialsCompat
[452 / 501] NIOFoundationEssentialsCompat
[458 / 501] NIOFoundationEssentialsCompat
[458 / 501] NIOPosix
[464 / 501]
[465 / 502] NIOFoundationEssentialsCompat
[469 / 504] NIO
[477 / 505] NIOPosix
[477 / 505] NIOFoundationCompat
[481 / 509] NIOFoundationCompat
[489 / 510] _NIOJSON
[499 / 521] _NIOJSON
[500 / 521] _NIOJSON
[507 / 522] _NIOJSON
[509 / 524] IkigaJSON
[517 / 524] NIOPosix
[522 / 524] _NIOJSON
Build complete! (17.05 sec)
Fetching https://github.com/apple/swift-nio.git
[1/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (6.80s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (7.65s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1881] Fetching swift-atomics
[133/8797] Fetching swift-atomics, swift-system
[2275/36499] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.23s)
[3045/34618] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.48s)
Fetched https://github.com/apple/swift-system.git (2.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/IkigaJSONTests/Fixtures/hotel.json
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONObjectView.swift:21:9: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m19 |[0;0m @safe
[0;36m20 |[0;0m public var data: Data {
[0;36m21 |[0;0m unsafe span.withUnsafeBytes { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m22 |[0;0m unsafe Data(buffer)
[0;36m23 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONObjectView.swift:41:35: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m39 |[0;0m let jsonDescription: JSONDescription
[0;36m40 |[0;0m do {
[0;36m41 |[0;0m jsonDescription = try unsafe span.withUnsafeBufferPointer { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m42 |[0;0m Result<JSONDescription, JSONParserError> { () throws(JSONParserError) -> JSONDescription in
[0;36m43 |[0;0m var tokenizer = unsafe JSONTokenizer(
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONObjectView.swift:232:13: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m230 |[0;0m let subSpan = span.extracting(Int(jsonBounds.offset) ..< Int(jsonBounds.offset + jsonBounds.length))
[0;36m231 |[0;0m var subBuffer = ByteBuffer()
[0;36m232 |[0;0m unsafe subBuffer.writeBytes(subSpan.bytes)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m233 |[0;0m
[0;36m234 |[0;0m if type == .object {
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONArrayView.swift:20:9: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m18 |[0;0m @safe
[0;36m19 |[0;0m public var data: Data {
[0;36m20 |[0;0m unsafe span.withUnsafeBytes { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m21 |[0;0m unsafe Data(buffer)
[0;36m22 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONArrayView.swift:40:35: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m38 |[0;0m let jsonDescription: JSONDescription
[0;36m39 |[0;0m do {
[0;36m40 |[0;0m jsonDescription = try unsafe span.withUnsafeBufferPointer { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m41 |[0;0m Result<JSONDescription, JSONParserError> { () throws(JSONParserError) -> JSONDescription in
[0;36m42 |[0;0m var tokenizer = unsafe JSONTokenizer(
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONArrayView.swift:263:9: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m261 |[0;0m let subSpan = span.extracting(Int(jsonBounds.offset) ..< Int(jsonBounds.offset + jsonBounds.length))
[0;36m262 |[0;0m var subBuffer = ByteBuffer()
[0;36m263 |[0;0m unsafe subBuffer.writeBytes(subSpan.bytes)
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m264 |[0;0m
[0;36m265 |[0;0m if type == .object {
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/Bounds.swift:123:16: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m121 |[0;0m }
[0;36m122 |[0;0m } else {
[0;36m123 |[0;0m return unsafe span.withUnsafeBytes { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m124 |[0;0m let slice = unsafe UnsafeRawBufferPointer(rebasing: buffer[startOffset..<(startOffset + byteLength)])
[0;36m125 |[0;0m return unsafe String(decoding: slice, as: Unicode.UTF8.self)
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:77:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m75 |[0;0m ensureWritableRoom(for: size)
[0;36m76 |[0;0m let bytesWritten = self.setInteger(integer, at: self.writtenBytes)
[0;36m77 |[0;0m writtenBytes += bytesWritten
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m78 |[0;0m return Int(bytesWritten)
[0;36m79 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:113:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m111 |[0;0m let sourceSlice = jsonDescription.storage[jsonDescription.storage.startIndex..<jsonDescription.storage.startIndex + jsonDescription.writtenBytes]
[0;36m112 |[0;0m _storage.replaceSubrange(destRange, with: sourceSlice)
[0;36m113 |[0;0m writtenBytes += jsonDescription.writtenBytes
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m114 |[0;0m }
[0;36m115 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:138:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m136 |[0;0m package func moveWriterIndex(forwardBy offset: Int) {
[0;36m137 |[0;0m ensureWritableRoom(for: offset)
[0;36m138 |[0;0m writtenBytes += offset
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:207:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m205 |[0;0m // Bulk copy using replaceSubrange (much faster than byte-by-byte loop)
[0;36m206 |[0;0m copy._storage.replaceSubrange(0..<length, with: storage[offset..<(offset + length)])
[0;36m207 |[0;0m copy.writtenBytes = length
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m208 |[0;0m return copy
[0;36m209 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:297:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m295 |[0;0m }
[0;36m296 |[0;0m
[0;36m297 |[0;0m self.writtenBytes += diff
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m298 |[0;0m }
[0;36m299 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONObject.swift:112:19: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m110 |[0;0m self.jsonDescription = try unsafe buffer.withSpan { span in
[0;36m111 |[0;0m Result<JSONDescription, JSONParserError> { () throws(JSONParserError) -> JSONDescription in
[0;36m112 |[0;0m try unsafe span.withUnsafeBufferPointer { buffer throws(JSONParserError) in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m113 |[0;0m var tokenizer = unsafe JSONTokenizer(
[0;36m114 |[0;0m bytes: buffer,
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Types/JSONArray.swift:73:17: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m71 |[0;0m self.jsonDescription = try unsafe buffer.withSpan { span in
[0;36m72 |[0;0m Result<JSONDescription, JSONParserError> { () throws(JSONParserError) -> JSONDescription in
[0;36m73 |[0;0m try unsafe span.withUnsafeBufferPointer { buffer throws(JSONParserError) in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m74 |[0;0m var tokenizer = unsafe JSONTokenizer(
[0;36m75 |[0;0m bytes: buffer,
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Codable/JSONDecoder.swift:217:7: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m215 |[0;0m let bytes = byteBuffer.getBytes(at: 0, length: byteBuffer.readableBytes) ?? []
[0;36m216 |[0;0m return try description.withDescription { description in
[0;36m217 |[0;0m unsafe bytes.withUnsafeBufferPointer { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m218 |[0;0m Result<D, any Error> {
[0;36m219 |[0;0m var parser = unsafe JSONTokenizer(
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Codable/JSONDecoder.swift:241:7: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m239 |[0;0m let bytes = byteBuffer.getBytes(at: 0, length: byteBuffer.readableBytes) ?? []
[0;36m240 |[0;0m return try description.withDescription { description in
[0;36m241 |[0;0m unsafe bytes.withUnsafeBufferPointer { buffer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m242 |[0;0m Result<D, any Error> {
[0;36m243 |[0;0m var parser = unsafe JSONTokenizer(
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Codable/JSONDecoder.swift:279:7: [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m277 |[0;0m let bytes = buffer.getBytes(at: 0, length: buffer.readableBytes) ?? []
[0;36m278 |[0;0m return try description.withDescription { description in
[0;36m279 |[0;0m unsafe bytes.withUnsafeBufferPointer { bufferPointer in
[0;36m|[0;0m `- [1;33mwarning: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m280 |[0;0m Result<D, any Error> {
[0;36m281 |[0;0m var parser = unsafe JSONTokenizer(
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:77:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m75 |[0;0m ensureWritableRoom(for: size)
[0;36m76 |[0;0m let bytesWritten = self.setInteger(integer, at: self.writtenBytes)
[0;36m77 |[0;0m writtenBytes += bytesWritten
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m78 |[0;0m return Int(bytesWritten)
[0;36m79 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:113:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m111 |[0;0m let sourceSlice = jsonDescription.storage[jsonDescription.storage.startIndex..<jsonDescription.storage.startIndex + jsonDescription.writtenBytes]
[0;36m112 |[0;0m _storage.replaceSubrange(destRange, with: sourceSlice)
[0;36m113 |[0;0m writtenBytes += jsonDescription.writtenBytes
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m114 |[0;0m }
[0;36m115 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:138:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m136 |[0;0m package func moveWriterIndex(forwardBy offset: Int) {
[0;36m137 |[0;0m ensureWritableRoom(for: offset)
[0;36m138 |[0;0m writtenBytes += offset
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:207:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m205 |[0;0m // Bulk copy using replaceSubrange (much faster than byte-by-byte loop)
[0;36m206 |[0;0m copy._storage.replaceSubrange(0..<length, with: storage[offset..<(offset + length)])
[0;36m207 |[0;0m copy.writtenBytes = length
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m208 |[0;0m return copy
[0;36m209 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/_NIOJSON/Core/JSONDescription.swift:297:5: [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m @usableFromInline
[0;36m66 |[0;0m package private(set) var writtenBytes: Int = 0
[0;36m|[0;0m `- [1;39mnote: [1;39msetter for property 'writtenBytes' is not '@usableFromInline' or public[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m @discardableResult
[0;36m:[0;0m
[0;36m295 |[0;0m }
[0;36m296 |[0;0m
[0;36m297 |[0;0m self.writtenBytes += diff
[0;36m|[0;0m `- [1;33mwarning: [1;39msetter for property 'writtenBytes' is private and cannot be referenced from an '@inlinable' function; this will be an error in a future Swift language mode[0;0m
[0;36m298 |[0;0m }
[0;36m299 |[0;0m
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "IkigaJSON",
"name" : "IkigaJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "IkigaJSON",
"targets" : [
"IkigaJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_NIOJSON",
"module_type" : "SwiftTarget",
"name" : "_NIOJSON",
"path" : "Sources/_NIOJSON",
"product_dependencies" : [
"NIOCore",
"NIOFoundationCompat"
],
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Codable/JSONDecoder.swift",
"Codable/JSONDecoderError.swift",
"Codable/JSONEncoder.swift",
"Codable/NilValueCodingStrategy.swift",
"Codable/StreamingJSONArrayDecoder.swift",
"Codable/StreamingJSONLinesDecoder.swift",
"Core/Bounds.swift",
"Core/JSONDescription+Constants.swift",
"Core/JSONDescription.swift",
"Pointer+Helpers.swift",
"Types/JSONArray.swift",
"Types/JSONArrayView.swift",
"Types/JSONObject.swift",
"Types/JSONObjectView.swift",
"Types/JSONValue.swift"
],
"target_dependencies" : [
"_JSONCore"
],
"type" : "library"
},
{
"c99name" : "_JSONCore",
"module_type" : "SwiftTarget",
"name" : "_JSONCore",
"path" : "Sources/_JSONCore",
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Bytes.swift",
"Errors.swift",
"Parser/JSONParser+Parsing.swift",
"Parser/JSONTokenizer.swift",
"Parser/JSONTokenizerDestination.swift",
"SIMD/FastScanner.swift"
],
"type" : "library"
},
{
"c99name" : "IkigaJSONTests",
"module_type" : "SwiftTarget",
"name" : "IkigaJSONTests",
"path" : "Tests/IkigaJSONTests",
"sources" : [
"JSONTests.swift",
"JSONViewTests.swift"
],
"target_dependencies" : [
"IkigaJSON"
],
"type" : "test"
},
{
"c99name" : "IkigaJSON",
"module_type" : "SwiftTarget",
"name" : "IkigaJSON",
"path" : "Sources/IkigaJSON",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"_JSONCore",
"_NIOJSON"
],
"type" : "library"
}
],
"tools_version" : "6.2.3"
}
Done.