Created
March 26, 2020 04:42
-
-
Save alunduil/a0eb76ad40a85e3f4bcba4aef2e69d4d to your computer and use it in GitHub Desktop.
stdin
This file contains hidden or 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
+ '[' -e Makefile ']' | |
+ '[' -e zfs-replicate.cabal ']' | |
+ hlint src test | |
No hints | |
+ cabal new-clean | |
+ cabal new-configure -O0 --enable-tests --enable-benchmarks | |
'cabal.project.local' file already exists. Now overwriting it. | |
Resolving dependencies... | |
Build profile: -w ghc-8.6.5 -O0 | |
In order, the following would be built (use -v for more details): | |
- hspec-discover-2.7.1 (lib) (requires build) | |
- optparse-applicative-0.15.1.0 (lib) (requires build) | |
- hspec-discover-2.7.1 (exe:hspec-discover) (requires build) | |
- zfs-replicate-0.2.0.0 (exe:zfs-replicate) (first run) | |
- zfs-replicate-0.2.0.0 (test:zfs-replicate-tests) (first run) | |
+ cabal new-build -j --ghc-options=-Werror | |
Resolving dependencies... | |
Build profile: -w ghc-8.6.5 -O0 | |
In order, the following will be built (use -v for more details): | |
- optparse-applicative-0.15.1.0 (lib) (requires build) | |
- zfs-replicate-0.2.0.0 (test:zfs-replicate-tests) (first run) | |
- zfs-replicate-0.2.0.0 (exe:zfs-replicate) (first run) | |
Configuring test suite 'zfs-replicate-tests' for zfs-replicate-0.2.0.0.. | |
Starting optparse-applicative-0.15.1.0 (lib) | |
Building optparse-applicative-0.15.1.0 (lib) | |
Preprocessing test suite 'zfs-replicate-tests' for zfs-replicate-0.2.0.0.. | |
Building test suite 'zfs-replicate-tests' for zfs-replicate-0.2.0.0.. | |
[1 of 1] Compiling Main ( test/Spec.hs, /home/alunduil/Projects/infrastructure/zfs-replicate/dist-newstyle/build/x86_64-linux/ghc-8.6.5/zfs-replicate-0.2.0.0/t/zfs-replicate-tests/noopt/build/zfs-replicate-tests/zfs-replicate-tests-tmp/Main.o ) | |
Linking /home/alunduil/Projects/infrastructure/zfs-replicate/dist-newstyle/build/x86_64-linux/ghc-8.6.5/zfs-replicate-0.2.0.0/t/zfs-replicate-tests/noopt/build/zfs-replicate-tests/zfs-replicate-tests ... | |
Failed to build optparse-applicative-0.15.1.0. | |
Build log ( | |
/home/alunduil/.cabal/logs/ghc-8.6.5/optparse-applicative-0.15.1.0-6e332104f71c561b3ca73103b44be00d410a7d8decc09bfb92484f08c8788980.log | |
): | |
Configuring library for optparse-applicative-0.15.1.0.. | |
Preprocessing library for optparse-applicative-0.15.1.0.. | |
Building library for optparse-applicative-0.15.1.0.. | |
[ 1 of 16] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, dist/build/Options/Applicative/Help/Levenshtein.o ) | |
[ 2 of 16] Compiling Options.Applicative.Help.Pretty ( src/Options/Applicative/Help/Pretty.hs, dist/build/Options/Applicative/Help/Pretty.o ) | |
[ 3 of 16] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, dist/build/Options/Applicative/Help/Chunk.o ) | |
[ 4 of 16] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, dist/build/Options/Applicative/Help/Types.o ) | |
[ 5 of 16] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, dist/build/Options/Applicative/Types.o ) | |
[ 6 of 16] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, dist/build/Options/Applicative/Internal.o ) | |
[ 7 of 16] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, dist/build/Options/Applicative/Common.o ) | |
[ 8 of 16] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, dist/build/Options/Applicative/Help/Core.o ) | |
[ 9 of 16] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, dist/build/Options/Applicative/Help.o ) | |
[10 of 16] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, dist/build/Options/Applicative/Builder/Internal.o ) | |
[11 of 16] Compiling Options.Applicative.Builder.Completer ( src/Options/Applicative/Builder/Completer.hs, dist/build/Options/Applicative/Builder/Completer.o ) | |
[12 of 16] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, dist/build/Options/Applicative/Builder.o ) | |
src/Options/Applicative/Builder.hs:107:1: error: [-Wunused-imports, -Werror=unused-imports] | |
The import of ‘Data.Semigroup’ is redundant | |
except perhaps to import instances from ‘Data.Semigroup’ | |
To import instances alone, use: import Data.Semigroup() | |
| | |
107 | import Data.Semigroup hiding (option) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
cabal: Failed to build optparse-applicative-0.15.1.0 (which is required by | |
exe:zfs-replicate from zfs-replicate-0.2.0.0). See the build log above for | |
details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment