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 MyHTML, reference master (aa741e), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 21:02:00 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/PopFlamingo/MyHTML.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PopFlamingo/MyHTML
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aa741e3 Merge pull request #31 from adtrevor/typofix
Cloned https://github.com/PopFlamingo/MyHTML.git
Revision (git rev-parse @):
aa741e3429f81cc650d7fd018217c4be66484e01
SUCCESS checkout https://github.com/PopFlamingo/MyHTML.git at master
========================================
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": "myhtml",
      "name": "MyHTML",
      "url": "https://github.com/PopFlamingo/MyHTML.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MyHTML",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/PopFlamingo/MyHTML.git
[1/403] Fetching myhtml
Fetched https://github.com/PopFlamingo/MyHTML.git from cache (0.68s)
Creating working copy for https://github.com/PopFlamingo/MyHTML.git
Working copy of https://github.com/PopFlamingo/MyHTML.git resolved at master (aa741e3)
warning: '.resolve-product-dependencies': dependency 'myhtml' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/PopFlamingo/MyHTML.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module MyHTML
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
  |          `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 |  */
16 |
17 | import CMyHTML
   |        `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[4/7] Compiling MyHTML Node.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
  |          `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 |  */
16 |
17 | import CMyHTML
   |        `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[5/7] Compiling MyHTML MyHTML.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
  |          `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 |  */
16 |
17 | import CMyHTML
   |        `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[6/7] Compiling MyHTML Tree.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
  |          `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 |  */
16 |
17 | import CMyHTML
   |        `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[7/7] Compiling MyHTML Misc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
  |          `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 |  */
16 |
17 | import CMyHTML
   |        `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for myhtml
BUILD FAILURE 6.0 macosSpm