The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UDev, reference stable (1286d9), with Swift 6.2 for Linux on 18 Sep 2025 05:28:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/D4yvid/swift-udev.git
Reference: stable
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/D4yvid/swift-udev
 * branch            stable     -> FETCH_HEAD
 * [new branch]      stable     -> origin/stable
HEAD is now at 1286d92 feat: initial commit
Cloned https://github.com/D4yvid/swift-udev.git
Revision (git rev-parse @):
1286d92e5da7456390e839c391bfc2578001d2c3
SUCCESS checkout https://github.com/D4yvid/swift-udev.git at stable
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/D4yvid/swift-udev.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
warning: you may be able to install libudev using your system-packager:
    apt-get install libudev-dev
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling UDev Devices.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module UDev
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
[5/11] Compiling UDev DeviceEnumerator.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
[6/11] Compiling UDev DeviceError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
[7/11] Compiling UDev DeviceMonitor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
[8/11] Compiling UDev Device.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "bridge.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CUDev/bridge.h:6:10: error: 'libudev.h' file not found
 4 | #pragma once
 5 |
 6 | #include <libudev.h>
   |          `- error: 'libudev.h' file not found
 7 |
 8 | /// No need for C wrappers
/host/spi-builder-workspace/Sources/UDev/Device.swift:1:8: error: could not build C module 'CUDev'
  1 | import CUDev
    |        `- error: could not build C module 'CUDev'
  2 | import Foundation
  3 |
BUILD FAILURE 6.2 linux