Skip to content

Instantly share code, notes, and snippets.

@arafangion
Created August 15, 2021 12:04
Show Gist options
  • Save arafangion/a5d8606f798c3319cf3fab8495f73d80 to your computer and use it in GitHub Desktop.
Save arafangion/a5d8606f798c3319cf3fab8495f73d80 to your computer and use it in GitHub Desktop.
Loading cabal repl exe:familyserver ...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- hpath-directory-0.14.2.1 (lib) (requires build)
- tar-bytestring-0.6.3.2 (lib) (requires build)
- familyserver-0.1.0.0 (configuration changed)
Starting hpath-directory-0.14.2.1 (lib)
Building hpath-directory-0.14.2.1 (lib)
Failed to build hpath-directory-0.14.2.1.
Build log (
/home/arahael/.cabal/logs/ghc-8.6.5/hpath-directory-0.14.2.1-f3f8476798f4dd17c06ff4cab6f34a94cfcedfb87694eb74402991860f188a0d.log
):
Configuring library for hpath-directory-0.14.2.1..
Preprocessing library for hpath-directory-0.14.2.1..
Building library for hpath-directory-0.14.2.1..
[1 of 3] Compiling System.Posix.RawFilePath.Directory[boot] ( src/System/Posix/RawFilePath/Directory.hs-boot, dist/build/System/Posix/RawFilePath/Directory.o-boot )
[2 of 3] Compiling System.Posix.RawFilePath.Directory.Errors ( src/System/Posix/RawFilePath/Directory/Errors.hs, dist/build/System/Posix/RawFilePath/Directory/Errors.o )
src/System/Posix/RawFilePath/Directory/Errors.hs:84:1: warning: [-Wunused-imports]
The import of `canOpenDirectory, isWritable'
from module `System.Posix.RawFilePath.Directory' is redundant
|
84 | import {-# SOURCE #-} System.Posix.RawFilePath.Directory
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/System/Posix/RawFilePath/Directory/Errors.hs:100:1: warning: [-Wunused-imports]
cabal: Failed to build hpath-directory-0.14.2.1 (which is required by
The qualified import of `System.Posix.Directory.ByteString' is redundant
familyserver-0.1.0.0). See the build log above for details.
except perhaps to import instances from `System.Posix.Directory.ByteString'
To import instances alone, use: import System.Posix.Directory.ByteString()
|
100 | import qualified System.Posix.Directory.ByteString as PFD
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/System/Posix/RawFilePath/Directory/Errors.hs:101:1: warning: [-Wunused-imports]
The import of `fileAccess'
from module `System.Posix.Files.ByteString' is redundant
|
101 | import System.Posix.Files.ByteString
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[3 of 3] Compiling System.Posix.RawFilePath.Directory ( src/System/Posix/RawFilePath/Directory.hs, dist/build/System/Posix/RawFilePath/Directory.o )
src/System/Posix/RawFilePath/Directory.hs:323:15: error:
Not in scope: type constructor or class `MonadFail'
|
323 | basename :: MonadFail m => RawFilePath -> m RawFilePath
| ^^^^^^^^^
Command "cabal repl exe:familyserver" exited unexpectedly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment