The build succeeded. 0 test suites succeeded, 0 failed.
Build log
> /tmp/stackage-build2452$ stack unpack hs-GeoIP-0.3@sha256:4eff78b273799b60b5dcb9ee610e32d26aa563bf171ab77be308fd44753bb634
Unpacked hs-GeoIP-0.3 to /tmp/stackage-build2452/hs-GeoIP-0.3/
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ./Setup configure --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/hs-GeoIP-0.3 --htmldir=/home/circleci/project/builds/nightly/doc/hs-GeoIP-0.3 --haddockdir=/home/circleci/project/builds/nightly/doc/hs-GeoIP-0.3
Configuring hs-GeoIP-0.3...
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ./Setup build
Preprocessing library for hs-GeoIP-0.3..
Building library for hs-GeoIP-0.3..
[1 of 1] Compiling Data.Geolocation.GeoIP ( dist/build/Data/Geolocation/GeoIP.hs, dist/build/Data/Geolocation/GeoIP.o )
src/Data/Geolocation/GeoIP.hsc:31:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
31 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Data/Geolocation/GeoIP.hsc:37:1: warning: [-Wunused-imports]
The import of ‘Foreign.Ptr’ is redundant
except perhaps to import instances from ‘Foreign.Ptr’
To import instances alone, use: import Foreign.Ptr()
|
37 | import Foreign.Ptr
| ^^^^^^^^^^^^^^^^^^
src/Data/Geolocation/GeoIP.hsc:49:25: warning: [-Wunused-top-binds]
Defined but not used: ‘unGeoDB’
|
49 | newtype GeoDB = GeoDB { unGeoDB :: ForeignPtr GeoIP }
| ^^^^^^^
src/Data/Geolocation/GeoIP.hsc:131:42: warning: [-Wname-shadowing]
This binding for ‘x’ shadows the existing binding
bound at src/Data/Geolocation/GeoIP.hsc:127:9
|
131 | valid = length parts == 4 && foldr (\x acc -> acc && x <= 255) True [a,b,c,d]
| ^
src/Data/Geolocation/GeoIP.hsc:202:1: warning: [-Wunused-top-binds]
Defined but not used: ‘c_GeoIP_new’
|
202 | foreign import ccall safe "GeoIP.h GeoIP_new"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Data/Geolocation/GeoIP.hsc:232:1: warning: [-Wunused-top-binds]
Defined but not used: ‘c_GeoIPRecord_delete_funPtr’
|
232 | foreign import ccall safe "GeoIPCity.h &GeoIPRecord_delete"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ./Setup copy
Installing library in /home/circleci/project/builds/nightly/lib/x86_64-linux-ghc-8.7.20181122/hs-GeoIP-0.3-IK2hPN7hBXLEjuozkgPv5O
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2452/hs-GeoIP-0.3$ ./Setup register
Registering library for hs-GeoIP-0.3..