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 SwiftNetCDF with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.41.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/patrick-zippenfenig/SwiftNetCDF
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8ade11d fix: trigger release
Cloned https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Revision (git rev-parse @):
8ade11d1494d2661a14b624966e8966c6e36e426
SUCCESS checkout https://github.com/patrick-zippenfenig/SwiftNetCDF.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/patrick-zippenfenig/SwiftNetCDF.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/12] Emitting module SwiftNetCDF
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[2/12] Compiling SwiftNetCDF Variable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[3/12] Compiling SwiftNetCDF NetCDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[4/12] Compiling SwiftNetCDF DataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[5/12] Compiling SwiftNetCDF Dimension.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[6/12] Compiling SwiftNetCDF Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[7/12] Compiling SwiftNetCDF AttributeProvidable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[8/12] Compiling SwiftNetCDF Group.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[9/12] Compiling SwiftNetCDF Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[10/12] Compiling SwiftNetCDF Nc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[11/12] Compiling SwiftNetCDF Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[12/12] Compiling SwiftNetCDF ExternalDataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[13/13] Compiling SwiftNetCDF VariableDefinable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
         ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install netcdf using your system-packager:
    brew install netcdf
BUILD FAILURE 5.8 macosSpm