This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftFoundationCompression with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/swiftfoundationcompression.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/benspratling4/swiftfoundationcompression
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0eba1f7 Merge pull request #8 from benspratling4/without_czlib
Cloned https://github.com/benspratling4/swiftfoundationcompression.git
Revision (git rev-parse @):
0eba1f70fdbbdda08bfcc6d01ae9e2c3ffe9df2b
SUCCESS checkout https://github.com/benspratling4/swiftfoundationcompression.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/benspratling4/swiftfoundationcompression.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-6F35C1178C84523A.txt
[4/26] Compiling SwiftPatterns SerializedResourceWrapping.swift
[5/26] Compiling SwiftPatterns String+fixes.swift
[6/28] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[7/28] Compiling SwiftPatterns URL+relativePaths.swift
[8/28] Compiling SwiftPatterns PriorityQueue.swift
[9/28] Compiling SwiftPatterns QueuedVar.swift
[10/28] Compiling SwiftPatterns LocalFileSource.swift
[11/28] Compiling SwiftPatterns LogSearch.swift
[12/28] Compiling SwiftPatterns DynamicCodingKeys.swift
[13/28] Compiling SwiftPatterns Int+Bits.swift
[14/28] Compiling SwiftPatterns Math.swift
[15/28] Compiling SwiftPatterns MediatedAccess.swift
[16/28] Emitting module SwiftPatterns
[17/28] Compiling SwiftPatterns Alert.swift
[18/28] Compiling SwiftPatterns Array+StableUniqueValues.swift
[19/28] Compiling SwiftPatterns DataExtraction.swift
[20/28] Compiling SwiftPatterns DirectoryMonitor.swift
[21/28] Compiling SwiftPatterns ChangeSet.swift
[22/28] Compiling SwiftPatterns Cursor.swift
[23/28] Compiling SwiftPatterns WeightedNode.swift
[24/28] Compiling SwiftPatterns XMLItem.swift
[24/28] Write Objects.LinkFileList
[25/28] Linking libSwiftPatterns.dylib
[27/37] Compiling SwiftFoundationCompression WritingZipFiles.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/WritingZipFiles.swift:13:22: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 11 |
 12 |
 13 | protocol ZipWriter : class {
    |                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 14 |
 15 | 	func finish()throws
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:129:13: warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
    |             |- warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'fileNameIsUnicode' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'fileNameIsUnicode' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
131 | }
[28/37] Compiling SwiftFoundationCompression Types.swift
[29/37] Compiling SwiftFoundationCompression ZipDirectoryWrapping.swift
[30/37] Compiling SwiftFoundationCompression ZipFileFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:126:13: warning: static property 'encrypted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
124 | struct GeneralPurposeFlags : OptionSet {
125 | 	let rawValue:UInt16
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
    |             |- warning: static property 'encrypted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'encrypted' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'encrypted' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:127:13: warning: static property 'sizesAndCRCAreInDataDescriptor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
125 | 	let rawValue:UInt16
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
    |             |- warning: static property 'sizesAndCRCAreInDataDescriptor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'sizesAndCRCAreInDataDescriptor' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'sizesAndCRCAreInDataDescriptor' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:128:13: warning: static property 'strongEnctyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
    |             |- warning: static property 'strongEnctyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'strongEnctyption' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'strongEnctyption' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:129:13: warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
    |             |- warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'fileNameIsUnicode' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'fileNameIsUnicode' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:130:13: warning: static property 'centralDirectoryValuesAreOmittedDueToEncyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
    |             |- warning: static property 'centralDirectoryValuesAreOmittedDueToEncyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'centralDirectoryValuesAreOmittedDueToEncyption' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'centralDirectoryValuesAreOmittedDueToEncyption' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | }
132 |
[31/37] Compiling SwiftFoundationCompression GZipDataWrapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/GZipDataWrapping.swift:202:24: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
200 | 	//do the dual-buffer thing
201 | 	var inBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
202 | 	let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
    |                        |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                        |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                        `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
203 | 	var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
204 | 	let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/GZipDataWrapping.swift:204:25: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
202 | 	let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
203 | 	var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
204 | 	let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
    |                         |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                         |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                         `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
205 |
206 | 	//pre-fill the inBuffer
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/GZipDataWrapping.swift:235:37: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
233 | 	let fileNameData:Data = named.data(using: .isoLatin1) ?? Data()
234 | 	var dataBytes = [UInt8](repeating:0, count:fileNameData.count + 1)
235 | 	let _ = fileNameData.copyBytes(to: UnsafeMutableBufferPointer(start:&dataBytes, count:fileNameData.count))
    |                                     |                                |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                     |                                `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                     `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
236 | 	var header:gz_header = gz_header(text: 0, time: time, xflags: 0, os: 0, extra: nil, extra_len: 0, extra_max: 0, name: &dataBytes, name_max: UInt32(fileNameData.count + 1), comment: nil, comm_max: 0, hcrc: 0, done: 0)
237 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/GZipDataWrapping.swift:236:120: warning: cannot use inout expression here; argument 'name' must be a pointer that outlives the call to 'init(text:time:xflags:os:extra:extra_len:extra_max:name:name_max:comment:comm_max:hcrc:done:)'
234 | 	var dataBytes = [UInt8](repeating:0, count:fileNameData.count + 1)
235 | 	let _ = fileNameData.copyBytes(to: UnsafeMutableBufferPointer(start:&dataBytes, count:fileNameData.count))
236 | 	var header:gz_header = gz_header(text: 0, time: time, xflags: 0, os: 0, extra: nil, extra_len: 0, extra_max: 0, name: &dataBytes, name_max: UInt32(fileNameData.count + 1), comment: nil, comm_max: 0, hcrc: 0, done: 0)
    |                                                                                                                        |- warning: cannot use inout expression here; argument 'name' must be a pointer that outlives the call to 'init(text:time:xflags:os:extra:extra_len:extra_max:name:name_max:comment:comm_max:hcrc:done:)'
    |                                                                                                                        |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<Bytef>?' (aka 'Optional<UnsafeMutablePointer<UInt8>>') produces a pointer valid only for the duration of the call to 'init(text:time:xflags:os:extra:extra_len:extra_max:name:name_max:comment:comm_max:hcrc:done:)'
    |                                                                                                                        `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
237 |
238 | 	streamStatus = deflateSetHeader(&stream, &header)
[32/37] Compiling SwiftFoundationCompression TarDirectoryWrapper.swift
[33/37] Compiling SwiftFoundationCompression Data+Compression.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:68:25: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
 66 | 		//do the dual-buffer thing
 67 | 		var inBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
 68 | 		let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
    |                         |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                         |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                         `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
 69 | 		var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
 70 | 		let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:70:26: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
 68 | 		let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
 69 | 		var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
 70 | 		let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
    |                          |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                          |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                          `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
 71 |
 72 | 		//pre-fill the inBuffer
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:134:21: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
132 | 		let chunkSize:Int = memoryPageSize
133 | 		var copyBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
134 | 		let inputBuffer = UnsafeMutableBufferPointer(start: &copyBuffer, count: chunkSize)
    |                     |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                     |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                     `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
135 | 		let availableByteCount:Int = Swift.min(self.count, chunkSize)
136 | 		let copiedByteCount:Int = self.copyBytes(to: inputBuffer, from: 0..<availableByteCount)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:150:22: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
148 | 		//prepare an output buffer
149 | 		var decompressBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
150 | 		let outputBuffer = UnsafeMutableBufferPointer(start: &decompressBuffer, count: chunkSize)
    |                      |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                      |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                      `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
151 |
152 | 		var outputData:Data = Data()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:136:7: warning: immutable value 'copiedByteCount' was never used; consider replacing with '_' or removing it
134 | 		let inputBuffer = UnsafeMutableBufferPointer(start: &copyBuffer, count: chunkSize)
135 | 		let availableByteCount:Int = Swift.min(self.count, chunkSize)
136 | 		let copiedByteCount:Int = self.copyBytes(to: inputBuffer, from: 0..<availableByteCount)
    |       `- warning: immutable value 'copiedByteCount' was never used; consider replacing with '_' or removing it
137 | 		var aStream:z_stream = z_stream(next_in: inputBuffer.baseAddress, avail_in: UInt32(availableByteCount), total_in: 0, next_out: nil, avail_out: 0, total_out: 0, msg: nil, state: nil, zalloc: nil, zfree: nil, opaque: nil, data_type: 0, adler: 0, reserved: 0)
138 | 		let windowBits:Int32 = -15 //some kind of magic value
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:194:21: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
192 | 		let chunkSize:Int = memoryPageSize
193 | 		var copyBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
194 | 		let inputBuffer = UnsafeMutableBufferPointer(start: &copyBuffer, count: chunkSize)
    |                     |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                     |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                     `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
195 | 		let availableByteCount:Int = Swift.min(self.count, chunkSize)
196 | 		let copiedByteCount:Int = self.copyBytes(to: inputBuffer, from: 0..<availableByteCount)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:210:22: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
208 | 		//prepare an output buffer
209 | 		var decompressBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
210 | 		let outputBuffer = UnsafeMutableBufferPointer(start: &decompressBuffer, count: chunkSize)
    |                      |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                      |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                      `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
211 |
212 | 		var outputData:Data = Data()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:196:7: warning: immutable value 'copiedByteCount' was never used; consider replacing with '_' or removing it
194 | 		let inputBuffer = UnsafeMutableBufferPointer(start: &copyBuffer, count: chunkSize)
195 | 		let availableByteCount:Int = Swift.min(self.count, chunkSize)
196 | 		let copiedByteCount:Int = self.copyBytes(to: inputBuffer, from: 0..<availableByteCount)
    |       `- warning: immutable value 'copiedByteCount' was never used; consider replacing with '_' or removing it
197 | 		var aStream:z_stream = z_stream(next_in: inputBuffer.baseAddress, avail_in: UInt32(availableByteCount), total_in: 0, next_out: nil, avail_out: 0, total_out: 0, msg: nil, state: nil, zalloc: nil, zfree: nil, opaque: nil, data_type: 0, adler: 0, reserved: 0)
198 | 		let windowBits:Int32 = 15 | 16 //some kind of magic value
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:257:25: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
255 | 		//do the dual-buffer thing
256 | 		var inBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
257 | 		let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
    |                         |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                         |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                         `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
258 | 		var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
259 | 		let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/Data+Compression.swift:259:26: warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
257 | 		let inBufferPointer = UnsafeMutableBufferPointer(start: &inBuffer, count: chunkSize)
258 | 		var outBuffer:[UInt8] = [UInt8](repeating:0, count:chunkSize)
259 | 		let outBufferPointer = UnsafeMutableBufferPointer(start: &outBuffer, count: chunkSize)
    |                          |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                          |                                 `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                          `- warning: initialization of 'UnsafeMutableBufferPointer<UInt8>' results in a dangling buffer pointer
260 |
261 | 		//pre-fill the inBuffer
[34/37] Emitting module SwiftFoundationCompression
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/WritingZipFiles.swift:13:22: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 11 |
 12 |
 13 | protocol ZipWriter : class {
    |                      `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 14 |
 15 | 	func finish()throws
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:126:13: warning: static property 'encrypted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
124 | struct GeneralPurposeFlags : OptionSet {
125 | 	let rawValue:UInt16
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
    |             |- warning: static property 'encrypted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'encrypted' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'encrypted' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:127:13: warning: static property 'sizesAndCRCAreInDataDescriptor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
125 | 	let rawValue:UInt16
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
    |             |- warning: static property 'sizesAndCRCAreInDataDescriptor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'sizesAndCRCAreInDataDescriptor' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'sizesAndCRCAreInDataDescriptor' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:128:13: warning: static property 'strongEnctyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
126 | 	static var encrypted:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 0)
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
    |             |- warning: static property 'strongEnctyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'strongEnctyption' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'strongEnctyption' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:129:13: warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
127 | 	static var sizesAndCRCAreInDataDescriptor:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 3)
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
    |             |- warning: static property 'fileNameIsUnicode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'fileNameIsUnicode' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'fileNameIsUnicode' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFoundationCompression/ZipFileFormat.swift:130:13: warning: static property 'centralDirectoryValuesAreOmittedDueToEncyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
128 | 	static var strongEnctyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 6)
129 | 	static var fileNameIsUnicode:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 11)
130 | 	static var centralDirectoryValuesAreOmittedDueToEncyption:GeneralPurposeFlags = GeneralPurposeFlags(rawValue: 1 << 13)
    |             |- warning: static property 'centralDirectoryValuesAreOmittedDueToEncyption' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'centralDirectoryValuesAreOmittedDueToEncyption' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'centralDirectoryValuesAreOmittedDueToEncyption' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | }
132 |
[35/37] Compiling SwiftFoundationCompression FileManager+Compression.swift
[35/37] Write Objects.LinkFileList
[36/37] Linking libSwiftFoundationCompression.dylib
Build complete! (36.68s)
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/281] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.94s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.0.0 (0.68s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftpatterns",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/benspratling4/SwiftPatterns.git"
    }
  ],
  "manifest_display_name" : "SwiftFoundationCompression",
  "name" : "SwiftFoundationCompression",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftFoundationCompression",
      "targets" : [
        "SwiftFoundationCompression"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftFoundationCompressionTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFoundationCompressionTests",
      "path" : "Tests/SwiftFoundationCompressionTests",
      "sources" : [
        "DeflateTests.swift",
        "GZipHeaderTests.swift",
        "GunzipTests.swift",
        "WritingZipFiles.swift",
        "XCTestManifests.swift",
        "ZipDirectoryWrappingTests.swift",
        "ZipFileFormatTests.swift"
      ],
      "target_dependencies" : [
        "SwiftFoundationCompression"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFoundationCompression",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFoundationCompression",
      "path" : "Sources/SwiftFoundationCompression",
      "product_dependencies" : [
        "SwiftPatterns"
      ],
      "product_memberships" : [
        "SwiftFoundationCompression"
      ],
      "sources" : [
        "Data+Compression.swift",
        "FileManager+Compression.swift",
        "GZipDataWrapping.swift",
        "TarDirectoryWrapper.swift",
        "Types.swift",
        "WritingZipFiles.swift",
        "ZipDirectoryWrapping.swift",
        "ZipFileFormat.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.