Add test for embedFile from the file-embed package #2191
+104
−0
zw3rk Hydra / ci/hydra-build:x86_64-linux.unstable.ghc9101.ucrt64.tests.embed-file.check
failed
Nov 12, 2024 in 0s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/s114hx5fwcphlwh458pz8dy8vrxcvkfx-embed-file-exe-embed-file-x86_64-w64-mingw32-0.1.0.0.drv
Log
Running phase: unpackPhase
unpacking source archive /nix/store/h0b2r1gyi70i6vpg2hi2bc67vc59jhls-source-test-embed-file-exe-embed-file-root
source root is source-test-embed-file-exe-embed-file-root
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/7fjjsrfxpx2gwmg8c44qfm6wwizp0wsj-embed-file-exe-embed-file-x86_64-w64-mingw32-0.1.0.0 exe:embed-file --package-db=clear --package-db=/build/tmp.uZPOzSDUMB/lib/package.conf.d --exact-configuration --dependency=file-embed=file-embed-0.0.16.0-H8SWOVMMiHw4FN2qmQ3BQN --dependency=Win32=Win32-2.14.0.0-inplace --dependency=array=array-0.5.7.0-inplace --dependency=base=base-4.20.0.0-inplace --dependency=binary=binary-0.8.9.2-inplace --dependency=bytestring=bytestring-0.12.1.0-inplace --dependency=containers=containers-0.7-inplace --dependency=deepseq=deepseq-1.5.0.0-inplace --dependency=directory=directory-1.3.8.3-inplace --dependency=exceptions=exceptions-0.10.7-inplace --dependency=filepath=filepath-1.5.2.0-inplace --dependency=ghc-bignum=ghc-bignum-1.3-inplace --dependency=ghc-boot-th=ghc-boot-th-9.10.1-inplace --dependency=ghc-internal=ghc-internal-9.1001.0-inplace --dependency=ghc-prim=ghc-prim-0.11.0-inplace --dependency=integer-gmp=integer-gmp-1.1-inplace --dependency=mtl=mtl-2.3.1-inplace --dependency=os-string=os-string-2.0.2-inplace --dependency=pretty=pretty-1.1.3.6-inplace --dependency=rts=rts-1.0.2 --dependency=stm=stm-2.5.3.1-inplace --dependency=system-cxx-std-lib=system-cxx-std-lib-1.0 --dependency=template-haskell=template-haskell-2.22.0.0-inplace --dependency=text=text-2.1.1-inplace --dependency=time=time-1.12.2-inplace --dependency=transformers=transformers-0.6.1.1-inplace --with-ghc=x86_64-w64-mingw32-ghc --with-ghc-pkg=x86_64-w64-mingw32-ghc-pkg --with-hsc2hs=x86_64-w64-mingw32-hsc2hs --with-gcc=x86_64-w64-mingw32-cc --with-ar=x86_64-w64-mingw32-ar --with-strip=x86_64-w64-mingw32-strip --with-ld=x86_64-w64-mingw32-ld --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --disable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/6dl0w0pkj8h46jl65x262py8n7ak7syf-embed-file-exe-embed-file-x86_64-w64-mingw32-0.1.0.0-data/share/x86_64-w64-mingw32-ghc-9.10.1 --hsc2hs-option=--cross-compile --hsc2hs-option=--via-asm --disable-split-sections
Configuring executable 'embed-file' for embed-file-0.1.0.0..
Running phase: buildPhase
Preprocessing executable 'embed-file' for embed-file-0.1.0.0..
Building executable 'embed-file' for embed-file-0.1.0.0..
[1 of 1] Compiling Main ( app/Main.hs, dist/build/embed-file/embed-file-tmp/Main.o )
---> Starting iserv-proxy-interpreter.exe on port 9483
To re-use the same wine-prefix and remote-iserv, set the following environment variables:
export WINEPREFIX=/build/tmp.ydZITCC7p2
export REMOTE_ISERV=/build/tmp.y843a2HCMr
---| iserv-proxy-interpreter.exe should have started on 9483
004c:err:systray:initialize_systray Could not create tray window
0090:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/build" has been updated.
Listening on port 9483
app/Main.hs:12:14: error: [8;;https://errors.haskell.org/messages/GHC-87897GHC-878978;;]
• Exception when trying to run compile-time code:
Z:\build\source-test-embed-file-exe-embed-file-root\test\embed-file\app/test.txt: hGetBuf: invalid argument (Bad file descriptor)
Code: (makeRelativeToProject "app/test.txt" >>= embedFile)
• In the untyped splice:
$(makeRelativeToProject "app/test.txt" >>= embedFile)
|
12 | let test = $(makeRelativeToProject "app/test.txt" >>= embedFile)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
---> killing iserv-proxy-interpreter.exe...
Loading