Skip to content

[SR-15109] Source compatibility suite: FAIL: Kingfisher & ReactiveKit #57435

@hamishknight

Description

@hamishknight
Previous ID SR-15109
Radar None
Original Reporter @hamishknight
Type Bug
Environment

swift-main-source-compat-suite
swift-main-source-compat-suite-debug
swift-5.5-source-compat-suite

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: fa5660df743905305baaa47db8ba2d8f

Issue Description:

https://ci.swift.org/job/swift-main-source-compat-suite/6084/
https://ci.swift.org/job/swift-main-source-compat-suite-debug/4198/
https://ci.swift.org/job/swift-5.5-source-compat-suite/139/

Kingfisher and ReactiveKit are failing with errors such as the following:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/armv7-apple-ios.swiftinterface:2539:19: error: 'Future' is only available in iOS 13.0 or newer
extension Combine.Future {
                  ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/armv7-apple-ios.swiftinterface:2539:1: note: add @available attribute to enclosing extension
extension Combine.Future {
^
/Volumes/swift-ci/jenkins/workspace/swift-main-source-compat-suite/swift-source-compat-suite/project_cache/Kingfisher/Sources/SwiftUI/ImageBinder.swift:27:27: error: failed to build module 'Combine'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.27.6 clang-1300.0.27.2)', while this compiler is 'Apple Swift version 5.6-dev (LLVM 5d814636634b8c0, Swift fe4ba18bf746cb8)'). Please select a toolchain which matches the SDK.
#if canImport(SwiftUI) && canImport(Combine)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions