You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SR-9204] fresh repo hits: error: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again
#4747
$ xcrun --toolchain org.swift.4220181101a swift -version
Apple Swift version 4.2-dev (LLVM fd66ce58db, Clang cca52e8396, Swift 2c2f71dd85)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
Votes
0
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: ac7d5efff6e31e76ff2445df6b8e34c2
Issue Description:
description
The SwiftNIO integration tests do in one integration test create a fresh SwiftPM repo. That always used to work but with the latest Swift dev snapshots it fails with this message
error: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again
(org.swift.4220181101a is the 1st November 2018 dev snapshot from swift.org)
expected
everything works
actual
++ swift package edit --path /Users/johannes/devel/swift-nio/IntegrationTests/tests_04_performance/../.. swift-nio
Fetching /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/HookedFunctions
Fetching /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/swift-nio
Fetching /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/AtomicCounter
Completed resolution in 1.26s
Cloning /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/AtomicCounter
Resolving /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/AtomicCounter at master
Cloning /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/swift-nio
Resolving /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/swift-nio at master
Cloning /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/HookedFunctions
Resolving /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/HookedFunctions at master
++ swift run -c release
++ tee /tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/output
Updating /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/AtomicCounter
Updating /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/HookedFunctions
Completed resolution in 0.48s
Everything is already up-to-date
Updating /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/HookedFunctions
Updating /private/tmp/.swift-nio-http1-server-sh-tests_m5gDVq/test.tmp_rzGBcY/AtomicCounter
Completed resolution in 0.45s
Everything is already up-to-date
error: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again
--- OUTPUT END ---
FAILURE (oks: 0, failures: 1)
Attachment: Download
Environment
Additional Detail from JIRA
md5: ac7d5efff6e31e76ff2445df6b8e34c2
Issue Description:
description
The SwiftNIO integration tests do in one integration test create a fresh SwiftPM repo. That always used to work but with the latest Swift dev snapshots it fails with this message
There's no
Package.resolved
in that repo...repo
1.
git clone https://github.com/apple/swift-nio.git
2.
cd swift-nio
3.
�xcrun --toolchain org.swift.4220181101a IntegrationTests/run-tests.sh -f allocation
(org.swift.4220181101a is the 1st November 2018 dev snapshot from swift.org)
expected
everything works
actual
extra info
swift build -v gives me
repository
I attached the full repository. To extract it in the extract it in the exact place it was on my machine do
The text was updated successfully, but these errors were encountered: