Last active
July 24, 2018 06:34
-
-
Save joelmccracken/b4ef70c231c6a98ebcc27b97a621e548 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make migration | |
STACK_YAML="stack.yaml" stack build moot | |
Getting project config file from STACK_YAML environment | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. unix requires: >=1.2 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. directory requires: >=1.4 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. Cabal requires: >=1.4 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. http-api-data requires: >=1.4.2 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. aeson-compat requires: >=1.4.0.1 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. esqueleto requires: >=1.5.0.1 && <=1.8.0.2 | |
moot-0.0.0: unregistering (components added: exe:fixtures, exe:migration, exe:moot, exe:truncate) | |
moot-0.0.0: configure (lib + exe) | |
Configuring moot-0.0.0... | |
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] | |
moot-0.0.0: build (lib + exe) | |
Preprocessing library for moot-0.0.0.. | |
Building library for moot-0.0.0.. | |
[ 1 of 25] Compiling Model.BCrypt ( src/Model/BCrypt.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/BCrypt.o ) | |
[ 2 of 25] Compiling Model.Types ( src/Model/Types.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/Types.o ) | |
[ 3 of 25] Compiling Model ( src/Model.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model.o ) | |
[ 4 of 25] Compiling Model.Render ( src/Model/Render.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/Render.o ) | |
[ 5 of 25] Compiling Model.API ( src/Model/API.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/API.o ) | |
[ 6 of 25] Compiling Settings ( src/Settings.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Settings.o ) | |
[ 7 of 25] Compiling Settings.StaticFiles ( src/Settings/StaticFiles.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Settings/StaticFiles.o ) | |
[ 8 of 25] Compiling Import.NoFoundation ( src/Import/NoFoundation.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Import/NoFoundation.o ) | |
[ 9 of 25] Compiling Helpers.Forms ( src/Helpers/Forms.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Helpers/Forms.o ) | |
[10 of 25] Compiling Handler.Sessions ( src/Handler/Sessions.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Sessions.o ) | |
[11 of 25] Compiling AppType ( src/AppType.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/AppType.o ) | |
[12 of 25] Compiling Routes ( src/Routes.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Routes.o ) | |
[13 of 25] Compiling Foundation ( src/Foundation.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Foundation.o ) | |
[14 of 25] Compiling Import ( src/Import.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Import.o ) | |
[15 of 25] Compiling Model.Fixtures ( src/Model/Fixtures.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/Fixtures.o ) | |
[16 of 25] Compiling Helpers.Views ( src/Helpers/Views.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Helpers/Views.o ) | |
[17 of 25] Compiling Helpers.Handlers ( src/Helpers/Handlers.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Helpers/Handlers.o ) | |
/Users/joel/Projects/moot/src/Helpers/Handlers.hs:10:11: warning: [-Wname-shadowing] | |
This binding for ‘val’ shadows the existing binding | |
imported from ‘Import’ at src/Helpers/Handlers.hs:3:1-13 | |
(and originally defined in ‘Database.Esqueleto.Internal.Language’) | |
| | |
10 | (Just val) -> return val | |
| ^^^ | |
[18 of 25] Compiling Handler.Home ( src/Handler/Home.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Home.o ) | |
[19 of 25] Compiling Handler.Auth.Views ( src/Handler/Auth/Views.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Auth/Views.o ) | |
[20 of 25] Compiling Handler.Auth.Forms ( src/Handler/Auth/Forms.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Auth/Forms.o ) | |
[21 of 25] Compiling Handler.Auth ( src/Handler/Auth.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Auth.o ) | |
/Users/joel/Projects/moot/src/Handler/Auth.hs:7:1: warning: [-Wunused-imports] | |
The import of ‘Handler.Sessions’ is redundant | |
except perhaps to import instances from ‘Handler.Sessions’ | |
To import instances alone, use: import Handler.Sessions() | |
| | |
7 | import Handler.Sessions | |
| ^^^^^^^^^^^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Auth.hs:8:1: warning: [-Wunused-imports] | |
The import of ‘Helpers.Forms’ is redundant | |
except perhaps to import instances from ‘Helpers.Forms’ | |
To import instances alone, use: import Helpers.Forms() | |
| | |
8 | import Helpers.Forms | |
| ^^^^^^^^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Auth.hs:9:1: warning: [-Wunused-imports] | |
The import of ‘Helpers.Views’ is redundant | |
except perhaps to import instances from ‘Helpers.Views’ | |
To import instances alone, use: import Helpers.Views() | |
| | |
9 | import Helpers.Views | |
| ^^^^^^^^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Auth.hs:73:27: warning: [-Wunused-matches] | |
Defined but not used: ‘conferenceId’ | |
| | |
73 | requireOwnerForConference conferenceId = do | |
| ^^^^^^^^^^^^ | |
[22 of 25] Compiling Handler.Admin ( src/Handler/Admin.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Admin.o ) | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:7:1: warning: [-Wunused-imports] | |
The import of ‘Helpers.Handlers’ is redundant | |
except perhaps to import instances from ‘Helpers.Handlers’ | |
To import instances alone, use: import Helpers.Handlers() | |
| | |
7 | import Helpers.Handlers | |
| ^^^^^^^^^^^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:11:23: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
11 | getOrganizerSignupR = undefined | |
| ^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:14:24: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
14 | postOrganizerSignupR = undefined | |
| ^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:17:11: warning: [-Wunused-matches] | |
Defined but not used: ‘userId’ | |
| | |
17 | getAdminR userId = undefined | |
| ^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:17:20: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
17 | getAdminR userId = undefined | |
| ^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:36:12: warning: [-Wunused-matches] | |
Defined but not used: ‘userId’ | |
| | |
36 | postAdminR userId = undefined | |
| ^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:36:21: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
36 | postAdminR userId = undefined | |
| ^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:87:4: warning: [-Wunused-matches] | |
Defined but not used: ‘user’ | |
| | |
87 | (user, owner, account, conference) <- | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:87:10: warning: [-Wunused-matches] | |
Defined but not used: ‘owner’ | |
| | |
87 | (user, owner, account, conference) <- | |
| ^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:87:17: warning: [-Wunused-matches] | |
Defined but not used: ‘account’ | |
| | |
87 | (user, owner, account, conference) <- | |
| ^^^^^^^ | |
[23 of 25] Compiling Handler.Abstract ( src/Handler/Abstract.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Handler/Abstract.o ) | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:95:4: warning: [-Wunused-matches] | |
Defined but not used: ‘user’ | |
| | |
95 | (user, owner, account, conference) <- | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:95:10: warning: [-Wunused-matches] | |
Defined but not used: ‘owner’ | |
| | |
95 | (user, owner, account, conference) <- | |
| ^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:95:17: warning: [-Wunused-matches] | |
Defined but not used: ‘account’ | |
| | |
95 | (user, owner, account, conference) <- | |
| ^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:108:4: warning: [-Wunused-matches] | |
Defined but not used: ‘user’ | |
| | |
108 | (user, owner, account) <- requireAccount | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:108:10: warning: [-Wunused-matches] | |
Defined but not used: ‘owner’ | |
| | |
108 | (user, owner, account) <- requireAccount | |
| ^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:128:22: warning: [-Wname-shadowing] | |
This binding for ‘desc’ shadows the existing binding | |
imported from ‘Import’ at src/Handler/Admin.hs:3:1-13 | |
(and originally defined in ‘Database.Esqueleto.Internal.Language’) | |
| | |
128 | (Conference _ name desc) <- do | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:155:33: warning: [-Wunused-matches] | |
Defined but not used: ‘conf’ | |
| | |
155 | renderConferenceDashboardWidget conf = undefined | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:155:40: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
155 | renderConferenceDashboardWidget conf = undefined | |
| ^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Admin.hs:167:23: warning: [-Wname-shadowing] | |
This binding for ‘desc’ shadows the existing binding | |
imported from ‘Import’ at src/Handler/Admin.hs:3:1-13 | |
(and originally defined in ‘Database.Esqueleto.Internal.Language’) | |
| | |
167 | Conference _ name desc = entityVal confEntity | |
| ^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:9:1: warning: [-Wmissing-signatures] | |
Top-level binding with no type signature: | |
abstractBlurbMarkdown :: IsString p => p | |
| | |
9 | abstractBlurbMarkdown = "" | |
| ^^^^^^^^^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:10:1: warning: [-Wmissing-signatures] | |
Top-level binding with no type signature: abstractTypes :: [a] | |
| | |
10 | abstractTypes = [] | |
| ^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:140:14: warning: [-Wname-shadowing] | |
This binding for ‘abstractTypes’ shadows the existing binding | |
defined at src/Handler/Abstract.hs:10:1 | |
| | |
140 | abstractForm abstractTypes = do | |
| ^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:177:3: warning: [-Wname-shadowing] | |
This binding for ‘abstractTypes’ shadows the existing binding | |
defined at src/Handler/Abstract.hs:10:1 | |
| | |
177 | abstractTypes <- runDB $ abstractTypesForConference (toSqlKey conferenceId) | |
| ^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:184:3: warning: [-Wname-shadowing] | |
This binding for ‘abstractTypes’ shadows the existing binding | |
defined at src/Handler/Abstract.hs:10:1 | |
| | |
184 | abstractTypes <- runDBOr404 $ do | |
| ^^^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:194:41: warning: [-Wunused-matches] | |
Defined but not used: ‘name’ | |
| | |
194 | (SubmittedAbstract email password name title body abstractTypeId) -> do | |
| ^^^^ | |
[24 of 25] Compiling Application ( src/Application.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Application.o ) | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:195:9: warning: [-Wunused-matches] | |
Defined but not used: ‘abstractKey’ | |
| | |
195 | abstractKey <- runDB $ do | |
| ^^^^^^^^^^^ | |
/Users/joel/Projects/moot/src/Handler/Abstract.hs:200:24: warning: [-Wdeprecations] | |
In the use of ‘undefined’ | |
(imported from Import, but defined in ClassyPrelude): | |
Deprecated: "It is highly recommended that you either avoid partial functions or provide meaningful error messages" | |
| | |
200 | Nothing -> undefined | |
| ^^^^^^^^^ | |
ghc: panic! (the 'impossible' happened) | |
(GHC version 8.2.2 for x86_64-apple-darwin): | |
Loading temp shared object failed: dlopen(/var/folders/7j/_th0wj8115gcqcj79trq0spm0000gn/T/ghc17463_0/libghc_124.dylib, 5): Symbol not found: _mootzm0zi0zi0zm8exrTLzzUXj | |
YAa3b7ao3yEF_ModelziBCrypt_hashPassword1_closure | |
Referenced from: /var/folders/7j/_th0wj8115gcqcj79trq0spm0000gn/T/ghc17463_0/libghc_124.dylib | |
Expected in: flat namespace | |
in /var/folders/7j/_th0wj8115gcqcj79trq0spm0000gn/T/ghc17463_0/libghc_124.dylib | |
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug | |
-- While building custom Setup.hs for package moot-0.0.0 using: | |
/Users/joel/.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:moot exe:fixtures exe: | |
migration exe:moot exe:truncate --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always" | |
Process exited with code: ExitFailure 1 | |
make: *** [build] Error 1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make migration | |
STACK_YAML="stack.yaml" stack build moot | |
Getting project config file from STACK_YAML environment | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. unix requires: >=1.2 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. directory requires: >=1.4 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. Cabal requires: >=1.4 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. http-api-data requires: >=1.4.2 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. aeson-compat requires: >=1.4.0.1 && <1.9 | |
WARNING: Ignoring out of range dependency (allow-newer enabled): time-1.9.1. esqueleto requires: >=1.5.0.1 && <=1.8.0.2 | |
moot-0.0.0: unregistering (components added: exe:fixtures, exe:migration, exe:moot, exe:truncate) | |
moot-0.0.0: configure (lib + exe) | |
Configuring moot-0.0.0... | |
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] | |
moot-0.0.0: build (lib + exe) | |
Preprocessing library for moot-0.0.0.. | |
Building library for moot-0.0.0.. | |
[ 1 of 25] Compiling Model.BCrypt ( src/Model/BCrypt.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/BCrypt.o ) | |
[ 2 of 25] Compiling Model.Types ( src/Model/Types.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/Types.o ) | |
^[OB[24 of 25] Compiling Application ( src/Application.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Application.o ) | |
[25 of 25] Compiling Paths_moot ( .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/autogen/Paths_moot.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Paths_moot.o ) | |
Preprocessing executable 'fixtures' for moot-0.0.0.. | |
Building executable 'fixtures' for moot-0.0.0.. | |
[1 of 2] Compiling Main ( app/fixtures/Main.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/fixtures/fixtures-tmp/Main.o ) [Model.Fixtures changed] | |
Bad interface file: /Users/joel/Projects/moot/.stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Model/Types.hi | |
Something is amiss; requested module moot-0.0.0:Model.Types differs from name found in the interface file moot-0.0.0-CrGi9XJY45zAMy8uP9g0CV:Model.Types (if these names look | |
the same, try again with -dppr-debug) | |
-- While building custom Setup.hs for package moot-0.0.0 using: | |
/Users/joel/.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:moot exe:fixtures exe: | |
migration exe:moot exe:truncate --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always" | |
Process exited with code: ExitFailure 1 | |
make: *** [build] Error 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment