Skip to content

Windows: swift-docc fails during update-checkout because Package.resolved is deleted #73412

Open
@eeckstein

Description

@eeckstein

Description

It looks like that somewhere in the build process the Package.resolved file in swift-docc is deleted. This leads to a fail in update-checkout in subsequent builds:

======UPDATE FAILURES======
C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\swift-docc failed (ret=1): ['git', 'rebase', 'FETCH_HEAD']
b'error: cannot rebase: You have unstaged changes.\nerror: Please commit or stash them.\n'

Reproduction

See https://ci-external.swift.org/job/apple-llvm-project-pull-request-windows/96/console

Expected behavior

Package.resolved is not deleted

Environment

Reproducible with top of main.
I could also reproduce it locally on my machine

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsPlatform: WindowsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.swift 6.0unexpected errorBug: Unexpected errorupdate-checkoutArea → utils: the `update-checkout` scriptutilsArea: the build system and other accessory scripts under the "utils" directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions