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 TNGradientPickerSlider with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frederik-jacques/TNGradientPickerSlider.git
Reference: 1.0.2
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/frederik-jacques/TNGradientPickerSlider
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at d86f294 Merge pull request #3 from frederik-jacques/feature/make_color_picker_public
Cloned https://github.com/frederik-jacques/TNGradientPickerSlider.git
Revision (git rev-parse @):
d86f29425a37cbb672e5a2b67efc8ee96a454806
SUCCESS checkout https://github.com/frederik-jacques/TNGradientPickerSlider.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/frederik-jacques/TNGradientPickerSlider.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/4] Write sources
[0/4] Copying TNColorPickerViewController.xib
[2/4] Copying Media.xcassets
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] Emitting module TNGradientPickerSlider
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/32] Compiling TNGradientPickerSlider TNGradientPickerSliderConfiguration.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/32] Compiling TNGradientPickerSlider TNGradientPickerSliderViewController.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/32] Compiling TNGradientPickerSlider TNGradientSliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/32] Compiling TNGradientPickerSlider TNColorInformationView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/32] Compiling TNGradientPickerSlider TNHexNumberTextField.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/32] Compiling TNGradientPickerSlider TNInlineNumberTextField.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/32] Compiling TNGradientPickerSlider TNScrollableValueLabel.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/32] Compiling TNGradientPickerSlider TNColorPreviewCircleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/32] Compiling TNGradientPickerSlider TNHueSliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/32] Compiling TNGradientPickerSlider TNSliderHandleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/32] Compiling TNGradientPickerSlider TNSaturationBrightnessView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[17/32] Compiling TNGradientPickerSlider NSBezierPath+CGPath.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/32] Compiling TNGradientPickerSlider NSColor+Hex.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/32] Compiling TNGradientPickerSlider NSColor+RGBA.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[20/32] Compiling TNGradientPickerSlider TNColorPickerViewController.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[21/32] Compiling TNGradientPickerSlider TNTransparancySliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[22/32] Compiling TNGradientPickerSlider CAMediaTimingFunction+Easings.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[23/32] Compiling TNGradientPickerSlider CGFloat+Clamp.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[24/32] Compiling TNGradientPickerSlider RGBA.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[25/32] Compiling TNGradientPickerSlider TNGradientColor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[26/32] Compiling TNGradientPickerSlider resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[27/32] Compiling TNGradientPickerSlider TNTrackHandleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[28/32] Compiling TNGradientPickerSlider HSB.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[29/32] Compiling TNGradientPickerSlider RGB.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[30/32] Compiling TNGradientPickerSlider NSColor+Random.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[31/32] Compiling TNGradientPickerSlider NSView+BackgroundColor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[32/32] Compiling TNGradientPickerSlider TNOnlyNumbersFormatter.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling TNGradientPickerSlider NSBezierPath+CGPath.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/26] Compiling TNGradientPickerSlider NSColor+Hex.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/26] Compiling TNGradientPickerSlider NSColor+RGBA.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] Emitting module TNGradientPickerSlider
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/29] Compiling TNGradientPickerSlider RGBA.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/29] Compiling TNGradientPickerSlider TNGradientColor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/29] Compiling TNGradientPickerSlider resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/29] Compiling TNGradientPickerSlider NSColor+Random.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/29] Compiling TNGradientPickerSlider NSView+BackgroundColor.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/29] Compiling TNGradientPickerSlider TNOnlyNumbersFormatter.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/29] Compiling TNGradientPickerSlider TNColorPickerViewController.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/29] Compiling TNGradientPickerSlider TNTransparancySliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/29] Compiling TNGradientPickerSlider CAMediaTimingFunction+Easings.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/29] Compiling TNGradientPickerSlider CGFloat+Clamp.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/29] Compiling TNGradientPickerSlider TNColorInformationView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[17/29] Compiling TNGradientPickerSlider TNHexNumberTextField.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/29] Compiling TNGradientPickerSlider TNInlineNumberTextField.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/29] Compiling TNGradientPickerSlider TNScrollableValueLabel.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[20/29] Compiling TNGradientPickerSlider TNColorPreviewCircleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[21/29] Compiling TNGradientPickerSlider TNHueSliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[22/29] Compiling TNGradientPickerSlider TNSliderHandleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[23/29] Compiling TNGradientPickerSlider TNSaturationBrightnessView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[24/29] Compiling TNGradientPickerSlider TNTrackHandleView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[25/29] Compiling TNGradientPickerSlider HSB.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[26/29] Compiling TNGradientPickerSlider RGB.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[27/29] Compiling TNGradientPickerSlider TNGradientPickerSliderConfiguration.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[28/29] Compiling TNGradientPickerSlider TNGradientPickerSliderViewController.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
[29/29] Compiling TNGradientPickerSlider TNGradientSliderView.swift
/host/spi-builder-workspace/Sources/TNGradientPickerSlider/Color Picker View Controller/Color Information/TNColorInformationView.swift:8:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.10 linux