Build Information
Failed to build SwiftyHaru, reference dev (bcc8a3
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 15:55:13 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeirdMath/SwiftyHaru.git
Reference: dev
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WeirdMath/SwiftyHaru
* branch dev -> FETCH_HEAD
* [new branch] dev -> origin/dev
HEAD is now at bcc8a3c Fix CocoaPods build
Cloned https://github.com/WeirdMath/SwiftyHaru.git
Revision (git rev-parse @):
bcc8a3caeac078550b779783928f16828935fd41
SUCCESS checkout https://github.com/WeirdMath/SwiftyHaru.git at dev
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.63s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (2.52s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (35.77s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.61s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
========================================
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": "swiftyharu",
"name": "SwiftyHaru",
"url": "https://github.com/WeirdMath/SwiftyHaru.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyHaru",
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/WeirdMath/SwiftyHaru.git
[1/2609] Fetching swiftyharu
Fetched https://github.com/WeirdMath/SwiftyHaru.git from cache (1.42s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.53s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.02s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.03s)
Creating working copy for https://github.com/WeirdMath/SwiftyHaru.git
Working copy of https://github.com/WeirdMath/SwiftyHaru.git resolved at dev (bcc8a3c)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
warning: '.resolve-product-dependencies': dependency 'swiftyharu' is not used by any target
Found 1 product dependencies
- swift-snapshot-testing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/WeirdMath/SwiftyHaru.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 -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/75] Write sources
[1/75] Write swift-version--7754E27361AE5C74.txt
[2/75] Compiling CLibHaru hpdf_array.c
[3/75] Compiling CLibHaru hpdf_catalog.c
[4/75] Compiling CLibHaru hpdf_doc.c
[5/75] Compiling CLibHaru hpdf_doc_png.c
[6/75] Compiling CLibHaru hpdf_dict.c
[7/75] Compiling CLibHaru hpdf_binary.c
[8/75] Compiling CLibHaru hpdf_boolean.c
[9/75] Compiling CLibPNG pngwtran.c
[10/75] Compiling CLibPNG pngrio.c
[11/75] Compiling CLibPNG pngtrans.c
[12/75] Compiling CLibPNG pngwrite.c
/Users/admin/builder/spi-builder-workspace/Sources/CLibPNG/pngwutil.c:521:32: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
521 | png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLibPNG/pngwutil.c:962:29: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
962 | png_ptr->zstream.next_in = PNGZ_INPUT_CAST(input);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[13/75] Compiling CLibPNG pngwutil.c
[14/75] Compiling CLibPNG pngset.c
[15/75] Compiling CLibHaru hpdf_destination.c
[16/75] Compiling CLibPNG pngrtran.c
[17/75] Compiling CLibPNG pngwio.c
/Users/admin/builder/spi-builder-workspace/Sources/CLibPNG/pngrutil.c:496:32: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'png_const_bytep' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
496 | png_ptr->zstream.next_in = PNGZ_INPUT_CAST(input);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[18/75] Compiling CLibPNG pngrutil.c
[19/75] Compiling CLibPNG pngpread.c
[20/75] Compiling CLibPNG pngmem.c
[21/75] Compiling CLibPNG pngget.c
[22/75] Compiling CLibPNG pngread.c
[23/75] Compiling CLibHaru hpdf_xref.c
[24/75] Compiling CLibPNG pngerror.c
[25/75] Compiling CLibHaru hpdf_utils.c
[26/75] Compiling CLibHaru hpdf_string.c
[27/75] Compiling CLibHaru hpdf_real.c
[28/75] Compiling CLibHaru hpdf_u3d.c
[29/75] Compiling CLibHaru hpdf_streams.c
[30/75] Compiling CLibPNG png.c
[31/75] Compiling CLibHaru hpdf_pdfa.c
[32/75] Compiling CLibHaru hpdf_page_label.c
[33/75] Compiling CLibHaru hpdf_outline.c
[34/75] Compiling CLibHaru hpdf_number.c
[35/75] Compiling CLibHaru hpdf_null.c
[35/75] Compiling CLibHaru hpdf_objects.c
[37/75] Compiling CLibHaru hpdf_name.c
[38/75] Compiling CLibHaru hpdf_pages.c
[39/75] Compiling CLibHaru hpdf_namedict.c
[40/75] Compiling CLibHaru hpdf_page_operator.c
[41/75] Compiling CLibHaru hpdf_list.c
[42/75] Compiling CLibHaru hpdf_mmgr.c
[43/75] Compiling CLibHaru hpdf_info.c
[44/75] Compiling CLibHaru hpdf_image.c
[45/75] Compiling CLibHaru hpdf_gstate.c
While building module 'CLibPNG' imported from /Users/admin/builder/spi-builder-workspace/Sources/CLibHaru/hpdf_image_png.c:23:
In file included from <module-includes>:4:
/Users/admin/builder/spi-builder-workspace/Sources/CLibPNG/include/pnginfo.h:101:4: error: unknown type name 'png_colorspace'
101 | png_colorspace colorspace;
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CLibHaru/hpdf_image_png.c:23:10: fatal error: could not build module 'CLibPNG'
23 | #include "png.h"
| ~~~~~~~~^~~~~~~
2 errors generated.
[46/75] Compiling CLibHaru hpdf_image_png.c
[46/75] Compiling CLibHaru hpdf_fontdef_base14.c
[46/75] Compiling CLibHaru hpdf_fontdef_cid.c
[46/75] Compiling CLibHaru hpdf_fontdef_cnt.c
[46/75] Compiling CLibHaru hpdf_fontdef_jp.c
[46/75] Compiling CLibHaru hpdf_fontdef_cns.c
[46/75] Compiling CLibHaru hpdf_fontdef_tt.c
[46/75] Compiling CLibHaru hpdf_fontdef_kr.c
[46/75] Compiling CLibHaru hpdf_fontdef_type1.c
[46/75] Compiling CLibHaru hpdf_image_ccitt.c
BUILD FAILURE 6.0 macosSpm