Stack: error, called at src/Stack\Solver.hs:187:16 in stack-1.5.1-6vAgdEAY6cq2iNQCmZsucn:Stack.Solver

Created on 18 Sep 2017  ·  9Comments  ·  Source: commercialhaskell/stack

>stack solver
Using configuration file: stack.yaml
Using cabal packages:
- money-machine.cabal
- .stack-work\downloaded\lIr58ju1g5tH\talib.cabal

Using resolver: lts-6.25

Warning: Installed version of cabal-install (2.0.0.0) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-7.10.3
Asking cabal to calculate a build plan...
Trying with packages from lts-6.25 and 4 external packages as hard constraints...
The following lines from cabal-install output could not be parsed:
Decimal-0.4.2 (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0 oanda-rest-api-0.4.1) (new package)
HUnit-1.3.1.2 (latest: 1.6.0.0) (via: talib-0.1.0.0 hspec-2.2.4
hspec-core-2.2.4 quickcheck-io-0.1.4 hspec-expectations-0.7.2) (new package)
ansi-terminal-0.6.2.3 (latest: 0.7.1.1) (via: hspec-core-2.2.4 tasty-0.11.0.4
ansi-wl-pprint-0.6.7.3) (new package)
base-orphans-0.5.4 (latest: 0.6) (via: lens-4.13 profunctors-5.2
semigroupoids-5.0.1 distributive-0.5.0.2) (new package)
data-default-class-0.0.1 (latest: 0.1.2.0) (via: Chart-cairo-1.6 Chart-1.6
http-conduit-2.1.11 http-client-tls-0.2.4.1 connection-0.2.6 tls-1.3.8
http-client-0.4.31.1 x509-validation-1.6.5 cookie-0.4.2.1) (new package)
fail-4.9.0.0 (via: aeson-0.11.2.1 attoparsec-0.13.1.0 cereal-0.5.2.0) (new
package)
hourglass-0.2.10 (via: x509-validation-1.6.5 x509-1.6.4 asn1-encoding-0.9.4
asn1-types-0.3.2) (new package)
kmeans-0.1.3 (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0) (new package)
memory-0.13 (latest: 0.14.8) (via: tls-1.3.8 x509-validation-1.6.5 x509-1.6.4
asn1-types-0.3.2 cryptonite-0.19) (new package)
mtl-2.2.1 (via: Chart-cairo-1.6 Chart-1.6 lens-4.13 kan-extensions-4.2.3
adjunctions-4.3 http-conduit-2.1.11 free-4.12.4 thyme-0.3.5.5 tls-1.3.8
x509-system-1.6.4 x509-validation-1.6.5 conduit-1.2.8 aeson-0.11.2.1
x509-store-1.6.2 resourcet-1.1.8.1 x509-1.6.4 tasty-0.11.0.4 regex-tdfa-1.2.2
cairo-0.13.1.1 exceptions-0.8.3 mmorph-1.0.6 parsec-3.1.11 operational-0.2.3.4
pem-0.2.2 regex-base-0.93.2) (new package)
network-2.6.3.1 (latest: 2.6.3.2) (via: http-client-tls-0.2.4.1
connection-0.2.6 tls-1.3.8 conduit-extra-1.1.14 http-client-0.4.31.1
streaming-commons-0.1.16 socks-0.5.5) (new package)
old-locale-1.0.0.7 (via: Chart-cairo-1.6 Chart-1.6 oanda-rest-api-0.4.1
thyme-0.3.5.5 cookie-0.4.2.1) (new package)
primitive-0.6.1.0 (latest: 0.6.2.0) (via: conduit-extra-1.1.14 tf-random-0.5
vector-0.11.0.0) (new package)
random-1.1 (via: thyme-0.3.5.5 http-client-0.4.31.1 hspec-core-2.2.4
streaming-commons-0.1.16 QuickCheck-2.8.2 operational-0.2.3.4 tf-random-0.5)
(new package)
stm-2.4.4.1 (via: conduit-extra-1.1.14 tasty-0.11.0.4 monad-control-1.0.1.0
streaming-commons-0.1.16 exceptions-0.8.3 transformers-base-0.4.4
StateVar-1.1.0.4 async-2.1.0) (new package)
tagged-0.8.4 (latest: 0.8.5) (via: lens-4.13 kan-extensions-4.2.3
adjunctions-4.3 profunctors-5.2 semigroupoids-5.0.1 bifunctors-5.2
comonad-4.2.7.2 aeson-0.11.2.1 tasty-quickcheck-0.8.4 semigroups-0.18.2
tasty-0.11.0.4 distributive-0.5.0.2) (new package)
text-1.2.2.1 (latest: 1.2.2.2) (via: money-machine-0.1.0.0
money-machine-0.1.0.0 money-machine-0.1.0.0 oanda-rest-api-0.4.1 lens-4.13
thyme-0.3.5.5 conduit-extra-1.1.14 http-client-0.4.31.1 aeson-0.11.2.1
http-types-0.9.1 attoparsec-0.13.1.0 case-insensitive-1.2.0.7
semigroups-0.18.2 cookie-0.4.2.1 streaming-commons-0.1.16 scientific-0.3.4.9
cairo-0.13.1.1 blaze-builder-0.4.0.2 hashable-1.2.4.0 mime-types-0.1.0.7
parsec-3.1.11) (new package)
transformers-compat-0.4.0.4 (latest: 0.5.1.4) (via: lens-4.13 adjunctions-4.3
free-4.12.4 semigroupoids-5.0.1 comonad-4.2.7.2 contravariant-1.4
resourcet-1.1.8.1 monad-control-1.0.1.0 optparse-applicative-0.12.1.0
errors-2.1.2 distributive-0.5.0.2 exceptions-0.8.3 mmorph-1.0.6
transformers-base-0.4.4) (new package)
(new package)
(new package)
kdt-0.2.4 (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0) (new package)
cryptonite-0.19 (latest: 0.24) (via: tls-1.3.8 x509-validation-1.6.5
x509-store-1.6.2 x509-1.6.4) (new package)
asn1-types-0.3.2 (via: tls-1.3.8 x509-validation-1.6.5 x509-store-1.6.2
x509-1.6.4 asn1-parse-0.9.4 asn1-encoding-0.9.4) (new package)
pem-0.2.2 (via: x509-system-1.6.4 x509-validation-1.6.5 x509-store-1.6.2
x509-1.6.4) (new package)
vector-0.11.0.0 (latest: 0.12.0.1) (via: money-machine-0.1.0.0
money-machine-0.1.0.0 Chart-1.6 oanda-rest-api-0.4.1 lens-4.13 thyme-0.3.5.5
talib-0.1.0.0 talib-0.1.0.0 aeson-0.11.2.1 scientific-0.3.4.9
vector-th-unbox-0.2.1.6) (new package)
operational-0.2.3.4 (latest: 0.2.3.5) (via: Chart-cairo-1.6 Chart-1.6) (new
package)
async-2.1.0 (latest: 2.1.1.1) (via: tls-1.3.8 conduit-extra-1.1.14
hspec-core-2.2.4 tasty-0.11.0.4 streaming-commons-0.1.16) (new package)
hashable-1.2.4.0 (latest: 1.2.6.1) (via: lens-4.13 aeson-0.11.2.1
case-insensitive-1.2.0.7 void-0.7.1 semigroups-0.18.2 scientific-0.3.4.9
unordered-containers-0.2.7.1) (new package)
blaze-builder-0.4.0.2 (via: conduit-extra-1.1.14 http-client-0.4.31.1
http-types-0.9.1 cookie-0.4.2.1 streaming-commons-0.1.16) (new package)
transformers-base-0.4.4 (via: conduit-extra-1.1.14 conduit-1.2.8
resourcet-1.1.8.1 lifted-base-0.2.3.8 monad-control-1.0.1.0) (new package)
mmorph-1.0.6 (latest: 1.1.0) (via: conduit-1.2.8 resourcet-1.1.8.1) (new
package)
exceptions-0.8.3 (via: lens-4.13 http-conduit-2.1.11 free-4.12.4
conduit-extra-1.1.14 http-client-0.4.31.1 conduit-1.2.8 resourcet-1.1.8.1)
(new package)
distributive-0.5.0.2 (latest: 0.5.3) (via: lens-4.13 kan-extensions-4.2.3
adjunctions-4.3 free-4.12.4 profunctors-5.2 semigroupoids-5.0.1
comonad-4.2.7.2) (new package)
optparse-applicative-0.12.1.0 (latest: 0.14.0.0) (via: tasty-0.11.0.4) (new
package)
asn1-encoding-0.9.4 (latest: 0.9.5) (via: tls-1.3.8 x509-system-1.6.4
x509-validation-1.6.5 x509-store-1.6.2 x509-1.6.4 asn1-parse-0.9.4) (new
package)
QuickCheck-2.8.2 (latest: 2.10.0.1) (via: money-machine-0.1.0.0 thyme-0.3.5.5
talib-0.1.0.0 hspec-2.2.4 tasty-quickcheck-0.8.4 hspec-core-2.2.4
quickcheck-io-0.1.4) (new package)
unordered-containers-0.2.7.1 (latest: 0.2.8.0) (via: money-machine-0.1.0.0
money-machine-0.1.0.0 money-machine-0.1.0.0 lens-4.13 aeson-0.11.2.1
semigroups-0.18.2) (new package)
scientific-0.3.4.9 (latest: 0.3.5.2) (via: oanda-rest-api-0.4.1 aeson-0.11.2.1
attoparsec-0.13.1.0) (new package)
streaming-commons-0.1.16 (latest: 0.1.18) (via: conduit-extra-1.1.14
http-client-0.4.31.1) (new package)
monad-control-1.0.1.0 (latest: 1.0.2.2) (via: http-conduit-2.1.11
conduit-extra-1.1.14 conduit-1.2.8 resourcet-1.1.8.1 lifted-base-0.2.3.8) (new
package)
tasty-0.11.0.4 (latest: 0.11.2.5) (via: talib-0.1.0.0 tasty-hunit-0.9.2
tasty-quickcheck-0.8.4) (new package)
semigroups-0.18.2 (latest: 0.18.3) -bytestring-builder (via: lens-4.13
adjunctions-4.3 free-4.12.4 semigroupoids-5.0.1 bifunctors-5.2 comonad-4.2.7.2
aeson-0.11.2.1 contravariant-1.4 attoparsec-0.13.1.0 case-insensitive-1.2.0.7
void-0.7.1) (new package)
lifted-base-0.2.3.8 (latest: 0.2.3.11) (via: http-conduit-2.1.11 conduit-1.2.8
resourcet-1.1.8.1) (new package)
x509-1.6.4 (latest: 1.7.2) (via: connection-0.2.6 tls-1.3.8 x509-system-1.6.4
x509-validation-1.6.5 x509-store-1.6.2) (new package)
(new package)
case-insensitive-1.2.0.7 (latest: 1.2.0.10) (via: http-client-0.4.31.1
http-types-0.9.1) (new package)
attoparsec-0.13.1.0 (latest: 0.13.2.0) (via: thyme-0.3.5.5
conduit-extra-1.1.14 aeson-0.11.2.1) (new package)
resourcet-1.1.8.1 (latest: 1.1.9) (via: oanda-rest-api-0.4.1
http-conduit-2.1.11 conduit-extra-1.1.14 conduit-1.2.8) (new package)
x509-store-1.6.2 (latest: 1.6.5) (via: connection-0.2.6 tls-1.3.8
x509-system-1.6.4 x509-validation-1.6.5) (new package)
contravariant-1.4 (via: lens-4.13 kan-extensions-4.2.3 adjunctions-4.3
profunctors-5.2 semigroupoids-5.0.1 comonad-4.2.7.2 talib-0.1.0.0) (new
package)
aeson-0.11.2.1 (latest: 1.2.1.0) (via: oanda-rest-api-0.4.1
http-conduit-2.1.11 thyme-0.3.5.5) (new package)
conduit-1.2.8 (latest: 1.2.12) (via: oanda-rest-api-0.4.1 http-conduit-2.1.11
conduit-extra-1.1.14) (new package)
x509-validation-1.6.5 (latest: 1.6.9) (via: connection-0.2.6 tls-1.3.8) (new
package)
talib-0.1.0.0 *test (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0) (new package)
comonad-4.2.7.2 (latest: 5.0.2) (via: lens-4.13 kan-extensions-4.2.3
adjunctions-4.3 free-4.12.4 profunctors-5.2 semigroupoids-5.0.1
bifunctors-5.2) (new package)
http-client-0.4.31.1 (latest: 0.5.7.0) (via: oanda-rest-api-0.4.1
http-conduit-2.1.11 http-client-tls-0.2.4.1) (new package)
tls-1.3.8 (latest: 1.4.0) (via: http-client-tls-0.2.4.1 connection-0.2.6) (new
package)
bifunctors-5.2 (latest: 5.4.2) (via: lens-4.13 free-4.12.4 profunctors-5.2
semigroupoids-5.0.1) (new package)
semigroupoids-5.0.1 (latest: 5.2.1) (via: lens-4.13 kan-extensions-4.2.3
adjunctions-4.3 free-4.12.4) (new package)
profunctors-5.2 (latest: 5.2.1) (via: lens-4.13 adjunctions-4.3 free-4.12.4
thyme-0.3.5.5) (new package)
http-client-tls-0.2.4.1 (latest: 0.3.5.1) (via: http-conduit-2.1.11) (new
package)
thyme-0.3.5.5 (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0 oanda-rest-api-0.4.1) (new package)
free-4.12.4 (via: lens-4.13 kan-extensions-4.2.3 adjunctions-4.3) (new
package)
http-conduit-2.1.11 (latest: 2.2.3.2) (via: oanda-rest-api-0.4.1) (new
package)
lens-4.13 (latest: 4.15.4) (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0 Chart-cairo-1.6 Chart-1.6 oanda-rest-api-0.4.1) (new
package)
oanda-rest-api-0.4.1 (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0) (new package)
Chart-1.6 (latest: 1.8.2) (via: money-machine-0.1.0.0 money-machine-0.1.0.0
money-machine-0.1.0.0 Chart-cairo-1.6) (new package)
Chart-cairo-1.6 (latest: 1.8.2) (via: money-machine-0.1.0.0
money-machine-0.1.0.0 money-machine-0.1.0.0) (new package)
CallStack (from HasCallStack):
  error, called at src/Stack\Solver.hs:187:16 in stack-1.5.1-6vAgdEAY6cq2iNQCmZsucn:Stack.Solver

Stack version

Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e x86_64 hpack-0.17.1

stack.yaml:

resolver: lts-6.25
packages:
- .
- location:
    git: https://github.com/elsen-trading/talib.git
    commit: a812be5ecf7d5beb90967d3642ffe09200402c89
  extra-dep: true

extra-deps:
- vector-0.11.0.0
- base-4.8.2.0
- primitive-0.6.1.0
- oanda-rest-api-0.4.1
flags: {}
extra-package-dbs: []

new / init / solver bug

Most helpful comment

I have the same error, and nightly-2017-11-10 or even nightly-2018-01-03 didn't solve the problem.
I am following through the docs (https://docs.haskellstack.org/en/stable/GUIDE/#external-dependencies), and I get this error:

(a clarification on what I'm doing: acme-missiles is a package not found in any lts or nightly build, so this is supposed to be an exercise in installing dependencies through either the extra-deps in stack.yml [or, discouraged, by adding the dependency in yackage.cabal].)

This is the error when I put the dependency in the cabal file:

☁  yackage-0.8.0  stack init --force --solver  
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./

Selecting the best among 12 snapshots...

* Partially matches lts-10.2
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

Downloaded nightly-2018-01-05 build plan.    
Didn't see crypto-api-0.13.3@sha256:71ddced47e5100e4ef8a09e1463c2f9663e22ae40211d7c865c8e4807dfdce50,2203 in your package indices.
Updating and trying again.
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Updating index                                                                                   
Updated package index downloaded                                                                 
Update complete                                                                                  
Populated index cache.    
* Partially matches nightly-2018-01-05
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-9.21
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-8.24
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-7.24
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-6.35
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-5.18
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-4.2
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-3.22
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-2.22
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.13.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

* Partially matches lts-1.15
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.10.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

* Partially matches lts-0.7
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.4.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

Selected resolver: lts-10.2
*** Resolver lts-10.2 will need external packages: 
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

Using resolver: lts-10.2

Warning: Installed version of cabal-install (2.0.0.1) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.2
Asking cabal to calculate a build plan...
Trying with packages from lts-10.2 as hard constraints...
The following lines from cabal-install output could not be parsed: 
Cabal-2.0.1.1 (via: yackage-0.8.0 http-api-data-0.3.7.1 cabal-doctest-1.0.4
entropy-0.3.8) (new version)
(new package)
base-compat-0.9.3 (via: aeson-compat-0.3.7.1 aeson-1.2.3.0
attoparsec-iso8601-1.0.0.0) (new package)
base64-bytestring-1.0.0.1 (via: persistent-2.7.1 clientsession-0.9.1.2
wai-extra-3.0.21.0 http-client-0.5.7.1 pem-0.2.2) (new package)
byteable-0.1.1 (via: yesod-form-1.4.16 connection-0.2.8 yesod-core-1.4.37.2
x509-validation-1.6.9 cprng-aes-0.6.1 cipher-aes-0.2.11
crypto-cipher-types-0.0.9 securemem-0.1.9) (new package)
bytestring-builder-0.10.8.1.0 (via: warp-3.2.13 wai-3.2.1.1 http2-1.6.3) (new
package)
cereal-0.5.4.0 (via: tls-1.4.0 yesod-core-1.4.37.2 clientsession-0.9.1.2
skein-1.0.9.4 crypto-api-0.13.2 socks-0.5.6) (new package)
data-default-class-0.1.2.0 (via: http-client-tls-0.3.5.1 connection-0.2.8
tls-1.4.0 x509-validation-1.6.9 wai-extra-3.0.21.0 cookie-0.4.3
data-default-0.7.1.1 data-default-instances-old-locale-0.0.1
data-default-instances-dlist-0.0.1 data-default-instances-containers-0.0.1)
(new package)
dlist-0.8.0.3 (via: aeson-1.2.3.0 data-default-instances-dlist-0.0.1) (new
package)
hourglass-0.2.10 (via: x509-validation-1.6.9 x509-1.7.2 asn1-encoding-0.9.5
asn1-types-0.3.2) (new package)
mtl-2.2.1 (via: http-conduit-2.2.4 tls-1.4.0 persistent-2.7.1
yesod-core-1.4.37.2 x509-system-1.6.6 x509-validation-1.6.9
monad-logger-0.3.26 x509-store-1.6.5 x509-1.7.2 conduit-1.2.12.1
resourcet-1.1.10 exceptions-0.8.3 mmorph-1.1.0 parsec-3.1.11 pem-0.2.2) (new
package)
network-2.6.3.2 (via: http-client-tls-0.3.5.1 connection-0.2.8 tls-1.4.0
conduit-extra-1.2.3.1 wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13
http-client-0.5.7.1 wai-3.2.1.1 streaming-commons-0.1.18 iproute-1.7.1
simple-sendfile-0.2.26 socks-0.5.6) (new package)
old-locale-1.0.0.7 (via: persistent-2.7.1 yesod-core-1.4.37.2
wai-extra-3.0.21.0 cookie-0.4.3 data-default-instances-old-locale-0.0.1
old-time-1.1.0.3) (new package)
primitive-0.6.2.0 (via: yesod-core-1.4.37.2 conduit-extra-1.2.3.1
conduit-1.2.12.1 mwc-random-0.13.6.0 math-functions-0.2.1.0 scientific-0.3.5.2
vector-0.12.0.1) (new package)
random-1.1 (via: yesod-core-1.4.37.2 http-client-0.5.7.1
streaming-commons-0.1.18 uuid-types-1.0.3) (new package)
(new package)
stm-2.4.4.1 (via: monad-logger-0.3.26 conduit-extra-1.2.3.1 warp-3.2.13
resource-pool-0.2.3.2 http2-1.6.3 monad-control-1.0.2.2
streaming-commons-0.1.18 typed-process-0.2.0.0 exceptions-0.8.3
transformers-base-0.4.4 acme-missiles-0.3 async-2.1.1.1 stm-chans-3.0.0.4)
(new package)
text-1.2.2.2 (latest: 1.2.3.0) (via: yackage-0.8.0 yesod-form-1.4.16
http-client-tls-0.3.5.1 persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1 yaml-0.8.25.1
wai-extra-3.0.21.0 warp-3.2.13 aeson-compat-0.3.7.1 shakespeare-2.0.14.1
http-api-data-0.3.7.1 xss-sanitize-0.3.5.7 http-client-0.5.7.1 wai-3.2.1.1
aeson-1.2.3.0 attoparsec-iso8601-1.0.0.0 css-text-0.1.2.2 blaze-html-0.9.0.1
http-types-0.9.1 attoparsec-0.13.2.0 fast-logger-2.4.10 blaze-markup-0.8.0.0
cookie-0.4.3 streaming-commons-0.1.18 case-insensitive-1.2.0.10
scientific-0.3.5.2 uuid-types-1.0.3 th-lift-instances-0.1.11
blaze-builder-0.4.0.2 hashable-1.2.6.1 mime-types-0.1.0.7 parsec-3.1.11
path-pieces-0.2.1 tagsoup-0.14.2) (new package)
time-locale-compat-0.1.1.3 -old-locale (via: aeson-compat-0.3.7.1
http-api-data-0.3.7.1 aeson-1.2.3.0) (new package)
transformers-compat-0.5.1.4 (via: monad-logger-0.3.26 conduit-1.2.12.1
resourcet-1.1.10 monad-control-1.0.2.2 exceptions-0.8.3 mmorph-1.1.0
tagged-0.8.5 transformers-base-0.4.4) (new package)
(new package)
unliftio-core-0.1.0.0 (latest: 0.1.1.0) (via: monad-logger-0.3.26
conduit-extra-1.2.3.1 resourcet-1.1.10) (new package)
word8-0.1.3 (via: yesod-core-1.4.37.2 wai-extra-3.0.21.0 warp-3.2.13) (new
package)
(new package)
(new package)
data-default-instances-containers-0.0.1 (via: data-default-0.7.1.1) (new
package)
pem-0.2.2 (via: x509-system-1.6.6 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2) (new package)
data-default-instances-old-locale-0.0.1 (via: data-default-0.7.1.1) (new
package)
vector-0.12.0.1 (via: yackage-0.8.0 persistent-2.7.1 yesod-core-1.4.37.2
yaml-0.8.25.1 aeson-compat-0.3.7.1 shakespeare-2.0.14.1 aeson-1.2.3.0
mwc-random-0.13.6.0 crypto-random-0.0.9 resource-pool-0.2.3.2
math-functions-0.2.1.0 th-lift-instances-0.1.11 vector-th-unbox-0.2.1.6) (new
package)
async-2.1.1.1 (via: tls-1.4.0 conduit-extra-1.2.3.1 warp-3.2.13
streaming-commons-0.1.18 typed-process-0.2.0.0) (new package)
path-pieces-0.2.1 (via: persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2) (new package)
parsec-3.1.11 (via: yesod-core-1.4.37.2 shakespeare-2.0.14.1
network-uri-2.6.1.0) (new package)
hashable-1.2.6.1 (via: warp-3.2.13 aeson-compat-0.3.7.1 http-api-data-0.3.7.1
aeson-1.2.3.0 resource-pool-0.2.3.2 vault-0.3.0.7 case-insensitive-1.2.0.10
psqueues-0.2.4.0 scientific-0.3.5.2 unordered-containers-0.2.8.0
uuid-types-1.0.3) (new package)
blaze-builder-0.4.0.2 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-persistent-1.4.3 yesod-core-1.4.37.2 monad-logger-0.3.26
conduit-extra-1.2.3.1 wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13
http-client-0.5.7.1 wai-3.2.1.1 uri-bytestring-0.3.1.0 blaze-html-0.9.0.1
http-types-0.9.1 blaze-markup-0.8.0.0 cookie-0.4.3 streaming-commons-0.1.18)
(new package)
transformers-base-0.4.4 (via: persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 conduit-extra-1.2.3.1 conduit-1.2.12.1 resourcet-1.1.10
lifted-base-0.2.3.11 resource-pool-0.2.3.2 monad-control-1.0.2.2) (new
package)
tagged-0.8.5 (via: persistent-template-2.5.3 persistent-2.7.1
clientsession-0.9.1.2 aeson-compat-0.3.7.1 aeson-1.2.3.0 skein-1.0.9.4
crypto-api-0.13.2) (new package)
exceptions-0.8.3 (via: http-conduit-2.2.4 http-client-tls-0.3.5.1
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
conduit-1.2.12.1 aeson-compat-0.3.7.1 shakespeare-2.0.14.1 resourcet-1.1.10
http-client-0.5.7.1) (new package)
memory-0.14.11 (via: http-client-tls-0.3.5.1 tls-1.4.0 x509-validation-1.6.9
x509-1.7.2 asn1-types-0.3.2 cryptonite-0.24 securemem-0.1.9) (new package)
data-default-0.7.1.1 (via: yesod-form-1.4.16 yesod-core-1.4.37.2) (new
package)
typed-process-0.2.0.0 (latest: 0.2.1.0) (via: conduit-extra-1.2.3.1) (new
package)
network-uri-2.6.1.0 (via: yesod-form-1.4.16 http-client-tls-0.3.5.1
xss-sanitize-0.3.5.7 http-client-0.5.7.1) (new package)
unordered-containers-0.2.8.0 (via: yackage-0.8.0 persistent-template-2.5.3
persistent-2.7.1 yesod-core-1.4.37.2 yaml-0.8.25.1 aeson-compat-0.3.7.1
shakespeare-2.0.14.1 http-api-data-0.3.7.1 aeson-1.2.3.0 vault-0.3.0.7) (new
package)
scientific-0.3.5.2 (via: persistent-2.7.1 yaml-0.8.25.1 aeson-compat-0.3.7.1
shakespeare-2.0.14.1 aeson-1.2.3.0 attoparsec-0.13.2.0) (new package)
case-insensitive-1.2.0.10 (via: http-client-tls-0.3.5.1 yesod-core-1.4.37.2
wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13 http-client-0.5.7.1
http-types-0.9.1 http2-1.6.3) (new package)
streaming-commons-0.1.18 (via: conduit-extra-1.2.3.1 wai-extra-3.0.21.0
warp-3.2.13 http-client-0.5.7.1) (new package)
(new package)
blaze-markup-0.8.0.0 (via: yesod-form-1.4.16 persistent-2.7.1
yesod-core-1.4.37.2 shakespeare-2.0.14.1 blaze-html-0.9.0.1) (new package)
monad-control-1.0.2.2 (via: http-conduit-2.2.4 persistent-template-2.5.3
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
conduit-1.2.12.1 resourcet-1.1.10 lifted-base-0.2.3.11 resource-pool-0.2.3.2)
(new package)
(new package)
securemem-0.1.9 (via: cipher-aes-0.2.11 crypto-cipher-types-0.0.9
crypto-random-0.0.9) (new package)
cryptonite-0.24 (via: http-client-tls-0.3.5.1 tls-1.4.0 x509-validation-1.6.9
x509-store-1.6.5 x509-1.7.2) (new package)
asn1-types-0.3.2 (via: tls-1.4.0 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2 asn1-parse-0.9.4 asn1-encoding-0.9.5) (new package)
fast-logger-2.4.10 (via: persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 wai-extra-3.0.21.0 wai-logger-2.3.1) (new package)
attoparsec-0.13.2.0 (via: yesod-form-1.4.16 persistent-2.7.1
conduit-extra-1.2.3.1 yaml-0.8.25.1 aeson-compat-0.3.7.1 http-api-data-0.3.7.1
xss-sanitize-0.3.5.7 aeson-1.2.3.0 attoparsec-iso8601-1.0.0.0 css-text-0.1.2.2
email-validate-2.3.2 http-date-0.0.6.1 uri-bytestring-0.3.1.0) (new package)
http-types-0.9.1 (latest: 0.11) (via: yackage-0.8.0 http-conduit-2.2.4
http-client-tls-0.3.5.1 yesod-core-1.4.37.2 wai-extra-3.0.21.0
wai-logger-2.3.1 warp-3.2.13 http-api-data-0.3.7.1 http-client-0.5.7.1
wai-3.2.1.1) (new package)
blaze-html-0.9.0.1 (via: yackage-0.8.0 yesod-form-1.4.16 persistent-2.7.1
yesod-core-1.4.37.2 shakespeare-2.0.14.1) (new package)
resource-pool-0.2.3.2 (via: yesod-persistent-1.4.3 persistent-2.7.1) (new
package)
lifted-base-0.2.3.11 (via: http-conduit-2.2.4 persistent-2.7.1
yesod-core-1.4.37.2 monad-logger-0.3.26 wai-extra-3.0.21.0 conduit-1.2.12.1
resourcet-1.1.10) (new package)
asn1-encoding-0.9.5 (via: tls-1.4.0 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2 asn1-parse-0.9.4) (new package)
(new package)
aeson-1.2.3.0 (via: http-conduit-2.2.4 yesod-form-1.4.16
persistent-template-2.5.3 persistent-2.7.1 yesod-core-1.4.37.2 yaml-0.8.25.1
yaml-0.8.25.1 yaml-0.8.25.1 wai-extra-3.0.21.0 aeson-compat-0.3.7.1
shakespeare-2.0.14.1) (new package)
wai-3.2.1.1 (via: yackage-0.8.0 yesod-form-1.4.16 yesod-core-1.4.37.2
wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13) (new package)
http-client-0.5.7.1 (via: http-conduit-2.2.4 http-client-tls-0.3.5.1) (new
package)
resourcet-1.1.10 (via: http-conduit-2.2.4 yesod-form-1.4.16
yesod-persistent-1.4.3 persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 conduit-extra-1.2.3.1 yaml-0.8.25.1 wai-extra-3.0.21.0
conduit-1.2.12.1) (new package)
http-api-data-0.3.7.1 (via: persistent-template-2.5.3 persistent-2.7.1) (new
package)
shakespeare-2.0.14.1 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-core-1.4.37.2) (new package)
conduit-1.2.12.1 (via: yackage-0.8.0 http-conduit-2.2.4 yesod-persistent-1.4.3
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
yaml-0.8.25.1) (new package)
x509-1.7.2 (via: connection-0.2.8 tls-1.4.0 x509-system-1.6.6
x509-validation-1.6.9 x509-store-1.6.5) (new package)
conduit-extra-1.2.3.1 (latest: 1.2.3.2) (via: http-conduit-2.2.4
yesod-core-1.4.37.2 monad-logger-0.3.26) (new package)
x509-store-1.6.5 (via: connection-0.2.8 tls-1.4.0 x509-system-1.6.6
x509-validation-1.6.9) (new package)
monad-logger-0.3.26 (via: persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2) (new package)
yesod-core-1.4.37.2 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-persistent-1.4.3) (new package)
persistent-2.7.1 (latest: 2.7.3) (via: yesod-form-1.4.16
yesod-persistent-1.4.3 persistent-template-2.5.3) (new package)
CallStack (from HasCallStack):
  error, called at src/Stack/Solver.hs:173:16 in stack-1.6.3-29yGLWFZzMc4kc0GGcUpok:Stack.Solver

All 9 comments

Just to save someone some initial investigation, the line is:

https://github.com/commercialhaskell/stack/blob/600c1f01435a10d127938709556c1682ecfd694e/src/Stack/Solver.hs#L187 which appears to be because it couldn't parse some lines from cabal-install. The warning: Warning: Installed version of cabal-install (2.0.0.0) is newer than stack has been tested with. If you run into difficulties, consider downgrading. from early in the log is thus likely important.

I'm experiencing something very similar, thought I'd add to the bug report a bit in case it's useful.

Output of stack solver:

Using configuration file: stack.yaml
Using cabal packages:
- calculator.cabal


Warning: Installed version of cabal-install (2.0.0.0) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.1
Using resolver: ghc-8.2.1

Warning: Installed version of cabal-install (2.0.0.0) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.1
Asking cabal to calculate a build plan...
Trying with packages from ghc-8.2.1 as hard constraints...
The following lines from cabal-install output could not be parsed:
text-1.2.2.2 (via: megaparsec-6.2.0 case-insensitive-1.2.0.10
scientific-0.3.5.2 hashable-1.2.6.1) (new package)
hashable-1.2.6.1 (via: case-insensitive-1.2.0.10 scientific-0.3.5.2) (new
package)
CallStack (from HasCallStack):
  error, called at src/Stack/Solver.hs:176:16 in stack-1.6.0.20171022-J5d5b1DRYPN5dMkX9XdJss:Stack.Solver

stack.yaml:

resolver: ghc-8.2.1
packages:
- .

I was trying to avoid downgrading cabal, but that's starting to look like my only option for now. (Edit 2: Actually, downgrading the version of megaparsec I'm using makes more sense.)

Edit: Forgot to include my stack version info:

Version 1.6.0.20171022 x86_64

Woo, never mind, resolver: nightly-2017-11-10 fixed this. Sorry for the noise!

I have the same error, and nightly-2017-11-10 or even nightly-2018-01-03 didn't solve the problem.
I am following through the docs (https://docs.haskellstack.org/en/stable/GUIDE/#external-dependencies), and I get this error:

(a clarification on what I'm doing: acme-missiles is a package not found in any lts or nightly build, so this is supposed to be an exercise in installing dependencies through either the extra-deps in stack.yml [or, discouraged, by adding the dependency in yackage.cabal].)

This is the error when I put the dependency in the cabal file:

☁  yackage-0.8.0  stack init --force --solver  
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./

Selecting the best among 12 snapshots...

* Partially matches lts-10.2
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

Downloaded nightly-2018-01-05 build plan.    
Didn't see crypto-api-0.13.3@sha256:71ddced47e5100e4ef8a09e1463c2f9663e22ae40211d7c865c8e4807dfdce50,2203 in your package indices.
Updating and trying again.
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Updating index                                                                                   
Updated package index downloaded                                                                 
Update complete                                                                                  
Populated index cache.    
* Partially matches nightly-2018-01-05
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-9.21
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-8.24
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-7.24
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-6.35
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-5.18
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-4.2
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-3.22
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

* Partially matches lts-2.22
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.13.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

* Partially matches lts-1.15
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.10.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

* Partially matches lts-0.7
    acme-missiles not found
        - yackage requires -any
    warp version 3.0.4.1 found
        - yackage requires >=3.1
    Using package flags:
        - yackage: upload = True

Selected resolver: lts-10.2
*** Resolver lts-10.2 will need external packages: 
    acme-missiles not found
        - yackage requires -any
    Using package flags:
        - yackage: upload = True

Using resolver: lts-10.2

Warning: Installed version of cabal-install (2.0.0.1) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.2
Asking cabal to calculate a build plan...
Trying with packages from lts-10.2 as hard constraints...
The following lines from cabal-install output could not be parsed: 
Cabal-2.0.1.1 (via: yackage-0.8.0 http-api-data-0.3.7.1 cabal-doctest-1.0.4
entropy-0.3.8) (new version)
(new package)
base-compat-0.9.3 (via: aeson-compat-0.3.7.1 aeson-1.2.3.0
attoparsec-iso8601-1.0.0.0) (new package)
base64-bytestring-1.0.0.1 (via: persistent-2.7.1 clientsession-0.9.1.2
wai-extra-3.0.21.0 http-client-0.5.7.1 pem-0.2.2) (new package)
byteable-0.1.1 (via: yesod-form-1.4.16 connection-0.2.8 yesod-core-1.4.37.2
x509-validation-1.6.9 cprng-aes-0.6.1 cipher-aes-0.2.11
crypto-cipher-types-0.0.9 securemem-0.1.9) (new package)
bytestring-builder-0.10.8.1.0 (via: warp-3.2.13 wai-3.2.1.1 http2-1.6.3) (new
package)
cereal-0.5.4.0 (via: tls-1.4.0 yesod-core-1.4.37.2 clientsession-0.9.1.2
skein-1.0.9.4 crypto-api-0.13.2 socks-0.5.6) (new package)
data-default-class-0.1.2.0 (via: http-client-tls-0.3.5.1 connection-0.2.8
tls-1.4.0 x509-validation-1.6.9 wai-extra-3.0.21.0 cookie-0.4.3
data-default-0.7.1.1 data-default-instances-old-locale-0.0.1
data-default-instances-dlist-0.0.1 data-default-instances-containers-0.0.1)
(new package)
dlist-0.8.0.3 (via: aeson-1.2.3.0 data-default-instances-dlist-0.0.1) (new
package)
hourglass-0.2.10 (via: x509-validation-1.6.9 x509-1.7.2 asn1-encoding-0.9.5
asn1-types-0.3.2) (new package)
mtl-2.2.1 (via: http-conduit-2.2.4 tls-1.4.0 persistent-2.7.1
yesod-core-1.4.37.2 x509-system-1.6.6 x509-validation-1.6.9
monad-logger-0.3.26 x509-store-1.6.5 x509-1.7.2 conduit-1.2.12.1
resourcet-1.1.10 exceptions-0.8.3 mmorph-1.1.0 parsec-3.1.11 pem-0.2.2) (new
package)
network-2.6.3.2 (via: http-client-tls-0.3.5.1 connection-0.2.8 tls-1.4.0
conduit-extra-1.2.3.1 wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13
http-client-0.5.7.1 wai-3.2.1.1 streaming-commons-0.1.18 iproute-1.7.1
simple-sendfile-0.2.26 socks-0.5.6) (new package)
old-locale-1.0.0.7 (via: persistent-2.7.1 yesod-core-1.4.37.2
wai-extra-3.0.21.0 cookie-0.4.3 data-default-instances-old-locale-0.0.1
old-time-1.1.0.3) (new package)
primitive-0.6.2.0 (via: yesod-core-1.4.37.2 conduit-extra-1.2.3.1
conduit-1.2.12.1 mwc-random-0.13.6.0 math-functions-0.2.1.0 scientific-0.3.5.2
vector-0.12.0.1) (new package)
random-1.1 (via: yesod-core-1.4.37.2 http-client-0.5.7.1
streaming-commons-0.1.18 uuid-types-1.0.3) (new package)
(new package)
stm-2.4.4.1 (via: monad-logger-0.3.26 conduit-extra-1.2.3.1 warp-3.2.13
resource-pool-0.2.3.2 http2-1.6.3 monad-control-1.0.2.2
streaming-commons-0.1.18 typed-process-0.2.0.0 exceptions-0.8.3
transformers-base-0.4.4 acme-missiles-0.3 async-2.1.1.1 stm-chans-3.0.0.4)
(new package)
text-1.2.2.2 (latest: 1.2.3.0) (via: yackage-0.8.0 yesod-form-1.4.16
http-client-tls-0.3.5.1 persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1 yaml-0.8.25.1
wai-extra-3.0.21.0 warp-3.2.13 aeson-compat-0.3.7.1 shakespeare-2.0.14.1
http-api-data-0.3.7.1 xss-sanitize-0.3.5.7 http-client-0.5.7.1 wai-3.2.1.1
aeson-1.2.3.0 attoparsec-iso8601-1.0.0.0 css-text-0.1.2.2 blaze-html-0.9.0.1
http-types-0.9.1 attoparsec-0.13.2.0 fast-logger-2.4.10 blaze-markup-0.8.0.0
cookie-0.4.3 streaming-commons-0.1.18 case-insensitive-1.2.0.10
scientific-0.3.5.2 uuid-types-1.0.3 th-lift-instances-0.1.11
blaze-builder-0.4.0.2 hashable-1.2.6.1 mime-types-0.1.0.7 parsec-3.1.11
path-pieces-0.2.1 tagsoup-0.14.2) (new package)
time-locale-compat-0.1.1.3 -old-locale (via: aeson-compat-0.3.7.1
http-api-data-0.3.7.1 aeson-1.2.3.0) (new package)
transformers-compat-0.5.1.4 (via: monad-logger-0.3.26 conduit-1.2.12.1
resourcet-1.1.10 monad-control-1.0.2.2 exceptions-0.8.3 mmorph-1.1.0
tagged-0.8.5 transformers-base-0.4.4) (new package)
(new package)
unliftio-core-0.1.0.0 (latest: 0.1.1.0) (via: monad-logger-0.3.26
conduit-extra-1.2.3.1 resourcet-1.1.10) (new package)
word8-0.1.3 (via: yesod-core-1.4.37.2 wai-extra-3.0.21.0 warp-3.2.13) (new
package)
(new package)
(new package)
data-default-instances-containers-0.0.1 (via: data-default-0.7.1.1) (new
package)
pem-0.2.2 (via: x509-system-1.6.6 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2) (new package)
data-default-instances-old-locale-0.0.1 (via: data-default-0.7.1.1) (new
package)
vector-0.12.0.1 (via: yackage-0.8.0 persistent-2.7.1 yesod-core-1.4.37.2
yaml-0.8.25.1 aeson-compat-0.3.7.1 shakespeare-2.0.14.1 aeson-1.2.3.0
mwc-random-0.13.6.0 crypto-random-0.0.9 resource-pool-0.2.3.2
math-functions-0.2.1.0 th-lift-instances-0.1.11 vector-th-unbox-0.2.1.6) (new
package)
async-2.1.1.1 (via: tls-1.4.0 conduit-extra-1.2.3.1 warp-3.2.13
streaming-commons-0.1.18 typed-process-0.2.0.0) (new package)
path-pieces-0.2.1 (via: persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2) (new package)
parsec-3.1.11 (via: yesod-core-1.4.37.2 shakespeare-2.0.14.1
network-uri-2.6.1.0) (new package)
hashable-1.2.6.1 (via: warp-3.2.13 aeson-compat-0.3.7.1 http-api-data-0.3.7.1
aeson-1.2.3.0 resource-pool-0.2.3.2 vault-0.3.0.7 case-insensitive-1.2.0.10
psqueues-0.2.4.0 scientific-0.3.5.2 unordered-containers-0.2.8.0
uuid-types-1.0.3) (new package)
blaze-builder-0.4.0.2 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-persistent-1.4.3 yesod-core-1.4.37.2 monad-logger-0.3.26
conduit-extra-1.2.3.1 wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13
http-client-0.5.7.1 wai-3.2.1.1 uri-bytestring-0.3.1.0 blaze-html-0.9.0.1
http-types-0.9.1 blaze-markup-0.8.0.0 cookie-0.4.3 streaming-commons-0.1.18)
(new package)
transformers-base-0.4.4 (via: persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 conduit-extra-1.2.3.1 conduit-1.2.12.1 resourcet-1.1.10
lifted-base-0.2.3.11 resource-pool-0.2.3.2 monad-control-1.0.2.2) (new
package)
tagged-0.8.5 (via: persistent-template-2.5.3 persistent-2.7.1
clientsession-0.9.1.2 aeson-compat-0.3.7.1 aeson-1.2.3.0 skein-1.0.9.4
crypto-api-0.13.2) (new package)
exceptions-0.8.3 (via: http-conduit-2.2.4 http-client-tls-0.3.5.1
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
conduit-1.2.12.1 aeson-compat-0.3.7.1 shakespeare-2.0.14.1 resourcet-1.1.10
http-client-0.5.7.1) (new package)
memory-0.14.11 (via: http-client-tls-0.3.5.1 tls-1.4.0 x509-validation-1.6.9
x509-1.7.2 asn1-types-0.3.2 cryptonite-0.24 securemem-0.1.9) (new package)
data-default-0.7.1.1 (via: yesod-form-1.4.16 yesod-core-1.4.37.2) (new
package)
typed-process-0.2.0.0 (latest: 0.2.1.0) (via: conduit-extra-1.2.3.1) (new
package)
network-uri-2.6.1.0 (via: yesod-form-1.4.16 http-client-tls-0.3.5.1
xss-sanitize-0.3.5.7 http-client-0.5.7.1) (new package)
unordered-containers-0.2.8.0 (via: yackage-0.8.0 persistent-template-2.5.3
persistent-2.7.1 yesod-core-1.4.37.2 yaml-0.8.25.1 aeson-compat-0.3.7.1
shakespeare-2.0.14.1 http-api-data-0.3.7.1 aeson-1.2.3.0 vault-0.3.0.7) (new
package)
scientific-0.3.5.2 (via: persistent-2.7.1 yaml-0.8.25.1 aeson-compat-0.3.7.1
shakespeare-2.0.14.1 aeson-1.2.3.0 attoparsec-0.13.2.0) (new package)
case-insensitive-1.2.0.10 (via: http-client-tls-0.3.5.1 yesod-core-1.4.37.2
wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13 http-client-0.5.7.1
http-types-0.9.1 http2-1.6.3) (new package)
streaming-commons-0.1.18 (via: conduit-extra-1.2.3.1 wai-extra-3.0.21.0
warp-3.2.13 http-client-0.5.7.1) (new package)
(new package)
blaze-markup-0.8.0.0 (via: yesod-form-1.4.16 persistent-2.7.1
yesod-core-1.4.37.2 shakespeare-2.0.14.1 blaze-html-0.9.0.1) (new package)
monad-control-1.0.2.2 (via: http-conduit-2.2.4 persistent-template-2.5.3
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
conduit-1.2.12.1 resourcet-1.1.10 lifted-base-0.2.3.11 resource-pool-0.2.3.2)
(new package)
(new package)
securemem-0.1.9 (via: cipher-aes-0.2.11 crypto-cipher-types-0.0.9
crypto-random-0.0.9) (new package)
cryptonite-0.24 (via: http-client-tls-0.3.5.1 tls-1.4.0 x509-validation-1.6.9
x509-store-1.6.5 x509-1.7.2) (new package)
asn1-types-0.3.2 (via: tls-1.4.0 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2 asn1-parse-0.9.4 asn1-encoding-0.9.5) (new package)
fast-logger-2.4.10 (via: persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 wai-extra-3.0.21.0 wai-logger-2.3.1) (new package)
attoparsec-0.13.2.0 (via: yesod-form-1.4.16 persistent-2.7.1
conduit-extra-1.2.3.1 yaml-0.8.25.1 aeson-compat-0.3.7.1 http-api-data-0.3.7.1
xss-sanitize-0.3.5.7 aeson-1.2.3.0 attoparsec-iso8601-1.0.0.0 css-text-0.1.2.2
email-validate-2.3.2 http-date-0.0.6.1 uri-bytestring-0.3.1.0) (new package)
http-types-0.9.1 (latest: 0.11) (via: yackage-0.8.0 http-conduit-2.2.4
http-client-tls-0.3.5.1 yesod-core-1.4.37.2 wai-extra-3.0.21.0
wai-logger-2.3.1 warp-3.2.13 http-api-data-0.3.7.1 http-client-0.5.7.1
wai-3.2.1.1) (new package)
blaze-html-0.9.0.1 (via: yackage-0.8.0 yesod-form-1.4.16 persistent-2.7.1
yesod-core-1.4.37.2 shakespeare-2.0.14.1) (new package)
resource-pool-0.2.3.2 (via: yesod-persistent-1.4.3 persistent-2.7.1) (new
package)
lifted-base-0.2.3.11 (via: http-conduit-2.2.4 persistent-2.7.1
yesod-core-1.4.37.2 monad-logger-0.3.26 wai-extra-3.0.21.0 conduit-1.2.12.1
resourcet-1.1.10) (new package)
asn1-encoding-0.9.5 (via: tls-1.4.0 x509-validation-1.6.9 x509-store-1.6.5
x509-1.7.2 asn1-parse-0.9.4) (new package)
(new package)
aeson-1.2.3.0 (via: http-conduit-2.2.4 yesod-form-1.4.16
persistent-template-2.5.3 persistent-2.7.1 yesod-core-1.4.37.2 yaml-0.8.25.1
yaml-0.8.25.1 yaml-0.8.25.1 wai-extra-3.0.21.0 aeson-compat-0.3.7.1
shakespeare-2.0.14.1) (new package)
wai-3.2.1.1 (via: yackage-0.8.0 yesod-form-1.4.16 yesod-core-1.4.37.2
wai-extra-3.0.21.0 wai-logger-2.3.1 warp-3.2.13) (new package)
http-client-0.5.7.1 (via: http-conduit-2.2.4 http-client-tls-0.3.5.1) (new
package)
resourcet-1.1.10 (via: http-conduit-2.2.4 yesod-form-1.4.16
yesod-persistent-1.4.3 persistent-2.7.1 yesod-core-1.4.37.2
monad-logger-0.3.26 conduit-extra-1.2.3.1 yaml-0.8.25.1 wai-extra-3.0.21.0
conduit-1.2.12.1) (new package)
http-api-data-0.3.7.1 (via: persistent-template-2.5.3 persistent-2.7.1) (new
package)
shakespeare-2.0.14.1 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-core-1.4.37.2) (new package)
conduit-1.2.12.1 (via: yackage-0.8.0 http-conduit-2.2.4 yesod-persistent-1.4.3
persistent-2.7.1 yesod-core-1.4.37.2 monad-logger-0.3.26 conduit-extra-1.2.3.1
yaml-0.8.25.1) (new package)
x509-1.7.2 (via: connection-0.2.8 tls-1.4.0 x509-system-1.6.6
x509-validation-1.6.9 x509-store-1.6.5) (new package)
conduit-extra-1.2.3.1 (latest: 1.2.3.2) (via: http-conduit-2.2.4
yesod-core-1.4.37.2 monad-logger-0.3.26) (new package)
x509-store-1.6.5 (via: connection-0.2.8 tls-1.4.0 x509-system-1.6.6
x509-validation-1.6.9) (new package)
monad-logger-0.3.26 (via: persistent-template-2.5.3 persistent-2.7.1
yesod-core-1.4.37.2) (new package)
yesod-core-1.4.37.2 (via: yackage-0.8.0 yesod-form-1.4.16
yesod-persistent-1.4.3) (new package)
persistent-2.7.1 (latest: 2.7.3) (via: yesod-form-1.4.16
yesod-persistent-1.4.3 persistent-template-2.5.3) (new package)
CallStack (from HasCallStack):
  error, called at src/Stack/Solver.hs:173:16 in stack-1.6.3-29yGLWFZzMc4kc0GGcUpok:Stack.Solver

Stack info:
Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b060000db (5454 commits) x86_64 hpack-0.20.0

Also, when I put acme-misssiles in stack.yaml under extra-deps: instead of putting it in the yackage.cabal file like the docs asks, I get the following error, which might be useful:

Downloaded nightly-2017-11-10 build plan.    
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.2.1.                                      
Installed GHC.                                                                
/home/yolo/Documents/yackage-0.8.0/acme-missiles/: getDirectoryContents:openDirStream: does not exist (No such file or directory)

I'm getting the same error:

$ stack test

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for Glob-0.9.2:
    dlist must match >=0.4 && <0.9, but the stack configuration has no specified version
          (latest matching version is 0.8.0.4)
    transformers-compat must match >=0.3 && <0.7, but the stack configuration has no
                        specified version (latest matching version is 0.6.1.6)
needed due to bindings-libsodium-0.1.0.0 -> Glob-0.9.2

In the dependencies for doctest-0.15.0:
    base-compat must match >=0.7.0, but the stack configuration has no specified version
                (latest matching version is 0.10.1)
    code-page must match >=0.1, but the stack configuration has no specified version (latest
              matching version is 0.1.3)
    ghc-paths must match >=0.1.0.9, but the stack configuration has no specified version
              (latest matching version is 0.1.0.9)
needed due to bindings-libsodium-0.1.0.0 -> doctest-0.15.0

In the dependencies for tasty-1.0.1.1:
    ansi-terminal must match >=0.6.2, but the stack configuration has no specified version
                  (latest matching version is 0.8.0.2)
    clock must match >=0.4.4.0, but the stack configuration has no specified version (latest
          matching version is 0.7.2)
    optparse-applicative must match >=0.14, but the stack configuration has no specified
                         version (latest matching version is 0.14.2.0)
    tagged must match >=0.5, but the stack configuration has no specified version (latest
           matching version is 0.8.5)
    unbounded-delays must match >=0.1, but the stack configuration has no specified version
                     (latest matching version is 0.1.1.0)
needed due to bindings-libsodium-0.1.0.0 -> tasty-1.0.1.1

In the dependencies for tasty-quickcheck-0.10:
    optparse-applicative must match -any, but the stack configuration has no specified
                         version (latest matching version is 0.14.2.0)
    tagged must match -any, but the stack configuration has no specified version (latest
           matching version is 0.8.5)
needed due to bindings-libsodium-0.1.0.0 -> tasty-quickcheck-0.10

Some potential ways to resolve this:

  * Recommended action: try adding the following to your extra-deps
    in /Users/uri/src/haskell-libsodium/stack.yaml:

- ansi-terminal-0.8.0.2
- base-compat-0.10.1
- clock-0.7.2
- code-page-0.1.3
- dlist-0.8.0.4
- ghc-paths-0.1.0.9
- optparse-applicative-0.14.2.0
- tagged-0.8.5
- transformers-compat-0.6.1.6
- unbounded-delays-0.1.1.0

  * Set 'allow-newer: true' to ignore all version constraints and build anyway.

  * You may also want to try using the 'stack solver' command.

Plan construction failed.
$ stack solver
Using configuration file: stack.yaml
Using cabal packages:
- ./


Warning: Installed version of cabal-install (2.0.0.1) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.2
Using resolver: ghc-8.2.2

Warning: Installed version of cabal-install (2.0.0.1) is newer than stack has been tested with.  If you run into difficulties, consider downgrading.

Using compiler: ghc-8.2.2
Asking cabal to calculate a build plan...
Trying with packages from ghc-8.2.2 and 6 external packages as hard constraints...
The following lines from cabal-install output could not be parsed: 
abstract-par-0.3.3 (via: monad-par-0.3.4.8 monad-par-extras-0.3.3) (new
package)
base-compat-0.10.1 (via: doctest-0.15.0 doctest-0.15.0
base-compat-batteries-0.10.1) (new package)
code-page-0.1.3 (via: criterion-1.4.1.0 doctest-0.15.0 doctest-0.15.0) (new
package)
transformers-compat-0.6.1.5 (latest: 0.6.1.6) (via: criterion-1.4.1.0
optparse-applicative-0.14.2.0 Glob-0.9.2 exceptions-0.10.0 tagged-0.8.5) (new
package)
vector-algorithms-0.7.0.1 (via: criterion-1.4.1.0 statistics-0.14.0.2) (new
package)
vector-th-unbox-0.2.1.6 (via: statistics-0.14.0.2 math-functions-0.2.1.0) (new
package)
base-compat-batteries-0.10.1 (via: criterion-1.4.1.0 criterion-1.4.1.0) (new
package)
ansi-terminal-0.8.0.2 (via: tasty-1.0.1.1 ansi-wl-pprint-0.6.8.2) (new
package)
tagged-0.8.5 (via: tasty-quickcheck-0.10 tasty-1.0.1.1 aeson-0.11.3.0) (new
package)
math-functions-0.2.1.0 (via: statistics-0.14.0.2 mwc-random-0.13.6.0) (new
package)
(new package)
aeson-0.11.3.0 (latest: 1.3.1.0) (via: criterion-1.4.1.0 statistics-0.14.0.2
microstache-1.0.1.1) (new package)
mwc-random-0.13.6.0 (via: criterion-1.4.1.0 statistics-0.14.0.2
monad-par-0.3.4.8) (new package)
optparse-applicative-0.14.2.0 (via: criterion-1.4.1.0 criterion-1.4.1.0
tasty-quickcheck-0.10 tasty-1.0.1.1) (new package)
tasty-1.0.1.1 (via: bindings-libsodium-0.1.0.0 tasty-hunit-0.10.0.1
tasty-quickcheck-0.10) (new package)
CallStack (from HasCallStack):
  error, called at src/Stack/Solver.hs:173:16 in stack-1.6.5-7mRq9BU86At6wBLtOimNmq:Stack.Solver
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.2
$ cabal --version
cabal-install version 2.0.0.1
compiled using version 2.0.1.1 of the Cabal library 
$ stack --version
Version 1.6.5, Git revision 24ab0d6ff07f28276e082c3ce74dfdeb1a2ca9e9 (5514 commits) x86_64 hpack-0.20.0
$ 

Resolver is set to ghc-8.2.2.

Help would be appreciated!

We've removed the solver support in #4670

Was this page helpful?
0 / 5 - 0 ratings