Skip to content

Fix compiling issue for Xcode 15.2 #1205

Fix compiling issue for Xcode 15.2

Fix compiling issue for Xcode 15.2 #1205

Triggered via push April 23, 2024 12:56
Status Failure
Total duration 2m 58s
Artifacts

build.yaml

on: push
Matrix: run-test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
run-test (macOS, 5): Tests/KingfisherTests/NSButtonExtensionTests.swift#L75
reference to captured var 'progressBlockIsCalled' in concurrently-executing code
run-test (macOS, 5): Tests/KingfisherTests/NSButtonExtensionTests.swift#L80
main actor-isolated property 'image' can not be referenced from a non-isolated autoclosure
run-test (macOS, 5): Tests/KingfisherTests/NSButtonExtensionTests.swift#L97
reference to captured var 'progressBlockIsCalled' in concurrently-executing code
run-test (macOS, 5): Tests/KingfisherTests/NSButtonExtensionTests.swift#L102
main actor-isolated property 'alternateImage' can not be referenced from a non-isolated autoclosure
run-test (macOS, 5)
Process completed with exit code 1.
run-test (tvOS Simulator,name=Apple TV, 5)
The job was canceled because "macOS_5" failed.
run-test (tvOS Simulator,name=Apple TV, 5)
The operation was canceled.
run-test (iOS Simulator,name=iPhone 15, 5)
The job was canceled because "macOS_5" failed.
run-test (iOS Simulator,name=iPhone 15, 5)
The operation was canceled.
run-test (macOS, 5): Sources/Views/AnimatedImageView.swift#L489
converting function value of type '@mainactor (AnimatedImageView) throws -> T' to '(AnimatedImageView) throws -> T' loses global actor 'MainActor'