Build Information
Failed to build SwiftNetCDF with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/UKfvDsi8u/1/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.9
Building package at path: $workDir
https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/12] Compiling SwiftNetCDF NetCDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/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/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[3/13] Compiling SwiftNetCDF Nc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[4/13] Compiling SwiftNetCDF Group.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[5/13] Compiling SwiftNetCDF Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[6/13] Compiling SwiftNetCDF Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[7/13] Compiling SwiftNetCDF ExternalDataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module SwiftNetCDF
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[9/13] Compiling SwiftNetCDF Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[10/13] Compiling SwiftNetCDF AttributeProvidable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[11/13] Compiling SwiftNetCDF DataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[12/13] Compiling SwiftNetCDF Dimension.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/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/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
error: fatalError
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.9 macosSpm