Resolving dependencies... Build profile: -w ghc-9.8.4 -O0 In order, the following will be built (use -v for more details): - fb-stubs-0.1.0.1 (lib:fb-stubs) (requires download & build) - hspec-contrib-0.5.2 (lib:hspec-contrib) (requires download & build) - mangle-0.1.0.1 (first run) Downloading fb-stubs-0.1.0.1 Downloaded fb-stubs-0.1.0.1 Downloading hspec-contrib-0.5.2 Configuring fb-stubs-0.1.0.1... Downloaded hspec-contrib-0.5.2 Preprocessing library for fb-stubs-0.1.0.1.. Building library for fb-stubs-0.1.0.1.. [1 of 2] Compiling Facebook.Init ( Facebook/Init.hs, dist/build/Facebook/Init.o, dist/build/Facebook/Init.dyn_o ) [2 of 2] Compiling TestRunner ( TestRunner.hs, dist/build/TestRunner.o, dist/build/TestRunner.dyn_o ) Installing library in /home/bgamari/.local/state/cabal/store/ghc-9.8.4/incoming/new-3900704/home/bgamari/.local/state/cabal/store/ghc-9.8.4/fb-stubs-0.1.0.1-19a5b00e451ee7b4d837ef260b0a36a0ccfd4a06fb1e76020ca294b87213a4a1/lib Configuring hspec-contrib-0.5.2... Preprocessing library for hspec-contrib-0.5.2.. Building library for hspec-contrib-0.5.2.. [1 of 4] Compiling Paths_hspec_contrib ( dist/build/autogen/Paths_hspec_contrib.hs, dist/build/Paths_hspec_contrib.o, dist/build/Paths_hspec_contrib.dyn_o ) [2 of 4] Compiling Test.Hspec.Contrib.HUnit ( src/Test/Hspec/Contrib/HUnit.hs, dist/build/Test/Hspec/Contrib/HUnit.o, dist/build/Test/Hspec/Contrib/HUnit.dyn_o ) [3 of 4] Compiling Test.Hspec.Contrib.Mocks.V1 ( src/Test/Hspec/Contrib/Mocks/V1.hs, dist/build/Test/Hspec/Contrib/Mocks/V1.o, dist/build/Test/Hspec/Contrib/Mocks/V1.dyn_o ) [4 of 4] Compiling Test.Hspec.Contrib.Retry ( src/Test/Hspec/Contrib/Retry.hs, dist/build/Test/Hspec/Contrib/Retry.o, dist/build/Test/Hspec/Contrib/Retry.dyn_o ) Installing library in /home/bgamari/.local/state/cabal/store/ghc-9.8.4/incoming/new-3900704/home/bgamari/.local/state/cabal/store/ghc-9.8.4/hspec-contrib-0.5.2-3c3b199f1c9ed542ef2d24558fdee649c82c3f3b0845a44da313994110129198/lib Configuring mangle-0.1.0.1... Preprocessing executable 'mangle' for mangle-0.1.0.1.. Building executable 'mangle' for mangle-0.1.0.1.. [1 of 2] Compiling Mangle ( Mangle.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/mangle/mangle-tmp/Mangle.o ) Mangle.hs:279:30: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Data.List, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 279 | = [QualSub nss u | nss <- tail $ inits names] | ^^^^ Mangle.hs:288:30: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Data.List, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 288 | = [QualSub nss u | nss <- tail $ inits names] | ^^^^ [2 of 2] Compiling Main ( Main.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/mangle/mangle-tmp/Main.o ) [3 of 3] Linking /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/mangle/mangle Preprocessing library for mangle-0.1.0.1.. Building library for mangle-0.1.0.1.. [1 of 2] Compiling Mangle ( Mangle.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/Mangle.o, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/Mangle.dyn_o ) Mangle.hs:279:30: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Data.List, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 279 | = [QualSub nss u | nss <- tail $ inits names] | ^^^^ Mangle.hs:288:30: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Data.List, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 288 | = [QualSub nss u | nss <- tail $ inits names] | ^^^^ [2 of 2] Compiling Mangle.TH ( Mangle/TH.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/Mangle/TH.o, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/Mangle/TH.dyn_o ) Preprocessing test suite 'mangle-test' for mangle-0.1.0.1.. Building test suite 'mangle-test' for mangle-0.1.0.1.. [1 of 1] Compiling Test ( tests/Test.hs, /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/mangle-test/mangle-test-tmp/Test.o ) [2 of 2] Linking /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/build/mangle-test/mangle-test Running 1 test suites... Test suite mangle-test: RUNNING... Test suite mangle-test: PASS Test suite logged to: /home/bgamari/build-cache/tmp-install/reports/mangle-0.1.0.1.test Writing: mangle-0.1.0.1-inplace/Mangle.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/hpc/vanilla/html/mangle-test/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: mangle-0.1.0.1-inplace/Mangle.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/bgamari/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/mangle-0.1.0.1/noopt/hpc/vanilla/html/mangle-0.1.0.1/hpc_index.html