Build Information
Failed to build SwiftNetCDF, reference master (8ade11
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 04:20:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Reference: master
Initialized empty Git repository in /Users/admin/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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftnetcdf",
"name": "SwiftNetCDF",
"url": "https://github.com/patrick-zippenfenig/SwiftNetCDF.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftNetCDF",
"dependencies": [
]
}
]
}
Fetching https://github.com/patrick-zippenfenig/SwiftNetCDF.git
[1/649] Fetching swiftnetcdf
Fetched https://github.com/patrick-zippenfenig/SwiftNetCDF.git from cache (0.75s)
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: 6.0
Building package at path: $PWD
https://github.com/patrick-zippenfenig/SwiftNetCDF.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/14] Compiling SwiftNetCDF NetCDF.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[4/14] Compiling SwiftNetCDF Variable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[5/15] Compiling SwiftNetCDF Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[6/15] Compiling SwiftNetCDF Nc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[7/15] Compiling SwiftNetCDF Group.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module SwiftNetCDF
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[9/15] Compiling SwiftNetCDF ExternalDataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[10/15] Compiling SwiftNetCDF Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[11/15] Compiling SwiftNetCDF Attribute.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[12/15] Compiling SwiftNetCDF AttributeProvidable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[13/15] Compiling SwiftNetCDF DataType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[14/15] Compiling SwiftNetCDF Dimension.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
[15/15] Compiling SwiftNetCDF VariableDefinable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CNetCDF/shim.h:1:10: error: 'netcdf.h' file not found
1 | #include <netcdf.h>
| `- error: 'netcdf.h' file not found
2 | #include <netcdf_mem.h>
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNetCDF/Error.swift:10:8: error: could not build Objective-C module 'CNetCDF'
8 | import Foundation
9 |
10 | import CNetCDF
| `- error: could not build Objective-C module 'CNetCDF'
11 | import Foundation
12 |
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 6.0 macosSpm