Build #3 for rfc-0.0.0.20

[all reports]

Package rfc-0.0.0.20
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-02-08 19:00:58.659751925 UTC
Compiler ghc-8.2.2
OS linux
Arch x86_64
Dependencies aeson-1.2.4.0, aeson-diff-1.1.0.4, async-2.2.1, attoparsec-0.13.2.0, base-4.10.1.0, bifunctors-5.5.2, blaze-html-0.9.0.1, classy-prelude-1.3.1, containers-0.5.10.2, data-default-0.7.1.1, exceptions-0.8.3, http-api-data-0.3.7.2, http-types-0.11, lens-4.16, lifted-async-0.10.0, lifted-base-0.2.3.11, miso-0.12.0.0, monad-control-1.0.2.2, resource-pool-0.2.3.2, servant-0.12.1, servant-blaze-0.7.1, string-conversions-0.4.0.1, text-1.2.2.2, time-units-1.0.0, unordered-containers-0.2.8.0, url-2.1.3, uuid-types-1.0.3, vector-0.12.0.1
Flags -development browser

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring async-2.2.1...
Configuring base-compat-0.9.3...
Building async-2.2.1...
Building base-compat-0.9.3...
Installed async-2.2.1
Configuring base-orphans-0.6...
Installed base-compat-0.9.3
Configuring basic-prelude-0.7.0...
Building base-orphans-0.6...
Building basic-prelude-0.7.0...
Installed base-orphans-0.6
Configuring blaze-builder-0.4.0.2...
Building blaze-builder-0.4.0.2...
Installed blaze-builder-0.4.0.2
Configuring cabal-doctest-1.0.6...
Installed basic-prelude-0.7.0
Configuring colour-2.3.4...
Building cabal-doctest-1.0.6...
Building colour-2.3.4...
Installed cabal-doctest-1.0.6
Configuring data-default-class-0.1.2.0...
Building data-default-class-0.1.2.0...
Installed data-default-class-0.1.2.0
Configuring dlist-0.8.0.4...
Building dlist-0.8.0.4...
Installed colour-2.3.4
Configuring edit-distance-vector-1.0.0.4...
Building edit-distance-vector-1.0.0.4...
Installed dlist-0.8.0.4
Configuring fail-4.9.0.0...
Installed edit-distance-vector-1.0.0.4
Configuring http-types-0.11...
Building fail-4.9.0.0...
Building http-types-0.11...
Installed fail-4.9.0.0
Configuring natural-transformation-0.4...
Building natural-transformation-0.4...
Installed natural-transformation-0.4
Configuring old-locale-1.0.0.7...
Building old-locale-1.0.0.7...
Installed http-types-0.11
Configuring reflection-2.1.3...
Building reflection-2.1.3...
Installed old-locale-1.0.0.7
Configuring say-0.1.0.0...
Building say-0.1.0.0...
Installed say-0.1.0.0
Configuring semigroups-0.18.4...
Building semigroups-0.18.4...
Installed semigroups-0.18.4
Configuring stm-chans-3.0.0.4...
Installed reflection-2.1.3
Configuring th-abstraction-0.2.6.0...
Building th-abstraction-0.2.6.0...
Building stm-chans-3.0.0.4...
Installed th-abstraction-0.2.6.0
Configuring th-lift-0.7.8...
Installed stm-chans-3.0.0.4
Configuring time-locale-compat-0.1.1.3...
Building th-lift-0.7.8...
Building time-locale-compat-0.1.1.3...
Installed time-locale-compat-0.1.1.3
Configuring time-units-1.0.0...
Building time-units-1.0.0...
Installed th-lift-0.7.8
Configuring transformers-compat-0.5.1.4...
Building transformers-compat-0.5.1.4...
Installed transformers-compat-0.5.1.4
Configuring utf8-string-1.0.1.1...
Installed time-units-1.0.0
Configuring uuid-types-1.0.3...
Building utf8-string-1.0.1.1...
Building uuid-types-1.0.3...
Installed uuid-types-1.0.3
Configuring vault-0.3.0.7...
Installed utf8-string-1.0.1.1
Configuring vector-algorithms-0.7.0.1...
Building vault-0.3.0.7...
Building vector-algorithms-0.7.0.1...
Installed vault-0.3.0.7
Configuring void-0.7.2...
Building void-0.7.2...
Installed void-0.7.2
Configuring attoparsec-iso8601-1.0.0.0...
Building attoparsec-iso8601-1.0.0.0...
Installed attoparsec-iso8601-1.0.0.0
Configuring blaze-markup-0.8.2.0...
Building blaze-markup-0.8.2.0...
Installed vector-algorithms-0.7.0.1
Configuring data-default-instances-containers-0.0.1...
Building data-default-instances-containers-0.0.1...
Installed blaze-markup-0.8.2.0
Configuring ansi-terminal-0.8.0.1...
Building ansi-terminal-0.8.0.1...
Installed data-default-instances-containers-0.0.1
Configuring data-default-instances-dlist-0.0.1...
Building data-default-instances-dlist-0.0.1...
Installed data-default-instances-dlist-0.0.1
Configuring data-default-instances-old-locale-0.0.1...
Building data-default-instances-old-locale-0.0.1...
Installed ansi-terminal-0.8.0.1
Configuring dlist-instances-0.1.1.1...
Installed data-default-instances-old-locale-0.0.1
Configuring chunked-data-0.3.1...
Building dlist-instances-0.1.1.1...
Building chunked-data-0.3.1...
Installed dlist-instances-0.1.1.1
Configuring th-lift-instances-0.1.11...
Building th-lift-instances-0.1.11...
Installed chunked-data-0.3.1
Configuring transformers-base-0.4.4...
Installed th-lift-instances-0.1.11
Configuring tagged-0.8.5...
Building transformers-base-0.4.4...
Building tagged-0.8.5...
Installed transformers-base-0.4.4
Configuring mmorph-1.1.0...
Building mmorph-1.1.0...
Installed tagged-0.8.5
Configuring exceptions-0.8.3...
Building exceptions-0.8.3...
Installed mmorph-1.1.0
Configuring contravariant-1.4.1...
Building contravariant-1.4.1...
Installed exceptions-0.8.3
Configuring constraints-0.10...
Building constraints-0.10...
Installed contravariant-1.4.1
Configuring url-2.1.3...
Building url-2.1.3...
Installed url-2.1.3
Configuring string-conversions-0.4.0.1...
Building string-conversions-0.4.0.1...
Installed string-conversions-0.4.0.1
Configuring http-media-0.7.1.2...
Installed constraints-0.10
Configuring mono-traversable-1.0.8.1...
Building http-media-0.7.1.2...
Building mono-traversable-1.0.8.1...
Installed http-media-0.7.1.2
Configuring blaze-html-0.9.0.1...
Building blaze-html-0.9.0.1...
Installed mono-traversable-1.0.8.1
Configuring ansi-wl-pprint-0.6.8.2...
Building ansi-wl-pprint-0.6.8.2...
Installed ansi-wl-pprint-0.6.8.2
Configuring data-default-0.7.1.1...
Building data-default-0.7.1.1...
Installed blaze-html-0.9.0.1
Configuring uri-bytestring-0.3.1.0...
Building uri-bytestring-0.3.1.0...
Installed data-default-0.7.1.1
Configuring monad-control-1.0.2.2...
Building monad-control-1.0.2.2...
Installed monad-control-1.0.2.2
Configuring distributive-0.5.3...
Building distributive-0.5.3...
Installed uri-bytestring-0.3.1.0
Configuring aeson-1.2.4.0...
Building aeson-1.2.4.0...
Installed distributive-0.5.3
Configuring lucid-2.9.9...
Building lucid-2.9.9...
Installed lucid-2.9.9
Configuring safe-exceptions-0.1.7.0...
Building safe-exceptions-0.1.7.0...
Installed safe-exceptions-0.1.7.0
Configuring mutable-containers-0.3.4...
Building mutable-containers-0.3.4...
Installed mutable-containers-0.3.4
Configuring optparse-applicative-0.14.0.0...
Building optparse-applicative-0.14.0.0...
Installed optparse-applicative-0.14.0.0
Configuring resource-pool-0.2.3.2...
Building resource-pool-0.2.3.2...
Installed aeson-1.2.4.0
Configuring monad-unlift-0.2.0...
Installed resource-pool-0.2.3.2
Configuring lifted-base-0.2.3.11...
Building monad-unlift-0.2.0...
Building lifted-base-0.2.3.11...
Installed monad-unlift-0.2.0
Configuring http-api-data-0.3.7.2...
Installed lifted-base-0.2.3.11
Configuring comonad-5.0.3...
Building http-api-data-0.3.7.2...
Building comonad-5.0.3...
Installed comonad-5.0.3
Configuring aeson-diff-1.1.0.4...
Installed http-api-data-0.3.7.2
Configuring lifted-async-0.10.0...
Building aeson-diff-1.1.0.4...
Building lifted-async-0.10.0...
Installed lifted-async-0.10.0
Configuring bifunctors-5.5.2...
Building bifunctors-5.5.2...
Installed aeson-diff-1.1.0.4
Configuring servant-0.12.1...
Building servant-0.12.1...
Installed bifunctors-5.5.2
Configuring semigroupoids-5.2.2...
Building semigroupoids-5.2.2...
Installed servant-0.12.1
Configuring profunctors-5.2.2...
Building profunctors-5.2.2...
Installed semigroupoids-5.2.2
Configuring servant-lucid-0.7.1...
Installed profunctors-5.2.2
Configuring servant-blaze-0.7.1...
Building servant-lucid-0.7.1...
Building servant-blaze-0.7.1...
Installed servant-lucid-0.7.1
Configuring free-5...
Installed servant-blaze-0.7.1
Configuring miso-0.12.0.0...
Building free-5...
Building miso-0.12.0.0...
Installed miso-0.12.0.0
Installed free-5
Configuring keys-3.12...
Configuring adjunctions-4.4...
Building keys-3.12...
Building adjunctions-4.4...
Installed adjunctions-4.4
Configuring kan-extensions-5.1...
Installed keys-3.12
Building kan-extensions-5.1...
Installed kan-extensions-5.1
Configuring pointed-5.0.1...
Configuring lens-4.16...
Building pointed-5.0.1...
Building lens-4.16...
Installed pointed-5.0.1
Configuring vector-instances-3.4...
Building vector-instances-3.4...
Installed vector-instances-3.4
Configuring mono-traversable-instances-0.1.0.0...
Building mono-traversable-instances-0.1.0.0...
Installed mono-traversable-instances-0.1.0.0
Configuring classy-prelude-1.3.1...
Building classy-prelude-1.3.1...
Installed classy-prelude-1.3.1
Installed lens-4.16
Configuring rfc-0.0.0.20...
Building rfc-0.0.0.20...
Failed to install rfc-0.0.0.20
Build log ( /home/builder/.cabal/logs/ghc-8.2.2/rfc-0.0.0.20-2crWFPVzFPc7mVgMzlVMi1.log ):
cabal: Entering directory '/tmp/cabal-tmp-3659/rfc-0.0.0.20'
Configuring rfc-0.0.0.20...
Preprocessing library for rfc-0.0.0.20..
Building library for rfc-0.0.0.20..
[ 1 of 15] Compiling RFC.HTTP.Types   ( src/RFC/HTTP/Types.hs, dist/build/RFC/HTTP/Types.o )
[ 2 of 15] Compiling RFC.String       ( src/RFC/String.hs, dist/build/RFC/String.o )
[ 3 of 15] Compiling RFC.JSON         ( src/RFC/JSON.hs, dist/build/RFC/JSON.o )
[ 4 of 15] Compiling RFC.Data.UUID    ( src/RFC/Data/UUID.hs, dist/build/RFC/Data/UUID.o )
[ 5 of 15] Compiling RFC.Prelude      ( src/RFC/Prelude.hs, dist/build/RFC/Prelude.o )
[ 6 of 15] Compiling RFC.Miso.XHR     ( src/RFC/Miso/XHR.hs, dist/build/RFC/Miso/XHR.o )
[ 7 of 15] Compiling RFC.Miso.Inject  ( src/RFC/Miso/Inject.hs, dist/build/RFC/Miso/Inject.o )

src/RFC/Miso/Inject.hs:13:1: error:
    • The `javascript' calling convention is unsupported on this platform
    • When checking declaration:
        foreign import javascript safe "var ss=document.createElement('link');ss.rel='stylesheet';ss.href=$1;ss.type='text/css';document.getElementsByTagName('head')[0].appendChild(ss);" injectCSS
          :: MisoString -> IO ()
   |
13 | foreign import javascript safe
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/RFC/Miso/Inject.hs:13:1: error:
    • ‘var ss=document.createElement('link');ss.rel='stylesheet';ss.href=$1;ss.type='text/css';document.getElementsByTagName('head')[0].appendChild(ss);’ is not a valid C identifier
    • When checking declaration:
        foreign import javascript safe "var ss=document.createElement('link');ss.rel='stylesheet';ss.href=$1;ss.type='text/css';document.getElementsByTagName('head')[0].appendChild(ss);" injectCSS
          :: MisoString -> IO ()
   |
13 | foreign import javascript safe
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
cabal: Leaving directory '/tmp/cabal-tmp-3659/rfc-0.0.0.20'
cabal: Error: some packages failed to install:
rfc-0.0.0.20-2crWFPVzFPc7mVgMzlVMi1 failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.