Skip to content

Build error on Android: call to signal yields "error: function is unused" #3180

Closed
@marcprux

Description

@marcprux

#3167 introduced a failure in my hourly Android builds of swift-nio (see https://github.com/swift-everywhere/swift-package-builds/actions/runs/14312839641/job/40111885760), which is a stopgap until swiftlang/github-workflows#106 gets approved.

/Users/runner/work/swift-package-builds/swift-package-builds/swift-nio/Sources/NIOCrashTester/main.swift:140:5: error: function is unused
138 |         try! group.syncShutdownGracefully()
139 |     }
140 |     signal(SIGPIPE, SIG_IGN)
    |     `- error: function is unused

@finagolfin, have you ever seen anything like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions