stack build crashes with
ghc-pkg: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists)
when docker.enable is set to true (i.e. when the project builds inside a Docker container).
stack.yaml :
resolver: lts-13.20
docker:
enable: true
image: fpco/stack-build:lts-13.20
packages:
- .
Docker desktop CE : Version 2.0.0.3 (31259), 8858db33c8
Docker engine :
Hardware Overview:
project being built as expected.
stack build crashes with an error seemingly generated by ghc-pkg :
$ stack build --verbose
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
2019-06-05 09:27:11.589504: [debug] Checking for project config at: /Users/ocramz/Documents/XXXXXX/stack.yaml
2019-06-05 09:27:11.590577: [debug] Loading project config file stack.yaml
2019-06-05 09:27:11.594343: [debug] Run process: /usr/local/bin/docker --version
2019-06-05 09:27:11.878575: [debug] Process finished in 284ms: /usr/local/bin/docker --version
2019-06-05 09:27:11.878904: [debug] Run process: /usr/local/bin/docker inspect fpco/stack-build:lts-13.20
2019-06-05 09:27:11.950311: [debug] Process finished in 71ms: /usr/local/bin/docker inspect fpco/stack-build:lts-13.20
2019-06-05 09:27:11.956876: [debug] Run process within /Users/ocramz/Documents/XXXXXX/: /usr/local/bin/docker create --net=host -e STACK_IN_CONTAINER=1 -e STACK_ROOT=/Users/ocramz/.stack -e STACK_PLATFORM_VARIANT=dkda49f7ca9b244180d3cfb1987cbc9743 -e HOME=/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home -e PATH=/opt/host/bin:/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home/.local/bin:/root/.cabal/bin:/root/.local/bin:/usr/local/cuda-10.0/bin:/opt/ghc/8.6.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -e PWD=/Users/ocramz/Documents/XXXXXX -v /Users/ocramz:/Users/ocramz -v /Users/ocramz/.stack:/Users/ocramz/.stack -v /Users/ocramz/Documents/XXXXXX:/Users/ocramz/Documents/XXXXXX -v /Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home:/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home -w /Users/ocramz/Documents/XXXXXX -e USER=ocramz -e SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners -v /private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners:/private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners -v /Users/ocramz/.stack/programs/x86_64-linux/stack-1.9.3/stack:/opt/host/bin/stack -t -i fpco/stack-build:lts-13.20 /opt/host/bin/stack --internal-re-exec-version=1.9.3 --internal-docker-entrypoint "DockerEntrypoint {deUser = Just (DockerUser {duUid = 501, duGid = 20, duGroups = [20,12,61,79,80,81,98,701,33,100,204,250,395,398,399], duUmask = 18})}" build --verbose
2019-06-05 09:27:12.131611: [debug] Process finished in 174ms: /usr/local/bin/docker create --net=host -e STACK_IN_CONTAINER=1 -e STACK_ROOT=/Users/ocramz/.stack -e STACK_PLATFORM_VARIANT=dkda49f7ca9b244180d3cfb1987cbc9743 -e HOME=/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home -e PATH=/opt/host/bin:/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home/.local/bin:/root/.cabal/bin:/root/.local/bin:/usr/local/cuda-10.0/bin:/opt/ghc/8.6.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -e PWD=/Users/ocramz/Documents/XXXXXX -v /Users/ocramz:/Users/ocramz -v /Users/ocramz/.stack:/Users/ocramz/.stack -v /Users/ocramz/Documents/XXXXXX:/Users/ocramz/Documents/XXXXXX -v /Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home:/Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home -w /Users/ocramz/Documents/XXXXXX -e USER=ocramz -e SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners -v /private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners:/private/tmp/com.apple.launchd.2uBwUhsgLu/Listeners -v /Users/ocramz/.stack/programs/x86_64-linux/stack-1.9.3/stack:/opt/host/bin/stack -t -i fpco/stack-build:lts-13.20 /opt/host/bin/stack --internal-re-exec-version=1.9.3 --internal-docker-entrypoint "DockerEntrypoint {deUser = Just (DockerUser {duUid = 501, duGid = 20, duGroups = [20,12,61,79,80,81,98,701,33,100,204,250,395,398,399], duUmask = 18})}" build --verbose
2019-06-05 09:27:12.131826: [debug] Run process: /usr/local/bin/docker start -a -i 5551a44e5f4908a03a2ee1597094da4b916fa5186a5e990a4e2350218c1a0dfe
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
2019-06-05 07:27:12.936164: [debug] Checking for project config at: /Users/ocramz/Documents/XXXXXX/stack.yaml
2019-06-05 07:27:12.942755: [debug] Loading project config file stack.yaml
2019-06-05 07:27:12.954040: [debug] Run process: /usr/sbin/groupadd -o --gid 20 stack
2019-06-05 07:27:12.964953: [debug] Process finished in 11ms: /usr/sbin/groupadd -o --gid 20 stack
2019-06-05 07:27:12.968979: [debug] Run process: /usr/sbin/useradd -oN --uid 501 --gid 20 --home /Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home stack
2019-06-05 07:27:12.987669: [debug] Process finished in 19ms: /usr/sbin/useradd -oN --uid 501 --gid 20 --home /Users/ocramz/Documents/XXXXXX/.stack-work/docker/_home stack
2019-06-05 07:27:12.987807: [debug] Run process: /usr/sbin/groupadd -o --gid 20 group20
2019-06-05 07:27:12.996339: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 20 group20
2019-06-05 07:27:12.996442: [debug] Run process: /usr/sbin/groupadd -o --gid 12 group12
2019-06-05 07:27:13.004446: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 12 group12
2019-06-05 07:27:13.004573: [debug] Run process: /usr/sbin/groupadd -o --gid 61 group61
2019-06-05 07:27:13.012389: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 61 group61
2019-06-05 07:27:13.012495: [debug] Run process: /usr/sbin/groupadd -o --gid 79 group79
2019-06-05 07:27:13.020322: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 79 group79
2019-06-05 07:27:13.020470: [debug] Run process: /usr/sbin/groupadd -o --gid 80 group80
2019-06-05 07:27:13.030776: [debug] Process finished in 10ms: /usr/sbin/groupadd -o --gid 80 group80
2019-06-05 07:27:13.030899: [debug] Run process: /usr/sbin/groupadd -o --gid 81 group81
2019-06-05 07:27:13.039916: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 81 group81
2019-06-05 07:27:13.040044: [debug] Run process: /usr/sbin/groupadd -o --gid 98 group98
2019-06-05 07:27:13.049136: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 98 group98
2019-06-05 07:27:13.049285: [debug] Run process: /usr/sbin/groupadd -o --gid 701 group701
2019-06-05 07:27:13.059882: [debug] Process finished in 11ms: /usr/sbin/groupadd -o --gid 701 group701
2019-06-05 07:27:13.060017: [debug] Run process: /usr/sbin/groupadd -o --gid 33 group33
2019-06-05 07:27:13.068350: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 33 group33
2019-06-05 07:27:13.068463: [debug] Run process: /usr/sbin/groupadd -o --gid 100 group100
2019-06-05 07:27:13.077219: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 100 group100
2019-06-05 07:27:13.077359: [debug] Run process: /usr/sbin/groupadd -o --gid 204 group204
2019-06-05 07:27:13.086577: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 204 group204
2019-06-05 07:27:13.086710: [debug] Run process: /usr/sbin/groupadd -o --gid 250 group250
2019-06-05 07:27:13.095508: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 250 group250
2019-06-05 07:27:13.095618: [debug] Run process: /usr/sbin/groupadd -o --gid 395 group395
2019-06-05 07:27:13.103808: [debug] Process finished in 8ms: /usr/sbin/groupadd -o --gid 395 group395
2019-06-05 07:27:13.103936: [debug] Run process: /usr/sbin/groupadd -o --gid 398 group398
2019-06-05 07:27:13.112579: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 398 group398
2019-06-05 07:27:13.112691: [debug] Run process: /usr/sbin/groupadd -o --gid 399 group399
2019-06-05 07:27:13.121796: [debug] Process finished in 9ms: /usr/sbin/groupadd -o --gid 399 group399
2019-06-05 07:27:13.123120: [debug] Decoding build plan from: /Users/ocramz/.stack/build-plan/lts-13.20.yaml
2019-06-05 07:27:13.123196: [debug] Trying to decode /Users/ocramz/.stack/build-plan-cache/lts-13.20.cache
2019-06-05 07:27:13.135243: [debug] Success decoding /Users/ocramz/.stack/build-plan-cache/lts-13.20.cache
2019-06-05 07:27:13.136640: [debug] Getting system compiler version
2019-06-05 07:27:13.142479: [debug] Run process: /opt/ghc/8.6.5/bin/ghc --info
2019-06-05 07:27:13.189681: [debug] Process finished in 47ms: /opt/ghc/8.6.5/bin/ghc --info
2019-06-05 07:27:13.199143: [debug] Getting global package database location
2019-06-05 07:27:13.202645: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db list --global
2019-06-05 07:27:13.203347: [debug] Getting Cabal package version
2019-06-05 07:27:13.203533: [debug] Asking GHC for its version
2019-06-05 07:27:13.204353: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
2019-06-05 07:27:13.207506: [debug] Run process: /opt/ghc/8.6.5/bin/ghc --numeric-version
2019-06-05 07:27:13.231432: [debug] Process finished in 26ms: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
2019-06-05 07:27:13.232225: [debug] Process finished in 29ms: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db list --global
2019-06-05 07:27:13.243823: [debug] Process finished in 36ms: /opt/ghc/8.6.5/bin/ghc --numeric-version
2019-06-05 07:27:13.243935: [debug] GHC version is: ghc-8.6.5
2019-06-05 07:27:13.243993: [debug] Resolving package entries
2019-06-05 07:27:13.244150: [debug] Trying to decode /Users/ocramz/.stack/loaded-snapshot-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/lts-13.20.cache
2019-06-05 07:27:13.298948: [debug] Success decoding /Users/ocramz/.stack/loaded-snapshot-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/lts-13.20.cache
2019-06-05 07:27:13.307844: [debug] Starting to execute command inside EnvConfig
2019-06-05 07:27:13.307947: [debug] Parsing the targets
2019-06-05 07:27:13.329480: [debug] Trying to decode /Users/ocramz/.stack/indices/Hackage/01-index.cache
2019-06-05 07:27:13.621279: [debug] Success decoding /Users/ocramz/.stack/indices/Hackage/01-index.cache
2019-06-05 07:27:13.651321: [debug] Start: getPackageFiles /Users/ocramz/Documents/XXXXXX/client.cabal
2019-06-05 07:27:13.693511: [debug] Finished in 42ms: getPackageFiles /Users/ocramz/Documents/XXXXXX/client.cabal
2019-06-05 07:27:13.693755: [debug] Exception ignored when attempting to load /Users/ocramz/Documents/XXXXXX/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-build-caches/lib: /Users/ocramz/Documents/XXXXXX/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-build-caches/lib: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:13.714006: [debug] Exception ignored when attempting to load /Users/ocramz/Documents/XXXXXX/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-build-caches/exe-client: /Users/ocramz/Documents/XXXXXX/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-build-caches/exe-client: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:13.724444: [debug] Finding out which packages are already installed
2019-06-05 07:27:13.732597: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
2019-06-05 07:27:13.778989: [debug] Process finished in 46ms: /opt/ghc/8.6.5/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
2019-06-05 07:27:13.779820: [debug] Ignoring package haskeline due to wanting version 0.7.5.0 instead of 0.7.4.3
2019-06-05 07:27:13.780995: [debug] Ignoring package Cabal due to wanting version 2.4.1.0 instead of 2.4.0.1
2019-06-05 07:27:13.785728: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb dump --expand-pkgroot
2019-06-05 07:27:13.837995: [debug] Process finished in 52ms: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb dump --expand-pkgroot
2019-06-05 07:27:13.845412: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/Documents/XXXXXX/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb dump --expand-pkgroot
2019-06-05 07:27:13.880614: [debug] Process finished in 35ms: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/Documents/XXXXXX/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb dump --expand-pkgroot
2019-06-05 07:27:13.889261: [debug] Constructing the build plan
2019-06-05 07:27:14.674818: [debug] Checking if we are going to build multiple executables with the same name
2019-06-05 07:27:14.675512: [debug] Executing the build plan
2019-06-05 07:27:14.681565: [debug] Getting global package database location
2019-06-05 07:27:14.681675: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db list --global
2019-06-05 07:27:14.706826: [debug] Process finished in 25ms: /opt/ghc/8.6.5/bin/ghc-pkg --no-user-package-db list --global
2019-06-05 07:27:14.712017: [debug] Exception ignored when attempting to load /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/blaze-markup-0.8.2.2@sha256:fda3582c37167b7b26a3e973f8501e0889041de01416add83c592cf03bbb7a47,2231/5LpjtH4XCxW6nmbFOVX3upVS5-96vBimNEcKz6IWN-A=: /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/blaze-markup-0.8.2.2@sha256:fda3582c37167b7b26a3e973f8501e0889041de01416add83c592cf03bbb7a47,2231/5LpjtH4XCxW6nmbFOVX3upVS5-96vBimNEcKz6IWN-A=: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.717634: [debug] Exception ignored when attempting to load /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteable-0.1.1@sha256:12eeda93251d4b5d510ac95cf578f5c89d4a399b14ca73116deaf4921a516fdf,1080/jBpjj3RKfOsJ7uRPrsnUfVeDP6xJp6JawWhiYOIGan4=: /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteable-0.1.1@sha256:12eeda93251d4b5d510ac95cf578f5c89d4a399b14ca73116deaf4921a516fdf,1080/jBpjj3RKfOsJ7uRPrsnUfVeDP6xJp6JawWhiYOIGan4=: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.721890: [debug] Exception ignored when attempting to load /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/cabal-doctest-1.0.6@sha256:c0b4a5b1ff38d2867e7003b4be59f3bd7e8e204ab8c988d96d3a77472ae671cd,1408/irvDC9kmchJcJa_l0M4xvFmqNcN3R7GJzI5kpQA6lHM=: /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/cabal-doctest-1.0.6@sha256:c0b4a5b1ff38d2867e7003b4be59f3bd7e8e204ab8c988d96d3a77472ae671cd,1408/irvDC9kmchJcJa_l0M4xvFmqNcN3R7GJzI5kpQA6lHM=: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.757158: [debug] Exception ignored when attempting to load /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteorder-1.0.4@sha256:a952817dcbe20af0346fb55a28c13e95e2ddbf3e99f9b4fffdc063f150f13b20,636/XrzuuT8dpYFaxBMg7Tn0bk6BjirB4bSROqs3RNIDgh0=: /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteorder-1.0.4@sha256:a952817dcbe20af0346fb55a28c13e95e2ddbf3e99f9b4fffdc063f150f13b20,636/XrzuuT8dpYFaxBMg7Tn0bk6BjirB4bSROqs3RNIDgh0=: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.773275: [debug] Exception ignored when attempting to load /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.777695: [debug] Exception ignored when attempting to load /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.777826: [debug] Exception ignored when attempting to load /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.777942: [debug] Exception ignored when attempting to load /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.778036: [debug] Exception ignored when attempting to load /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.778078: [debug] Exception ignored when attempting to load /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.778164: [info] cabal-doctest-1.0.6: configure
2019-06-05 07:27:14.789136: [debug] Exception ignored when attempting to load /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:14.789360: [debug] Run process within /tmp/stack11/cabal-doctest-1.0.6/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --dependency=Cabal=Cabal-2.4.1.0-9MZFDeNrcJI10bcroa6pq8 --dependency=base=base-4.12.0.0 --dependency=directory=directory-1.3.3.0 --dependency=filepath=filepath-1.4.2.1
2019-06-05 07:27:14.794329: [debug] Exception ignored when attempting to load /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:15.718735: [debug] Process finished in 929ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/cabal-doctest-1.0.6 --dependency=Cabal=Cabal-2.4.1.0-9MZFDeNrcJI10bcroa6pq8 --dependency=base=base-4.12.0.0 --dependency=directory=directory-1.3.3.0 --dependency=filepath=filepath-1.4.2.1
2019-06-05 07:27:15.719389: [debug] Encoding /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:15.720446: [debug] Finished writing /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:15.720760: [debug] Encoding /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:15.721676: [debug] Finished writing /tmp/stack11/cabal-doctest-1.0.6/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:15.724472: [info] cabal-doctest-1.0.6: build
2019-06-05 07:27:15.726814: [info] byteable-0.1.1: configure
2019-06-05 07:27:15.728875: [debug] Run process within /tmp/stack11/cabal-doctest-1.0.6/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:15.733032: [debug] Run process within /tmp/stack11/byteable-0.1.1/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2
2019-06-05 07:27:16.772930: [debug] Process finished in 1039ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteable-0.1.1 --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2
2019-06-05 07:27:16.773149: [debug] Encoding /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:16.773622: [debug] Finished writing /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:16.773776: [debug] Encoding /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:16.774145: [debug] Finished writing /tmp/stack11/byteable-0.1.1/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:16.774922: [info] byteable-0.1.1: build
2019-06-05 07:27:16.777184: [info] blaze-markup-0.8.2.2: configure
2019-06-05 07:27:16.778598: [debug] Run process within /tmp/stack11/byteable-0.1.1/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:16.783602: [debug] Run process within /tmp/stack11/blaze-markup-0.8.2.2/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --dependency=base=base-4.12.0.0 --dependency=blaze-builder=blaze-builder-0.4.1.0-KrFxFv3kgua3BTNMsMBadC --dependency=bytestring=bytestring-0.10.8.2 --dependency=text=text-1.2.3.1
2019-06-05 07:27:17.695520: [debug] Process finished in 917ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:17.695661: [info] byteable-0.1.1: copy/register
2019-06-05 07:27:17.699248: [debug] Run process within /tmp/stack11/byteable-0.1.1/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:17.969766: [debug] Process finished in 1185ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/blaze-markup-0.8.2.2 --dependency=base=base-4.12.0.0 --dependency=blaze-builder=blaze-builder-0.4.1.0-KrFxFv3kgua3BTNMsMBadC --dependency=bytestring=bytestring-0.10.8.2 --dependency=text=text-1.2.3.1
2019-06-05 07:27:17.970093: [debug] Encoding /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:17.971401: [debug] Finished writing /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:17.971718: [debug] Encoding /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:17.972204: [debug] Finished writing /tmp/stack11/blaze-markup-0.8.2.2/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:17.975914: [info] blaze-markup-0.8.2.2: build
2019-06-05 07:27:17.978735: [info] byteorder-1.0.4: configure
2019-06-05 07:27:17.980427: [debug] Process finished in 277ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:17.982041: [debug] Run process within /tmp/stack11/blaze-markup-0.8.2.2/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:17.986694: [debug] Run process within /tmp/stack11/byteorder-1.0.4/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --dependency=base=base-4.12.0.0
2019-06-05 07:27:17.991318: [debug] Run process within /tmp/stack11/byteable-0.1.1/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:18.293192: [debug] Process finished in 302ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:18.296802: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output byteable --expand-pkgroot
2019-06-05 07:27:18.348403: [debug] Process finished in 51ms: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output byteable --expand-pkgroot
2019-06-05 07:27:18.352961: [debug] Encoding /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteable-0.1.1@sha256:12eeda93251d4b5d510ac95cf578f5c89d4a399b14ca73116deaf4921a516fdf,1080/jBpjj3RKfOsJ7uRPrsnUfVeDP6xJp6JawWhiYOIGan4=
2019-06-05 07:27:18.356921: [debug] Finished writing /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/byteable-0.1.1@sha256:12eeda93251d4b5d510ac95cf578f5c89d4a399b14ca73116deaf4921a516fdf,1080/jBpjj3RKfOsJ7uRPrsnUfVeDP6xJp6JawWhiYOIGan4=
2019-06-05 07:27:18.365322: [debug] Encoding /Users/ocramz/Documents/XXXXXX/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/flag-cache/byteable-0.1.1-9guyEXUUK503mzSnI32g2S
2019-06-05 07:27:18.369893: [debug] Finished writing /Users/ocramz/Documents/XXXXXX/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/flag-cache/byteable-0.1.1-9guyEXUUK503mzSnI32g2S
2019-06-05 07:27:18.373425: [debug] Exception ignored when attempting to load /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/call-stack-0.1.0@sha256:3453a0c5ed3a7a7de0cc0703907e05bd251c766cce8a38efe41b7188d228e3fa,1109/XrzuuT8dpYFaxBMg7Tn0bk6BjirB4bSROqs3RNIDgh0=: /Users/ocramz/.stack/precompiled/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/ghc-8.6.5/2.4.0.1/call-stack-0.1.0@sha256:3453a0c5ed3a7a7de0cc0703907e05bd251c766cce8a38efe41b7188d228e3fa,1109/XrzuuT8dpYFaxBMg7Tn0bk6BjirB4bSROqs3RNIDgh0=: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:18.401160: [debug] Exception ignored when attempting to load /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:18.402567: [debug] Exception ignored when attempting to load /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-06-05 07:27:19.033318: [debug] Process finished in 1046ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/byteorder-1.0.4 --dependency=base=base-4.12.0.0
2019-06-05 07:27:19.033487: [debug] Encoding /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:19.033936: [debug] Finished writing /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:19.034142: [debug] Encoding /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:19.034541: [debug] Finished writing /tmp/stack11/byteorder-1.0.4/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:19.037676: [info] call-stack-0.1.0: configure
2019-06-05 07:27:19.041172: [info] byteorder-1.0.4: build
2019-06-05 07:27:19.044003: [debug] Run process within /tmp/stack11/call-stack-0.1.0/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --dependency=base=base-4.12.0.0
2019-06-05 07:27:19.049278: [debug] Run process within /tmp/stack11/byteorder-1.0.4/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:19.944189: [debug] Process finished in 4215ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:19.944380: [info] cabal-doctest-1.0.6: copy/register
2019-06-05 07:27:19.950443: [debug] Run process within /tmp/stack11/cabal-doctest-1.0.6/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:20.269790: [debug] Process finished in 318ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:20.279056: [debug] Run process within /tmp/stack11/cabal-doctest-1.0.6/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:20.451151: [debug] Process finished in 1407ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 configure --with-ghc=/opt/ghc/8.6.5/bin/ghc --with-ghc-pkg=/opt/ghc/8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb --libdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/lib --bindir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/bin --datadir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/share --libexecdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/libexec --sysconfdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/etc --docdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --htmldir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --haddockdir=/Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/doc/call-stack-0.1.0 --dependency=base=base-4.12.0.0
2019-06-05 07:27:20.453440: [debug] Encoding /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:20.456207: [debug] Finished writing /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-config-cache
2019-06-05 07:27:20.458650: [debug] Encoding /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:20.462338: [debug] Finished writing /tmp/stack11/call-stack-0.1.0/.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1/stack-cabal-mod
2019-06-05 07:27:20.467108: [info] call-stack-0.1.0: build
2019-06-05 07:27:20.470547: [debug] Run process within /tmp/stack11/call-stack-0.1.0/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:20.522531: [debug] Process finished in 1472ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:20.667843: [debug] Process finished in 387ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:20.673554: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output cabal-doctest --expand-pkgroot
2019-06-05 07:27:20.678354: [info] byteorder-1.0.4: copy/register
2019-06-05 07:27:20.681926: [debug] Run process within /tmp/stack11/byteorder-1.0.4/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:20.925304: [debug] Process finished in 243ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:20.928882: [debug] Run process within /tmp/stack11/byteorder-1.0.4/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:21.393427: [debug] Process finished in 464ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:21.398748: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output byteorder --expand-pkgroot
2019-06-05 07:27:22.153896: [debug] Process finished in 1683ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:22.155293: [info] call-stack-0.1.0: copy/register
2019-06-05 07:27:22.162815: [debug] Run process within /tmp/stack11/call-stack-0.1.0/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:22.596375: [debug] Process finished in 433ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:22.602586: [debug] Run process within /tmp/stack11/call-stack-0.1.0/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:23.038462: [debug] Process finished in 435ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:23.044327: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output call-stack --expand-pkgroot
2019-06-05 07:27:26.972270: [debug] Process finished in 8990ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
2019-06-05 07:27:26.972905: [info] blaze-markup-0.8.2.2: copy/register
2019-06-05 07:27:26.978478: [debug] Run process within /tmp/stack11/blaze-markup-0.8.2.2/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:27.587863: [debug] Process finished in 609ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 copy
2019-06-05 07:27:27.592518: [debug] Run process within /tmp/stack11/blaze-markup-0.8.2.2/: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:28.022348: [debug] Process finished in 429ms: /Users/ocramz/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.4.0.1 register
2019-06-05 07:27:28.027539: [debug] Run process: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output blaze-markup --expand-pkgroot
Progress 5/140
Received ExitFailure 1 when running
Raw command: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output blaze-markup --expand-pkgroot
Standard error:
ghc-pkg: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists)
Received ExitFailure 1 when running
Raw command: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output call-stack --expand-pkgroot
Standard error:
ghc-pkg: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists)
Received ExitFailure 1 when running
Raw command: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output byteorder --expand-pkgroot
Standard error:
ghc-pkg: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists)
Received ExitFailure 1 when running
Raw command: /opt/ghc/8.6.5/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ocramz/.stack/snapshots/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-13.20/8.6.5/pkgdb describe --simple-output cabal-doctest --expand-pkgroot
Standard error:
ghc-pkg: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists)
2019-06-05 09:27:28.441959: [debug] Run process: /usr/local/bin/docker rm -f 5551a44e5f4908a03a2ee1597094da4b916fa5186a5e990a4e2350218c1a0dfe
2019-06-05 09:27:28.517147: [debug] Process finished in 75ms: /usr/local/bin/docker rm -f 5551a44e5f4908a03a2ee1597094da4b916fa5186a5e990a4e2350218c1a0dfe
Received ExitFailure 1 when running
Raw command: /usr/local/bin/docker start -a -i 5551a44e5f4908a03a2ee1597094da4b916fa5186a5e990a4e2350218c1a0dfe
$ stack --version
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
official stack binary
Additional observations:
I am noticing this on a project with a large number of transitive dependencies (~ 150), many of which pretty large, i.e. amazonka and lens.
each time stack build is invoked, 3 to 5 new project dependencies are built. Gradually, I managed to reach 40 remaining dependencies, after which the crash reported above doesn't happen anymore.
I'm _guessing_ this transient behaviour is due to stack using up too many resources (disk or memory?) while building, and Docker (or the underlying system?) cleaning up resources at the same time.
This is almost certainly something going wrong in Docker itself. I'm guessing based on your paths that your host system is macOS? Are you using the latest version of Docker Desktop for Mac? Have you tried increasing the amount of RAM and CPU available to Docker VM?
Yes, I'm at the latest Docker for Mac and with maxed out settings. I'll try with a different base image and report back! Thanks for now!
for i in 1 2 3 4 5 6 7 8 9 10; do stack --docker build; done
I experienced the same on Stack 2.3.1 with resolver 14.1 and docker: true on newest Docker Desktop for Mac
Solution for me was to give more resources to Docker (shotgun-approach with both #cpus, memory and swap space)
Most helpful comment
I experienced the same on Stack 2.3.1 with resolver 14.1 and
docker: trueon newest Docker Desktop for MacSolution for me was to give more resources to Docker (shotgun-approach with both #cpus, memory and swap space)