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 SwiftEccodes, reference v1.0.1 (fe6ffe), with Swift 5.8 for macOS (SPM) on 26 Jun 2024 02:00:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patrick-zippenfenig/SwiftEccodes.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/patrick-zippenfenig/SwiftEccodes
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at fe6ffe2 fix: should return nil on missing long attribute
Cloned https://github.com/patrick-zippenfenig/SwiftEccodes.git
Revision (git rev-parse @):
fe6ffe28080dde2625e772e3666c5bafcc546936
SUCCESS checkout https://github.com/patrick-zippenfenig/SwiftEccodes.git at v1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/patrick-zippenfenig/SwiftEccodes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module SwiftEccodes
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
                            ^
[2/3] Compiling SwiftEccodes Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
                            ^
[3/3] Compiling SwiftEccodes SwiftEccodes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
                            ^
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install eccodes using your system-packager:
    brew install eccodes
BUILD FAILURE 5.8 macosSpm