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 SwiftyHaru, reference 0.3.0 (eee249), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 15:54:18 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: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WeirdMath/SwiftyHaru
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at eee2497 Release 0.3.0
Cloned https://github.com/WeirdMath/SwiftyHaru.git
Revision (git rev-parse @):
eee2497186ccc8322d40cc7cb4cf5efb61f026fa
SUCCESS checkout https://github.com/WeirdMath/SwiftyHaru.git at 0.3.0
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.98s)
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.43s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.62s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.64s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
========================================
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 (2.35s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.54s)
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.79s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/WeirdMath/SwiftyHaru.git
Working copy of https://github.com/WeirdMath/SwiftyHaru.git resolved at 0.3.0 (eee2497)
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
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] Compiling CLibHaru hpdf_boolean.c
[1/75] Compiling CLibHaru hpdf_array.c
[1/75] Compiling CLibHaru hpdf_catalog.c
[1/75] Compiling CLibHaru hpdf_dict.c
[1/75] Write sources
[5/75] Compiling CLibHaru hpdf_image_ccitt.c
[5/75] Compiling CLibHaru hpdf_image.c
[7/75] Compiling CLibHaru hpdf_doc_png.c
[7/75] Compiling CLibHaru hpdf_fontdef_jp.c
[7/75] Compiling CLibHaru hpdf_destination.c
[10/75] Compiling CLibHaru hpdf_binary.c
[11/75] Write swift-version--7754E27361AE5C74.txt
[12/75] Compiling CLibPNG pngrio.c
[13/75] Compiling CLibPNG pngwtran.c
[14/75] Compiling CLibPNG pngset.c
[15/75] Compiling CLibPNG pngtrans.c
[16/75] Compiling CLibPNG pngread.c
[17/75] Compiling CLibPNG pngrtran.c
[18/75] Compiling CLibPNG pngwio.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.
[19/75] Compiling CLibPNG pngwutil.c
[20/75] Compiling CLibPNG pngwrite.c
[21/75] Compiling CLibPNG pngmem.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.
[22/75] Compiling CLibPNG pngpread.c
[23/75] Compiling CLibPNG pngrutil.c
[24/75] Compiling CLibPNG pngget.c
[25/75] Compiling CLibPNG pngerror.c
[26/75] Compiling CLibHaru hpdf_xref.c
[27/75] Compiling CLibHaru hpdf_utils.c
[28/75] Compiling CLibHaru hpdf_string.c
[29/75] Compiling CLibHaru hpdf_u3d.c
[30/75] Compiling CLibHaru hpdf_real.c
[31/75] Compiling CLibPNG png.c
[32/75] Compiling CLibHaru hpdf_streams.c
[33/75] Compiling CLibHaru hpdf_pdfa.c
[34/75] Compiling CLibHaru hpdf_page_label.c
[35/75] Compiling CLibHaru hpdf_outline.c
[36/75] Compiling CLibHaru hpdf_objects.c
[37/75] Compiling CLibHaru hpdf_number.c
[38/75] Compiling CLibHaru hpdf_pages.c
[39/75] Compiling CLibHaru hpdf_null.c
[40/75] Compiling CLibHaru hpdf_namedict.c
[41/75] Compiling CLibHaru hpdf_name.c
[42/75] Compiling CLibHaru hpdf_page_operator.c
[43/75] Compiling CLibHaru hpdf_mmgr.c
[44/75] Compiling CLibHaru hpdf_list.c
[45/75] Compiling CLibHaru hpdf_info.c
[46/75] Compiling CLibHaru hpdf_gstate.c
[47/75] Compiling CLibHaru hpdf_fontdef_type1.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.
[48/75] Compiling CLibHaru hpdf_image_png.c
[48/75] Compiling CLibHaru hpdf_fontdef.c
[48/75] Compiling CLibHaru hpdf_font_type1.c
[48/75] Compiling CLibHaru hpdf_fontdef_base14.c
[48/75] Compiling CLibHaru hpdf_fontdef_kr.c
[48/75] Compiling CLibHaru hpdf_font_tt.c
[48/75] Compiling CLibHaru hpdf_fontdef_cid.c
[48/75] Compiling CLibHaru hpdf_fontdef_cns.c
[48/75] Compiling CLibHaru hpdf_fontdef_tt.c
[48/75] Compiling CLibHaru hpdf_fontdef_cnt.c
BUILD FAILURE 6.0 macosSpm