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 PeripheryKit, reference main (a02676), with Swift 5.10 for macOS (Xcode) using Xcode 15.4 on 2 Jul 2024 10:20:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme PeripheryKit-Package -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/PeripheryKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CmST0us/PeripheryKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a02676d package: remote sysroot copy plugin package: add static and shared product target Cperiphery: bump to 1.0.0 version
Cloned https://github.com/CmST0us/PeripheryKit.git
Revision (git rev-parse @):
a02676dd096523ec792fab3574ae490b421f0364
SUCCESS checkout https://github.com/CmST0us/PeripheryKit.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.10
Building package at path:  $workDir
https://github.com/CmST0us/PeripheryKit.git
Command line invocation:
    /Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  PeripheryKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: PeripheryKit
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PeripheryKit",
  "name" : "PeripheryKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PeripheryKit_static",
      "targets" : [
        "PeripheryKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "PeripheryKit_shared",
      "targets" : [
        "PeripheryKit"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "pio",
      "targets" : [
        "pio"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pio",
      "module_type" : "SwiftTarget",
      "name" : "pio",
      "path" : "Sources/pio",
      "product_memberships" : [
        "pio"
      ],
      "sources" : [
        "pio.swift"
      ],
      "target_dependencies" : [
        "PeripheryKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PeripheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryKitTests",
      "path" : "Tests/PeripheryKitTests",
      "sources" : [
        "PeripheryKitTests.swift"
      ],
      "target_dependencies" : [
        "PeripheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PeripheryKit",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryKit",
      "path" : "Sources/PeripheryKit",
      "product_memberships" : [
        "PeripheryKit_static",
        "PeripheryKit_shared",
        "pio"
      ],
      "sources" : [
        "Button.swift",
        "Buzzer.swift",
        "Delay.swift",
        "GPIO.swift",
        "GPIOEventDispatcher.swift",
        "I2C.swift",
        "LED.swift",
        "PWM.swift",
        "Utils/Data+Int.swift",
        "Utils/Int+Data.swift"
      ],
      "target_dependencies" : [
        "Cperiphery"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DownloadCPeriphery",
      "module_type" : "PluginTarget",
      "name" : "DownloadCPeriphery",
      "path" : "Plugins/DownloadCPeriphery",
      "plugin_capability" : {
        "intent" : {
          "description" : "Download c-periphery",
          "type" : "custom",
          "verb" : "download-c-periphery"
        },
        "permissions" : [
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                  443
                ]
              }
            },
            "reason" : "Download packages",
            "type" : "allowNetworkConnections"
          },
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write packages",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "DownloadCPeriphery.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Cperiphery",
      "module_type" : "ClangTarget",
      "name" : "Cperiphery",
      "path" : "Sources/Cperiphery",
      "product_memberships" : [
        "PeripheryKit_static",
        "PeripheryKit_shared",
        "pio"
      ],
      "sources" : [
        "gpio.c",
        "gpio_cdev_v1.c",
        "gpio_cdev_v2.c",
        "gpio_sysfs.c",
        "i2c.c",
        "led.c",
        "mmio.c",
        "pwm.c",
        "serial.c",
        "shims.c",
        "spi.c",
        "version.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PeripheryKit_shared",
      "PeripheryKit_static",
      "PeripheryKit-Package",
      "pio"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme PeripheryKit-Package -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PeripheryKit-Package -destination platform=macOS,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  PeripheryKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “DownloadCPeriphery” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/DownloadCPeriphery
[debug]: Using compiler /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: fd8994f500d7d16096cc5b2c2b09b4354c2093999643102b134f9f0886da7a83
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'pio' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
    Target 'PeripheryKit_static' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'PeripheryKit_shared' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'Cperiphery' in project 'PeripheryKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: c83c645373e8c160ea2ff48ec101d65e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c83c645373e8c160ea2ff48ec101d65e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
SymLink /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/PeripheryKit_shared Versions/Current/PeripheryKit_shared (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/ln -sfh Versions/Current/PeripheryKit_shared /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/PeripheryKit_shared
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework
SymLink /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Resources Versions/Current/Resources (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/ln -sfh Versions/Current/Resources /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Resources
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/A (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/A
SymLink /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/Current A (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/ln -sfh A /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/Current
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/A/Resources (in target 'PeripheryKit_shared' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks/PeripheryKit_shared.framework/Versions/A/Resources
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Cperiphery.modulemap (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Cperiphery.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/Cperiphery.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Cperiphery.modulemap (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Cperiphery.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/Cperiphery.LinkFileList (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/Cperiphery.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
-target arm64-apple-macos10.13 -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=Cperiphery' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' '-DPERIPHERY_GPIO_CDEV_SUPPORT=1' -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -g -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/include -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/PeripheryKit.modulemap (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/PeripheryKit.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/PeripheryKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/PeripheryKit.modulemap (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/PeripheryKit.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-OutputFileMap.json (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.SwiftFileList (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit_const_extract_protocols.json (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit_const_extract_protocols.json
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c:19:10: fatal error: 'linux/ioctl.h' file not found
#include <linux/ioctl.h>
         ^~~~~~~~~~~~~~~
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/version.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/version.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/version.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/version.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/version.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/version.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/version.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c:22:12: error: call to undeclared function 'clock_nanosleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    while (clock_nanosleep(CLOCK_MONOTONIC, 0, &req, &rem) == -1) {
           ^
1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c:194:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, len)) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/mmio.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/mmio.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:177:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:243:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:322:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:383:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = readlink(gpio_path, gpiochip_path, sizeof(gpiochip_path))) < 0)
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:417:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, str, len)) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v2.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v2.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o
SwiftDriver PeripheryKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftDriver -- /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name PeripheryKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/Cperiphery.modulemap -DXcode -sdk /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xfrontend -package-name -Xfrontend spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c:21:10: fatal error: 'linux/gpio.h' file not found
#include <linux/gpio.h>
         ^~~~~~~~~~~~~~
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
(1 failure)
Command line invocation:
    /Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PeripheryKit-Package -destination platform=macOS,arch=arm64
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  PeripheryKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “DownloadCPeriphery” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/DownloadCPeriphery
[debug]: Using compiler /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: fd8994f500d7d16096cc5b2c2b09b4354c2093999643102b134f9f0886da7a83
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'pio' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
    Target 'PeripheryKit_static' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'PeripheryKit_shared' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'PeripheryKit' in project 'PeripheryKit'
        ➜ Explicit dependency on target 'Cperiphery' in project 'PeripheryKit'
    Target 'Cperiphery' in project 'PeripheryKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c:22:12: error: call to undeclared function 'clock_nanosleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    while (clock_nanosleep(CLOCK_MONOTONIC, 0, &req, &rem) == -1) {
           ^
1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c:19:10: fatal error: 'linux/ioctl.h' file not found
#include <linux/ioctl.h>
         ^~~~~~~~~~~~~~~
1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:89:29: error: use of undeclared identifier 'B460800'
        case 460800: return B460800;
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:90:29: error: use of undeclared identifier 'B500000'
        case 500000: return B500000;
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:91:29: error: use of undeclared identifier 'B576000'
        case 576000: return B576000;
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:92:29: error: use of undeclared identifier 'B921600'
        case 921600: return B921600;
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:93:30: error: use of undeclared identifier 'B1000000'
        case 1000000: return B1000000;
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:94:30: error: use of undeclared identifier 'B1152000'
        case 1152000: return B1152000;
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:95:30: error: use of undeclared identifier 'B1500000'
        case 1500000: return B1500000;
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:96:30: error: use of undeclared identifier 'B2000000'
        case 2000000: return B2000000;
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:134:14: error: use of undeclared identifier 'B460800'
        case B460800: return 460800;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:135:14: error: use of undeclared identifier 'B500000'
        case B500000: return 500000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:136:14: error: use of undeclared identifier 'B576000'
        case B576000: return 576000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:137:14: error: use of undeclared identifier 'B921600'
        case B921600: return 921600;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:138:14: error: use of undeclared identifier 'B1000000'
        case B1000000: return 1000000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:139:14: error: use of undeclared identifier 'B1152000'
        case B1152000: return 1152000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:140:14: error: use of undeclared identifier 'B1500000'
        case B1500000: return 1500000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:141:14: error: use of undeclared identifier 'B2000000'
        case B2000000: return 2000000;
             ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:270:20: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
            return ret;
            ~~~~~~ ^~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:279:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    return bytes_read;
    ~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:288:12: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    return ret;
    ~~~~~~ ^~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:300:27: error: use of undeclared identifier 'TIOCINQ'
    if (ioctl(serial->fd, TIOCINQ, count) < 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:348:42: warning: implicit conversion loses integer precision: 'speed_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    *baudrate = _serial_bits_to_baudrate(cfgetospeed(&termios_settings));
                ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c:622:42: warning: implicit conversion loses integer precision: 'speed_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
     baudrate = _serial_bits_to_baudrate(cfgetospeed(&termios_settings));
                ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings and 17 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/pwm.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/pwm.c:194:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, len)) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~
1 warning generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c:20:10: fatal error: 'linux/i2c.h' file not found
#include <linux/i2c.h>
         ^~~~~~~~~~~~~
1 error generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/led.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c:114:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c:126:19: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
    *brightness = strtoul(buf, NULL, 10);
                ~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c:141:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/led.c:153:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
    led->max_brightness = strtoul(buf, NULL, 10);
                        ~ ^~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/mmio.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/mmio.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/mmio.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_sysfs.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:177:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:243:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:322:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, buf, sizeof(buf))) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:383:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = readlink(gpio_path, gpiochip_path, sizeof(gpiochip_path))) < 0)
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_sysfs.c:417:16: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
    if ((ret = read(fd, str, len)) < 0) {
             ~ ^~~~~~~~~~~~~~~~~~
5 warnings generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v2.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v2.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v2.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.dia -c /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o -index-unit-output-path /PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c:21:10: fatal error: 'linux/gpio.h' file not found
#include <linux/gpio.h>
         ^~~~~~~~~~~~~~
1 error generated.
SwiftDriver PeripheryKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PeripheryKit' from project 'PeripheryKit')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-SwiftDriver -- /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name PeripheryKit -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/Cperiphery.modulemap -DXcode -sdk /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx14.5-23F73-49faecbf30425c10d630e79548f1fbc6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xfrontend -package-name -Xfrontend spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/PeripheryKit.build/Objects-normal/arm64/PeripheryKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/shims.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/spi.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/spi.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/serial.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/serial.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/i2c.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PeripheryKit.build/Debug/Cperiphery.build/Objects-normal/arm64/gpio_cdev_v1.o /Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/gpio_cdev_v1.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cperiphery' from project 'PeripheryKit')
(5 failures)
BUILD FAILURE 5.10 macosXcodebuild