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.1 for macOS (SPM) on 25 Apr 2025 00:27:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
[62/11121] Fetching perfect-czlib-src, perfectlib
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (2.53s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (2.53s)
Computing version for https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Computed https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4 (3.13s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.56s)
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
========================================
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.71s)
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.42s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.42s)
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.48s)
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/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
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.1
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-zip.git
https://github.com/perfectlysoft/perfect-zip.git
{
  "dependencies" : [
    {
      "identity" : "perfectlib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/PerfectLib.git"
    },
    {
      "identity" : "perfect-czlib-src",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PerfectlySoft/Perfect-CZlib-src.git"
    }
  ],
  "manifest_display_name" : "PerfectZip",
  "name" : "PerfectZip",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PerfectZip",
      "targets" : [
        "PerfectZip",
        "minizip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "minizip",
      "module_type" : "ClangTarget",
      "name" : "minizip",
      "path" : "Sources/minizip",
      "product_dependencies" : [
        "PerfectCZlib"
      ],
      "product_memberships" : [
        "PerfectZip"
      ],
      "sources" : [
        "aes/aescrypt.c",
        "aes/aeskey.c",
        "aes/aestab.c",
        "aes/entropy.c",
        "aes/fileenc.c",
        "aes/hmac.c",
        "aes/prng.c",
        "aes/pwd2key.c",
        "aes/sha1.c",
        "ioapi.c",
        "unzip.c",
        "zip.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerfectZipTests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectZipTests",
      "path" : "Tests/PerfectZipTests",
      "sources" : [
        "PerfectZipTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PerfectZip"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectZip",
      "module_type" : "SwiftTarget",
      "name" : "PerfectZip",
      "path" : "Sources/PerfectZip",
      "product_dependencies" : [
        "PerfectLib"
      ],
      "product_memberships" : [
        "PerfectZip"
      ],
      "sources" : [
        "Utilities.swift",
        "Zip.swift"
      ],
      "target_dependencies" : [
        "minizip"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/15] Write swift-version-2F0A5646E1D333AE.txt
[1/15] Compiling prng.c
[2/15] Compiling pwd2key.c
[3/15] Compiling sha1.c
[4/15] Write sources
[6/15] Compiling minizip zip.c
[7/15] Compiling aescrypt.c
[8/15] Compiling hmac.c
[9/15] Compiling minizip unzip.c
[10/15] Compiling fileenc.c
[11/15] Compiling minizip ioapi.c
[12/25] Compiling aestab.c
[13/25] Compiling aeskey.c
[14/25] Compiling entropy.c
[16/25] Emitting module PerfectLib
[17/25] Compiling PerfectLib PerfectError.swift
[18/25] Compiling PerfectLib PerfectServer.swift
[19/25] Compiling PerfectLib SysProcess.swift
[20/25] Compiling PerfectLib Log.swift
[21/25] Compiling PerfectLib File.swift
[22/25] Compiling PerfectLib Dir.swift
[23/25] Compiling PerfectLib Utilities.swift
[24/25] Compiling PerfectLib Bytes.swift
[25/25] Compiling PerfectLib JSONConvertible.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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling PerfectLib Dir.swift
[3/11] Compiling PerfectLib Log.swift
[4/11] Compiling PerfectLib JSONConvertible.swift
[5/11] Compiling PerfectLib Bytes.swift
[6/11] Emitting module PerfectLib
[7/11] Compiling PerfectLib File.swift
[8/11] Compiling PerfectLib PerfectServer.swift
[9/11] Compiling PerfectLib SysProcess.swift
[10/11] Compiling PerfectLib PerfectError.swift
[11/11] Compiling PerfectLib Utilities.swift
[12/14] 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 {
[13/14] Emitting module PerfectZip
[14/14] Compiling PerfectZip Utilities.swift
BUILD FAILURE 6.1 macosSpm