Skip to content

Constrain alfred-margaret to avoid GHC 9.6 build failure

74ec99b
Select commit
Loading
Failed to load commit list.
Open

Bump plutus Version to 1.63.0.0 #76

Constrain alfred-margaret to avoid GHC 9.6 build failure
74ec99b
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:aarch64-linux.devShells-default failed May 19, 2026 in 0s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/2q1pd5ii3i81an7qv85syzqb9n0xir0q-alfred-margaret-lib-alfred-margaret-2.1.1.0.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/1wkjckdc77lymgymzsh6wf7a0adjpdx8-alfred-margaret-2.1.1.0.tar.gz
source root is alfred-margaret-2.1.1.0
setting SOURCE_DATE_EPOCH to timestamp 1777025373 of file "alfred-margaret-2.1.1.0/src/Data/Text/AhoCorasick/Automaton.hs"
Running phase: patchPhase
'/build/.attr-0h9ydb7s8pfhl5kfs3rmmwnmpi49yyiw7jgr5dpw9rmvv8sy0f2b' -> 'alfred-margaret.cabal'
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/f02z36ra8rwwk49ifhy9i0fn3c6xqpr2-alfred-margaret-lib-alfred-margaret-2.1.1.0 lib:alfred-margaret --package-db=clear --package-db=/build/tmp.o1Q5ntEUVR/lib/ghc-9.6.6/lib/package.conf.d --flags=aeson --flags=-llvm --exact-configuration --dependency=aeson=aeson-2.2.4.1-485AH3ItgC4A8yK5Pwso0B --dependency=OneTuple=OneTuple-0.4.2.1-22371Of5RJVB8oMrt1t03P --dependency=QuickCheck=QuickCheck-2.18.0.0-1MBvqBjLUCD3VxL9YumKY8 --dependency=random=random-1.3.1-KPjDf9pRMpOKidXOsiBZFq --dependency=splitmix=splitmix-0.1.3.2-2XwzApZboGiCEyA2i1ZkYj --dependency=character-ps=character-ps-0.1-H07uOjD6SD1EfE7l9KfeMv --dependency=data-fix=data-fix-0.3.4-EfbZxDYoeJ0LDEpGydgYtc --dependency=hashable=hashable-1.5.1.0-4DSMFARPBCz6vEM7fQCtfE --dependency=os-string=os-string-2.0.10-LkWbuDfmkMe6rMnNFjUr0Q --dependency=dlist=dlist-1.0-4gU1uwZtlC12QPDWmtCZHA --dependency=indexed-traversable=indexed-traversable-0.1.4-8j5HZpShpE5BqFup9Ojenr --dependency=integer-conversion=integer-conversion-0.1.1-EohlGeYBl29FR3AqZCMGqy --dependency=primitive=primitive-0.9.1.0-E1xWGIz4UCzCm0xql5yb2P --dependency=integer-logarithms=integer-logarithms-1.0.5-AJZWE3yFm8p9xZHhtgjIbT --dependency=network-uri=network-uri-2.6.4.2-9LWZPJAPDrD6IXoAsv6oTH --dependency=th-compat=th-compat-0.1.7-14SzK2sS6UOEGgp8VnjWcf --dependency=scientific=scientific-0.3.8.1-FLxB3NkqvURISo2peVOVik --dependency=semialign=semialign-1.3.1.1-GfKsxtK68QiDhesLPcQIfZ --dependency=indexed-traversable-instances=indexed-traversable-instances-0.1.2.1-6p1ewlPDuFTHwn6ogio91W --dependency=tagged=tagged-0.8.10-9VJfLOM9ch68xR35ePL46j --dependency=unordered-containers=unordered-containers-0.2.21-GSOe4nb3yFxLoX7H2ykC1R --dependency=vector=vector-0.13.2.0-I2RjuNNvFzp8QLMTGGpioC --dependency=vector-stream=vector-stream-0.1.0.1-B3eeou3yuYd7g2aD4u5s22 --dependency=semigroupoids=semigroupoids-6.0.2-4yuZO6pua73Andxc6OgVGD --dependency=base-orphans=base-orphans-0.9.4-BSNZwT42QMO2xCn7rsuLfs --dependency=bifunctors=bifunctors-5.6.3-LRTirZUTyVN7vjPeFArPMc --dependency=assoc=assoc-1.1.1-pRyoYwA2ut8wRI3kAERXo --dependency=comonad=comonad-5.0.10-3zKZbmyyH1F2M67olSM1Ai --dependency=distributive=distributive-0.6.3-IbUj7hsOAKkGzafF9qe5lE --dependency=th-abstraction=th-abstraction-0.7.2.0-2uRWM9gRe1aHXy89S6nNdY --dependency=contravariant=contravariant-1.5.6-DrebhAx4XwC59wq9S42cYg --dependency=StateVar=StateVar-1.2.2-A6sCENWC9xLH02ziP9IDyb --dependency=transformers-compat=transformers-compat-0.8-D3eM4xTYdCK6iqed61M0HW --dependency=these=these-1.2.1-Cl4KMP8L4tAG00XZAR8FgI --dependency=strict=strict-0.5.1-4LFZSsoT0GB7zaeQoEBbm --dependency=text-iso8601=text-iso8601-0.1.1.1-CBrvsAnemD2BP25E3SvZbg --dependency=time-compat=time-compat-1.9.9-5UKEKyf5ZkQ5j4O1JvvFaM --dependency=text-short=text-short-0.1.6.1-6E1xDdx0whO2bLirbgxPpF --dependency=uuid-types=uuid-types-1.0.6.1-LiigH64ZiqXLT6fSVqsqrk --dependency=witherable=witherable-0.5-8UezXG5IszUB96hu3MCEEO --dependency=array=array-0.5.6.0 --dependency=base=base-4.18.2.1 --dependency=binary=binary-0.8.9.1 --dependency=bytestring=bytestring-0.11.5.3 --dependency=containers=containers-0.6.7 --dependency=deepseq=deepseq-1.4.8.1 --dependency=exceptions=exceptions-0.10.7 --dependency=filepath=filepath-1.4.300.1 --dependency=ghc-bignum=ghc-bignum-1.3 --dependency=ghc-boot-th=ghc-boot-th-9.6.6 --dependency=ghc-prim=ghc-prim-0.10.0 --dependency=integer-gmp=integer-gmp-1.1 --dependency=mtl=mtl-2.3.1 --dependency=parsec=parsec-3.1.16.1 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts-1.0.2 --dependency=stm=stm-2.5.1.0 --dependency=template-haskell=template-haskell-2.20.0.0 --dependency=text=text-2.0.2 --dependency=time=time-1.12.2 --dependency=transformers=transformers-0.6.1.0 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/6z4fliy6dkbnkkhgy7jnbks1za2adis1-alfred-margaret-lib-alfred-margaret-2.1.1.0-data/share/ghc-9.6.6 --enable-split-sections 
Configuring library for alfred-margaret-2.1.1.0...
Running phase: buildPhase
Preprocessing library for alfred-margaret-2.1.1.0...
Building library for alfred-margaret-2.1.1.0...
[ 1 of 14] Compiling Data.Primitive.Extended ( src/Data/Primitive/Extended.hs, dist/build/Data/Primitive/Extended.o, dist/build/Data/Primitive/Extended.dyn_o )
[ 2 of 14] Compiling Data.Text.CaseSensitivity ( src/Data/Text/CaseSensitivity.hs, dist/build/Data/Text/CaseSensitivity.o, dist/build/Data/Text/CaseSensitivity.dyn_o )
[ 3 of 14] Compiling Data.Text.Utf8.Unlower ( src/Data/Text/Utf8/Unlower.hs, dist/build/Data/Text/Utf8/Unlower.o, dist/build/Data/Text/Utf8/Unlower.dyn_o )
[ 4 of 14] Compiling Data.Text.Utf8   ( src/Data/Text/Utf8.hs, dist/build/Data/Text/Utf8.o, dist/build/Data/Text/Utf8.dyn_o )
[ 5 of 14] Compiling Data.Text.BoyerMooreCI.Automaton ( src/Data/Text/BoyerMooreCI/Automaton.hs, dist/build/Data/Text/BoyerMooreCI/Automaton.o, dist/build/Data/Text/BoyerMooreCI/Automaton.dyn_o )
[ 6 of 14] Compiling Data.Text.BoyerMooreCI.Searcher ( src/Data/Text/BoyerMooreCI/Searcher.hs, dist/build/Data/Text/BoyerMooreCI/Searcher.o, dist/build/Data/Text/BoyerMooreCI/Searcher.dyn_o )
[ 7 of 14] Compiling Data.Text.BoyerMooreCI.Replacer ( src/Data/Text/BoyerMooreCI/Replacer.hs, dist/build/Data/Text/BoyerMooreCI/Replacer.o, dist/build/Data/Text/BoyerMooreCI/Replacer.dyn_o )
[ 8 of 14] Compiling Data.Text.BoyerMoore.Automaton ( src/Data/Text/BoyerMoore/Automaton.hs, dist/build/Data/Text/BoyerMoore/Automaton.o, dist/build/Data/Text/BoyerMoore/Automaton.dyn_o )
[ 9 of 14] Compiling Data.Text.BoyerMoore.Searcher ( src/Data/Text/BoyerMoore/Searcher.hs, dist/build/Data/Text/BoyerMoore/Searcher.o, dist/build/Data/Text/BoyerMoore/Searcher.dyn_o )
[10 of 14] Compiling Data.Text.BoyerMoore.Replacer ( src/Data/Text/BoyerMoore/Replacer.hs, dist/build/Data/Text/BoyerMoore/Replacer.o, dist/build/Data/Text/BoyerMoore/Replacer.dyn_o )
[11 of 14] Compiling Data.Text.AhoCorasick.Automaton ( src/Data/Text/AhoCorasick/Automaton.hs, dist/build/Data/Text/AhoCorasick/Automaton.o, dist/build/Data/Text/AhoCorasick/Automaton.dyn_o )

src/Data/Text/AhoCorasick/Automaton.hs:292:5: error: [GHC-88464]
    Variable not in scope:
      foldl'
        :: ((Int, TransitionMap, ValuesMap v)
            -> (Text, v) -> (Int, TransitionMap, ValuesMap v))
           -> (a0, IntMap (IntMap a1), IntMap a2)
           -> [(Text, v)]
           -> (Int, TransitionMap, ValuesMap v)
    Suggested fixes:
      • Perhaps use one of these:
          ‘IntMap.foldl'’ (imported from Data.IntMap.Strict),
          ‘Vector.foldl'’ (imported from Data.Vector),
          ‘Text.foldl'’ (imported from Data.Text)
      • Perhaps you want to add ‘foldl'’ to the import list
        in the import of ‘Data.IntMap.Strict’
        (src/Data/Text/AhoCorasick/Automaton.hs:49:1-34).
    |
292 |     foldl' insertNeedle (1, initialTransitions, initialValues)
    |     ^^^^^^