The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Capturer with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/Capturer.git
Reference: main
Cloned https://github.com/FluidGroup/Capturer.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/FluidGroup/Capturer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.21.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 5
  Running: 5
  Paused: 0
  Stopped: 0
 Images: 7
 Server Version: 24.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 5.4.0-1109-azure
 Operating System: Ubuntu 18.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.36GiB
 Name: lb2
 ID: X5EK:3YD4:A3YZ:ZDGO:QKPP:IMHE:JW4M:LYD2:4EOG:KDF4:WDKJ:TGEE
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Labels:
  provider=azure
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Capturer/Info.plist
    /host/spi-builder-workspace/Capturer/LICENSE

Building for debugging...
[1/22] Compiling Capturer AnyCVPixelBufferOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[2/22] Compiling Capturer AnyOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[3/22] Compiling Capturer CVPixelBufferModifying.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[4/22] Compiling Capturer CameraInput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[5/22] Compiling Capturer InputNodeType.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[6/22] Compiling Capturer Logger.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[7/25] Compiling Capturer VideoDataOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[8/25] Compiling Capturer PhotoTools.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[9/25] Compiling Capturer Utils.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[10/25] Compiling Capturer PixelBufferDisplaying.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[11/25] Compiling Capturer PixelBufferView.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[12/25] Compiling Capturer export.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[13/25] Compiling Capturer AnyCMSampleBufferOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[14/25] Compiling Capturer CoreImagePixelBufferView.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[15/25] Compiling Capturer CoreImageFilter.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[16/25] Compiling Capturer OutputNodeType.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[17/25] Compiling Capturer PhotoOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[18/25] Compiling Capturer PreviewOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[19/25] Emitting module Capturer
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[20/25] Compiling Capturer CaptureBody.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[21/25] Compiling Capturer ComponentBase.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[22/25] Compiling Capturer EventBus.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[23/25] Compiling Capturer MapOutput.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[24/25] Compiling Capturer Orientations.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
[25/25] Compiling Capturer PixelBufferTransform.swift
/host/spi-builder-workspace/Capturer/Basic/CaptureBody.swift:1:8: error: no such module 'AVFoundation'
import AVFoundation
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2