Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumping the project to ghc 9.6.4 + add static artifacts #835

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

make it build with 9.6

7b56cef
Select commit
Loading
Failed to load commit list.
Draft

Bumping the project to ghc 9.6.4 + add static artifacts #835

make it build with 9.6
7b56cef
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/eval:x86_64-linux.oci-images.marlowe-pipe failed Mar 4, 2024 in 19s

Evaluation failed

Checkout took 10s.
Evaluation took 17 min 42s.

Details

Evaluation error:

error:
       … while calling the 'getAttr' builtin

         at /builtin/derivation.nix:19:19: (source not available)

       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'image-marlowe-pipe.json'
         whose name attribute is located at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/pkgs/stdenv/generic/make-derivation.nix:294:7

       … while evaluating attribute 'buildCommand' of derivation 'image-marlowe-pipe.json'

         at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/pkgs/build-support/trivial-builders.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … from call site

         at /nix/store/gj4ahggrgxl94ck8vlyl40b1rdck7wq7-source/default.nix:442:20:

          441|       fromImageFlag = l.optionalString (fromImage != "") "--from-image ${fromImage}";
          442|       layerPaths = l.concatMapStringsSep " " (l: l + "/layers.json") (layers ++ [customizationLayer]);
             |                    ^
          443|       image = let

       … while calling 'concatMapStringsSep'

         at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/lib/strings.nix:112:5:

          111|     # List of input strings
          112|     list: concatStringsSep sep (map f list);
             |     ^
          113|

       … while calling anonymous lambda

         at /nix/store/gj4ahggrgxl94ck8vlyl40b1rdck7wq7-source/default.nix:442:47:

          441|       fromImageFlag = l.optionalString (fromImage != "") "--from-image ${fromImage}";
          442|       layerPaths = l.concatMapStringsSep " " (l: l + "/layers.json") (layers ++ [customizationLayer]);
             |                                               ^
          443|       image = let

       … while evaluating derivation 'layers.json'
         whose name attribute is located at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/pkgs/stdenv/generic/make-derivation.nix:294:7

       … while evaluating attribute 'buildCommand' of derivation 'layers.json'

         at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/pkgs/build-support/trivial-builders.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … while evaluating derivation 'closure-graph.json'
         whose name attribute is located at /nix/store/h8i9947gh8lmpm9chjk585a24v9194nx-source/pkgs/stdenv/generic/make-derivation.nix:294:7

       … while evaluating attribute 'exportReferencesGraph' of derivation 'closure-graph.json'

         at /nix/store/gj4ahggrgxl94ck8vlyl40b1rdck7wq7-source/default.nix:330:7:

          329|     {
          330|       exportReferencesGraph.graph = paths;
             |       ^
          331|       __structuredAttrs = true;

       … while calling anonymous lambda

         at /nix/store/9c3nsa1y57qmsrjsa1k43vgcvj7nqpc0-source/src/_internal/mergeAt.nix:47:12:

           46|       zipAttrsWith (
           47|         n: values: let
             |            ^
           48|           cursor' = attrPath ++ [n];

       … from call site

         at /nix/store/9c3nsa1y57qmsrjsa1k43vgcvj7nqpc0-source/src/_internal/mergeAt.nix:66:30:

           65|         in
           66|           if (isSingleton && isFunction singleton)
             |                              ^
           67|           then tryArrayMerge cursor' [] rhs' rhsFilePos lhsFilePos # empty lhs

       … while calling 'isFunction'

         at /nix/store/yf26s7734ql7q05zlq6nq4y5q3rjyhj7-source/lib/trivial.nix:448:16:

          447|   */
          448|   isFunction = f: builtins.isFunction f ||
             |                ^
          449|     (f ? __functor && isFunction (f.__functor f));

       … from call site

         at /nix/store/yf26s7734ql7q05zlq6nq4y5q3rjyhj7-source/pkgs/stdenv/generic/make-derivation.nix:303:9:

          302|         in
          303|         lib.strings.sanitizeDerivationName (
             |         ^
          304|           if attrs ? name

       … while calling anonymous lambda

         at /nix/store/yf26s7734ql7q05zlq6nq4y5q3rjyhj7-source/lib/strings.nix:1015:3:

         1014|   in
         1015|   string:
             |   ^
         1016|   # First detect the common case of already valid strings, to speed those up

       … while calling 'iteration'

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/lib/utils.nix:105:37:

          104|       let
          105|         iteration = cutoff: system: fragment:
             |                                     ^
          106|           if ! (l.isAttrs fragment) || cutoff == 0 then

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/lib/utils.nix:111:18:

          110|             if l.hasAttr "${system}" fragment then
          111|               if l.isFunction fragment.${system} then
             |                  ^
          112|                 recursed // { __functor = _: fragment.${system}; }

       … while calling 'isFunction'

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/trivial.nix:448:16:

          447|   */
          448|   isFunction = f: builtins.isFunction f ||
             |                ^
          449|     (f ? __functor && isFunction (f.__functor f));

       … while calling anonymous lambda

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:816:24:

          815|     let f = attrPath:
          816|       zipAttrsWith (n: values:
             |                        ^
          817|         let here = attrPath ++ [n]; in

       … while calling anonymous lambda

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:816:24:

          815|     let f = attrPath:
          816|       zipAttrsWith (n: values:
             |                        ^
          817|         let here = attrPath ++ [n]; in

       … while calling anonymous lambda

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:816:24:

          815|     let f = attrPath:
          816|       zipAttrsWith (n: values:
             |                        ^
          817|         let here = attrPath ++ [n]; in

       … from call site

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:819:12:

          818|         if length values == 1
          819|         || pred here (elemAt values 1) (head values) then
             |            ^
          820|           head values

       … while calling anonymous lambda

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:853:38:

          852|     rhs:
          853|     recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs;
             |                                      ^
          854|

       … while calling anonymous lambda

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:816:24:

          815|     let f = attrPath:
          816|       zipAttrsWith (n: values:
             |                        ^
          817|         let here = attrPath ++ [n]; in

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:68:20:

           67|         checks = makeAliasesForGroupIfNoDuplicates flake.checks;
           68|         packages = makeAliasesForGroupIfNoDuplicates flake.packages;
             |                    ^
           69|       };

       … while calling 'makeAliasesForGroupIfNoDuplicates'

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:50:43:

           49|
           50|       makeAliasesForGroupIfNoDuplicates = group:
             |                                           ^
           51|         let duplicates = findDuplicateComps group; in

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:51:26:

           50|       makeAliasesForGroupIfNoDuplicates = group:
           51|         let duplicates = findDuplicateComps group; in
             |                          ^
           52|         if lib.length duplicates == 0 then

       … while calling 'findDuplicateComps'

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:46:28:

           45|
           46|       findDuplicateComps = group:
             |                            ^
           47|         let names = lib.attrNames (makeAliasesForGroup group);

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:48:12:

           47|         let names = lib.attrNames (makeAliasesForGroup group);
           48|         in utils.findDuplicates names;
             |            ^
           49|

       … while calling 'findDuplicates'

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/lib/utils.nix:124:22:

          123|
          124|     findDuplicates = list:
             |                      ^
          125|       map l.head (

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/lib/utils.nix:127:11:

          126|         l.attrValues (
          127|           l.filterAttrs
             |           ^
          128|             (k: v: l.length v > 1)

       … while calling 'filterAttrs'

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:309:5:

          308|     # The attribute set to filter
          309|     set:
             |     ^
          310|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:47:36:

           46|       findDuplicateComps = group:
           47|         let names = lib.attrNames (makeAliasesForGroup group);
             |                                    ^
           48|         in utils.findDuplicates names;

       … while calling 'makeAliasesForGroup'

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:33:29:

           32|     let
           33|       makeAliasesForGroup = group:
             |                             ^
           34|         let

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:42:9:

           41|         in
           42|         lib.mapAttrs' mkPair runnables;
             |         ^
           43|

       … while calling 'mapAttrs''

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:522:5:

          521|     # Attribute set to map over.
          522|     set:
             |     ^
          523|     listToAttrs (map (attr: f attr set.${attr}) (attrNames set));

       … from call site

         at /nix/store/sbmf427rawgn5nnmd00a44cxddvrzzys-source/src/core/mkHaskellProject.nix:40:23:

           39|           isRunnable = name: isExe name || isTest name || isBench name;
           40|           runnables = lib.filterAttrs (name: _: isRunnable name) group;
             |                       ^
           41|         in

       … while calling 'filterAttrs'

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:309:5:

          308|     # The attribute set to filter
          309|     set:
             |     ^
          310|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));

       … from call site

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/lib/default.nix:508:22:

          507|         , haskellPackages ? selectPackages project.hsPkgs
          508|         , packages ? mkFlakePackages haskellPackages
             |                      ^
          509|         , apps ? mkFlakeApps haskellPackages

       … while calling 'foldrAttrVals'

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/lib/default.nix:37:25:

           36|
           37|   foldrAttrVals = f: z: attrs:
             |                         ^
           38|     lib.foldr f z (builtins.attrValues attrs);

       … from call site

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/lib/default.nix:38:5:

           37|   foldrAttrVals = f: z: attrs:
           38|     lib.foldr f z (builtins.attrValues attrs);
             |     ^
           39|

       … while calling 'foldr'

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/lists.nix:53:20:

           52|   */
           53|   foldr = op: nul: list:
             |                    ^
           54|     let

       … from call site

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/lists.nix:60:8:

           59|         else op (elemAt list n) (fold' (n + 1));
           60|     in fold' 0;
             |        ^
           61|

       … while calling 'fold''

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/lists.nix:56:15:

           55|       len = length list;
           56|       fold' = n:
             |               ^
           57|         if n == len

       … from call site

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/lib/default.nix:507:29:

          506|           selectPackages ? haskellLib.selectProjectPackages
          507|         , haskellPackages ? selectPackages project.hsPkgs
             |                             ^
          508|         , packages ? mkFlakePackages haskellPackages

       … while calling 'filterAttrs'

         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:309:5:

          308|     # The attribute set to filter
          309|     set:
             |     ^
          310|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));

       … from call site

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/overlays/haskell.nix:658:27:

          657|               callProjectResults = callCabalProjectToNix config;
          658|               plan-pkgs = importAndFilterProject {
             |                           ^
          659|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

         at /nix/store/pwg6v991h09awixz03c019wb1g68ykqq-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       error: builder for '/nix/store/f2l1xs5k92azw36pyrfms5lrv412qiwp-marlowe-cardano-plan-to-nix-pkgs.drv' failed with exit code 1;
       last 10 log lines:
       > multiplate==0.0.3)
       > [__5] skipping: multiplate-0.0.1.1, multiplate-0.0.1, multiplate-0.0 (has the
       > same characteristics that caused the previous version to fail: excluded by
       > constraint '==0.0.3' from 'marlowe-cardano')
       > [__5] fail (backjumping, conflict set: ghc, marlowe-cardano, multiplate)
       > After searching the rest of the dependency tree exhaustively, these were the
       > goals I've had most trouble fulfilling: ghc, plutus-ledger-api, PyF,
       > cardano-api, marlowe-cardano, multiplate
       > Try running with --minimize-conflict-set to improve the error message.
       > )
       For full logs, run 'nix log /nix/store/f2l1xs5k92azw36pyrfms5lrv412qiwp-marlowe-cardano-plan-to-nix-pkgs.drv'.