Skip to content

Instantly share code, notes, and snippets.

@ndmitchell
Created September 20, 2019 09:43
Show Gist options
  • Save ndmitchell/3b0ac88c49ac1233efb7d94bfb1527c6 to your computer and use it in GitHub Desktop.
Save ndmitchell/3b0ac88c49ac1233efb7d94bfb1527c6 to your computer and use it in GitHub Desktop.
Gist for https://github.com/commercialhaskell/stack/issues/5025, running stack test --verbose --color=never
Version 2.1.3, Git revision 0fa51b9925decd937e4a993ad90cb686f88fa282 (7739 commits) x86_64 hpack-0.31.2
2019-09-20 10:43:18.048133: [debug] Checking for project config at: C:\Neil\filepath\stack.yaml
2019-09-20 10:43:18.049133: [debug] Loading project config file stack.yaml
2019-09-20 10:43:18.055129: [debug] SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2019-09-19 09:43:18.0551299 UTC]
2019-09-20 10:43:18.056129: [debug] Using package location completions from a lock file
2019-09-20 10:43:18.183056: [debug] Asking for a supported GHC version
2019-09-20 10:43:18.189047: [debug] Installed tools:
- msys2-20150512
- ghc-8.6.5
- ghc-8.6.4
- ghc-8.6.3
- ghc-8.6.2
- ghc-8.4.4
- ghc-8.4.3
- ghc-8.4.2
- ghc-8.4.1
- ghc-8.2.2
- ghc-8.2.1
- ghc-8.0.2
- ghc-8.0.1
- ghc-7.10.3
2019-09-20 10:43:18.189047: [debug] Potential GHC builds: standard
2019-09-20 10:43:18.189047: [debug] Found already installed GHC builds: standard
2019-09-20 10:43:18.191052: [debug] SELECT "id","actual_version","arch","ghc_path","ghc_size","ghc_modified","ghc_pkg_path","runghc_path","haddock_path","cabal_version","global_db","global_db_cache_size","global_db_cache_modified","info","global_dump" FROM "compiler_cache" WHERE "ghc_path"=?; [PersistText "C:\\Users\\ndmit_000\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-8.6.4\\bin\\ghc-8.6.4.EXE"]
2019-09-20 10:43:18.245020: [debug] Loaded compiler information from cache
2019-09-20 10:43:18.245020: [debug] Asking for a supported GHC version
2019-09-20 10:43:18.251018: [debug] Resolving package entries
2019-09-20 10:43:18.251018: [debug] Parsing the targets
2019-09-20 10:43:18.253016: [debug] Checking flags
2019-09-20 10:43:18.253016: [debug] SourceMap constructed
2019-09-20 10:43:18.258013: [debug] Starting to execute command inside EnvConfig
2019-09-20 10:43:18.267008: [debug] Finding out which packages are already installed
2019-09-20 10:43:18.267008: [debug] Run process: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --global --no-user-package-db dump --expand-pkgroot
2019-09-20 10:43:18.324032: [debug] Process finished in 57ms: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --global --no-user-package-db dump --expand-pkgroot
2019-09-20 10:43:18.326024: [debug] Ignoring package haskeline due to wanting version 0.7.5.0 instead of 0.7.4.3
2019-09-20 10:43:18.326024: [debug] Ignoring package filepath due to wrong location: (Nothing,Local)
2019-09-20 10:43:18.327024: [debug] Ignoring package Cabal due to wanting version 2.4.1.0 instead of 2.4.0.1
2019-09-20 10:43:18.328023: [debug] Run process: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --user --no-user-package-db --package-db C:\sr\snapshots\bdcf4891\pkgdb dump --expand-pkgroot
2019-09-20 10:43:18.511202: [debug] Process finished in 183ms: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --user --no-user-package-db --package-db C:\sr\snapshots\bdcf4891\pkgdb dump --expand-pkgroot
2019-09-20 10:43:18.511202: [debug] Run process: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --user --no-user-package-db --package-db C:\Neil\filepath\.stack-work\install\87416ff8\pkgdb dump --expand-pkgroot
2019-09-20 10:43:18.562582: [debug] Process finished in 52ms: C:\Users\ndmit_000\AppData\Local\Programs\stack\x86_64-windows\ghc-8.6.4\bin\ghc-pkg.exe --user --no-user-package-db --package-db C:\Neil\filepath\.stack-work\install\87416ff8\pkgdb dump --expand-pkgroot
2019-09-20 10:43:18.563581: [debug] Constructing the build plan
2019-09-20 10:43:18.564580: [debug] Parsing cabal file for QuickCheck (from Hackage)
2019-09-20 10:43:18.567578: [debug] Parsing cabal file for erf (from Hackage)
2019-09-20 10:43:18.568578: [debug] Parsing cabal file for random (from Hackage)
2019-09-20 10:43:18.577579: [debug] Parsing cabal file for tf-random (from Hackage)
2019-09-20 10:43:18.578572: [debug] Parsing cabal file for primitive (from Hackage)
2019-09-20 10:43:18.621538: [error]
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for random-1.1:
time needed, but the stack configuration has no specified version (latest matching version is 1.9.3)
needed due to filepath-1.4.2.1 -> random-1.1
In the dependencies for tf-random-0.5:
time needed, but the stack configuration has no specified version (latest matching version is 1.9.3)
needed due to filepath-1.4.2.1 -> tf-random-0.5
Some different approaches to resolving this:
* Recommended action: try adding the following to your extra-deps in C:\Neil\filepath\stack.yaml:
- time-1.9.3@sha256:8f1b5448722a12a952248b356c9eb366e351226543d9086a2da71270522d5f45,5679
2019-09-20 10:43:18.661773: [error] Plan construction failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment