Change serialization of OneEraGenTxId
to treat it as though it's simply a ShortByteString
#1311
IOG Hydra / ci/eval
failed
Dec 12, 2024 in 0s
Evaluation failed
Details
Evaluation error:
hydra-eval-jobs returned exit code 1:
warning: ignoring --gc-roots-dir (just supported for compatibility)
still evaluating after 5s…
info: evaluation failed
warning: ignoring untrusted flake configuration setting 'allow-import-from-derivation'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
trace: WARNING: No sha256 found for source-repository-package https://github.com/input-output-hk/ouroboros-network ref=(unspecified) rev=bece46c328752ec2c75e5739cbfd04d0dc8d863a download may fail in restricted mode (hydra)
error:
… while calling anonymous lambda
at «string»:68:1:
67| };
68| flake: let
| ^
69| job = let
… from call site
at «string»:129:20:
128|
129| jobAttrPaths = lib.collectAttrPaths lib.isDerivation jobAttrs;
| ^
130| in
… while calling 'collectAttrPaths'
at «string»:20:33:
19|
20| collectAttrPaths = predicate: attrs: let
| ^
21| internal = path: attrs: let
… from call site
at «string»:53:5:
52| in
53| internal [] attrs;
| ^
54|
… while calling 'internal'
at «string»:21:22:
20| collectAttrPaths = predicate: attrs: let
21| internal = path: attrs: let
| ^
22| inherit
… from call site
at «string»:36:11:
35| then
36| flattenDepth 1 (
| ^
37| map
… while calling 'flattenDepth'
at «string»:6:25:
5|
6| flattenDepth = depth: x:
| ^
7| if builtins.isList x && (depth == null || depth >= 0)
… while calling 'flattenDepth'
at «string»:6:25:
5|
6| flattenDepth = depth: x:
| ^
7| if builtins.isList x && (depth == null || depth >= 0)
… while calling anonymous lambda
at «string»:39:15:
38| (
39| attrName:
| ^
40| internal
… from call site
at «string»:40:17:
39| attrName:
40| internal
| ^
41| (path ++ [attrName])
… while calling 'internal'
at «string»:21:22:
20| collectAttrPaths = predicate: attrs: let
21| internal = path: attrs: let
| ^
22| inherit
… from call site
at «string»:36:11:
35| then
36| flattenDepth 1 (
| ^
37| map
… while calling 'flattenDepth'
at «string»:6:25:
5|
6| flattenDepth = depth: x:
| ^
7| if builtins.isList x && (depth == null || depth >= 0)
… while calling 'flattenDepth'
at «string»:6:25:
5|
6| flattenDepth = depth: x:
| ^
7| if builtins.isList x && (depth == null || depth >= 0)
… while calling anonymous lambda
at «string»:39:15:
38| (
39| attrName:
| ^
40| internal
… from call site
at «string»:40:17:
39| attrName:
40| internal
| ^
41| (path ++ [attrName])
… while calling 'internal'
at «string»:21:22:
20| collectAttrPaths = predicate: attrs: let
21| internal = path: attrs: let
| ^
22| inherit
… while calling anonymous lambda
at «string»:25:12:
24| builtins.partition
25| (attrName: predicate attrs.${attrName})
| ^
26| (builtins.attrNames attrs)
… from call site
at «string»:25:22:
24| builtins.partition
25| (attrName: predicate attrs.${attrName})
| ^
26| (builtins.attrNames attrs)
… while calling 'isDerivation'
at «string»:4:18:
3| # copied from nixpkgs
4| isDerivation = value: value.type or null == "derivation";
| ^
5|
… from call site
at /nix/store/kxrbbchxyf7lw39kanmh0h461kabfmr2-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/kxrbbchxyf7lw39kanmh0h461kabfmr2-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… from call site
at /nix/store/kxrbbchxyf7lw39kanmh0h461kabfmr2-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… from call site
at /nix/store/kxrbbchxyf7lw39kanmh0h461kabfmr2-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-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/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… while evaluating derivation 'haskell-project-plan-to-nix-pkgs'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'haskell-project-plan-to-nix-pkgs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… while evaluating derivation 'cabal.project'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'text' of derivation 'cabal.project'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:103:16:
102| ({
103| inherit text executable checkPhase allowSubstitutes preferLocalBuild;
| ^
104| passAsFile = [ "text" ]
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:236:9:
235| sourceRepoPackageResult.initialText +
236| pkgs.lib.strings.concatMapStrings (block:
| ^
237| if block ? sourceRepo
… while calling 'concatMapStrings'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:60:25:
59| */
60| concatMapStrings = f: list: concatStrings (map f list);
| ^
61|
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:236:44:
235| sourceRepoPackageResult.initialText +
236| pkgs.lib.strings.concatMapStrings (block:
| ^
237| if block ? sourceRepo
… while evaluating derivation 'source-repository-package'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'source-repository-package'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:209:56:
208| in __trace "WARNING: No sha256 found for source-repository-package ${repoData.url} ref=${repoData.ref or "(unspecified)"} rev=${repoData.rev or "(unspecified)"} download may fail in restricted mode (hydra)"
209| (__trace "Consider adding `--sha256: ${hashPath drv}` to the ${cabalProjectFileName} file or passing in a sha256map argument"
| ^
210| drv);
… while calling 'hashPath'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:184:14:
183|
184| hashPath = path:
| ^
185| builtins.readFile (pkgs.runCommand "hash-path" { preferLocalBuild = true; }
… while evaluating derivation 'hash-path'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'hash-path'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
error: fetchTree argument 'ref' is null while a string, Boolean or integer is expected
info: max RSS: 592461824 bytes / 565.02 MiB / 0.55 GiB
Loading