Skip to content

vulkan-utils-0.5.10.6 doctests fail with GHC 9.10.3 #586

@sternenseemann

Description

@sternenseemann
Running phase: setupCompilerEnvironmentPhase
Build with /nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3.
Running phase: unpackPhase
unpacking source archive /nix/store/hmdmc8mg5x36zjbbbcxy4vsk0dqmwwcg-vulkan-utils-0.5.10.6.tar.gz
source root is vulkan-utils-0.5.10.6
setting SOURCE_DATE_EPOCH to timestamp 1697862421 of file "vulkan-utils-0.5.10.6/vulkan-utils.cabal"
Running phase: patchPhase
Running phase: compileBuildDriverPhase
setupCompileFlags: -package-db=/build/tmp.gciHzpWF2h/setup-package.conf.d -threaded
[1 of 2] Compiling Main             ( Setup.hs, /build/tmp.gciHzpWF2h/Main.o )
[2 of 2] Linking Setup
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
configureFlags: --verbose --prefix=/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/67s34xyvzsd83xr8h0s3drmq29swmpx9-vulkan-utils-0.5.10.6-doc/share/doc/vulkan-utils-0.5.10.6 --with-gcc=gcc --package-db=/build/tmp.gciHzpWF2h/package.conf.d --ghc-option=-j2 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/6zdgga8jx741p46wmx8xyibwz3x3fps6-ncurses-6.5/lib --extra-lib-dirs=/nix/store/i6a553gjc2i4r4p54qk5mdy3ybsiydwk-libffi-3.5.1/lib --extra-lib-dirs=/nix/store/hnzqas16kwcvaj2j5wb4izxdh692f9vn-elfutils-0.193/lib --extra-lib-dirs=/nix/store/12m0v9p2c5pshd8m201z8la0ijd95ri9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/z6bn6ri10cax3lnyc4hx628hgdvaxgf1-numactl-2.0.18/lib --extra-include-dirs=/nix/store/kqr3scfsa4gcizp8c5852x8dq1b2mbd6-vulkan-headers-1.4.321.0/include --extra-lib-dirs=/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/lib
Using Parsec parser
Configuring vulkan-utils-0.5.10.6...
Dependency base <5: using base-4.20.2.0
Dependency bytestring: using bytestring-0.12.2.0
Dependency containers: using containers-0.7
Dependency dependent-map: using dependent-map-0.4.0.0
Dependency dependent-sum: using dependent-sum-0.7.2.0
Dependency extra: using extra-1.8
Dependency file-embed: using file-embed-0.0.16.0
Dependency filepath: using filepath-1.5.4.0
Dependency resourcet >=1.2.4: using resourcet-1.3.0
Dependency template-haskell: using template-haskell-2.22.0.0
Dependency temporary: using temporary-1.3
Dependency text: using text-2.1.3
Dependency transformers: using transformers-0.6.1.1
Dependency typed-process: using typed-process-0.2.13.0
Dependency unordered-containers: using unordered-containers-0.2.20
Dependency vector: using vector-0.13.2.0
Dependency vulkan >=3.6.14 && <3.27: using vulkan-3.26.4
Dependency base: using base-4.20.2.0
Dependency doctest: using doctest-0.24.2
Dependency vulkan-utils: using vulkan-utils-0.5.10.6
Source component graph:
    component lib
    component test:doctests dependency lib
Configured component graph:
    component vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
        include base-4.20.2.0-3d9c
        include bytestring-0.12.2.0-ca87
        include containers-0.7-d730
        include dependent-map-0.4.0.0-DmmEqIlK37rFFped0GG8p4
        include dependent-sum-0.7.2.0-1JoiXgpD7WoLJT8Ya5gHbk
        include extra-1.8-FiLlusUsfxa8aqbdZLSPTr
        include file-embed-0.0.16.0-3RLAMKfFaieDpX61hN3e5v
        include filepath-1.5.4.0-983f
        include resourcet-1.3.0-DKxLezk2kuzE83TCmkHgux
        include template-haskell-2.22.0.0-ce90
        include temporary-1.3-5LNKyUKE0OH18JjW7O648l
        include text-2.1.3-6011
        include transformers-0.6.1.1-1645
        include typed-process-0.2.13.0-LMZPqxCwH0iDdJeGM5rviQ
        include unordered-containers-0.2.20-7EQeK6zePyKLZQy4Fldceh
        include vector-0.13.2.0-AKMag3rEerKGe9ngyo0N0d
        include vulkan-3.26.4-Kkz4E289q4rKFMvnaugbtS
    component vulkan-utils-0.5.10.6-6rcMUtiI9dCDnT2wAoA14v-doctests
        include base-4.20.2.0-3d9c
        include doctest-0.24.2-CV4iQp3s0GcII4yqyXxtkh
        include vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
Linked component graph:
    unit vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
        include base-4.20.2.0-3d9c
        include bytestring-0.12.2.0-ca87
        include containers-0.7-d730
        include dependent-map-0.4.0.0-DmmEqIlK37rFFped0GG8p4
        include dependent-sum-0.7.2.0-1JoiXgpD7WoLJT8Ya5gHbk
        include extra-1.8-FiLlusUsfxa8aqbdZLSPTr
        include file-embed-0.0.16.0-3RLAMKfFaieDpX61hN3e5v
        include filepath-1.5.4.0-983f
        include resourcet-1.3.0-DKxLezk2kuzE83TCmkHgux
        include template-haskell-2.22.0.0-ce90
        include temporary-1.3-5LNKyUKE0OH18JjW7O648l
        include text-2.1.3-6011
        include transformers-0.6.1.1-1645
        include typed-process-0.2.13.0-LMZPqxCwH0iDdJeGM5rviQ
        include unordered-containers-0.2.20-7EQeK6zePyKLZQy4Fldceh
        include vector-0.13.2.0-AKMag3rEerKGe9ngyo0N0d
        include vulkan-3.26.4-Kkz4E289q4rKFMvnaugbtS
        Vulkan.Utils.CommandCheck=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.CommandCheck,Vulkan.Utils.Debug=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.Debug,Vulkan.Utils.FromGL=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.FromGL,Vulkan.Utils.Initialization=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.Initialization,Vulkan.Utils.Misc=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.Misc,Vulkan.Utils.QueueAssignment=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.QueueAssignment,Vulkan.Utils.Requirements=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.Requirements,Vulkan.Utils.Requirements.TH=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.Requirements.TH,Vulkan.Utils.ShaderQQ.Backend.Glslang=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.Backend.Glslang,Vulkan.Utils.ShaderQQ.Backend.Shaderc=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.Backend.Shaderc,Vulkan.Utils.ShaderQQ.GLSL.Glslang=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.GLSL.Glslang,Vulkan.Utils.ShaderQQ.GLSL.Shaderc=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.GLSL.Shaderc,Vulkan.Utils.ShaderQQ.HLSL.Glslang=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.HLSL.Glslang,Vulkan.Utils.ShaderQQ.HLSL.Shaderc=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.HLSL.Shaderc,Vulkan.Utils.ShaderQQ.Interpolate=vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t:Vulkan.Utils.ShaderQQ.Interpolate
    unit vulkan-utils-0.5.10.6-6rcMUtiI9dCDnT2wAoA14v-doctests
        include base-4.20.2.0-3d9c
        include doctest-0.24.2-CV4iQp3s0GcII4yqyXxtkh
        include vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
Ready component graph:
    definite vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
        depends base-4.20.2.0-3d9c
        depends bytestring-0.12.2.0-ca87
        depends containers-0.7-d730
        depends dependent-map-0.4.0.0-DmmEqIlK37rFFped0GG8p4
        depends dependent-sum-0.7.2.0-1JoiXgpD7WoLJT8Ya5gHbk
        depends extra-1.8-FiLlusUsfxa8aqbdZLSPTr
        depends file-embed-0.0.16.0-3RLAMKfFaieDpX61hN3e5v
        depends filepath-1.5.4.0-983f
        depends resourcet-1.3.0-DKxLezk2kuzE83TCmkHgux
        depends template-haskell-2.22.0.0-ce90
        depends temporary-1.3-5LNKyUKE0OH18JjW7O648l
        depends text-2.1.3-6011
        depends transformers-0.6.1.1-1645
        depends typed-process-0.2.13.0-LMZPqxCwH0iDdJeGM5rviQ
        depends unordered-containers-0.2.20-7EQeK6zePyKLZQy4Fldceh
        depends vector-0.13.2.0-AKMag3rEerKGe9ngyo0N0d
        depends vulkan-3.26.4-Kkz4E289q4rKFMvnaugbtS
    definite vulkan-utils-0.5.10.6-6rcMUtiI9dCDnT2wAoA14v-doctests
        depends base-4.20.2.0-3d9c
        depends doctest-0.24.2-CV4iQp3s0GcII4yqyXxtkh
        depends vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
Using Cabal-3.12.1.0 compiled by ghc-9.10
Using compiler: ghc-9.10.3
Using install prefix:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6
Executables installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/bin
Libraries installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b543/vulkan-utils-0.5.10.6-Et1reQ6HsAFAObTXRmtC3t
Dynamic Libraries installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b543
Private executables installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/libexec/x86_64-linux-ghc-9.10.3-b543/vulkan-utils-0.5.10.6
Data files installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/share/x86_64-linux-ghc-9.10.3-b543/vulkan-utils-0.5.10.6
Documentation installed in:
/nix/store/67s34xyvzsd83xr8h0s3drmq29swmpx9-vulkan-utils-0.5.10.6-doc/share/doc/vulkan-utils-0.5.10.6
Configuration files installed in:
/nix/store/25s2wczsghnci297yk0k2638mi47md6r-vulkan-utils-0.5.10.6/etc
No alex found
Using ar found on system at:
/nix/store/l19cddv64i52rhcwahif8sgyrd3mhiqb-binutils-wrapper-2.44/bin/ar
No c2hs found
No cpphs found
Using doctest version 0.24.2 found on system at:
/nix/store/vb5ffl9pg8c7za1siy20qiz1kh6dy2nw-doctest-0.24.2/bin/doctest
Using gcc version 14.3.0 given by user at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/gcc
Using ghc version 9.10.3 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/ghc
Using ghc-pkg version 9.10.3 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/ghc-pkg-9.10.3
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.31.1 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/haddock-ghc-9.10.3
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.69 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/hpc-ghc-9.10.3
Using hsc2hs version 0.68.10 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3
Using hscolour version 1.25 found on system at:
/nix/store/3pizyv6m0li9kn8ifsjxryxwzjdhakn0-hscolour-1.25/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/ld
No pkg-config found
Using runghc version 9.10.3 found on system at:
/nix/store/ssc334pdwbnzg70k5sbhgy1z5s0zha9h-ghc-9.10.3/bin/runghc-9.10.3
Using strip version 2.44 found on system at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/strip
Using tar found on system at:
/nix/store/8av8pfs7bnyc6hqj764ns4z1fnr9bva1-gnutar-1.35/bin/tar
No uhc found
Running phase: buildPhase
Preprocessing library for vulkan-utils-0.5.10.6...
Building library for vulkan-utils-0.5.10.6...
[ 1 of 22] Compiling Vulkan.Utils.CommandCheck ( src/Vulkan/Utils/CommandCheck.hs, dist/build/Vulkan/Utils/CommandCheck.o, dist/build/Vulkan/Utils/CommandCheck.dyn_o )
[ 2 of 22] Compiling Vulkan.Utils.Debug ( src/Vulkan/Utils/Debug.hs, dist/build/Vulkan/Utils/Debug.o, dist/build/Vulkan/Utils/Debug.dyn_o )
[ 3 of 22] Compiling Vulkan.Utils.FromGL ( src/Vulkan/Utils/FromGL.hs, dist/build/Vulkan/Utils/FromGL.o, dist/build/Vulkan/Utils/FromGL.dyn_o )
[ 4 of 22] Compiling Vulkan.Utils.Internal ( src/Vulkan/Utils/Internal.hs, dist/build/Vulkan/Utils/Internal.o, dist/build/Vulkan/Utils/Internal.dyn_o )
[ 5 of 22] Compiling Vulkan.Utils.Misc ( src/Vulkan/Utils/Misc.hs, dist/build/Vulkan/Utils/Misc.o, dist/build/Vulkan/Utils/Misc.dyn_o )
[ 6 of 22] Compiling Vulkan.Utils.QueueAssignment ( src/Vulkan/Utils/QueueAssignment.hs, dist/build/Vulkan/Utils/QueueAssignment.o, dist/build/Vulkan/Utils/QueueAssignment.dyn_o )
[ 7 of 22] Compiling Vulkan.Utils.Requirements ( src/Vulkan/Utils/Requirements.hs, dist/build/Vulkan/Utils/Requirements.o, dist/build/Vulkan/Utils/Requirements.dyn_o )
[ 8 of 22] Compiling Vulkan.Utils.Initialization ( src/Vulkan/Utils/Initialization.hs, dist/build/Vulkan/Utils/Initialization.o, dist/build/Vulkan/Utils/Initialization.dyn_o )
[ 9 of 22] Compiling Vulkan.Utils.Requirements.TH ( src/Vulkan/Utils/Requirements/TH.hs, dist/build/Vulkan/Utils/Requirements/TH.o, dist/build/Vulkan/Utils/Requirements/TH.dyn_o )
[10 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Glslang ( src/Vulkan/Utils/ShaderQQ/Backend/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang.o, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang.dyn_o )
[11 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Internal.o, dist/build/Vulkan/Utils/ShaderQQ/Backend/Internal.dyn_o )
[12 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Shaderc ( src/Vulkan/Utils/ShaderQQ/Backend/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc.o, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc.dyn_o )
[13 of 22] Compiling Vulkan.Utils.ShaderQQ.Interpolate ( src/Vulkan/Utils/ShaderQQ/Interpolate.hs, dist/build/Vulkan/Utils/ShaderQQ/Interpolate.o, dist/build/Vulkan/Utils/ShaderQQ/Interpolate.dyn_o )
src/Vulkan/Utils/ShaderQQ/Interpolate.hs:11:1: warning: [GHC-66111] [-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()
   |
11 | import           Control.Applicative            ( liftA2 )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Vulkan/Utils/ShaderQQ/Interpolate.hs:151:28: warning: [GHC-63394] [-Wx-partial]
    In the use of ‘head’
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."
    |
151 | varOrConE n = (if isLower (head n) then varE else conE) . mkName $ n
    |                            ^^^^

[14 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL ( src/Vulkan/Utils/ShaderQQ/HLSL.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL.o, dist/build/Vulkan/Utils/ShaderQQ/HLSL.dyn_o )
[15 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL ( src/Vulkan/Utils/ShaderQQ/GLSL.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL.o, dist/build/Vulkan/Utils/ShaderQQ/GLSL.dyn_o )
[16 of 22] Compiling Vulkan.Utils.ShaderQQ.ShaderType ( src/Vulkan/Utils/ShaderQQ/ShaderType.hs, dist/build/Vulkan/Utils/ShaderQQ/ShaderType.o, dist/build/Vulkan/Utils/ShaderQQ/ShaderType.dyn_o )
[17 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Shaderc.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Shaderc/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc/Internal.o, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc/Internal.dyn_o )
[18 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL.Shaderc ( src/Vulkan/Utils/ShaderQQ/HLSL/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Shaderc.o, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Shaderc.dyn_o )
[19 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL.Shaderc ( src/Vulkan/Utils/ShaderQQ/GLSL/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Shaderc.o, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Shaderc.dyn_o )
[20 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Glslang.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Glslang/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang/Internal.o, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang/Internal.dyn_o )
[21 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL.Glslang ( src/Vulkan/Utils/ShaderQQ/HLSL/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Glslang.o, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Glslang.dyn_o )
[22 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL.Glslang ( src/Vulkan/Utils/ShaderQQ/GLSL/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Glslang.o, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Glslang.dyn_o )
[ 1 of 22] Compiling Vulkan.Utils.CommandCheck ( src/Vulkan/Utils/CommandCheck.hs, dist/build/Vulkan/Utils/CommandCheck.p_o )
[ 2 of 22] Compiling Vulkan.Utils.Debug ( src/Vulkan/Utils/Debug.hs, dist/build/Vulkan/Utils/Debug.p_o )
[ 3 of 22] Compiling Vulkan.Utils.FromGL ( src/Vulkan/Utils/FromGL.hs, dist/build/Vulkan/Utils/FromGL.p_o )
[ 4 of 22] Compiling Vulkan.Utils.Internal ( src/Vulkan/Utils/Internal.hs, dist/build/Vulkan/Utils/Internal.p_o )
[ 5 of 22] Compiling Vulkan.Utils.Misc ( src/Vulkan/Utils/Misc.hs, dist/build/Vulkan/Utils/Misc.p_o )
[ 6 of 22] Compiling Vulkan.Utils.QueueAssignment ( src/Vulkan/Utils/QueueAssignment.hs, dist/build/Vulkan/Utils/QueueAssignment.p_o )
[ 7 of 22] Compiling Vulkan.Utils.Requirements ( src/Vulkan/Utils/Requirements.hs, dist/build/Vulkan/Utils/Requirements.p_o )
[ 8 of 22] Compiling Vulkan.Utils.Initialization ( src/Vulkan/Utils/Initialization.hs, dist/build/Vulkan/Utils/Initialization.p_o )
[ 9 of 22] Compiling Vulkan.Utils.Requirements.TH ( src/Vulkan/Utils/Requirements/TH.hs, dist/build/Vulkan/Utils/Requirements/TH.p_o )
[10 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Glslang ( src/Vulkan/Utils/ShaderQQ/Backend/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang.p_o )
[11 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Internal.p_o )
[12 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Shaderc ( src/Vulkan/Utils/ShaderQQ/Backend/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc.p_o )
[13 of 22] Compiling Vulkan.Utils.ShaderQQ.Interpolate ( src/Vulkan/Utils/ShaderQQ/Interpolate.hs, dist/build/Vulkan/Utils/ShaderQQ/Interpolate.p_o )
src/Vulkan/Utils/ShaderQQ/Interpolate.hs:11:1: warning: [GHC-66111] [-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()
   |
11 | import           Control.Applicative            ( liftA2 )
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Vulkan/Utils/ShaderQQ/Interpolate.hs:151:28: warning: [GHC-63394] [-Wx-partial]
    In the use of ‘head’
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."
    |
151 | varOrConE n = (if isLower (head n) then varE else conE) . mkName $ n
    |                            ^^^^

[14 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL ( src/Vulkan/Utils/ShaderQQ/HLSL.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL.p_o )
[15 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL ( src/Vulkan/Utils/ShaderQQ/GLSL.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL.p_o )
[16 of 22] Compiling Vulkan.Utils.ShaderQQ.ShaderType ( src/Vulkan/Utils/ShaderQQ/ShaderType.hs, dist/build/Vulkan/Utils/ShaderQQ/ShaderType.p_o )
[17 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Shaderc.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Shaderc/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Shaderc/Internal.p_o )
[18 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL.Shaderc ( src/Vulkan/Utils/ShaderQQ/HLSL/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Shaderc.p_o )
[19 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL.Shaderc ( src/Vulkan/Utils/ShaderQQ/GLSL/Shaderc.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Shaderc.p_o )
[20 of 22] Compiling Vulkan.Utils.ShaderQQ.Backend.Glslang.Internal ( src/Vulkan/Utils/ShaderQQ/Backend/Glslang/Internal.hs, dist/build/Vulkan/Utils/ShaderQQ/Backend/Glslang/Internal.p_o )
[21 of 22] Compiling Vulkan.Utils.ShaderQQ.HLSL.Glslang ( src/Vulkan/Utils/ShaderQQ/HLSL/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/HLSL/Glslang.p_o )
[22 of 22] Compiling Vulkan.Utils.ShaderQQ.GLSL.Glslang ( src/Vulkan/Utils/ShaderQQ/GLSL/Glslang.hs, dist/build/Vulkan/Utils/ShaderQQ/GLSL/Glslang.p_o )
Preprocessing test suite 'doctests' for vulkan-utils-0.5.10.6...
Building test suite 'doctests' for vulkan-utils-0.5.10.6...
[1 of 2] Compiling Build_doctests   ( dist/build/doctests/autogen/Build_doctests.hs, dist/build/doctests/doctests-tmp/Build_doctests.o )
[2 of 2] Compiling Main             ( test/doctest/Doctests.hs, dist/build/doctests/doctests-tmp/Main.o )
[3 of 3] Linking dist/build/doctests/doctests
Running phase: checkPhase
Running 1 test suites...
Test suite doctests: RUNNING...
/build/vulkan-utils-0.5.10.6/src/Vulkan/Utils/ShaderQQ/Interpolate.hs:151:28: warning: [GHC-63394] [-Wx-partial]
    In the use of ‘head’
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."

/build/vulkan-utils-0.5.10.6/src/Vulkan/Utils/Requirements/TH.hs:92: failure in expression `let r = [req|Either.multiview|]'
expected: ...
              • Data.Either.Either doesn't seem to be the type of a record constructor
          ...
 but got: <interactive>:193:14: error: [GHC-39584]
              • GHC.Internal.Data.Either.Either doesn't seem to be the type of a record constructor
              • In the quasi-quotation: [req|Either.multiview|]
                ^
          

Examples: 72  Tried: 72  Errors: 0  Failures: 1
Test suite doctests: FAIL
Test suite logged to: dist/test/vulkan-utils-0.5.10.6-doctests.log
0 of 1 test suites (0 of 1 test cases) passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions