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.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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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.36s)
Creating working copy for https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Working copy of https://github.com/patrick-zippenfenig/SwiftNetCDF.git resolved at master (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 Nc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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 NetCDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[5/14] Compiling SwiftNetCDF Variable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[6/14] Compiling SwiftNetCDF Group.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[7/14] Compiling SwiftNetCDF Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[8/14] Compiling SwiftNetCDF Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[9/14] Compiling SwiftNetCDF AttributeProvidable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[10/14] Compiling SwiftNetCDF Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[11/14] Compiling SwiftNetCDF ExternalDataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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)
[12/14] Emitting module SwiftNetCDF
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[13/14] Compiling SwiftNetCDF DataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
import CNetCDF
       ^
[14/14] Compiling SwiftNetCDF Dimension.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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