$ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://github.com/sellout/require-package-imports?ref=renovate%2Flock-file-maintenance&rev=f41d19ceedea3b19a2ac65bcfe304722670d6f89#packages.x86_64-linux.ghc948_all --print-build-logs warning: ignoring untrusted flake configuration setting 'allow-import-from-derivation'. Pass '--accept-flake-config' to trust it warning: ignoring untrusted flake configuration setting 'extra-experimental-features'. 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 warning: ignoring untrusted flake configuration setting 'sandbox'. Pass '--accept-flake-config' to trust it warning: ignoring untrusted flake configuration setting 'use-registries'. Pass '--accept-flake-config' to trust it error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/15148d2ed10d1e620104d84ef8a293ea014bfbc23160af7aab857c9159852fc4.sqlite' is busy 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'  Building cabal2nix-require-package-imports [post-build-hook] Uploading to cachix cache "sellout": /nix/store/2apkzp2z1asii6yh0mlwg0947aikhpzn-cabal2nix-require-package-imports [post-build-hook] Nothing to push - all store paths are already on Cachix. [post-build-hook] Uploading to the NixCI cache: /nix/store/2apkzp2z1asii6yh0mlwg0947aikhpzn-cabal2nix-require-package-imports [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/2apkzp2z1asii6yh0mlwg0947aikhpzn-cabal2nix-require-package-imports' to 'https://cache.nix-ci.com'... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 0 paths... Progress: 1 of 2 built  Downloading cached perl from https://cache.nix-ci.com Downloading cached make-shell-wrapper-hook from https://cache.nix-ci.com Downloading cached binutils-wrapper from https://cache.nix-ci.com Downloading cached ncurses from https://cache.nix-ci.com Building builder.pl Downloading cached isl from https://cache.nix-ci.com Downloading cached mpfr from https://cache.nix-ci.com Downloading cached hscolour from https://cache.nix-ci.com Downloading cached remove-references-to from https://cache.nix-ci.com Progress: 0 of 15 built (1 building), 1 of 34 downloaded from cache (7 downloading) [builder.pl] Phase: patchPhase [builder.pl] Phase: updateAutotoolsGnuConfigScriptsPhase [builder.pl] Phase: configurePhase [builder.pl] no configure script, doing nothing [builder.pl] Phase: buildPhase [builder.pl] Phase: checkPhase [builder.pl] Phase: installPhase [builder.pl] no Makefile or custom installPhase, doing nothing [builder.pl] Phase: fixupPhase [builder.pl] shrinking RPATHs of ELF executables and libraries in /nix/store/j3sd8i89yxah78rs4rjm354ih2zikv8w-builder.pl [builder.pl] checking for references to /build/ in /nix/store/j3sd8i89yxah78rs4rjm354ih2zikv8w-builder.pl... [builder.pl] patching script interpreter paths in /nix/store/j3sd8i89yxah78rs4rjm354ih2zikv8w-builder.pl Progress: 0 of 14 built (1 building), 2 of 34 downloaded from cache (6 downloading) [post-build-hook] Uploading to cachix cache "sellout": /nix/store/j3sd8i89yxah78rs4rjm354ih2zikv8w-builder.pl [post-build-hook] Nothing to push - all store paths are already on Cachix. [post-build-hook] Uploading to the NixCI cache: /nix/store/j3sd8i89yxah78rs4rjm354ih2zikv8w-builder.pl [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 0 paths... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 0 paths... Progress: 1 of 15 built, 2 of 34 downloaded from cache (6 downloading) Progress: 1 of 14 built, 3 of 34 downloaded from cache (5 downloading) Progress: 1 of 14 built, 4 of 34 downloaded from cache (4 downloading) Progress: 1 of 14 built, 5 of 34 downloaded from cache (3 downloading) Progress: 1 of 14 built, 6 of 34 downloaded from cache (2 downloading) Progress: 1 of 14 built, 7 of 34 downloaded from cache (1 downloading) Downloading cached libmpc from https://cache.nix-ci.com Downloading cached readline from https://cache.nix-ci.com Progress: 1 of 12 built, 8 of 34 downloaded from cache (2 downloading) Downloading cached gcc from https://cache.nix-ci.com Progress: 1 of 12 built, 9 of 34 downloaded from cache (2 downloading) Downloading cached bash-interactive from https://cache.nix-ci.com Progress: 1 of 12 built, 10 of 34 downloaded from cache (2 downloading) Downloading cached ghc-9.4.8-doc from https://cache.nix-ci.com Progress: 1 of 12 built, 11 of 34 downloaded from cache (2 downloading) Progress: 1 of 11 built, 12 of 34 downloaded from cache (1 downloading) Downloading cached gcc-wrapper from https://cache.nix-ci.com Progress: 1 of 11 built, 13 of 34 downloaded from cache (1 downloading) Downloading cached stdenv-linux from https://cache.nix-ci.com Progress: 1 of 11 built, 14 of 34 downloaded from cache (1 downloading) Progress: 1 of 10 built, 15 of 34 downloaded from cache Downloading cached cabal-doctest-1.0.12-doc from https://cache.nix-ci.com Downloading cached code-page-0.2.1-doc from https://cache.nix-ci.com Downloading cached ghc from https://cache.nix-ci.com Downloading cached ghc-compat-plugin-0.1.0.1-doc from https://cache.nix-ci.com Downloading cached ghc-paths-0.1.0.12-doc from https://cache.nix-ci.com Downloading cached splitmix-0.1.3.1-doc from https://cache.nix-ci.com Downloading cached syb-0.7.2.4-doc from https://cache.nix-ci.com Progress: 1 of 9 built, 16 of 34 downloaded from cache (6 downloading) Progress: 1 of 9 built, 17 of 34 downloaded from cache (5 downloading) Progress: 1 of 9 built, 18 of 34 downloaded from cache (4 downloading) Progress: 1 of 9 built, 19 of 34 downloaded from cache (3 downloading) Progress: 1 of 9 built, 20 of 34 downloaded from cache (2 downloading) Downloading cached random-1.2.1.3-doc from https://cache.nix-ci.com Progress: 1 of 9 built, 21 of 34 downloaded from cache (2 downloading) Progress: 1 of 9 built, 22 of 34 downloaded from cache (1 downloading) Downloading cached temporary-1.3-doc from https://cache.nix-ci.com Progress: 1 of 9 built, 23 of 34 downloaded from cache (1 downloading) Downloading cached doctest-0.24.2-doc from https://cache.nix-ci.com Progress: 1 of 9 built, 24 of 34 downloaded from cache (1 downloading) Progress: 1 of 9 built, 25 of 34 downloaded from cache Downloading cached cabal-doctest from https://cache.nix-ci.com Downloading cached code-page from https://cache.nix-ci.com Downloading cached ghc-paths from https://cache.nix-ci.com Downloading cached splitmix from https://cache.nix-ci.com Downloading cached ghc-compat-plugin from https://cache.nix-ci.com Downloading cached syb from https://cache.nix-ci.com Progress: 1 of 8 built, 26 of 34 downloaded from cache (5 downloading) Progress: 1 of 7 built, 27 of 34 downloaded from cache (4 downloading) Progress: 1 of 6 built, 28 of 34 downloaded from cache (3 downloading) Downloading cached random from https://cache.nix-ci.com Progress: 1 of 6 built, 29 of 34 downloaded from cache (3 downloading) Progress: 1 of 6 built, 30 of 34 downloaded from cache (2 downloading) Progress: 1 of 6 built, 31 of 34 downloaded from cache (1 downloading) Progress: 1 of 6 built, 32 of 34 downloaded from cache Downloading cached temporary from https://cache.nix-ci.com Progress: 1 of 6 built, 33 of 34 downloaded from cache Downloading cached doctest from https://cache.nix-ci.com Progress: 1 of 6 built, 34 of 34 downloaded from cache Building require-package-imports [require-package-imports] Phase: setupCompilerEnvironmentPhase [require-package-imports] Build with /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8. [require-package-imports] Phase: unpackPhase [require-package-imports] unpacking source archive /nix/store/c7q22vyjnbid8x9nr7q0ank9b0yrnqp7-4nh7w47lfbsqxsdjidilxw6109xmwi7z-source/./core [require-package-imports] source root is core [require-package-imports] Phase: patchPhase [require-package-imports] Phase: compileBuildDriverPhase [require-package-imports] setupCompileFlags: -package-db=/build/tmp.JxVAMlX66L/setup-package.conf.d -threaded [require-package-imports] [1 of 2] Compiling Main ( Setup.hs, /build/tmp.JxVAMlX66L/Main.o ) [require-package-imports] [2 of 2] Linking Setup [require-package-imports] Phase: updateAutotoolsGnuConfigScriptsPhase [require-package-imports] Phase: configurePhase [require-package-imports] configureFlags: --verbose --prefix=/nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/sy81d1c52px5whzbrn8m1hdgyfxypj3q-require-package-imports-0.0.1.0-doc/share/doc/require-package-imports-0.0.1.0 --with-gcc=gcc --package-db=/build/tmp.JxVAMlX66L/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --ghc-options=-Werror --extra-lib-dirs=/nix/store/ffyzkisqs4vc4mg28bwwlyqjf8i9ph6b-ncurses-6.5/lib --extra-lib-dirs=/nix/store/n28qgdj8c1q41kf7n4y1jxa6ckp85m3c-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hi0ar880110k6jsmmili7dh1gq3cg2a9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/g09cflpnp4g80q56sj9dng1qzv4v4ybc-numactl-2.0.18/lib --extra-lib-dirs=/nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/lib [require-package-imports] Using Parsec parser [require-package-imports] Configuring require-package-imports-0.0.1.0... [require-package-imports] Flags chosen: noisy-deprecations=True, verify-no-recursion=False [require-package-imports] Dependency base >=4.8.2 && <4.9 || >=4.9.0 && <4.10 || >=4.10.0 && <4.11 || [require-package-imports] >=4.11.0 && <4.12 || >=4.12.0 && <4.13 || >=4.13.0 && <4.14 || >=4.14.0 && [require-package-imports] <4.15 || >=4.15.0 && <4.16 || >=4.16.0 && <4.17 || >=4.17.0 && <4.18 || [require-package-imports] >=4.18.0 && <4.19 || >=4.19.0 && <4.20 || >=4.20.0 && <4.21 || >=4.21.0 && [require-package-imports] <4.22 || >=4.22.0 && <4.23: using base-4.17.2.1 [require-package-imports] Dependency ghc >=7.2.1 && <9.16: using ghc-9.4.8 [require-package-imports] Dependency ghc-boot-th >=8.0.1 && <9.16: using ghc-boot-th-9.4.8 [require-package-imports] Dependency ghc-compat-plugin >=0.1.0 && <0.2: using ghc-compat-plugin-0.1.0.1 [require-package-imports] Dependency base >=4.8.2 && <4.9 || >=4.9.0 && <4.10 || >=4.10.0 && <4.11 || [require-package-imports] >=4.11.0 && <4.12 || >=4.12.0 && <4.13 || >=4.13.0 && <4.14 || >=4.14.0 && [require-package-imports] <4.15 || >=4.15.0 && <4.16 || >=4.16.0 && <4.17 || >=4.17.0 && <4.18 || [require-package-imports] >=4.18.0 && <4.19 || >=4.19.0 && <4.20 || >=4.20.0 && <4.21 || >=4.21.0 && [require-package-imports] <4.22 || >=4.22.0 && <4.23: using base-4.17.2.1 [require-package-imports] Dependency doctest: using doctest-0.24.2 [require-package-imports] Dependency ghc-compat-plugin >=0.1.0 && <0.2: using ghc-compat-plugin-0.1.0.1 [require-package-imports] Dependency require-package-imports: using require-package-imports-0.0.1.0 [require-package-imports] Source component graph: [require-package-imports]  component lib [require-package-imports]  component test:doctests dependency lib [require-package-imports] Configured component graph: [require-package-imports]  component require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports]  include base-4.17.2.1 [require-package-imports]  include ghc-9.4.8 [require-package-imports]  include ghc-boot-th-9.4.8 [require-package-imports]  include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  component require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests [require-package-imports]  include base-4.17.2.1 [require-package-imports]  include doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 [require-package-imports]  include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  include require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports] Linked component graph: [require-package-imports]  unit require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports]  include base-4.17.2.1 [require-package-imports]  include ghc-9.4.8 [require-package-imports]  include ghc-boot-th-9.4.8 [require-package-imports]  include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  RequirePackageImports=require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt:RequirePackageImports [require-package-imports]  unit require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests [require-package-imports]  include base-4.17.2.1 [require-package-imports]  include doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 [require-package-imports]  include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  include require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports] Ready component graph: [require-package-imports]  definite require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports]  depends base-4.17.2.1 [require-package-imports]  depends ghc-9.4.8 [require-package-imports]  depends ghc-boot-th-9.4.8 [require-package-imports]  depends ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  definite require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests [require-package-imports]  depends base-4.17.2.1 [require-package-imports]  depends doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 [require-package-imports]  depends ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG [require-package-imports]  depends require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports] Using Cabal-3.8.1.0 compiled by ghc-9.4 [require-package-imports] Using compiler: ghc-9.4.8 [require-package-imports] Using install prefix: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0 [require-package-imports] Executables installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/bin [require-package-imports] Libraries installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/lib/ghc-9.4.8/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt [require-package-imports] Dynamic Libraries installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/lib/ghc-9.4.8/x86_64-linux-ghc-9.4.8 [require-package-imports] Private executables installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/libexec/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0 [require-package-imports] Data files installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/share/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0 [require-package-imports] Documentation installed in: [require-package-imports] /nix/store/sy81d1c52px5whzbrn8m1hdgyfxypj3q-require-package-imports-0.0.1.0-doc/share/doc/require-package-imports-0.0.1.0 [require-package-imports] Configuration files installed in: [require-package-imports] /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/etc [require-package-imports] No alex found [require-package-imports] Using ar found on system at: [require-package-imports] /nix/store/iz5lckcsg66r223si2gck7csk2hihj0m-binutils-wrapper-2.44/bin/ar [require-package-imports] No c2hs found [require-package-imports] No cpphs found [require-package-imports] Using doctest version 0.24.2 found on system at: [require-package-imports] /nix/store/n9m1rm07b4k72am92glq0hfad7i4inyx-doctest-0.24.2/bin/doctest [require-package-imports] Using gcc version 14.3.0 given by user at: [require-package-imports] /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/gcc [require-package-imports] Using ghc version 9.4.8 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/ghc [require-package-imports] Using ghc-pkg version 9.4.8 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/ghc-pkg-9.4.8 [require-package-imports] No ghcjs found [require-package-imports] No ghcjs-pkg found [require-package-imports] No greencard found [require-package-imports] Using haddock version 2.27.0 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/haddock-ghc-9.4.8 [require-package-imports] No happy found [require-package-imports] Using haskell-suite found on system at: haskell-suite-dummy-location [require-package-imports] Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location [require-package-imports] No hmake found [require-package-imports] Using hpc version 0.68 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/hpc [require-package-imports] Using hsc2hs version 0.68.8 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/hsc2hs [require-package-imports] Using hscolour version 1.25 found on system at: [require-package-imports] /nix/store/87hdxxa93g58b2w9ylr2idn2a40i3fdc-hscolour-1.25/bin/HsColour [require-package-imports] No jhc found [require-package-imports] Using ld found on system at: [require-package-imports] /nix/store/iz5lckcsg66r223si2gck7csk2hihj0m-binutils-wrapper-2.44/bin/ld.gold [require-package-imports] No pkg-config found [require-package-imports] Using runghc version 9.4.8 found on system at: [require-package-imports] /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/runghc-9.4.8 [require-package-imports] Using strip version 2.44 found on system at: [require-package-imports] /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/strip [require-package-imports] Using tar found on system at: [require-package-imports] /nix/store/xl6pd2spjajwcpq09fnmnjv5psqmlmma-gnutar-1.35/bin/tar [require-package-imports] No uhc found [require-package-imports] Phase: buildPhase [require-package-imports] Preprocessing library for require-package-imports-0.0.1.0.. [require-package-imports] Building library for require-package-imports-0.0.1.0.. [require-package-imports] [1 of 1] Compiling RequirePackageImports ( src/RequirePackageImports.hs, dist/build/RequirePackageImports.o, dist/build/RequirePackageImports.dyn_o ) [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:41:3: error: [require-package-imports]  Not in scope: type constructor or class ‘Syntax.LImportDecl’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘LImportDecl’. [require-package-imports]  Suggested fix: [require-package-imports]  Perhaps use one of these: [require-package-imports]  ‘Syntax.XCImportDecl’ (imported from Language.Haskell.Syntax), [require-package-imports]  ‘Syntax.XXImportDecl’ (imported from Language.Haskell.Syntax), [require-package-imports]  ‘Syntax.LInstDecl’ (imported from Language.Haskell.Syntax) [require-package-imports]  | [require-package-imports] 41 | Syntax.LImportDecl HsExt.GhcPs -> Maybe (Error.MsgEnvelope Errors.GhcMessage) [require-package-imports]  | ^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:42:28: error: [require-package-imports]  Not in scope: ‘Syntax.ideclPkgQual’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘ideclPkgQual’. [require-package-imports]  | [require-package-imports] 42 | reportNoPkgQual imp = case Syntax.ideclPkgQual $ Plugins.unLoc imp of [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:48:34: error: [require-package-imports]  Not in scope: ‘Annotation.getHasLoc’ [require-package-imports]  NB: the module ‘GHC.Parser.Annotation’ does not export ‘getHasLoc’. [require-package-imports]  Suggested fix: [require-package-imports]  Perhaps use one of these: [require-package-imports]  ‘Annotation.getLocA’ (imported from GHC.Parser.Annotation), [require-package-imports]  ‘Annotation.reLoc’ (imported from GHC.Parser.Annotation) [require-package-imports]  | [require-package-imports] 48 | { Error.errMsgSpan = Annotation.getHasLoc imp, [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:52:21: error: [require-package-imports]  Not in scope: data constructor ‘Error.UnknownDiagnostic’ [require-package-imports]  NB: the module ‘GHC.Types.Error’ does not export ‘UnknownDiagnostic’. [require-package-imports]  Suggested fix: [require-package-imports]  Perhaps use variable ‘Error.mkPlainDiagnostic’ (imported from GHC.Types.Error) [require-package-imports]  | [require-package-imports] 52 | . Error.UnknownDiagnostic (const Error.defaultOpts) [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:52:52: error: [require-package-imports]  Not in scope: ‘Error.defaultOpts’ [require-package-imports]  NB: the module ‘GHC.Types.Error’ does not export ‘defaultOpts’. [require-package-imports]  | [require-package-imports] 52 | . Error.UnknownDiagnostic (const Error.defaultOpts) [require-package-imports]  | ^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:57:29: error: [require-package-imports]  Not in scope: ‘Syntax.ideclPkgQual’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘ideclPkgQual’. [require-package-imports]  | [require-package-imports] 57 | { Syntax.ideclPkgQual = [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:64:15: error: [require-package-imports]  Constructor ‘Error.MsgEnvelope’ does not have field ‘errMsgReason’ [require-package-imports]  | [require-package-imports] 64 | Error.errMsgReason = Error.ResolvedDiagnosticReason reason [require-package-imports]  | ^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:64:36: error: [require-package-imports]  Not in scope: data constructor ‘Error.ResolvedDiagnosticReason’ [require-package-imports]  NB: the module ‘GHC.Types.Error’ does not export ‘ResolvedDiagnosticReason’. [require-package-imports]  Suggested fix: [require-package-imports]  Perhaps use variable ‘Error.diagnosticReason’ (imported from GHC.Types.Error) [require-package-imports]  | [require-package-imports] 64 | Error.errMsgReason = Error.ResolvedDiagnosticReason reason [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:70:4: error: [require-package-imports]  Not in scope: type constructor or class ‘Syntax.LImportDecl’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘LImportDecl’. [require-package-imports]  Suggested fix: [require-package-imports]  Perhaps use one of these: [require-package-imports]  ‘Syntax.XCImportDecl’ (imported from Language.Haskell.Syntax), [require-package-imports]  ‘Syntax.XXImportDecl’ (imported from Language.Haskell.Syntax), [require-package-imports]  ‘Syntax.LInstDecl’ (imported from Language.Haskell.Syntax) [require-package-imports]  | [require-package-imports] 70 | [Syntax.LImportDecl HsExt.GhcPs] -> [require-package-imports]  | ^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:96:7: error: [require-package-imports]  Not in scope: ‘Syntax.hsmodImports’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘hsmodImports’. [require-package-imports]  | [require-package-imports] 96 | . Syntax.hsmodImports [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^ [require-package-imports]  [require-package-imports] src/RequirePackageImports.hs:120:13: error: [require-package-imports]  Not in scope: ‘Syntax.hsmodImports’ [require-package-imports]  NB: the module ‘Language.Haskell.Syntax’ does not export ‘hsmodImports’. [require-package-imports]  | [require-package-imports] 120 | . Syntax.hsmodImports [require-package-imports]  | ^^^^^^^^^^^^^^^^^^^ Progress: 1 of 5 built (1 failed), 34 of 34 downloaded from cache error: Cannot build '/nix/store/yb5i9bbkdmcfzc7qkbzb6915wq0sd4f0-require-package-imports-0.0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0 /nix/store/sy81d1c52px5whzbrn8m1hdgyfxypj3q-require-package-imports-0.0.1.0-doc Last 224 log lines: > Running phase: setupCompilerEnvironmentPhase > Build with /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8. > Running phase: unpackPhase > unpacking source archive /nix/store/c7q22vyjnbid8x9nr7q0ank9b0yrnqp7-4nh7w47lfbsqxsdjidilxw6109xmwi7z-source/./core > source root is core > Running phase: patchPhase > Running phase: compileBuildDriverPhase > setupCompileFlags: -package-db=/build/tmp.JxVAMlX66L/setup-package.conf.d -threaded > [1 of 2] Compiling Main ( Setup.hs, /build/tmp.JxVAMlX66L/Main.o ) > [2 of 2] Linking Setup > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > configureFlags: --verbose --prefix=/nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/sy81d1c52px5whzbrn8m1hdgyfxypj3q-require-package-imports-0.0.1.0-doc/share/doc/require-package-imports-0.0.1.0 --with-gcc=gcc --package-db=/build/tmp.JxVAMlX66L/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --ghc-options=-Werror --extra-lib-dirs=/nix/store/ffyzkisqs4vc4mg28bwwlyqjf8i9ph6b-ncurses-6.5/lib --extra-lib-dirs=/nix/store/n28qgdj8c1q41kf7n4y1jxa6ckp85m3c-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hi0ar880110k6jsmmili7dh1gq3cg2a9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/g09cflpnp4g80q56sj9dng1qzv4v4ybc-numactl-2.0.18/lib --extra-lib-dirs=/nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/lib > Using Parsec parser > Configuring require-package-imports-0.0.1.0... > Flags chosen: noisy-deprecations=True, verify-no-recursion=False > Dependency base >=4.8.2 && <4.9 || >=4.9.0 && <4.10 || >=4.10.0 && <4.11 || > >=4.11.0 && <4.12 || >=4.12.0 && <4.13 || >=4.13.0 && <4.14 || >=4.14.0 && > <4.15 || >=4.15.0 && <4.16 || >=4.16.0 && <4.17 || >=4.17.0 && <4.18 || > >=4.18.0 && <4.19 || >=4.19.0 && <4.20 || >=4.20.0 && <4.21 || >=4.21.0 && > <4.22 || >=4.22.0 && <4.23: using base-4.17.2.1 > Dependency ghc >=7.2.1 && <9.16: using ghc-9.4.8 > Dependency ghc-boot-th >=8.0.1 && <9.16: using ghc-boot-th-9.4.8 > Dependency ghc-compat-plugin >=0.1.0 && <0.2: using ghc-compat-plugin-0.1.0.1 > Dependency base >=4.8.2 && <4.9 || >=4.9.0 && <4.10 || >=4.10.0 && <4.11 || > >=4.11.0 && <4.12 || >=4.12.0 && <4.13 || >=4.13.0 && <4.14 || >=4.14.0 && > <4.15 || >=4.15.0 && <4.16 || >=4.16.0 && <4.17 || >=4.17.0 && <4.18 || > >=4.18.0 && <4.19 || >=4.19.0 && <4.20 || >=4.20.0 && <4.21 || >=4.21.0 && > <4.22 || >=4.22.0 && <4.23: using base-4.17.2.1 > Dependency doctest: using doctest-0.24.2 > Dependency ghc-compat-plugin >=0.1.0 && <0.2: using ghc-compat-plugin-0.1.0.1 > Dependency require-package-imports: using require-package-imports-0.0.1.0 > Source component graph: > component lib > component test:doctests dependency lib > Configured component graph: > component require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > include base-4.17.2.1 > include ghc-9.4.8 > include ghc-boot-th-9.4.8 > include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > component require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests > include base-4.17.2.1 > include doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 > include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > include require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > Linked component graph: > unit require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > include base-4.17.2.1 > include ghc-9.4.8 > include ghc-boot-th-9.4.8 > include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > RequirePackageImports=require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt:RequirePackageImports > unit require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests > include base-4.17.2.1 > include doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 > include ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > include require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > Ready component graph: > definite require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > depends base-4.17.2.1 > depends ghc-9.4.8 > depends ghc-boot-th-9.4.8 > depends ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > definite require-package-imports-0.0.1.0-KBjFC3yg5qL4nJSiuzBHG9-doctests > depends base-4.17.2.1 > depends doctest-0.24.2-I8Dj1Qj4flA6uA6Qf1gy88 > depends ghc-compat-plugin-0.1.0.1-EF6fkbvBW8o6hs1RRExbcG > depends require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > Using Cabal-3.8.1.0 compiled by ghc-9.4 > Using compiler: ghc-9.4.8 > Using install prefix: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0 > Executables installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/bin > Libraries installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/lib/ghc-9.4.8/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0-6WaR1R40JHGDoVUQYFLsSt > Dynamic Libraries installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/lib/ghc-9.4.8/x86_64-linux-ghc-9.4.8 > Private executables installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/libexec/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0 > Data files installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/share/x86_64-linux-ghc-9.4.8/require-package-imports-0.0.1.0 > Documentation installed in: > /nix/store/sy81d1c52px5whzbrn8m1hdgyfxypj3q-require-package-imports-0.0.1.0-doc/share/doc/require-package-imports-0.0.1.0 > Configuration files installed in: > /nix/store/bzx8nlh51lj4383fymlwvgazb1vm5yrg-require-package-imports-0.0.1.0/etc > No alex found > Using ar found on system at: > /nix/store/iz5lckcsg66r223si2gck7csk2hihj0m-binutils-wrapper-2.44/bin/ar > No c2hs found > No cpphs found > Using doctest version 0.24.2 found on system at: > /nix/store/n9m1rm07b4k72am92glq0hfad7i4inyx-doctest-0.24.2/bin/doctest > Using gcc version 14.3.0 given by user at: > /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/gcc > Using ghc version 9.4.8 found on system at: > /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/ghc > Using ghc-pkg version 9.4.8 found on system at: > /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/ghc-pkg-9.4.8 > No ghcjs found > No ghcjs-pkg found > No greencard found > Using haddock version 2.27.0 found on system at: > /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/haddock-ghc-9.4.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/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/hpc > Using hsc2hs version 0.68.8 found on system at: > /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/hsc2hs > Using hscolour version 1.25 found on system at: > /nix/store/87hdxxa93g58b2w9ylr2idn2a40i3fdc-hscolour-1.25/bin/HsColour > No jhc found > Using ld found on system at: > /nix/store/iz5lckcsg66r223si2gck7csk2hihj0m-binutils-wrapper-2.44/bin/ld.gold > No pkg-config found > Using runghc version 9.4.8 found on system at: > /nix/store/nmsz5dsqz3bkamwrz6jdp94kiq49y30p-ghc-9.4.8/bin/runghc-9.4.8 > Using strip version 2.44 found on system at: > /nix/store/8v97ngkcpfzgghwnnr7fsz33p2x22gy9-gcc-wrapper-14.3.0/bin/strip > Using tar found on system at: > /nix/store/xl6pd2spjajwcpq09fnmnjv5psqmlmma-gnutar-1.35/bin/tar > No uhc found > Running phase: buildPhase > Preprocessing library for require-package-imports-0.0.1.0.. > Building library for require-package-imports-0.0.1.0.. > [1 of 1] Compiling RequirePackageImports ( src/RequirePackageImports.hs, dist/build/RequirePackageImports.o, dist/build/RequirePackageImports.dyn_o ) > > src/RequirePackageImports.hs:41:3: error: > Not in scope: type constructor or class ‘Syntax.LImportDecl’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘LImportDecl’. > Suggested fix: > Perhaps use one of these: > ‘Syntax.XCImportDecl’ (imported from Language.Haskell.Syntax), > ‘Syntax.XXImportDecl’ (imported from Language.Haskell.Syntax), > ‘Syntax.LInstDecl’ (imported from Language.Haskell.Syntax) >  | > 41 | Syntax.LImportDecl HsExt.GhcPs -> Maybe (Error.MsgEnvelope Errors.GhcMessage) >  | ^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:42:28: error: > Not in scope: ‘Syntax.ideclPkgQual’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘ideclPkgQual’. >  | > 42 | reportNoPkgQual imp = case Syntax.ideclPkgQual $ Plugins.unLoc imp of >  | ^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:48:34: error: > Not in scope: ‘Annotation.getHasLoc’ > NB: the module ‘GHC.Parser.Annotation’ does not export ‘getHasLoc’. > Suggested fix: > Perhaps use one of these: > ‘Annotation.getLocA’ (imported from GHC.Parser.Annotation), > ‘Annotation.reLoc’ (imported from GHC.Parser.Annotation) >  | > 48 | { Error.errMsgSpan = Annotation.getHasLoc imp, >  | ^^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:52:21: error: > Not in scope: data constructor ‘Error.UnknownDiagnostic’ > NB: the module ‘GHC.Types.Error’ does not export ‘UnknownDiagnostic’. > Suggested fix: > Perhaps use variable ‘Error.mkPlainDiagnostic’ (imported from GHC.Types.Error) >  | > 52 | . Error.UnknownDiagnostic (const Error.defaultOpts) >  | ^^^^^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:52:52: error: > Not in scope: ‘Error.defaultOpts’ > NB: the module ‘GHC.Types.Error’ does not export ‘defaultOpts’. >  | > 52 | . Error.UnknownDiagnostic (const Error.defaultOpts) >  | ^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:57:29: error: > Not in scope: ‘Syntax.ideclPkgQual’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘ideclPkgQual’. >  | > 57 | { Syntax.ideclPkgQual = >  | ^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:64:15: error: > Constructor ‘Error.MsgEnvelope’ does not have field ‘errMsgReason’ >  | > 64 | Error.errMsgReason = Error.ResolvedDiagnosticReason reason >  | ^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:64:36: error: > Not in scope: data constructor ‘Error.ResolvedDiagnosticReason’ > NB: the module ‘GHC.Types.Error’ does not export ‘ResolvedDiagnosticReason’. > Suggested fix: > Perhaps use variable ‘Error.diagnosticReason’ (imported from GHC.Types.Error) >  | > 64 | Error.errMsgReason = Error.ResolvedDiagnosticReason reason >  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:70:4: error: > Not in scope: type constructor or class ‘Syntax.LImportDecl’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘LImportDecl’. > Suggested fix: > Perhaps use one of these: > ‘Syntax.XCImportDecl’ (imported from Language.Haskell.Syntax), > ‘Syntax.XXImportDecl’ (imported from Language.Haskell.Syntax), > ‘Syntax.LInstDecl’ (imported from Language.Haskell.Syntax) >  | > 70 | [Syntax.LImportDecl HsExt.GhcPs] -> >  | ^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:96:7: error: > Not in scope: ‘Syntax.hsmodImports’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘hsmodImports’. >  | > 96 | . Syntax.hsmodImports >  | ^^^^^^^^^^^^^^^^^^^ > > src/RequirePackageImports.hs:120:13: error: > Not in scope: ‘Syntax.hsmodImports’ > NB: the module ‘Language.Haskell.Syntax’ does not export ‘hsmodImports’. >  | > 120 | . Syntax.hsmodImports >  | ^^^^^^^^^^^^^^^^^^^ For full logs, run: nix log /nix/store/yb5i9bbkdmcfzc7qkbzb6915wq0sd4f0-require-package-imports-0.0.1.0.drv error: Cannot build '/nix/store/8rhmpkfnf6xj19xv5z55s4ysncd6a94j-ghc-9.4.8-with-packages.drv'. Reason: 1 dependency failed. Output paths: /nix/store/k5n3pfc8qmvyyk6b6jfag0r8i1s9ahv3-ghc-9.4.8-with-packages error: Build failed due to failed dependency error: Cannot build '/nix/store/rr82zqkhnmjz7x1xsnkrbg8phaqcn5zd-all-packages.drv'. Reason: 1 dependency failed. Output paths: /nix/store/wnk3cdmynpm03rvnz29ln41cwlfwa2r6-all-packages Build failed due to failed dependency