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

Failed to build PerfectZip, reference master (c2daba), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:28:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-zip.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-zip
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c2dabad Merge pull request #4 from florianreinhart/master
Cloned https://github.com/perfectlysoft/perfect-zip.git
Revision (git rev-parse @):
c2dabad5a8f7e1eadaa5682bb5794b21d015ae2d
SUCCESS checkout https://github.com/perfectlysoft/perfect-zip.git at master
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/337] Fetching perfect-czlib-src
[12/11121] Fetching perfect-czlib-src, perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (4.37s)
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (4.37s)
Computing version for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Computed https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4 (0.68s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.66s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Working copy of https://github.com/PerfectlySoft/Perfect-CZlib-src.git resolved at 0.0.4
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "perfect-zip",
      "name": "PerfectZip",
      "url": "https://github.com/perfectlysoft/perfect-zip.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-zip",
      "dependencies": [
        {
          "identity": "perfectlib",
          "name": "PerfectLib",
          "url": "https://github.com/PerfectlySoft/PerfectLib.git",
          "version": "3.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
          "dependencies": [
          ]
        },
        {
          "identity": "perfect-czlib-src",
          "name": "PerfectCZlib",
          "url": "https://github.com/PerfectlySoft/Perfect-CZlib-src.git",
          "version": "0.0.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CZlib-src",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-zip.git
[1/224] Fetching perfect-zip
Fetched https://github.com/perfectlysoft/perfect-zip.git from cache (0.80s)
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (0.49s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.49s)
Computing version for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Computed https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4 (0.02s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.03s)
Creating working copy for https://github.com/perfectlysoft/perfect-zip.git
Working copy of https://github.com/perfectlysoft/perfect-zip.git resolved at master (c2dabad)
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Working copy of https://github.com/PerfectlySoft/Perfect-CZlib-src.git resolved at 0.0.4
warning: '.resolve-product-dependencies': dependency 'perfect-zip' is not used by any target
Found 2 product dependencies
  - PerfectLib
  - PerfectCZlib
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-zip.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/15] Compiling fileenc.c
[1/15] Compiling sha1.c
[2/15] Compiling pwd2key.c
[3/15] Compiling hmac.c
[4/15] Write sources
[6/15] Compiling aescrypt.c
[7/15] Compiling prng.c
[8/15] Compiling aeskey.c
[9/15] Compiling minizip unzip.c
[10/15] Compiling minizip zip.c
[11/15] Write swift-version--7754E27361AE5C74.txt
[12/15] Compiling aestab.c
[13/15] Compiling minizip ioapi.c
[14/25] Compiling entropy.c
[16/25] Compiling PerfectLib PerfectServer.swift
[17/25] Compiling PerfectLib Log.swift
[18/25] Compiling PerfectLib File.swift
[19/25] Compiling PerfectLib Dir.swift
[20/25] Compiling PerfectLib Bytes.swift
[21/25] Compiling PerfectLib JSONConvertible.swift
[22/25] Emitting module PerfectLib
[23/25] Compiling PerfectLib SysProcess.swift
[24/25] Compiling PerfectLib PerfectError.swift
[25/25] Compiling PerfectLib Utilities.swift
[26/28] Emitting module PerfectZip
[27/28] Compiling PerfectZip Utilities.swift
[28/28] Compiling PerfectZip Zip.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectZip/Zip.swift:73:4: error: cannot find 'memset' in scope
 71 | 			}
 72 | 			var fileInfo = unz_file_info64()
 73 | 			memset(&fileInfo, 0, MemoryLayout<unz_file_info>.size)
    |    `- error: cannot find 'memset' in scope
 74 | 			ret = unzGetCurrentFileInfo64(zip, &fileInfo, nil, 0, nil, 0, nil, 0)
 75 | 			if ret != UNZ_OK {
BUILD FAILURE 6.0 macosSpm