New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure (ghc panic) #3876

Closed
waddlaw opened this Issue Feb 17, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@waddlaw
Copy link
Contributor

waddlaw commented Feb 17, 2018

Steps to reproduce

  1. Run command git pull (latest commit on master)
  2. Run command stack clean --full
  3. Run command stack build.

Build log

$ stack build --verbose
Version 1.7.0, Git revision 1d7c30798dda400d595567bd06d7b3ca1651b0c4 (5677 commits) x86_64 hpack-0.21.2
2018-02-17 23:00:23.628553: [debug] Checking for project config at: /usr/local/share/stack/stack.yaml
@(Stack/Config.hs:845:9)
2018-02-17 23:00:23.629573: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:871:13)
2018-02-17 23:00:23.632753: [debug] Decoding build plan from: /Users/shinya/.stack/build-plan/lts-10.5.yaml
@(Stack/Snapshot.hs:151:5)
2018-02-17 23:00:23.633290: [debug] Trying to decode /Users/shinya/.stack/build-plan-cache/lts-10.5.cache
@(Stack/Snapshot.hs:143:32)
2018-02-17 23:00:23.645479: [debug] Success decoding /Users/shinya/.stack/build-plan-cache/lts-10.5.cache
@(Stack/Snapshot.hs:143:32)
2018-02-17 23:00:23.646322: [debug] Potential GHC builds: standard
@(Stack/Setup.hs:627:9)
2018-02-17 23:00:23.647075: [debug] Found already installed GHC builds: standard
@(Stack/Setup.hs:456:13)
2018-02-17 23:00:23.649022: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:98:13)
2018-02-17 23:00:23.650991: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:181:5)
2018-02-17 23:00:23.651391: [debug] Getting global package database location
@(Stack/GhcPkg.hs:47:5)
2018-02-17 23:00:23.651502: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.651995: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.653547: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.907393: [debug] Process finished in 252ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.908458: [debug] Process finished in 254ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.921126: [debug] Process finished in 269ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:23.921361: [debug] GHC version is: ghc-8.2.2
@(Stack/Setup/Installed.hs:102:13)
2018-02-17 23:00:23.921592: [debug] Resolving package entries
@(Stack/Setup.hs:254:5)
2018-02-17 23:00:23.921891: [debug] Trying to decode /Users/shinya/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/lts-10.5.cache
@(Stack/Snapshot.hs:369:9)
2018-02-17 23:00:23.993150: [debug] Success decoding /Users/shinya/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.2.2/lts-10.5.cache
@(Stack/Snapshot.hs:369:9)
2018-02-17 23:00:23.993678: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:172:18)
2018-02-17 23:00:23.993785: [debug] Parsing the targets
@(Stack/Build/Target.hs:459:3)
2018-02-17 23:00:23.994109: [debug] Running hpack on /usr/local/share/stack/package.yaml
@(Stack/Package.hs:1371:9)
2018-02-17 23:00:24.027451: [warn] 
Warning: Ignoring unknown field "generated-other-modules" in executable section "stack"
@(Stack/Package.hs:1383:48)
2018-02-17 23:00:24.027724: [debug] hpack output unchanged in /usr/local/share/stack/stack.cabal
@(Stack/Package.hs:1388:46)
2018-02-17 23:00:24.051657: [debug] Running hpack on /usr/local/share/stack/subs/rio/package.yaml
@(Stack/Package.hs:1371:9)
2018-02-17 23:00:24.055969: [debug] hpack output unchanged in /usr/local/share/stack/subs/rio/rio.cabal
@(Stack/Package.hs:1388:46)
2018-02-17 23:00:24.057588: [debug] Trying to decode /Users/shinya/.stack/indices/Hackage/01-index.cache
@(Stack/PackageIndex.hs:403:23)
2018-02-17 23:00:24.352185: [debug] Success decoding /Users/shinya/.stack/indices/Hackage/01-index.cache
@(Stack/PackageIndex.hs:403:23)
2018-02-17 23:00:24.404538: [debug] Start: getPackageFiles /usr/local/share/stack/subs/rio/rio.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.409569: [debug] Finished in 4ms: getPackageFiles /usr/local/share/stack/subs/rio/rio.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.409853: [debug] Exception ignored when attempting to load /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib: /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:133:67)
2018-02-17 23:00:24.415347: [debug] Start: getPackageFiles /usr/local/share/stack/stack.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.621066: [debug] Finished in 205ms: getPackageFiles /usr/local/share/stack/stack.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.621901: [debug] Exception ignored when attempting to load /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:133:67)
2018-02-17 23:00:24.731524: [debug] Exception ignored when attempting to load /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/exe-stack: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/exe-stack: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:133:67)
2018-02-17 23:00:24.745800: [debug] Start: getPackageFiles /usr/local/share/stack/.stack-work/downloaded/PeR5_02mtScb/hackage-security-3297b0f3f4285cb30321baaa7b54e3d22e1f6bd7/hackage-security/hackage-security.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.912510: [debug] Finished in 166ms: getPackageFiles /usr/local/share/stack/.stack-work/downloaded/PeR5_02mtScb/hackage-security-3297b0f3f4285cb30321baaa7b54e3d22e1f6bd7/hackage-security/hackage-security.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:24.918560: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:58:5)
2018-02-17 23:00:24.919048: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.017183: [debug] Process finished in 97ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.018268: [debug] Ignoring package haskeline due to wanting version 0.7.4.2 instead of 0.7.4.0
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.018743: [debug] Ignoring package Cabal due to wanting version 2.0.1.1 instead of 2.0.1.0
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.019785: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.441970: [debug] Process finished in 421ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.442310: [debug] Ignoring package hlint, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.442654: [debug] Ignoring package stylish-haskell, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443226: [debug] Ignoring package yesod, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443362: [debug] Ignoring package yesod-form, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443481: [debug] Ignoring package yesod-static, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443592: [debug] Ignoring package yesod-sitemap, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443700: [debug] Ignoring package yesod-persistent, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443806: [debug] Ignoring package yesod-newsfeed, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.443979: [debug] Ignoring package yesod-core, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.444129: [debug] Ignoring package wai-app-static, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.444589: [debug] Ignoring package wai-extra, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.445556: [debug] Ignoring package hjsmin, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.446206: [debug] Ignoring package optparse-applicative, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.447110: [debug] Ignoring package ansi-wl-pprint, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.447423: [debug] Ignoring package ansi-terminal, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.450034: [debug] Ignoring package hackage-security, from (InstalledTo Snap,"/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb/"), due to wrong location: (Just (InstalledTo Snap),Local)
@(Stack/Build/Installed.hs:187:5)
2018-02-17 23:00:25.453699: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.547260: [debug] Process finished in 93ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.549647: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:185:5)
2018-02-17 23:00:25.604182: [debug] Checking if we are going to build multiple executables with the same name
@(Stack/Build.hs:177:5)
2018-02-17 23:00:25.604570: [debug] Executing the build plan
@(Stack/Build/Execute.hs:492:5)
2018-02-17 23:00:25.605357: [debug] Getting global package database location
@(Stack/GhcPkg.hs:47:5)
2018-02-17 23:00:25.605476: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.690559: [debug] Process finished in 84ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.691053: [info] rio-0.0.0.0: unregistering (local file changes: package.yaml rio.cabal src/Path/Extra.hs src/RIO.hs src/RIO/Logger.hs src/RIO/Prelude.hs src/RIO/...)
@(Stack/Build/Execute.hs:602:17)
2018-02-17 23:00:25.691784: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb/ unregister --user --force --ipid rio-0.0.0.0-KZSRDZDINj27HJbBi6ZW5B
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.822084: [debug] Process finished in 130ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --no-user-package-db --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb/ unregister --user --force --ipid rio-0.0.0.0-KZSRDZDINj27HJbBi6ZW5B
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:25.823539: [info] Building all executables for `stack' once. After a successful build of all of them, only specified executables will be rebuilt.
@(Stack/Build/Execute.hs:1362:19)
2018-02-17 23:00:25.823838: [debug] Exception ignored when attempting to load /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:138:27)
2018-02-17 23:00:25.824235: [debug] Exception ignored when attempting to load /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache: /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:138:27)
2018-02-17 23:00:25.824582: [debug] Exception ignored when attempting to load /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:143:24)
2018-02-17 23:00:25.824920: [debug] Exception ignored when attempting to load /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod: /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
@(Stack/Build/Cache.hs:143:24)
2018-02-17 23:00:25.825043: [info] stack-1.7.0: configure (lib + exe)
@(Stack/Build/Execute.hs:882:23)
2018-02-17 23:00:25.828060: [debug] Run process within /usr/local/share/stack/: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-8.2.2 --make -odir /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup -hidir /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup -i -i. -clear-package-db -global-package-db -package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb -package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb -hide-all-packages -package-id=Cabal-2.0.1.1-ARIl7MGNKZFBAH1HVzpC6s -package-id=base-4.10.1.0 -package-id=filepath-1.4.1.2 -optP-include -optP/usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup_macros.h /usr/local/share/stack/Setup.hs /Users/shinya/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup -threaded
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:33.713578: [debug] Process finished in 7883ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-8.2.2 --make -odir /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup -hidir /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup -i -i. -clear-package-db -global-package-db -package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb -package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb -hide-all-packages -package-id=Cabal-2.0.1.1-ARIl7MGNKZFBAH1HVzpC6s -package-id=base-4.10.1.0 -package-id=filepath-1.4.1.2 -optP-include -optP/usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup_macros.h /usr/local/share/stack/Setup.hs /Users/shinya/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup -threaded
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:33.714670: [debug] Run process within /usr/local/share/stack/: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 configure --with-ghc=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --with-ghc-pkg=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb --libdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/lib --bindir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/bin --datadir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/share --libexecdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/libexec --sysconfdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/etc --docdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --htmldir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --haddockdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --dependency=Cabal=Cabal-2.0.1.1-ARIl7MGNKZFBAH1HVzpC6s --dependency=aeson=aeson-1.2.4.0-1uZbowWGPaSD5tIX45g9Fw --dependency=annotated-wl-pprint=annotated-wl-pprint-0.7.0-8APeXc1MGYdCeWTvpg0wB3 --dependency=ansi-terminal=ansi-terminal-0.8.0.1-2WwmLMduRGZAjK6EZdwTYC --dependency=async=async-2.1.1.1-K429Y4XjamzDpSomhW85Gx --dependency=attoparsec=attoparsec-0.13.2.2-F8Rzvs1ilSM8Y15FBcVomO --dependency=base=base-4.10.1.0 --dependency=base64-bytestring=base64-bytestring-1.0.0.1-8MlzMz2YH3lCqJ4GOwL1Be --dependency=bindings-uname=bindings-uname-0.1-45DrDjuI55gKkuB6UCdOqj --dependency=blaze-builder=blaze-builder-0.4.0.2-8u0JsnNi77k1DtjV0YEZQ0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=clock=clock-0.7.2-7eenmRf30tW97adCwu2PN3 --dependency=conduit=conduit-1.2.13-1QGhzWy66O23I6D8zFw7bC --dependency=conduit-extra=conduit-extra-1.2.3.2-7xNtcJE5UZcINO3cIBAxHL --dependency=containers=containers-0.5.10.2 --dependency=cryptonite=cryptonite-0.24-3fvWA2h8jkgHY8jjamZHms --dependency=cryptonite-conduit=cryptonite-conduit-0.2.2-FIjCE9l9H95ADQ5PSCSROd --dependency=deepseq=deepseq-1.4.3.0 --dependency=directory=directory-1.3.0.2 --dependency=echo=echo-0.1.3-BlErO49OOLiLJPizijFtq4 --dependency=exceptions=exceptions-0.8.3-ARBCApn26muKfiBWljkDpK --dependency=extra=extra-1.6.3-4SUmEbEyye8BukVfBIJTxe --dependency=file-embed=file-embed-0.0.10.1-dHJWrXRvu59h2yyMVhlwG --dependency=filelock=filelock-0.1.1.2-9HxtlrNhwXq8yLCvIrzm2F --dependency=filepath=filepath-1.4.1.2 --dependency=fsnotify=fsnotify-0.2.1.1-FdISmD1AhYy84dXdLlwq6Y --dependency=generic-deriving=generic-deriving-1.12.1-Bxlt1y52EGQYSIu2pS2y --dependency=gitrev=gitrev-1.3.1-JVrypmYNWjs1jJQPEs0aKn --dependency=hackage-security=hackage-security-0.5.2.2-9BfzLHvNB6mEIMD9YTAK2z --dependency=hashable=hashable-1.2.6.1-2mYqdjpViBjIDGbaewMsOr --dependency=hastache=hastache-0.6.1-CTHNv54lilqAtfIotTGAyH --dependency=hpack=hpack-0.21.2-IovlV8Kj9nPE5yke9EYZ2c --dependency=hpc=hpc-0.6.0.3 --dependency=http-client=http-client-0.5.10-Jg0miDhQfqb3s4hV52hIEj --dependency=http-client-tls=http-client-tls-0.3.5.3-IMpa0n2kXhRJXIHsdoxbom --dependency=http-conduit=http-conduit-2.2.4-A9vVrvApgaIBNmlWQJpoJ1 --dependency=http-types=http-types-0.9.1-HzyF6muJnmmJbQLAAvdjHQ --dependency=memory=memory-0.14.11-B3dIjey4kzdDv5j18KCYc4 --dependency=microlens=microlens-0.4.8.3-Hhd1pyfmRF65YkTRK2Yote --dependency=microlens-mtl=microlens-mtl-0.1.11.1-9Xu5ItJKupsI9MNZunmg7x --dependency=mintty=mintty-0.1.1-7GTHMHuaUm26XfT5zOfI9d --dependency=monad-logger=monad-logger-0.3.28.1-GaOzSu1nXr91P2HL617cpZ --dependency=mono-traversable=mono-traversable-1.0.8.1-B4Z21BVgqHp16EloGUgZNc --dependency=mtl=mtl-2.2.1-DscMMmDQUE6GBfOSl4qMUH --dependency=neat-interpolation=neat-interpolation-0.3.2.1-BpTGD2qf9yfAD4wIWHyZQj --dependency=network-uri=network-uri-2.6.1.0-LGD2ZmGbbzRHnZb2klHLEG --dependency=open-browser=open-browser-0.2.1.0-IlmBbUU5IZGH2cVeTpoTFu --dependency=optparse-applicative=optparse-applicative-0.14.0.0-GLaxZFNQU2x7ue4u1dAqtB --dependency=optparse-simple=optparse-simple-0.1.0-2BiMfR6wT9NF7y5yn40IH8 --dependency=path=path-0.6.1-Dph3KtfCdWjGd97rYYNpUX --dependency=path-io=path-io-1.3.3-IoyQXnxmq3FHyA1Cqoxzdh --dependency=persistent=persistent-2.7.1-6XSsguSVi2d9hG5U4iNgMq --dependency=persistent-sqlite=persistent-sqlite-2.6.4-dIgIJtXMzy3VFxp2b5g6X --dependency=persistent-template=persistent-template-2.5.3.1-B0rRB1OSdHAUhpYVDMbUs --dependency=pid1=pid1-0.1.2.0-pRuiTrU6D76lfceJktDng --dependency=pretty=pretty-1.1.3.3 --dependency=primitive=primitive-0.6.3.0-CXy1O9sQYlI58rn9KQkFyo --dependency=process=process-1.6.1.0 --dependency=project-template=project-template-0.2.0.1-44WejcEICgk10LVHhQLt9z --dependency=regex-applicative-text=regex-applicative-text-0.1.0.1-37mxoEdK5Bc5W2wX6dsyKw --dependency=resourcet=resourcet-1.1.11-50xA2f6RxEnFxMn9ZnYJAT --dependency=retry=retry-0.7.6.0-6CUFo0Tjc5A54MJN34LW6i --dependency=semigroups=semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q --dependency=split=split-0.2.3.3-69JBPqG5rhJEaFzFyiVOGW --dependency=stm=stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1 --dependency=store=store-0.4.3.2-8lqf3hcZkEs2OvYwl3rSzN --dependency=store-core=store-core-0.4.1-ExNjkW1BMzgAQFLac5EjgZ --dependency=streaming-commons=streaming-commons-0.1.19-IrJFbgeWsqxDXs1aiZgCer --dependency=tar=tar-0.5.0.3-7uH7Usofl2BFmvax6EB94t --dependency=template-haskell=template-haskell-2.12.0.0 --dependency=temporary=temporary-1.2.1.1-9Ta5cLj6Dm3AL6QcgmIQwY --dependency=text=text-1.2.2.2-9VTsh6V7U7hpagw2HDvpZ --dependency=text-metrics=text-metrics-0.3.0-G8LdStLnhUnDFGoMSIFq7H --dependency=th-reify-many=th-reify-many-0.1.8-5GXK75rgh5BpNIIzzPuB7 --dependency=time=time-1.8.0.2 --dependency=tls=tls-1.4.0-5y1mR8jQFFCI7pM6aKgCRD --dependency=transformers=transformers-0.5.2.0 --dependency=typed-process=typed-process-0.2.1.0-HhRTIWE85UrDsRPQC5dSyl --dependency=unicode-transforms=unicode-transforms-0.3.3-Ao1HfxTnbapBeJgHygPPa4 --dependency=unix=unix-2.7.2.2 --dependency=unix-compat=unix-compat-0.5.0.1-AtNnJ204ySI1W22dRbQG6f --dependency=unliftio=unliftio-0.2.4.0-DX1CEegjzozJDSOtygvtnM --dependency=unordered-containers=unordered-containers-0.2.8.0-6Q8cKU0tfULGVDjEZYkMDG --dependency=vector=vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA --dependency=yaml=yaml-0.8.28-6g8rHV5PhhgIghocGMqLf8 --dependency=zip-archive=zip-archive-0.3.2.2-CP3HOVUZO0bCttEhwvMPVF --dependency=zlib=zlib-0.6.1.2-7k8ElOnaocwBudwnpy07vK -fhide-dependency-versions -fsupported-build --enable-tests --enable-benchmarks
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:37.165930: [debug] Process finished in 3448ms: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 configure --with-ghc=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --with-ghc-pkg=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb --libdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/lib --bindir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/bin --datadir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/share --libexecdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/libexec --sysconfdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/etc --docdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --htmldir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --haddockdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/stack-1.7.0 --dependency=Cabal=Cabal-2.0.1.1-ARIl7MGNKZFBAH1HVzpC6s --dependency=aeson=aeson-1.2.4.0-1uZbowWGPaSD5tIX45g9Fw --dependency=annotated-wl-pprint=annotated-wl-pprint-0.7.0-8APeXc1MGYdCeWTvpg0wB3 --dependency=ansi-terminal=ansi-terminal-0.8.0.1-2WwmLMduRGZAjK6EZdwTYC --dependency=async=async-2.1.1.1-K429Y4XjamzDpSomhW85Gx --dependency=attoparsec=attoparsec-0.13.2.2-F8Rzvs1ilSM8Y15FBcVomO --dependency=base=base-4.10.1.0 --dependency=base64-bytestring=base64-bytestring-1.0.0.1-8MlzMz2YH3lCqJ4GOwL1Be --dependency=bindings-uname=bindings-uname-0.1-45DrDjuI55gKkuB6UCdOqj --dependency=blaze-builder=blaze-builder-0.4.0.2-8u0JsnNi77k1DtjV0YEZQ0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=clock=clock-0.7.2-7eenmRf30tW97adCwu2PN3 --dependency=conduit=conduit-1.2.13-1QGhzWy66O23I6D8zFw7bC --dependency=conduit-extra=conduit-extra-1.2.3.2-7xNtcJE5UZcINO3cIBAxHL --dependency=containers=containers-0.5.10.2 --dependency=cryptonite=cryptonite-0.24-3fvWA2h8jkgHY8jjamZHms --dependency=cryptonite-conduit=cryptonite-conduit-0.2.2-FIjCE9l9H95ADQ5PSCSROd --dependency=deepseq=deepseq-1.4.3.0 --dependency=directory=directory-1.3.0.2 --dependency=echo=echo-0.1.3-BlErO49OOLiLJPizijFtq4 --dependency=exceptions=exceptions-0.8.3-ARBCApn26muKfiBWljkDpK --dependency=extra=extra-1.6.3-4SUmEbEyye8BukVfBIJTxe --dependency=file-embed=file-embed-0.0.10.1-dHJWrXRvu59h2yyMVhlwG --dependency=filelock=filelock-0.1.1.2-9HxtlrNhwXq8yLCvIrzm2F --dependency=filepath=filepath-1.4.1.2 --dependency=fsnotify=fsnotify-0.2.1.1-FdISmD1AhYy84dXdLlwq6Y --dependency=generic-deriving=generic-deriving-1.12.1-Bxlt1y52EGQYSIu2pS2y --dependency=gitrev=gitrev-1.3.1-JVrypmYNWjs1jJQPEs0aKn --dependency=hackage-security=hackage-security-0.5.2.2-9BfzLHvNB6mEIMD9YTAK2z --dependency=hashable=hashable-1.2.6.1-2mYqdjpViBjIDGbaewMsOr --dependency=hastache=hastache-0.6.1-CTHNv54lilqAtfIotTGAyH --dependency=hpack=hpack-0.21.2-IovlV8Kj9nPE5yke9EYZ2c --dependency=hpc=hpc-0.6.0.3 --dependency=http-client=http-client-0.5.10-Jg0miDhQfqb3s4hV52hIEj --dependency=http-client-tls=http-client-tls-0.3.5.3-IMpa0n2kXhRJXIHsdoxbom --dependency=http-conduit=http-conduit-2.2.4-A9vVrvApgaIBNmlWQJpoJ1 --dependency=http-types=http-types-0.9.1-HzyF6muJnmmJbQLAAvdjHQ --dependency=memory=memory-0.14.11-B3dIjey4kzdDv5j18KCYc4 --dependency=microlens=microlens-0.4.8.3-Hhd1pyfmRF65YkTRK2Yote --dependency=microlens-mtl=microlens-mtl-0.1.11.1-9Xu5ItJKupsI9MNZunmg7x --dependency=mintty=mintty-0.1.1-7GTHMHuaUm26XfT5zOfI9d --dependency=monad-logger=monad-logger-0.3.28.1-GaOzSu1nXr91P2HL617cpZ --dependency=mono-traversable=mono-traversable-1.0.8.1-B4Z21BVgqHp16EloGUgZNc --dependency=mtl=mtl-2.2.1-DscMMmDQUE6GBfOSl4qMUH --dependency=neat-interpolation=neat-interpolation-0.3.2.1-BpTGD2qf9yfAD4wIWHyZQj --dependency=network-uri=network-uri-2.6.1.0-LGD2ZmGbbzRHnZb2klHLEG --dependency=open-browser=open-browser-0.2.1.0-IlmBbUU5IZGH2cVeTpoTFu --dependency=optparse-applicative=optparse-applicative-0.14.0.0-GLaxZFNQU2x7ue4u1dAqtB --dependency=optparse-simple=optparse-simple-0.1.0-2BiMfR6wT9NF7y5yn40IH8 --dependency=path=path-0.6.1-Dph3KtfCdWjGd97rYYNpUX --dependency=path-io=path-io-1.3.3-IoyQXnxmq3FHyA1Cqoxzdh --dependency=persistent=persistent-2.7.1-6XSsguSVi2d9hG5U4iNgMq --dependency=persistent-sqlite=persistent-sqlite-2.6.4-dIgIJtXMzy3VFxp2b5g6X --dependency=persistent-template=persistent-template-2.5.3.1-B0rRB1OSdHAUhpYVDMbUs --dependency=pid1=pid1-0.1.2.0-pRuiTrU6D76lfceJktDng --dependency=pretty=pretty-1.1.3.3 --dependency=primitive=primitive-0.6.3.0-CXy1O9sQYlI58rn9KQkFyo --dependency=process=process-1.6.1.0 --dependency=project-template=project-template-0.2.0.1-44WejcEICgk10LVHhQLt9z --dependency=regex-applicative-text=regex-applicative-text-0.1.0.1-37mxoEdK5Bc5W2wX6dsyKw --dependency=resourcet=resourcet-1.1.11-50xA2f6RxEnFxMn9ZnYJAT --dependency=retry=retry-0.7.6.0-6CUFo0Tjc5A54MJN34LW6i --dependency=semigroups=semigroups-0.18.4-mxkGq2xNPcBC0dj8uuk3q --dependency=split=split-0.2.3.3-69JBPqG5rhJEaFzFyiVOGW --dependency=stm=stm-2.4.5.0-15FdumhhnVEKazIoQZDzp1 --dependency=store=store-0.4.3.2-8lqf3hcZkEs2OvYwl3rSzN --dependency=store-core=store-core-0.4.1-ExNjkW1BMzgAQFLac5EjgZ --dependency=streaming-commons=streaming-commons-0.1.19-IrJFbgeWsqxDXs1aiZgCer --dependency=tar=tar-0.5.0.3-7uH7Usofl2BFmvax6EB94t --dependency=template-haskell=template-haskell-2.12.0.0 --dependency=temporary=temporary-1.2.1.1-9Ta5cLj6Dm3AL6QcgmIQwY --dependency=text=text-1.2.2.2-9VTsh6V7U7hpagw2HDvpZ --dependency=text-metrics=text-metrics-0.3.0-G8LdStLnhUnDFGoMSIFq7H --dependency=th-reify-many=th-reify-many-0.1.8-5GXK75rgh5BpNIIzzPuB7 --dependency=time=time-1.8.0.2 --dependency=tls=tls-1.4.0-5y1mR8jQFFCI7pM6aKgCRD --dependency=transformers=transformers-0.5.2.0 --dependency=typed-process=typed-process-0.2.1.0-HhRTIWE85UrDsRPQC5dSyl --dependency=unicode-transforms=unicode-transforms-0.3.3-Ao1HfxTnbapBeJgHygPPa4 --dependency=unix=unix-2.7.2.2 --dependency=unix-compat=unix-compat-0.5.0.1-AtNnJ204ySI1W22dRbQG6f --dependency=unliftio=unliftio-0.2.4.0-DX1CEegjzozJDSOtygvtnM --dependency=unordered-containers=unordered-containers-0.2.8.0-6Q8cKU0tfULGVDjEZYkMDG --dependency=vector=vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA --dependency=yaml=yaml-0.8.28-6g8rHV5PhhgIghocGMqLf8 --dependency=zip-archive=zip-archive-0.3.2.2-CP3HOVUZO0bCttEhwvMPVF --dependency=zlib=zlib-0.6.1.2-7k8ElOnaocwBudwnpy07vK -fhide-dependency-versions -fsupported-build --enable-tests --enable-benchmarks
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:37.169546: [debug] Encoding /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache
@(Stack/Build/Cache.hs:163:7)
2018-02-17 23:00:37.171028: [debug] Finished writing /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache
@(Stack/Build/Cache.hs:163:7)
2018-02-17 23:00:37.171255: [debug] Encoding /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod
@(Stack/Build/Cache.hs:172:7)
2018-02-17 23:00:37.171968: [debug] Finished writing /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod
@(Stack/Build/Cache.hs:172:7)
2018-02-17 23:00:37.172450: [debug] Encoding /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:37.175155: [info] rio-0.0.0.0: configure (lib)
@(Stack/Build/Execute.hs:882:23)
2018-02-17 23:00:37.175601: [debug] Finished writing /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:37.175817: [debug] Encoding /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/exe-stack
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:37.176825: [debug] Run process within /usr/local/share/stack/subs/rio/: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 configure --with-ghc=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --with-ghc-pkg=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb --libdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/lib --bindir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/bin --datadir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/share --libexecdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/libexec --sysconfdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/etc --docdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --htmldir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --haddockdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --dependency=base=base-4.10.1.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=clock=clock-0.7.2-7eenmRf30tW97adCwu2PN3 --dependency=conduit=conduit-1.2.13-1QGhzWy66O23I6D8zFw7bC --dependency=conduit-extra=conduit-extra-1.2.3.2-7xNtcJE5UZcINO3cIBAxHL --dependency=containers=containers-0.5.10.2 --dependency=deepseq=deepseq-1.4.3.0 --dependency=directory=directory-1.3.0.2 --dependency=exceptions=exceptions-0.8.3-ARBCApn26muKfiBWljkDpK --dependency=filepath=filepath-1.4.1.2 --dependency=hashable=hashable-1.2.6.1-2mYqdjpViBjIDGbaewMsOr --dependency=microlens=microlens-0.4.8.3-Hhd1pyfmRF65YkTRK2Yote --dependency=microlens-mtl=microlens-mtl-0.1.11.1-9Xu5ItJKupsI9MNZunmg7x --dependency=mtl=mtl-2.2.1-DscMMmDQUE6GBfOSl4qMUH --dependency=path=path-0.6.1-Dph3KtfCdWjGd97rYYNpUX --dependency=path-io=path-io-1.3.3-IoyQXnxmq3FHyA1Cqoxzdh --dependency=pid1=pid1-0.1.2.0-pRuiTrU6D76lfceJktDng --dependency=store=store-0.4.3.2-8lqf3hcZkEs2OvYwl3rSzN --dependency=text=text-1.2.2.2-9VTsh6V7U7hpagw2HDvpZ --dependency=time=time-1.8.0.2 --dependency=typed-process=typed-process-0.2.1.0-HhRTIWE85UrDsRPQC5dSyl --dependency=unix=unix-2.7.2.2 --dependency=unliftio=unliftio-0.2.4.0-DX1CEegjzozJDSOtygvtnM --dependency=unordered-containers=unordered-containers-0.2.8.0-6Q8cKU0tfULGVDjEZYkMDG --dependency=vector=vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA --enable-tests --enable-benchmarks
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:37.177933: [debug] Finished writing /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/exe-stack
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:37.180180: [info] stack-1.7.0: build (lib + exe)
@(Stack/Build/Execute.hs:882:23)
2018-02-17 23:00:37.181189: [debug] Run process within /usr/local/share/stack/: /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build lib:stack exe:stack --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:40.924431: [debug] Process finished in 3746ms: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 configure --with-ghc=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --with-ghc-pkg=/Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/shinya/.stack/snapshots/x86_64-osx/lts-10.5/8.2.2/pkgdb --package-db=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb --libdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/lib --bindir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/bin --datadir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/share --libexecdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/libexec --sysconfdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/etc --docdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --htmldir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --haddockdir=/usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/doc/rio-0.0.0.0 --dependency=base=base-4.10.1.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=clock=clock-0.7.2-7eenmRf30tW97adCwu2PN3 --dependency=conduit=conduit-1.2.13-1QGhzWy66O23I6D8zFw7bC --dependency=conduit-extra=conduit-extra-1.2.3.2-7xNtcJE5UZcINO3cIBAxHL --dependency=containers=containers-0.5.10.2 --dependency=deepseq=deepseq-1.4.3.0 --dependency=directory=directory-1.3.0.2 --dependency=exceptions=exceptions-0.8.3-ARBCApn26muKfiBWljkDpK --dependency=filepath=filepath-1.4.1.2 --dependency=hashable=hashable-1.2.6.1-2mYqdjpViBjIDGbaewMsOr --dependency=microlens=microlens-0.4.8.3-Hhd1pyfmRF65YkTRK2Yote --dependency=microlens-mtl=microlens-mtl-0.1.11.1-9Xu5ItJKupsI9MNZunmg7x --dependency=mtl=mtl-2.2.1-DscMMmDQUE6GBfOSl4qMUH --dependency=path=path-0.6.1-Dph3KtfCdWjGd97rYYNpUX --dependency=path-io=path-io-1.3.3-IoyQXnxmq3FHyA1Cqoxzdh --dependency=pid1=pid1-0.1.2.0-pRuiTrU6D76lfceJktDng --dependency=store=store-0.4.3.2-8lqf3hcZkEs2OvYwl3rSzN --dependency=text=text-1.2.2.2-9VTsh6V7U7hpagw2HDvpZ --dependency=time=time-1.8.0.2 --dependency=typed-process=typed-process-0.2.1.0-HhRTIWE85UrDsRPQC5dSyl --dependency=unix=unix-2.7.2.2 --dependency=unliftio=unliftio-0.2.4.0-DX1CEegjzozJDSOtygvtnM --dependency=unordered-containers=unordered-containers-0.2.8.0-6Q8cKU0tfULGVDjEZYkMDG --dependency=vector=vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA --enable-tests --enable-benchmarks
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:40.925599: [debug] Encoding /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache
@(Stack/Build/Cache.hs:163:7)
2018-02-17 23:00:40.927937: [debug] Finished writing /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-config-cache
@(Stack/Build/Cache.hs:163:7)
2018-02-17 23:00:40.928171: [debug] Encoding /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod
@(Stack/Build/Cache.hs:172:7)
2018-02-17 23:00:40.929200: [debug] Finished writing /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-cabal-mod
@(Stack/Build/Cache.hs:172:7)
2018-02-17 23:00:40.929571: [debug] Encoding /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:40.930675: [debug] Finished writing /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:40.930823: [info] rio-0.0.0.0: build (lib)
@(Stack/Build/Execute.hs:882:23)
2018-02-17 23:00:40.931334: [debug] Run process within /usr/local/share/stack/subs/rio/: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build lib:rio --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.219974: [debug] Process finished in 10287ms: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build lib:rio --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.220549: [debug] Start: getPackageFiles /usr/local/share/stack/subs/rio/rio.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:51.230243: [debug] Finished in 9ms: getPackageFiles /usr/local/share/stack/subs/rio/rio.cabal
@(Stack/Package.hs:339:21)
2018-02-17 23:00:51.230900: [debug] Encoding /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:51.232038: [debug] Finished writing /usr/local/share/stack/subs/rio/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/stack-build-caches/lib
@(Stack/Build/Cache.hs:152:7)
2018-02-17 23:00:51.232257: [info] rio-0.0.0.0: copy/register
@(Stack/Build/Execute.hs:882:23)
2018-02-17 23:00:51.232870: [debug] Run process within /usr/local/share/stack/subs/rio/: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 copy
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.399113: [debug] Process finished in 166ms: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 copy
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.399646: [debug] Run process within /usr/local/share/stack/subs/rio/: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 register
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.978991: [debug] Process finished in 579ms: /Users/shinya/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 register
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:51.979302: [debug] Run process: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb describe --simple-output rio --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:52.075537: [debug] Process finished in 95ms: /Users/shinya/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/pkgdb describe --simple-output rio --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-02-17 23:00:52.076789: [debug] Encoding /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/flag-cache/rio-0.0.0.0-KZSRDZDINj27HJbBi6ZW5B
@(Stack/Build/Cache.hs:211:7)
2018-02-17 23:00:52.077955: [debug] Finished writing /usr/local/share/stack/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/flag-cache/rio-0.0.0.0-KZSRDZDINj27HJbBi6ZW5B
@(Stack/Build/Cache.hs:211:7)
Completed 2 action(s).   
2018-02-17 23:04:31.515064: [info] Log files have been written to: /usr/local/share/stack/.stack-work/logs/
@(Stack/Build/Execute.hs:412:17)

--  While building custom Setup.hs for package stack-1.7.0 using:
      /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build lib:stack exe:stack --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1
    Logs have been written to: /usr/local/share/stack/.stack-work/logs/stack-1.7.0.log

    [1 of 2] Compiling Main             ( /usr/local/share/stack/Setup.hs, /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/Main.o )
    [2 of 2] Compiling StackSetupShim   ( /Users/shinya/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/StackSetupShim.o )
    Linking /usr/local/share/stack/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/setup/setup ...
    Configuring stack-1.7.0...
    Preprocessing library for stack-1.7.0..
    Building library for stack-1.7.0..
    [  1 of 129] Compiling Network.HTTP.StackClient ( src/Network/HTTP/StackClient.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Network/HTTP/StackClient.o )
    [  2 of 129] Compiling Hackage.Security.Client.Repository.HttpLib.HttpClient ( src/Hackage/Security/Client/Repository/HttpLib/HttpClient.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Hackage/Security/Client/Repository/HttpLib/HttpClient.o )
    [  3 of 129] Compiling Paths_stack      ( .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/autogen/Paths_stack.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Paths_stack.o )
    [  4 of 129] Compiling RIO.Prelude      ( subs/rio/src/RIO/Prelude.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/RIO/Prelude.o )
    [  5 of 129] Compiling RIO.Logger       ( subs/rio/src/RIO/Logger.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/RIO/Logger.o )
    [  6 of 129] Compiling RIO              ( subs/rio/src/RIO.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/RIO.o )
    [  7 of 129] Compiling Path.Extra       ( subs/rio/src/Path/Extra.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Path/Extra.o )
    [  8 of 129] Compiling RIO.Process      ( subs/rio/src/RIO/Process.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/RIO/Process.o )
    [  9 of 129] Compiling Stack.Prelude    ( src/Stack/Prelude.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Prelude.o )
    [ 10 of 129] Compiling Stack.Options.Utils ( src/Stack/Options/Utils.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/Utils.o )
    [ 11 of 129] Compiling Stack.Options.LogLevelParser ( src/Stack/Options/LogLevelParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/LogLevelParser.o )
    [ 12 of 129] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Ghci/Script.o )
    [ 13 of 129] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/FileWatch.o )
    [ 14 of 129] Compiling Path.Find        ( src/Path/Find.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Path/Find.o )
    [ 15 of 129] Compiling Options.Applicative.Complicated ( src/Options/Applicative/Complicated.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Options/Applicative/Complicated.o )
    [ 16 of 129] Compiling Options.Applicative.Builder.Extra ( src/Options/Applicative/Builder/Extra.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Options/Applicative/Builder/Extra.o )
    [ 17 of 129] Compiling Stack.Options.SolverParser ( src/Stack/Options/SolverParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/SolverParser.o )
    [ 18 of 129] Compiling Data.Store.VersionTagged ( src/Data/Store/VersionTagged.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/Store/VersionTagged.o )
    [ 19 of 129] Compiling Data.IORef.RunOnce ( src/Data/IORef/RunOnce.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/IORef/RunOnce.o )
    [ 20 of 129] Compiling Data.Attoparsec.Combinators ( src/Data/Attoparsec/Combinators.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/Attoparsec/Combinators.o )
    [ 21 of 129] Compiling Data.Attoparsec.Args ( src/Data/Attoparsec/Args.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/Attoparsec/Args.o )
    [ 22 of 129] Compiling Options.Applicative.Args ( src/Options/Applicative/Args.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Options/Applicative/Args.o )
    [ 23 of 129] Compiling Data.Aeson.Extended ( src/Data/Aeson/Extended.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/Aeson/Extended.o )
    [ 24 of 129] Compiling Stack.StaticBytes ( src/Stack/StaticBytes.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/StaticBytes.o )
    [ 25 of 129] Compiling Stack.Types.CompilerBuild ( src/Stack/Types/CompilerBuild.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/CompilerBuild.o )
    [ 26 of 129] Compiling Stack.Options.GhcBuildParser ( src/Stack/Options/GhcBuildParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/GhcBuildParser.o )
    [ 27 of 129] Compiling Stack.Types.FlagName ( src/Stack/Types/FlagName.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/FlagName.o )
    [ 28 of 129] Compiling Stack.Types.GhcPkgId ( src/Stack/Types/GhcPkgId.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/GhcPkgId.o )
    [ 29 of 129] Compiling Stack.Types.Image ( src/Stack/Types/Image.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Image.o )
    [ 30 of 129] Compiling Stack.Types.Nix  ( src/Stack/Types/Nix.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Nix.o )
    [ 31 of 129] Compiling Stack.Types.PackageName ( src/Stack/Types/PackageName.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/PackageName.o )
    [ 32 of 129] Compiling Stack.Types.NamedComponent ( src/Stack/Types/NamedComponent.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/NamedComponent.o )
    [ 33 of 129] Compiling Stack.Types.Config.Build ( src/Stack/Types/Config/Build.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Config/Build.o )
    [ 34 of 129] Compiling Stack.Options.PackageParser ( src/Stack/Options/PackageParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/PackageParser.o )
    [ 35 of 129] Compiling Stack.Types.Sig  ( src/Stack/Types/Sig.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Sig.o )
    [ 36 of 129] Compiling Stack.Sig.GPG    ( src/Stack/Sig/GPG.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Sig/GPG.o )
    [ 37 of 129] Compiling Stack.Types.TemplateName ( src/Stack/Types/TemplateName.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/TemplateName.o )
    [ 38 of 129] Compiling Stack.Types.Urls ( src/Stack/Types/Urls.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Urls.o )
    [ 39 of 129] Compiling Stack.Config.Urls ( src/Stack/Config/Urls.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Config/Urls.o )
    [ 40 of 129] Compiling Stack.Types.Version ( src/Stack/Types/Version.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Version.o )
    [ 41 of 129] Compiling Stack.Types.PackageIdentifier ( src/Stack/Types/PackageIdentifier.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/PackageIdentifier.o )
    [ 42 of 129] Compiling Stack.Types.PackageIndex ( src/Stack/Types/PackageIndex.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/PackageIndex.o )
    [ 43 of 129] Compiling Stack.Types.PackageDump ( src/Stack/Types/PackageDump.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/PackageDump.o )
    [ 44 of 129] Compiling Control.Concurrent.Execute ( src/Control/Concurrent/Execute.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Control/Concurrent/Execute.o )
    [ 45 of 129] Compiling Stack.Types.Compiler ( src/Stack/Types/Compiler.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Compiler.o )
    [ 46 of 129] Compiling Stack.Types.Resolver ( src/Stack/Types/Resolver.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Resolver.o )
    [ 47 of 129] Compiling Stack.Options.ResolverParser ( src/Stack/Options/ResolverParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/ResolverParser.o )
    [ 48 of 129] Compiling Stack.Constants  ( src/Stack/Constants.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Constants.o )
    [ 49 of 129] Compiling Stack.Types.Docker ( src/Stack/Types/Docker.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Docker.o )
    [ 50 of 129] Compiling Data.Attoparsec.Interpreter ( src/Data/Attoparsec/Interpreter.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Data/Attoparsec/Interpreter.o )
    [ 51 of 129] Compiling Stack.Types.VersionIntervals ( src/Stack/Types/VersionIntervals.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/VersionIntervals.o )
    [ 52 of 129] Compiling Stack.Types.BuildPlan ( src/Stack/Types/BuildPlan.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/BuildPlan.o )
    [ 53 of 129] Compiling System.Process.PagerEditor ( src/System/Process/PagerEditor.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/System/Process/PagerEditor.o )
    [ 54 of 129] Compiling System.Terminal  ( .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/System/Terminal.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/System/Terminal.o )
    [ 55 of 129] Compiling Stack.Types.Runner ( src/Stack/Types/Runner.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Runner.o )
    [ 56 of 129] Compiling Stack.Config.Nix ( src/Stack/Config/Nix.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Config/Nix.o )
    [ 57 of 129] Compiling Text.PrettyPrint.Leijen.Extended ( src/Text/PrettyPrint/Leijen/Extended.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Text/PrettyPrint/Leijen/Extended.o )
    [ 58 of 129] Compiling Stack.PrettyPrint ( src/Stack/PrettyPrint.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/PrettyPrint.o )
    [ 59 of 129] Compiling Network.HTTP.Download.Verified ( src/Network/HTTP/Download/Verified.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Network/HTTP/Download/Verified.o )
    [ 60 of 129] Compiling Network.HTTP.Download ( src/Network/HTTP/Download.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Network/HTTP/Download.o )
    [ 61 of 129] Compiling Stack.PackageIndex ( src/Stack/PackageIndex.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/PackageIndex.o )
    [ 62 of 129] Compiling Stack.Types.Config ( src/Stack/Types/Config.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Config.o )
    [ 63 of 129] Compiling Stack.Upload     ( src/Stack/Upload.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Upload.o )
    [ 64 of 129] Compiling Stack.Types.Package ( src/Stack/Types/Package.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Package.o )
    [ 65 of 129] Compiling Stack.Types.Build ( src/Stack/Types/Build.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Types/Build.o )
    [ 66 of 129] Compiling Stack.GhcPkg     ( src/Stack/GhcPkg.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/GhcPkg.o )
    [ 67 of 129] Compiling Stack.PackageDump ( src/Stack/PackageDump.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/PackageDump.o )
    [ 68 of 129] Compiling Stack.Setup.Installed ( src/Stack/Setup/Installed.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Setup/Installed.o )
    [ 69 of 129] Compiling Stack.Options.TestParser ( src/Stack/Options/TestParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/TestParser.o )
    [ 70 of 129] Compiling Stack.Options.HaddockParser ( src/Stack/Options/HaddockParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/HaddockParser.o )
    [ 71 of 129] Compiling Stack.Options.GhcVariantParser ( src/Stack/Options/GhcVariantParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/GhcVariantParser.o )
    [ 72 of 129] Compiling Stack.Options.BenchParser ( src/Stack/Options/BenchParser.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Options/BenchParser.o )
    [ 73 of 129] Compiling Stack.Docker.GlobalDB ( src/Stack/Docker/GlobalDB.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Docker/GlobalDB.o )
    [ 74 of 129] Compiling Stack.Constants.Config ( src/Stack/Constants/Config.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Constants/Config.o )
    [ 75 of 129] Compiling Stack.Image      ( src/Stack/Image.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Image.o )
    [ 76 of 129] Compiling Stack.Config.Docker ( src/Stack/Config/Docker.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Config/Docker.o )
    [ 77 of 129] Compiling Stack.Config.Build ( src/Stack/Config/Build.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Config/Build.o )
    [ 78 of 129] Compiling Stack.Build.Haddock ( src/Stack/Build/Haddock.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Build/Haddock.o )
    [ 79 of 129] Compiling Stack.Build.Cache ( src/Stack/Build/Cache.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Stack/Build/Cache.o )
    ghc: panic! (the 'impossible' happened)
      (GHC version 8.2.2 for x86_64-apple-darwin):
    	Loading temp shared object failed: dlopen(/var/folders/ky/8g7fv32j4js337c85sy5gy0h0000gn/T/ghc43457_0/libghc_437.dylib, 5): Symbol not found: _hackagezmsecurityzm0zi5zi2zi2zm9BfzzLHvNB6mEIMD9YTAK2zz_HackageziSecurityziUtilziChecked_zdwthrowChecked_closure
      Referenced from: /var/folders/ky/8g7fv32j4js337c85sy5gy0h0000gn/T/ghc43457_0/libghc_437.dylib
      Expected in: flat namespace
     in /var/folders/ky/8g7fv32j4js337c85sy5gy0h0000gn/T/ghc43457_0/libghc_437.dylib
    
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Stack version

$ stack --version
Version 1.7.0, Git revision 1d7c30798dda400d595567bd06d7b3ca1651b0c4 (5677 commits) x86_64 hpack-0.21.2

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D47

@mgsloan mgsloan added this to the Support milestone Feb 18, 2018

@mgsloan

This comment has been minimized.

Copy link
Collaborator

mgsloan commented Feb 18, 2018

Not sure what would cause this. It might help to try stack exec -- ghc-pkg unregister hackage-security to force a rebuild of the hackage-security package.

Last ditch effort would be to remove or rename the precompiled and snapshots dirs in stack root (within the dir at stack path --stack-root). This will cause everything to need to get recompiled.

@waddlaw

This comment has been minimized.

Copy link
Contributor Author

waddlaw commented Feb 19, 2018

Thanks for the advice. I removed precompiled and snapshots dirs.
After that rebuild and then it's build succeeded :)

@waddlaw waddlaw closed this Feb 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment