Build #1 for tzdata-0.2.20230322.0

[all reports]

Package tzdata-0.2.20230322.0
Install InstallOk
Docs Ok
Tests Failed
Time submitted 2023-03-23 03:57:50.244774387 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies base-4.16.3.0, bytestring-0.11.3.1, containers-0.6.5.1, deepseq-1.4.6.1, vector-0.13.0.0
Flags none

Code Coverage

expressions70% (3070/4335)
booleanguards0% (0/2)
conditions 100% (0/0)
qualifiers100% (0/0)
alternatives98% (603/610)
local declarations87% (7/8)
top-level declarations95% (619/649)

Build log

[view raw]

Resolving dependencies...
Starting     data-array-byte-0.1.0.1
Starting     vector-stream-0.1.0.0
Building     vector-stream-0.1.0.0
Building     data-array-byte-0.1.0.1
Completed    data-array-byte-0.1.0.1
Starting     primitive-0.8.0.0
Building     primitive-0.8.0.0
Completed    vector-stream-0.1.0.0
Completed    primitive-0.8.0.0
Starting     vector-0.13.0.0
Building     vector-0.13.0.0
Completed    vector-0.13.0.0
Downloading  tzdata-0.2.20230322.0
Downloaded   tzdata-0.2.20230322.0
Starting     tzdata-0.2.20230322.0
Building     tzdata-0.2.20230322.0
Completed    tzdata-0.2.20230322.0

Test log

[view raw]

Resolving dependencies...
Build profile: -w ghc-9.2.4 -O0
In order, the following will be built (use -v for more details):
 - tasty-th-0.1.7 (lib:tasty-th) (requires build)
 - tzdata-0.2.20230322.0 (first run)
Starting     tasty-th-0.1.7 (all, legacy fallback)
Building     tasty-th-0.1.7 (all, legacy fallback)
Installing   tasty-th-0.1.7 (all, legacy fallback)
Completed    tasty-th-0.1.7 (all, legacy fallback)
Configuring tzdata-0.2.20230322.0...
Preprocessing library for tzdata-0.2.20230322.0..
Building library for tzdata-0.2.20230322.0..
[1 of 3] Compiling Data.Time.Zones.DB ( Data/Time/Zones/DB.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Data/Time/Zones/DB.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Data/Time/Zones/DB.dyn_o )

Data/Time/Zones/DB.hs:716:5: warning: [-Wunused-local-binds]
    Defined but not used: l
    |
716 |     l name target = Left (BS.pack name, BS.pack target)
    |     ^
[2 of 3] Compiling Paths_tzdata     ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/autogen/Paths_tzdata.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Paths_tzdata.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Paths_tzdata.dyn_o )
[3 of 3] Compiling Data.Time.Zones.Files ( Data/Time/Zones/Files.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Data/Time/Zones/Files.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/Data/Time/Zones/Files.dyn_o )
Preprocessing test suite 'test-db' for tzdata-0.2.20230322.0..
Building test suite 'test-db' for tzdata-0.2.20230322.0..
[1 of 1] Compiling Main             ( tests/testDB.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/test-db/test-db-tmp/Main.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/test-db/test-db-tmp/Main.dyn_o )

tests/testDB.hs:18:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe BL.ByteString not matched: Nothing
   |
18 |   let Just budByName = tzDataByName "Europe/Budapest"
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/testDB.hs:26:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type Maybe BL.ByteString not matched: Nothing
   |
26 |   let Just etcByName = tzDataByName "Etc/GMT+1"
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/testDB.hs:54:3: warning: [-Wdeprecations]
    In the use of assert
    (imported from Test.Tasty.HUnit, but defined in tasty-hunit-0.10.0.3-7017ff4979c9702690b8e8e40c9d7322f50ebe4c00635c22f9b663d8721572dd:Test.Tasty.HUnit.Orig):
    Deprecated: "This class or type seems dubious. If you have a good use case for it, please create an issue for tasty. Otherwise, it may be removed in a future version."
   |
54 |   assert $ BL.length (tzDataByLabel Europe__Budapest) > 2000
   |   ^^^^^^
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/build/test-db/test-db ...
Running 1 test suites...
Test suite test-db: RUNNING...
Test suite test-db: FAIL
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/tzdata-0.2.20230322.0.test
Writing: tzdata-0.2.20230322.0-inplace/Data.Time.Zones.Files.hs.html
Writing: tzdata-0.2.20230322.0-inplace/Data.Time.Zones.DB.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/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/hpc/vanilla/html/test-db/hpc_index.html
0 of 1 test suites (0 of 1 test cases) passed.
Writing: tzdata-0.2.20230322.0-inplace/Data.Time.Zones.Files.hs.html
Writing: tzdata-0.2.20230322.0-inplace/Data.Time.Zones.DB.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/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/tzdata-0.2.20230322.0/noopt/hpc/vanilla/html/tzdata-0.2.20230322.0/hpc_index.html
Error: cabal: Tests failed for tzdata-0.2.20230322.0.