Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

ghc802 branch has 21 failures on Windows #930

@varosi

Description

@varosi
    Failures:

      test\BrowseSpec.hs:33:
      1) Browse, `browse' in a project directory, can list symbols defined in a a local module
           [] does not contain ["foo"]

      test\CabalHelperSpec.hs:52:
      2) CabalHelper.getComponents handles sandboxes correctly
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CabalHelperSpec.hs:73:
      3) CabalHelper.getComponents extracts build dependencies
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CabalHelperSpec.hs:80:
      4) CabalHelper.getComponents uses non default flags and preserves them across reconfigures
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-flags" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-flags\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:16:
      5) Check.checkSyntax works even if an executable depends on the library defined in the same cabal file
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\ghc-mod-check" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\ghc-mod-check\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:22:
      6) Check.checkSyntax works even if a module imports another module from a different directory
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\check-test-subdir" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\check-test-subdir\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:39:
      7) Check.checkSyntax works with modules using PatternSynonyms
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\pattern-synonyms" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\pattern-synonyms\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:51:
      8) Check.checkSyntax, when no errors are found, doesn't output an empty line
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\ghc-mod-check" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\ghc-mod-check\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:64:
      9) Check.checkSyntax works with cabal builtin preprocessors
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-preprocessors" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-preprocessors\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\CheckSpec.hs:75:
      10) Check.checkSyntax Uses the right qualification style
           expected: "NiceQualification.hs:4:8:\8226 Couldn't match expected type \8216IO ()\8217 with actual type \8216[Char]\8217\NUL\8226 In the expression: \"wrong type\"\NUL  In an equation for \8216main\8217: main = \"wrong type\"\n"
            but got: "NiceQualification.hs:4:8:* Couldn't match expected type `IO ()' with actual type `[Char]'\NUL* In the expression: \"wrong type\"\NUL  In an equation for `main': main = \"wrong type\"\n"

      test\CradleSpec.hs:49:
      11) Cradle.findCradle finds a cabal file and a sandbox
           expected: "test/data/cabal-project/subdir1/subdir2"
            but got: "test\\data\\cabal-project\\subdir1\\subdir2"

      test\CustomPackageDbSpec.hs:27:
      12) CustomPackageDb.getPackageDbStack' fixes out of sync custom pkg-db stack
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\custom-cradle" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\custom-cradle\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\FileMappingSpec.hs:84:
      13) FileMapping.withMappedFile checks if there is an in-memory file and calls and action with temporary file
           uncaught exception: IOException of type PermissionDenied (removeDirectoryRecursive:removeContentsRecursive:removePathRecursive:DeleteFile "C:\\Users\\varosi\\AppData\\Local\\Temp\\ghc-mod1138224\\File1138224-3.hs": permission denied (The process cannot access the file because it is being used by another process.))

      test\FindSpec.hs:11:
      14) Find, db <- loadSymbolDb, lookupSymbol' db "head"  contains at least `Data.List'
           uncaught exception: GhcModError (GMEProcess "readProcessStderrChan" "D:\\Projects\\Hackage\\ghc-mod\\.stack-work\\install\\9d660cc9\\bin\\ghc-mod" ["--verbose","error","dumpsym"] (Left 1))

      test\GhcPkgSpec.hs:15:
      15) GhcPkg.getPackageDbStack' fixes out of sync custom pkg-db stack
           uncaught exception: IOException of type OtherError (readCreateProcess: D:\Projects\Hackage\ghc-mod\.stack-work\install\9d660cc9\libexec\x86_64-windows-ghc-8.2.2\cabal-helper-0.8.0.2\cabal-helper-wrapper.exe "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\custom-cradle" "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\custom-cradle\\dist" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed)

      test\InfoSpec.hs:24:
      16) Info.types shows types of the expression and its outers
           expected: "9 5 11 40 \"Int -> t -> t -> t\"\n7 1 11 40 \"Int -> Integer\"\n"
            but got: ""

      test\InfoSpec.hs:34:
      17) Info.types shows types of the expression with constraints and its outers
           expected: "9 5 11 40 \"Num t => Int -> t -> t -> t\"\n7 1 11 40 \"Int -> Integer\"\n"
            but got: ""

      test\PathsAndFilesSpec.hs:17:
      18) PathsAndFiles.getSandboxDb can parse a config file and extract the sandbox package-db
           uncaught exception: IOException of type UserError (user error (Pattern match failure in do expression at test\PathsAndFilesSpec.hs:20:13-19))

      test\PathsAndFilesSpec.hs:44:
      19) PathsAndFiles.findCabalSandboxDir works
           expected: Just "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project"
            but got: Nothing

      test\PathsAndFilesSpec.hs:48:
      20) PathsAndFiles.findCabalSandboxDir finds sandboxes in parent directories
           expected: Just "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\cabal-project"
            but got: Nothing

      test\TargetSpec.hs:47:
      21) Target.resolveModule Works when a module given as path uses CPP
           expected: Just (ModulePath {mpModule = ModuleName "Cpp", mpPath = "D:\\Projects\\Hackage\\ghc-mod\\test/data/target/Cpp.hs"})
            but got: Just (ModulePath {mpModule = ModuleName "Cpp", mpPath = "D:\\Projects\\Hackage\\ghc-mod\\test\\data\\target\\Cpp.hs"})

    Randomized with seed 1314851384

    Finished in 473.5676 seconds
    97 examples, 21 failures

Related #900

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions