PerfectTemplate icon indicating copy to clipboard operation
PerfectTemplate copied to clipboard

Cannot resolve dependencies on Ubuntu 20.04 + swift 5.3

Open zeionara opened this issue 5 years ago • 0 comments

The command I execute:

git clone [email protected]:PerfectlySoft/PerfectTemplate.git && cd PerfectTemplate && swift run

The output I observe:

Cloning into 'PerfectTemplate'...
remote: Enumerating objects: 285, done.
remote: Total 285 (delta 0), reused 0 (delta 0), pack-reused 285
Receiving objects: 100% (285/285), 61.98 KiB | 453.00 KiB/s, done.
Resolving deltas: 100% (143/143), done.
Fetching https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Cloning https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Resolving https://github.com/PerfectlySoft/Perfect-HTTPServer.git at 3.0.23
Updating https://github.com/PerfectlySoft/Perfect-HTTPServer.git
Fetching https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
Cloning https://github.com/PerfectlySoft/Perfect-HTTP.git
Resolving https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0
Cloning https://github.com/PerfectlySoft/Perfect-Net.git
Resolving https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0
Cloning https://github.com/PerfectlySoft/Perfect-CZlib-src.git
Resolving https://github.com/PerfectlySoft/Perfect-CZlib-src.git at 0.0.4
error: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again

But if I delete "PerfectHTTPServer" from the target dependency list and replace all the code in main.swift with a simple print, I get only warning:

warning: dependency 'PerfectHTTPServer' is not used by any target

So there should be a mistake somewhere in dependencies declarations.

zeionara avatar Dec 24 '20 17:12 zeionara