Build Information
Failed to build PerfectZip, reference 3.0.3 (c2daba
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:28:57 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: 3.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-zip
* tag 3.0.3 -> FETCH_HEAD
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 3.0.3
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
[1/337] Fetching perfect-czlib-src
[15/11121] Fetching perfect-czlib-src, perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.23s)
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (3.23s)
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.66s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.72s)
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.78s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.53s)
Fetched https://github.com/PerfectlySoft/Perfect-CZlib-src.git from cache (0.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 (0.02s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.02s)
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/perfect-zip.git
Working copy of https://github.com/perfectlysoft/perfect-zip.git resolved at 3.0.3 (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
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] Write swift-version--7754E27361AE5C74.txt
[1/15] Compiling pwd2key.c
[2/15] Compiling fileenc.c
[3/15] Compiling hmac.c
[4/15] Compiling sha1.c
[5/15] Write sources
[7/15] Compiling prng.c
[8/15] Compiling minizip ioapi.c
[9/15] Compiling minizip unzip.c
[10/15] Compiling minizip zip.c
[11/15] Compiling aeskey.c
[12/19] Compiling aescrypt.c
[13/25] Compiling aestab.c
[14/25] Compiling entropy.c
[16/25] Compiling PerfectLib SysProcess.swift
[17/25] Compiling PerfectLib PerfectServer.swift
[18/25] Compiling PerfectLib JSONConvertible.swift
[19/25] Compiling PerfectLib Dir.swift
[20/25] Compiling PerfectLib Bytes.swift
[21/25] Compiling PerfectLib File.swift
[22/25] Compiling PerfectLib PerfectError.swift
[23/25] Emitting module PerfectLib
[24/25] Compiling PerfectLib Utilities.swift
[25/25] Compiling PerfectLib Log.swift
[26/28] Compiling PerfectZip Utilities.swift
[27/28] Emitting module PerfectZip
[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