Skip to content

Fix a compilation error - #2234

Merged
dkovba merged 1 commit into
mainfrom
error
Sep 4, 2026
Merged

dkovba merged 1 commit into
mainfrom
error

Conversation

@dkovba

@dkovba dkovba commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix

Motivation and Context

Fixes a compilation error below. Similar to #2119.

error: SwiftCompile normal arm64 /Users/Dmitry/Apple/container/Sources/ContainerBuild/Builder.swift failed with a nonzero exit code. Command line:     cd /Users/Dmitry/Apple
    builtin-SwiftPerFileCompile Builder.swift
/Users/Dmitry/Apple/container/Sources/ContainerBuild/Builder.swift:111:13: error: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
109 | 
110 |         if let terminal = config.terminal {
111 |             Task {
    |             |- error: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
    |             `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
112 |                 let winchHandler = AsyncSignalHandler.create(notify: [SIGWINCH])
113 |                 let setWinch = { (rows: UInt16, cols: UInt16) in

Testing

  • Tested locally

@dkovba
dkovba requested a review from jglogan September 3, 2026 20:39
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 24.87%
Integration 66.63%
Combined 76.12%

@dkovba
dkovba merged commit eee7ad0 into main Sep 4, 2026
4 checks passed
@dkovba
dkovba deleted the error branch September 4, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo