Skip to content

Add an initial JSON lexer & parser

06390c1
Select commit
Loading
Failed to load commit list.
Draft

Add initial jq example #63

Add an initial JSON lexer & parser
06390c1
Select commit
Loading
Failed to load commit list.
Garnix CI / package ghc9122_all [aarch64-darwin] failed Jan 29, 2026 in 5m 33s

package ghc9122_all [aarch64-darwin]

package ghc9122_all [aarch64-darwin] failed

Details

Last 100 lines of logs:

yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntMap.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Eq2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Eq2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntMap.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Show2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Show2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntMap.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Read2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Read2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> [2 of 4] Compiling Yaya.Containers.Pattern.IntSet ( src/Yaya/Containers/Pattern/IntSet.hs, dist/build/Yaya/Containers/Pattern/IntSet.p_o )
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Ord1’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Ord1’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Eq1’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Eq1’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘ghc-internal:GHC.Internal.Data.Traversable.C:Traversable’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘ghc-internal:GHC.Internal.Data.Traversable.C:Traversable’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Show1’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Show1’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Read1’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Read1’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/IntSet.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Yaya.Fold.C:Steppable’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Yaya.Fold.C:Steppable’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> [3 of 4] Compiling Yaya.Containers.Pattern.Map ( src/Yaya/Containers/Pattern/Map.hs, dist/build/Yaya/Containers/Pattern/Map.p_o )
yaya-containers-0.2.0.0> [4 of 4] Compiling Yaya.Containers.Pattern.Set ( src/Yaya/Containers/Pattern/Set.hs, dist/build/Yaya/Containers/Pattern/Set.p_o )
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/Set.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Ord2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Ord2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/Set.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Eq2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Eq2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/Set.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Read2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Read2’
yaya-containers-0.2.0.0> 
yaya-containers-0.2.0.0> src/Yaya/Containers/Pattern/Set.hs: error: [-Wall-missed-specialisations, Werror=all-missed-specialisations]
yaya-containers-0.2.0.0>     Could not specialise imported function ‘Data.Functor.Classes.C:Show2’
yaya-containers-0.2.0.0>     Probable fix: add INLINABLE pragma on ‘Data.Functor.Classes.C:Show2’
yaya-containers-0.2.0.0> 
yaya-native-0.0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase
yaya-native-0.0.1.0> Running phase: configurePhase
yaya-native-0.0.1.0> configureFlags: --verbose --prefix=/nix/store/r10x53an05n5ccrclczacwpbfh531jfd-yaya-native-0.0.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/48qa1hwmqsya65w8a9l7v8lvik5af9q2-yaya-native-0.0.1.0-doc/share/doc/yaya-native-0.0.1.0 --with-gcc=clang --package-db=/private/tmp/nix-build-yaya-native-0.0.1.0.drv-2/tmp.E1lG0hbqQP/package.conf.d --ghc-option=-j8 --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 …
yaya-native-0.0.1.0> Using Parsec parser
yaya-native-0.0.1.0> Configuring yaya-native-0.0.1.0...
yaya-native-0.0.1.0> Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.14.1.0 supports
yaya-native-0.0.1.0> 'ghc' version < 9.12):
yaya-native-0.0.1.0> /nix/store/nwa3graxpl8w4gag10ywh7fyb2j2n70x-ghc-9.12.2/bin/ghc is version
yaya-native-0.0.1.0> 9.12.2
yaya-native-0.0.1.0> Error: [Cabal-8010]
yaya-native-0.0.1.0> Encountered missing or private dependencies:
yaya-native-0.0.1.0>     template-haskell >=2.14.0 && <2.15 || >=2.15.0 && <2.16 || >=2.16.0 && <2.17 || >=2.17.0 && <2.18 || >=2.18.0 && <2.19 || >=2.19.0 && <2.20 || >=2.20.0 && <2.21 || >=2.21.0 && <2.22 || >=2.22.0 && <2.23
yaya-native-0.0.1.0> CallStack (from HasCallStack):
yaya-native-0.0.1.0>   dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1602:11 in Cabal-3.14.1.0-c7c6:Distribution.Simple.Configure
yaya-native-0.0.1.0> 
       last 25 log lines:
       > Running phase: setupCompilerEnvironmentPhase
       > Build with /nix/store/nwa3graxpl8w4gag10ywh7fyb2j2n70x-ghc-9.12.2.
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/nl07225iis0vz7rnr8rkwl3qm8rfyx1v-p9mg37fkjx64aby7dp8c3zd5c2ksagrd-source/./native
       > source root is native
       > Running phase: patchPhase
       > Running phase: compileBuildDriverPhase
       > setupCompileFlags: -package-db=/private/tmp/nix-build-yaya-native-0.0.1.0.drv-2/tmp.E1lG0hbqQP/setup-package.conf.d -threaded
       > [1 of 2] Compiling Main             ( Setup.hs, /private/tmp/nix-build-yaya-native-0.0.1.0.drv-2/tmp.E1lG0hbqQP/Main.o )
       > [2 of 2] Linking Setup
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > configureFlags: --verbose --prefix=/nix/store/r10x53an05n5ccrclczacwpbfh531jfd-yaya-native-0.0.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/48qa1hwmqsya65w8a9l7v8lvik5af9q2-yaya-native-0.0.1.0-doc/share/doc/yaya-native-0.0.1.0 --with-gcc=clang --package-db=/private/tmp/nix-build-yaya-native-0.0.1.0.drv-2/tmp.E1lG0hbqQP/package.conf.d --ghc-option=-j8 --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-be…
       > Using Parsec parser
       > Configuring yaya-native-0.0.1.0...
       > Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.14.1.0 supports
       > 'ghc' version < 9.12):
       > /nix/store/nwa3graxpl8w4gag10ywh7fyb2j2n70x-ghc-9.12.2/bin/ghc is version
       > 9.12.2
       > Error: [Cabal-8010]
       > Encountered missing or private dependencies:
       >     template-haskell >=2.14.0 && <2.15 || >=2.15.0 && <2.16 || >=2.16.0 && <2.17 || >=2.17.0 && <2.18 || >=2.18.0 && <2.19 || >=2.19.0 && <2.20 || >=2.20.0 && <2.21 || >=2.21.0 && <2.22 || >=2.22.0 && <2.23
       > CallStack (from HasCallStack):
       >   dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1602:11 in Cabal-3.14.1.0-c7c6:Distribution.Simple.Configure
       >
       For full logs, run 'nix log /nix/store/77k3f3mhkpkc29cwmw32pii7h4mx0a09-yaya-native-0.0.1.0.drv'.
error: builder for '/nix/store/77k3f3mhkpkc29cwmw32pii7h4mx0a09-yaya-native-0.0.1.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/rq8vii40qpl0s8lm1a25r789i93cmmi3-ghc-9.12.2-with-packages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g833nnwh5xl0wgfv079rxg026dydzwd2-all-packages.drv' failed to build