Skip to content

[Source compatibility suite] Sourcery failing to build - error: cannot find 'fputs' in scope #79798

@justice-adams-apple

Description

@justice-adams-apple

Description

Sourcery is failing to build with the following error:

Sourcery/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {

Reproduction

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

Expected behavior

Expected project to pass

Environment

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

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 suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions