PICARD - Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. PICARD is a ServiceNow Research project that was started at Element AI.
Couldn't match type Distribution.Types.PackageId.PackageIdentifier' withCabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier'
NB: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier' is defined inDistribution.Types.PackageId'
in package Cabal-syntax-3.8.1.0' Distribution.Types.PackageId.PackageIdentifier'
is defined in Distribution.Types.PackageId' in packageCabal-3.6.0.0'
Expected type: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier
Actual type: PackageId
In the second argument of Sec.downloadPackage', namely pkgid' In a stmt of a 'do' block: Sec.downloadPackage' rep pkgid path In the second argument of($)', namely
`do info verbosity ("Writing " ++ path)
Sec.downloadPackage' rep pkgid path'
|
195 | Sec.downloadPackage' rep pkgid path
| ^^^^^
: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- regex-posix-0.96.0.1
- regex-base-0.94.0.2
- echo-0.1.4
cabal: Failed to build exe:cabal from cabal-install-3.6.0.0. See the build log
above for details.
I believe it might be an incompatibility of versions, however I am not familiar with Docker to be able to tell. Thank you
Hello! When I am trying to build the Docker image I get this error:
src/Distribution/Client/FetchUtils.hs:195:36: error:
Distribution.Types.PackageId.PackageIdentifier' with
Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier' NB:Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier' is defined in
Distribution.Types.PackageId' in packageCabal-syntax-3.8.1.0'
Distribution.Types.PackageId.PackageIdentifier' is defined inDistribution.Types.PackageId' in package
Cabal-3.6.0.0' Expected type: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier Actual type: PackageIdpkgid' In a stmt of a 'do' block: Sec.downloadPackage' rep pkgid path In the second argument of
($)', namely `do info verbosity ("Writing " ++ path) Sec.downloadPackage' rep pkgid path' | 195 | Sec.downloadPackage' rep pkgid path | ^^^^^