ede
ede copied to clipboard
Test failures
Trying to install/use this on NixOS and getting three test failures (full log shown but errors are near the bottom):
NIXPKGS_ALLOW_BROKEN=1 nix-shell -p 'haskellPackages.ede'
this derivation will be built:
/nix/store/5dzjwj06vhvgp8a8rradzbbdmv1snlb7-ede-0.3.3.0.drv
building '/nix/store/5dzjwj06vhvgp8a8rradzbbdmv1snlb7-ede-0.3.3.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8.
unpacking sources
unpacking source archive /nix/store/c2vbazkpgs9ygrl49g1m9qjj8fkmlxgc-ede-0.3.3.0.tar.gz
source root is ede-0.3.3.0
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file ede-0.3.3.0/test/resources/whitespace.golden
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/tmp.RFygzCtln3/setup-package.conf.d -j4 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.RFygzCtln3/Main.o )
Linking Setup ...
updateAutotoolsGnuConfigScriptsPhase
configuring
configureFlags: --verbose --prefix=/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --datadir=/nix/store/lbq13b4iqmlvf3y0sschjhldganlaj3c-ede-0.3.3.0-data/share/ghc-9.2.8 --docdir=/nix/store/9fi7hx32305wdfsrp5ab1zcm0gdwl0sq-ede-0.3.3.0-doc/share/doc/ede-0.3.3.0 --with-gcc=gcc --package-db=/build/tmp.RFygzCtln3/package.conf.d --ghc-options=-j4 +RTS -A64M -RTS --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --ghc-options=-haddock --extra-lib-dirs=/nix/store/854f0nmfw60xm0i92y32ixhx0q90lxrw-ncurses-6.4/lib --extra-lib-dirs=/nix/store/a7vg9xr4ydv2lrwq6l7j7lvlssnnpg7x-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/dhdvxikql0ks6dlpqd5q90ya1zh0fq4z-gmp-with-cxx-6.2.1/lib
Using Parsec parser
Configuring ede-0.3.3.0...
Dependency aeson >=1.4: using aeson-2.0.3.0
Dependency base >=4.13 && <5: using base-4.16.4.0
Dependency bytestring >=0.10.4: using bytestring-0.11.4.0
Dependency comonad >=4.2: using comonad-5.0.8
Dependency directory >=1.2: using directory-1.3.6.2
Dependency filepath >=1.2: using filepath-1.4.2.2
Dependency free >=4.8: using free-5.1.10
Dependency lens >=4.0: using lens-5.1.1
Dependency mtl >=2.1.3.1: using mtl-2.2.2
Dependency parsers >=0.12.1.1: using parsers-0.12.11
Dependency prettyprinter >=1.7: using prettyprinter-1.7.1
Dependency prettyprinter-ansi-terminal >=1.1: using
prettyprinter-ansi-terminal-1.1.3
Dependency scientific >=0.3.1: using scientific-0.3.7.0
Dependency text >=1.2: using text-1.2.5.0
Dependency text-manipulate >=0.1.2: using text-manipulate-0.3.1.0
Dependency trifecta >=2.1: using trifecta-2.1.2
Dependency unordered-containers >=0.2.3: using unordered-containers-0.2.19.1
Dependency vector >=0.7.1: using vector-0.12.3.1
Dependency aeson >=1.4: using aeson-2.0.3.0
Dependency attoparsec >=0.13: using attoparsec-0.14.4
Dependency base >=4.13 && <5: using base-4.16.4.0
Dependency bytestring >=0.10.4: using bytestring-0.11.4.0
Dependency ede: using ede-0.3.3.0
Dependency optparse-applicative >=0.11: using optparse-applicative-0.17.0.0
Dependency prettyprinter >=1.7: using prettyprinter-1.7.1
Dependency prettyprinter-ansi-terminal >=1.1: using
prettyprinter-ansi-terminal-1.1.3
Dependency text >=1.2: using text-1.2.5.0
Dependency unordered-containers >=0.2.3: using unordered-containers-0.2.19.1
Dependency aeson: using aeson-2.0.3.0
Dependency base >=4.13 && <5: using base-4.16.4.0
Dependency bifunctors: using bifunctors-5.5.15
Dependency bytestring: using bytestring-0.11.4.0
Dependency directory: using directory-1.3.6.2
Dependency ede: using ede-0.3.3.0
Dependency filepath: using filepath-1.4.2.2
Dependency tasty: using tasty-1.4.3
Dependency tasty-golden: using tasty-golden-2.3.5
Dependency text: using text-1.2.5.0
Source component graph:
component lib
component exe:ede dependency lib
component test:tests dependency lib
Configured component graph:
component ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include base-4.16.4.0
include bytestring-0.11.4.0
include comonad-5.0.8-CgOHx2gbKtD3oNqLVVtWsJ
include directory-1.3.6.2
include filepath-1.4.2.2
include free-5.1.10-BPencYBgApQBaVShZpMHso
include lens-5.1.1-Lx9Bopgq7ZC5whILGnd8uw
include mtl-2.2.2
include parsers-0.12.11-HkUKrrvEEc0FYcGXywpQFc
include prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
include prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
include scientific-0.3.7.0-HMtllvLDX3sDUfdSDrZEWW
include text-1.2.5.0
include text-manipulate-0.3.1.0-3gsPugu5XCS6k9GYk37Qfb
include trifecta-2.1.2-3wwAPt2g3x83U6jy0pJVqj
include unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
include vector-0.12.3.1-5pojYDdjh4AEETlNEViSBp
component ede-0.3.3.0-JofX4n0wlce52L9sdAqIDY-ede
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include attoparsec-0.14.4-3GhgAXHJF7A7ustQPJvY2C
include base-4.16.4.0
include bytestring-0.11.4.0
include ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include optparse-applicative-0.17.0.0-71lNY5aXsCGJbY6IeIKkGV
include prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
include prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
include text-1.2.5.0
include unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
component ede-0.3.3.0-Ri5Ri61gT7FpHwyEAOMIH-tests
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include base-4.16.4.0
include bifunctors-5.5.15-8wETbZsdxyP7sV11bf8Ys0
include bytestring-0.11.4.0
include directory-1.3.6.2
include ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include filepath-1.4.2.2
include tasty-1.4.3-I7UTXXBNQmpBuxsD7iBDf
include tasty-golden-2.3.5-Bue71sJFNuoAj982QDuH7p
include text-1.2.5.0
Linked component graph:
unit ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include base-4.16.4.0
include bytestring-0.11.4.0
include comonad-5.0.8-CgOHx2gbKtD3oNqLVVtWsJ
include directory-1.3.6.2
include filepath-1.4.2.2
include free-5.1.10-BPencYBgApQBaVShZpMHso
include lens-5.1.1-Lx9Bopgq7ZC5whILGnd8uw
include mtl-2.2.2
include parsers-0.12.11-HkUKrrvEEc0FYcGXywpQFc
include prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
include prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
include scientific-0.3.7.0-HMtllvLDX3sDUfdSDrZEWW
include text-1.2.5.0
include text-manipulate-0.3.1.0-3gsPugu5XCS6k9GYk37Qfb
include trifecta-2.1.2-3wwAPt2g3x83U6jy0pJVqj
include unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
include vector-0.12.3.1-5pojYDdjh4AEETlNEViSBp
Text.EDE=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE,Text.EDE.Filters=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Filters,Text.EDE.Internal.AST=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.AST,Text.EDE.Internal.Compat=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Compat,Text.EDE.Internal.Eval=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Eval,Text.EDE.Internal.Filters=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Filters,Text.EDE.Internal.Parser=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Parser,Text.EDE.Internal.Quoting=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Quoting,Text.EDE.Internal.Syntax=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Syntax,Text.EDE.Internal.Types=ede-0.3.3.0-AhvD1snca056wTXE289Nz1:Text.EDE.Internal.Types
unit ede-0.3.3.0-JofX4n0wlce52L9sdAqIDY-ede
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include attoparsec-0.14.4-3GhgAXHJF7A7ustQPJvY2C
include base-4.16.4.0
include bytestring-0.11.4.0
include ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include optparse-applicative-0.17.0.0-71lNY5aXsCGJbY6IeIKkGV
include prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
include prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
include text-1.2.5.0
include unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
unit ede-0.3.3.0-Ri5Ri61gT7FpHwyEAOMIH-tests
include aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
include base-4.16.4.0
include bifunctors-5.5.15-8wETbZsdxyP7sV11bf8Ys0
include bytestring-0.11.4.0
include directory-1.3.6.2
include ede-0.3.3.0-AhvD1snca056wTXE289Nz1
include filepath-1.4.2.2
include tasty-1.4.3-I7UTXXBNQmpBuxsD7iBDf
include tasty-golden-2.3.5-Bue71sJFNuoAj982QDuH7p
include text-1.2.5.0
Ready component graph:
definite ede-0.3.3.0-AhvD1snca056wTXE289Nz1
depends aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
depends base-4.16.4.0
depends bytestring-0.11.4.0
depends comonad-5.0.8-CgOHx2gbKtD3oNqLVVtWsJ
depends directory-1.3.6.2
depends filepath-1.4.2.2
depends free-5.1.10-BPencYBgApQBaVShZpMHso
depends lens-5.1.1-Lx9Bopgq7ZC5whILGnd8uw
depends mtl-2.2.2
depends parsers-0.12.11-HkUKrrvEEc0FYcGXywpQFc
depends prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
depends prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
depends scientific-0.3.7.0-HMtllvLDX3sDUfdSDrZEWW
depends text-1.2.5.0
depends text-manipulate-0.3.1.0-3gsPugu5XCS6k9GYk37Qfb
depends trifecta-2.1.2-3wwAPt2g3x83U6jy0pJVqj
depends unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
depends vector-0.12.3.1-5pojYDdjh4AEETlNEViSBp
definite ede-0.3.3.0-JofX4n0wlce52L9sdAqIDY-ede
depends aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
depends attoparsec-0.14.4-3GhgAXHJF7A7ustQPJvY2C
depends base-4.16.4.0
depends bytestring-0.11.4.0
depends ede-0.3.3.0-AhvD1snca056wTXE289Nz1
depends optparse-applicative-0.17.0.0-71lNY5aXsCGJbY6IeIKkGV
depends prettyprinter-1.7.1-HrDU9aNhok13fjOTXkGJhy
depends prettyprinter-ansi-terminal-1.1.3-1U7H4UXYq03DP8SsQwHSrQ
depends text-1.2.5.0
depends unordered-containers-0.2.19.1-1xGMByKzOnx5XPZoHk1gqS
definite ede-0.3.3.0-Ri5Ri61gT7FpHwyEAOMIH-tests
depends aeson-2.0.3.0-3rvfBGKTJAzDJjcIevGmZ1
depends base-4.16.4.0
depends bifunctors-5.5.15-8wETbZsdxyP7sV11bf8Ys0
depends bytestring-0.11.4.0
depends directory-1.3.6.2
depends ede-0.3.3.0-AhvD1snca056wTXE289Nz1
depends filepath-1.4.2.2
depends tasty-1.4.3-I7UTXXBNQmpBuxsD7iBDf
depends tasty-golden-2.3.5-Bue71sJFNuoAj982QDuH7p
depends text-1.2.5.0
Using Cabal-3.6.3.0 compiled by ghc-9.2
Using compiler: ghc-9.2.8
Using install prefix: /nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0
Executables installed in:
/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0/bin
Libraries installed in:
/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0/lib/ghc-9.2.8/aarch64-linux-ghc-9.2.8/ede-0.3.3.0-AhvD1snca056wTXE289Nz1
Dynamic Libraries installed in:
/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0/lib/ghc-9.2.8/aarch64-linux-ghc-9.2.8
Private executables installed in:
/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0/libexec/aarch64-linux-ghc-9.2.8/ede-0.3.3.0
Data files installed in:
/nix/store/lbq13b4iqmlvf3y0sschjhldganlaj3c-ede-0.3.3.0-data/share/ghc-9.2.8/aarch64-linux-ghc-9.2.8/ede-0.3.3.0
Documentation installed in:
/nix/store/9fi7hx32305wdfsrp5ab1zcm0gdwl0sq-ede-0.3.3.0-doc/share/doc/ede-0.3.3.0
Configuration files installed in:
/nix/store/cgvia8n5h7rigj0z906s7b7sx5kpd7sw-ede-0.3.3.0/etc
No alex found
Using ar found on system at:
/nix/store/g9dgx34dg6aah8j41ficwksv9akg2rjm-binutils-2.40/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 12.2.0 given by user at:
/nix/store/cjp67pyjk691vgwzv6n05gb3kxbc38qv-gcc-wrapper-12.2.0/bin/gcc
Using ghc version 9.2.8 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/ghc
Using ghc-pkg version 9.2.8 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/ghc-pkg-9.2.8
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.26.0 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/haddock-ghc-9.2.8
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.68 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/hpc
Using hsc2hs version 0.68.8 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/k0zpp265iyazlrpjqps8c81dpk8g5y4i-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/42ifmhpxl36yz89y9cvs8x9s3mgzkw9j-binutils-wrapper-2.40/bin/ld.gold
No pkg-config found
Using runghc version 9.2.8 found on system at:
/nix/store/0li1q2ql4ydar1a6nm5kzhbz4jx4xz6y-ghc-9.2.8/bin/runghc-9.2.8
Using strip version 2.40 found on system at:
/nix/store/cjp67pyjk691vgwzv6n05gb3kxbc38qv-gcc-wrapper-12.2.0/bin/strip
Using tar found on system at:
/nix/store/7g23m0v4r5s00vcq4lk783dn3a72lxqn-gnutar-1.34/bin/tar
No uhc found
building
Preprocessing library for ede-0.3.3.0..
Building library for ede-0.3.3.0..
[ 1 of 11] Compiling Paths_ede ( dist/build/autogen/Paths_ede.hs, dist/build/Paths_ede.o, dist/build/Paths_ede.dyn_o )
[ 2 of 11] Compiling Text.EDE.Internal.Compat ( lib/Text/EDE/Internal/Compat.hs, dist/build/Text/EDE/Internal/Compat.o, dist/build/Text/EDE/Internal/Compat.dyn_o )
[ 3 of 11] Compiling Text.EDE.Internal.Types ( lib/Text/EDE/Internal/Types.hs, dist/build/Text/EDE/Internal/Types.o, dist/build/Text/EDE/Internal/Types.dyn_o )
[ 4 of 11] Compiling Text.EDE.Internal.Syntax ( lib/Text/EDE/Internal/Syntax.hs, dist/build/Text/EDE/Internal/Syntax.o, dist/build/Text/EDE/Internal/Syntax.dyn_o )
[ 5 of 11] Compiling Text.EDE.Internal.Quoting ( lib/Text/EDE/Internal/Quoting.hs, dist/build/Text/EDE/Internal/Quoting.o, dist/build/Text/EDE/Internal/Quoting.dyn_o )
[ 6 of 11] Compiling Text.EDE.Internal.Filters ( lib/Text/EDE/Internal/Filters.hs, dist/build/Text/EDE/Internal/Filters.o, dist/build/Text/EDE/Internal/Filters.dyn_o )
[ 7 of 11] Compiling Text.EDE.Filters ( lib/Text/EDE/Filters.hs, dist/build/Text/EDE/Filters.o, dist/build/Text/EDE/Filters.dyn_o )
[ 8 of 11] Compiling Text.EDE.Internal.Eval ( lib/Text/EDE/Internal/Eval.hs, dist/build/Text/EDE/Internal/Eval.o, dist/build/Text/EDE/Internal/Eval.dyn_o )
[ 9 of 11] Compiling Text.EDE.Internal.AST ( lib/Text/EDE/Internal/AST.hs, dist/build/Text/EDE/Internal/AST.o, dist/build/Text/EDE/Internal/AST.dyn_o )
[10 of 11] Compiling Text.EDE.Internal.Parser ( lib/Text/EDE/Internal/Parser.hs, dist/build/Text/EDE/Internal/Parser.o, dist/build/Text/EDE/Internal/Parser.dyn_o )
[11 of 11] Compiling Text.EDE ( lib/Text/EDE.hs, dist/build/Text/EDE.o, dist/build/Text/EDE.dyn_o )
Preprocessing executable 'ede' for ede-0.3.3.0..
Building executable 'ede' for ede-0.3.3.0..
[1 of 2] Compiling Main ( app/Main.hs, dist/build/ede/ede-tmp/Main.o )
[2 of 2] Compiling Paths_ede ( dist/build/ede/autogen/Paths_ede.hs, dist/build/ede/ede-tmp/Paths_ede.o )
Linking dist/build/ede/ede ...
Preprocessing test suite 'tests' for ede-0.3.3.0..
Building test suite 'tests' for ede-0.3.3.0..
<no location info>: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- bifunctors-5.5.15-8wETbZsdxyP7sV11bf8Ys0
[1 of 2] Compiling Paths_ede ( dist/build/tests/autogen/Paths_ede.hs, dist/build/tests/tests-tmp/Paths_ede.o )
[2 of 2] Compiling Main ( test/Main.hs, dist/build/tests/tests-tmp/Main.o )
<no location info>: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- bifunctors-5.5.15-8wETbZsdxyP7sV11bf8Ys0
Linking dist/build/tests/tests ...
buildPhase completed in 2 minutes 54 seconds
running tests
Running 1 test suites...
Test suite tests: RUNNING...
ED-E
/build/ede-0.3.3.0/test/resources/syntax.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/single-line.ede: OK (0.03s)
/build/ede-0.3.3.0/test/resources/literals.ede: OK
/build/ede-0.3.3.0/test/resources/defined.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/list-subdivision.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/list-sorting.ede: OK
/build/ede-0.3.3.0/test/resources/empty.ede: OK
/build/ede-0.3.3.0/test/resources/text-whitespace.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/relational-conditions.ede: OK (0.04s)
/build/ede-0.3.3.0/test/resources/text-casing.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/case.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/nesting.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/boolean-operands.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/whitespace.ede: FAIL
Test output was different from '/build/ede-0.3.3.0/test/resources/whitespace.golden'. Output of ["diff","-u","/build/ede-0.3.3.0/test/resources/whitespace.golden","/build/whitespace545-13.actual"]:
--- /build/ede-0.3.3.0/test/resources/whitespace.golden 2001-09-09 01:46:40.000000000 +0000
+++ /build/whitespace545-13.actual 2023-10-31 16:26:00.770092549 +0000
@@ -6,6 +6,8 @@
+
test
+
Use -p '/\/build\/ede-0.3.3.0\/test\/resources\/whitespace.ede/' to rerun this test only.
/build/ede-0.3.3.0/test/resources/text-indentation.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/list-transformation.ede: OK
/build/ede-0.3.3.0/test/resources/null.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/comments.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/variables.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/numbers.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/newlines.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/boolean-conditions.ede: OK (0.03s)
/build/ede-0.3.3.0/test/resources/looping.ede: OK (0.03s)
/build/ede-0.3.3.0/test/resources/raw.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/polymorphic-show.ede: FAIL (0.02s)
Test output was different from '/build/ede-0.3.3.0/test/resources/polymorphic-show.golden'. Output of ["diff","-u","/build/ede-0.3.3.0/test/resources/polymorphic-show.golden","/build/polymorphic-show545-24.actual"]:
--- /build/ede-0.3.3.0/test/resources/polymorphic-show.golden 2001-09-09 01:46:40.000000000 +0000
+++ /build/polymorphic-show545-24.actual 2023-10-31 16:26:00.962095564 +0000
@@ -4,4 +4,4 @@
1.0
["a","b","c","d","e"]
[1,2,3,4,5]
-{"foo":"x","bar":"y"}
+{"bar":"y","foo":"x"}
Use -p '/\/build\/ede-0.3.3.0\/test\/resources\/polymorphic-show.ede/' to rerun this test only.
/build/ede-0.3.3.0/test/resources/sequence-empty.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/text-ellipsis.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/text.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/binding.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/text-substitution.ede: OK (0.02s)
/build/ede-0.3.3.0/test/resources/sequence-length.ede: OK (0.01s)
/build/ede-0.3.3.0/test/resources/include.ede: FAIL
file /build/ede-0.3.3.0/./test/resources/include.child2 doesn't exist.
CallStack (from HasCallStack):
error, called at test/Main.hs:59:8 in main:Main
Use -p '/\/build\/ede-0.3.3.0\/test\/resources\/include.ede/' to rerun this test only.
3 out of 32 tests failed (0.58s)
Test suite tests: FAIL
Test suite logged to: dist/test/ede-0.3.3.0-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
error: builder for '/nix/store/5dzjwj06vhvgp8a8rradzbbdmv1snlb7-ede-0.3.3.0.drv' failed with exit code 1;
last 10 log lines:
> /build/ede-0.3.3.0/test/resources/include.ede: FAIL
> file /build/ede-0.3.3.0/./test/resources/include.child2 doesn't exist.
> CallStack (from HasCallStack):
> error, called at test/Main.hs:59:8 in main:Main
> Use -p '/\/build\/ede-0.3.3.0\/test\/resources\/include.ede/' to rerun this test only.
>
> 3 out of 32 tests failed (0.58s)
> Test suite tests: FAIL
> Test suite logged to: dist/test/ede-0.3.3.0-tests.log
> 0 of 1 test suites (0 of 1 test cases) passed.
For full logs, run 'nix log /nix/store/5dzjwj06vhvgp8a8rradzbbdmv1snlb7-ede-0.3.3.0.drv'.
(There is a workaround; on Nix you can mark that a Haskell package should skip its checks. And in fact, the project I was trying to build that uses ede, happens to reproduce the same output that's saved in git, plus my modifications only, unaffected by these failing cases. But I figure that the test failures should be brought to the maintainer's attention.)