Build Information
Failed to build SwiftNetCDF with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.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: v1.1.2
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/patrick-zippenfenig/SwiftNetCDF
* tag v1.1.2 -> FETCH_HEAD
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 v1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftnetcdf",
"name": "SwiftNetCDF",
"url": "https://github.com/patrick-zippenfenig/SwiftNetCDF.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftNetCDF",
"dependencies": [
]
}
]
}
Fetching https://github.com/patrick-zippenfenig/SwiftNetCDF.git from cache
Fetched https://github.com/patrick-zippenfenig/SwiftNetCDF.git from cache (0.38s)
Creating working copy for https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Working copy of https://github.com/patrick-zippenfenig/SwiftNetCDF.git resolved at v1.1.2 (8ade11d)
warning: '.resolve-product-dependencies': dependency 'swiftnetcdf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/14] Compiling SwiftNetCDF Group.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[4/14] Compiling SwiftNetCDF Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[5/15] Compiling SwiftNetCDF Variable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[6/15] Compiling SwiftNetCDF Nc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/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)
[7/15] Emitting module SwiftNetCDF
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[8/15] Compiling SwiftNetCDF NetCDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[9/15] Compiling SwiftNetCDF DataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[10/15] Compiling SwiftNetCDF Dimension.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[11/15] Compiling SwiftNetCDF Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[12/15] Compiling SwiftNetCDF AttributeProvidable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[13/15] Compiling SwiftNetCDF Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[14/15] Compiling SwiftNetCDF ExternalDataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
^
[15/15] Compiling SwiftNetCDF VariableDefinable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
#include <netcdf.h>
^
/Users/builder/builds/TDmZkXJm/2/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.10 macosSpm