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 EasyToast, reference main (182e2c), with Swift 5.8 for macOS (SPM) on 6 Oct 2024 05:23:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/banghuazhao/EasyToast.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/banghuazhao/EasyToast
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 182e2c0 Add ToastAnimation (#7)
Cloned https://github.com/banghuazhao/EasyToast.git
Revision (git rev-parse @):
182e2c03f453e31e8fbff241a0e3372b5d378db1
SUCCESS checkout https://github.com/banghuazhao/EasyToast.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/banghuazhao/EasyToast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling EasyToast EasyToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/EasyToast.swift:87:14: error: reference to member 'top' cannot be resolved without a contextual type
            .top
            ~^~~
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/EasyToast.swift:89:14: error: reference to member 'center' cannot be resolved without a contextual type
            .center
            ~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/EasyToast.swift:91:14: error: reference to member 'bottom' cannot be resolved without a contextual type
            .bottom
            ~^~~~~~
[2/8] Compiling EasyToast CustomToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/CustomToast.swift:62:14: error: reference to member 'top' cannot be resolved without a contextual type
            .top
            ~^~~
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/CustomToast.swift:64:14: error: reference to member 'center' cannot be resolved without a contextual type
            .center
            ~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/CustomToast.swift:66:14: error: reference to member 'bottom' cannot be resolved without a contextual type
            .bottom
            ~^~~~~~
[3/8] Compiling EasyToast ToastAnimation.swift
[4/8] Compiling EasyToast ToastPosition.swift
[5/8] Compiling EasyToast ToastStyle.swift
[6/8] Compiling EasyToast ToastType.swift
[7/8] Emitting module EasyToast
[8/8] Compiling EasyToast SimpleMessageView.swift
BUILD FAILURE 5.8 macosSpm