{"action":"closed","issue":{"url":"https://api.github.com/repos/hadolint/hadolint/issues/213","repository_url":"https://api.github.com/repos/hadolint/hadolint","labels_url":"https://api.github.com/repos/hadolint/hadolint/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/hadolint/hadolint/issues/213/comments","events_url":"https://api.github.com/repos/hadolint/hadolint/issues/213/events","html_url":"https://github.com/hadolint/hadolint/issues/213","id":330699522,"node_id":"MDU6SXNzdWUzMzA2OTk1MjI=","number":213,"title":"app/Main.hs:77:5: error:  Couldn't match type ‘[Char]’ with ‘Text’","user":{"login":"mrueg","id":489370,"node_id":"MDQ6VXNlcjQ4OTM3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/489370?v=4","gravatar_id":"","url":"https://api.github.com/users/mrueg","html_url":"https://github.com/mrueg","followers_url":"https://api.github.com/users/mrueg/followers","following_url":"https://api.github.com/users/mrueg/following{/other_user}","gists_url":"https://api.github.com/users/mrueg/gists{/gist_id}","starred_url":"https://api.github.com/users/mrueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrueg/subscriptions","organizations_url":"https://api.github.com/users/mrueg/orgs","repos_url":"https://api.github.com/users/mrueg/repos","events_url":"https://api.github.com/users/mrueg/events{/privacy}","received_events_url":"https://api.github.com/users/mrueg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-08T15:16:37Z","updated_at":"2018-06-09T19:01:56Z","closed_at":"2018-06-09T19:01:56Z","author_association":"NONE","body":"- [x] This is a bug report\r\n- [ ] This is a feature request\r\n- [x] I searched existing issues before opening this one\r\n\r\n### Expected behavior\r\nhadolint-1.7.0 builds with ghc-8.0.2\r\n### Actual behavior\r\n```\r\n * hadolint-1.7.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                          [ ok ]\r\n>>> Unpacking source...\r\n>>> Unpacking hadolint-1.7.0.tar.gz to /var/tmp/portage/dev-util/hadolint-1.7.0/work\r\n>>> Source unpacked in /var/tmp/portage/dev-util/hadolint-1.7.0/work\r\n>>> Preparing source in /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0 ...\r\n>>> Source prepared.\r\n>>> Configuring source in /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0 ...\r\n * Using cabal-1.24.2.0.\r\n * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH\r\n/usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0/Setup.hs -j5 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup\r\n[1 of 1] Compiling Main             ( /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0/Setup.hs, /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0/Setup.o )\r\nLinking setup ...\r\n./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=hadolint-1.7.0/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=hadolint-1.7.0/ghc-8.0.2 --enable-tests --ghc-options=-j5 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-march=native --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/hadolint-1.7.0 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping\r\nConfiguring hadolint-1.7.0...\r\nDependency HUnit >=1.2: using HUnit-1.2.5.2\r\nDependency ShellCheck >=0.5.0: using ShellCheck-0.5.0\r\nDependency aeson -any: using aeson-1.0.2.1\r\nDependency base >=4.8 && <5: using base-4.9.1.0\r\nDependency bytestring >=0.10: using bytestring-0.10.8.1\r\nDependency containers -any: using containers-0.5.7.1\r\nDependency directory >=1.3.0: using directory-1.3.0.0\r\nDependency filepath -any: using filepath-1.4.1.1\r\nDependency gitrev >=1.3.1: using gitrev-1.3.1\r\nDependency hadolint -any: using hadolint-1.7.0\r\nDependency hspec -any: using hspec-2.2.4\r\nDependency language-docker >=6.0.1 && <7: using language-docker-6.0.1\r\nDependency megaparsec >=6.4: using megaparsec-6.5.0\r\nDependency optparse-applicative -any: using optparse-applicative-0.13.0.0\r\nDependency split >=0.2: using split-0.2.2\r\nDependency text -any: using text-1.2.2.1\r\nDependency void -any: using void-0.7.1\r\nDependency yaml -any: using yaml-0.8.15.2\r\nUsing Cabal-1.24.2.0 compiled by ghc-8.0\r\nUsing compiler: ghc-8.0.2\r\nUsing install prefix: /usr\r\nBinaries installed in: /usr/bin\r\nLibraries installed in: /usr/lib64/hadolint-1.7.0/ghc-8.0.2\r\nDynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-8.0.2\r\nPrivate binaries installed in: /usr/libexec\r\nData files installed in: /usr/share/hadolint-1.7.0/ghc-8.0.2\r\nDocumentation installed in: /usr/share/doc/hadolint-1.7.0\r\nConfiguration files installed in: /etc\r\nNo alex found\r\nUsing ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar\r\nNo c2hs found\r\nNo cpphs found\r\nUsing gcc version 6.4.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc\r\nUsing ghc version 8.0.2 given by user at: /usr/bin/ghc\r\nUsing ghc-pkg version 8.0.2 given by user at: /usr/bin/ghc-pkg\r\nNo ghcjs found\r\nNo ghcjs-pkg found\r\nNo greencard found\r\nUsing haddock version 2.17.3 found on system at: /usr/bin/haddock-ghc-8.0.2\r\nNo happy found\r\nUsing haskell-suite found on system at: haskell-suite-dummy-location\r\nUsing haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location\r\nNo hmake found\r\nUsing hpc version 0.67 found on system at: /usr/bin/hpc\r\nUsing hsc2hs version 0.68.1 found on system at: /usr/bin/hsc2hs\r\nNo hscolour found\r\nNo jhc found\r\nUsing ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld\r\nNo lhc found\r\nNo lhc-pkg found\r\nUsing pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config\r\nUsing strip version 2.29 found on system at: /usr/bin/strip\r\nUsing tar found on system at: /bin/tar\r\nNo uhc found\r\n>>> Source configured.\r\n>>> Compiling source in /var/tmp/portage/dev-util/hadolint-1.7.0/work/hadolint-1.7.0 ...\r\n./setup build\r\nBuilding hadolint-1.7.0...\r\nPreprocessing library hadolint-1.7.0...\r\n[1 of 8] Compiling Paths_hadolint   ( dist/build/autogen/Paths_hadolint.hs, dist/build/Paths_hadolint.o )\r\n[2 of 8] Compiling Hadolint.Bash    ( src/Hadolint/Bash.hs, dist/build/Hadolint/Bash.o )\r\n[3 of 8] Compiling Hadolint.Rules   ( src/Hadolint/Rules.hs, dist/build/Hadolint/Rules.o )\r\n[4 of 8] Compiling Hadolint.Formatter.Format ( src/Hadolint/Formatter/Format.hs, dist/build/Hadolint/Formatter/Format.o )\r\n[5 of 8] Compiling Hadolint.Formatter.Checkstyle ( src/Hadolint/Formatter/Checkstyle.hs, dist/build/Hadolint/Formatter/Checkstyle.o )\r\n[6 of 8] Compiling Hadolint.Formatter.Codeclimate ( src/Hadolint/Formatter/Codeclimate.hs, dist/build/Hadolint/Formatter/Codeclimate.o )\r\n[7 of 8] Compiling Hadolint.Formatter.Json ( src/Hadolint/Formatter/Json.hs, dist/build/Hadolint/Formatter/Json.o )\r\n[8 of 8] Compiling Hadolint.Formatter.TTY ( src/Hadolint/Formatter/TTY.hs, dist/build/Hadolint/Formatter/TTY.o )\r\nPreprocessing executable 'hadolint' for hadolint-1.7.0...\r\n[1 of 2] Compiling Paths_hadolint   ( dist/build/autogen/Paths_hadolint.hs, dist/build/hadolint/hadolint-tmp/Paths_hadolint.dyn_o )\r\n[2 of 2] Compiling Main             ( app/Main.hs, dist/build/hadolint/hadolint-tmp/Main.dyn_o )\r\n\r\napp/Main.hs:77:5: error:\r\n    • Couldn't match type ‘[Char]’ with ‘Text’\r\n      Expected type: Parser [IgnoreRule]\r\n        Actual type: Parser [String]\r\n    • In the second argument of ‘(<*>)’, namely ‘ignoreList’\r\n      In the first argument of ‘(<*>)’, namely\r\n        ‘LintOptions <$> version <*> outputFormat <*> ignoreList’\r\n      In the expression:\r\n        LintOptions <$> version <*> outputFormat <*> ignoreList <*> files\r\n```\r\n### Steps to reproduce the behavior\r\n\r\n**Output of `hadolint --version` or\r\nexpected: hadolint 1.7.0\r\n\r\n**Additional environment details (OS, stack version, etc.)**\r\nGentoo Linux"}}
{"actor":{"display_login":"lorenzo"}}