The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Benchmark with Swift 5.7 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.36.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-benchmark.git
Reference: 1.23.1
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-benchmark
 * tag               1.23.1     -> FETCH_HEAD
HEAD is now at 8520cdd fix(patch): Fix build on old Linux versions (#244)
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
8520cdd4a225519d283649a38c66756430378ec3
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at 1.23.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  $workDir
https://github.com/ordo-one/package-benchmark.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build --arch arm64
Compiling plugin BenchmarkCommandPlugin...
Compiling plugin BenchmarkPlugin...
Compiling plugin GenerateManual...
Building for debugging...
[0/9] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[1/9] Compiling _NumericsShims _NumericsShims.c
[2/9] Compiling CSystem shims.c
[3/54] Compiling _AtomicsShims.c
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Platform/CLinuxOperatingSystemStats/CLinuxOperatingSystemStats.c:13:10: fatal error: 'linux/perf_event.h' file not found
#include <linux/perf_event.h>    /* Definition of PERF_* constants */
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/54] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[5/54] Emitting module ArgumentParserToolInfo
[5/54] Compiling SwiftRuntimeHooks shims.c
[6/54] Compiling RealModule Float80+Real.swift
warning: 'spi-builder-workspace': Building for SPI@macOS, disabling Jemalloc
warning: Building for SPI@macOS, disabling Jemalloc
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/ordo-one/package-jemalloc from cache
Fetching https://github.com/apple/swift-atomics from cache
Fetched https://github.com/ordo-one/package-jemalloc (0.17s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-atomics (1.08s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-numerics (0.91s)
Fetching https://github.com/HdrHistogram/hdrhistogram-swift from cache
Fetched https://github.com/HdrHistogram/hdrhistogram-swift (0.18s)
Fetching https://github.com/ordo-one/TextTable from cache
Fetched https://github.com/ordo-one/TextTable (0.18s)
Fetched https://github.com/apple/swift-argument-parser (1.95s)
Fetched https://github.com/apple/swift-system (1.07s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.02s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift
Computed https://github.com/HdrHistogram/hdrhistogram-swift at 0.1.2 (0.02s)
Computing version for https://github.com/ordo-one/TextTable
Computed https://github.com/ordo-one/TextTable at 0.0.2 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.03s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.2.1 (0.03s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.2.1
Creating working copy for https://github.com/ordo-one/TextTable
Working copy of https://github.com/ordo-one/TextTable resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
[0/1] Planning build
Compiling plugin BenchmarkCommandPlugin...
Compiling plugin BenchmarkPlugin...
Compiling plugin GenerateManual...
Building for debugging...
[0/5] Compiling SwiftRuntimeHooks shims.c
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Platform/CLinuxOperatingSystemStats/CLinuxOperatingSystemStats.c:13:10: fatal error: 'linux/perf_event.h' file not found
#include <linux/perf_event.h>    /* Definition of PERF_* constants */
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
warning: 'spi-builder-workspace': Building for SPI@macOS, disabling Jemalloc
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5