Skip to content

[Source compatibility suite] swift-futures failing to build - error: no such module 'Darwin.POSIX.signal' #79799

@justice-adams-apple

Description

@justice-adams-apple

Description

swift-futures is failing to build with the following error:

swift-futures/Sources/Futures/Internal/Private.swift:9:8: error: no such module 'Darwin.POSIX.signal'
  7 | 
  8 | #if canImport(Darwin)
  9 | import Darwin.POSIX.signal
    |        `- error: no such module 'Darwin.POSIX.signal'
 10 | #else
 11 | import Glibc

Reproduction

swift build --disable-sandbox --package-path swift-futures --verbose --configuration debug --build-tests -Xswiftc -swift-version -Xswiftc 5 -Xswiftc -enable-testing

Expected behavior

expected the project build to pass

Environment

Apple Swift version 6.2-dev (LLVM 3a02857b159678d, Swift c91e295)
Target: x86_64-apple-macosx13.0

Additional information

https://ci.swift.org/job/swift-main-source-compat-suite-debug/1050/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility suiteFlag: An issue that surfaced in the source compatibility suitetriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions