{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/702","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/702/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/702/events","html_url":"https://github.com/commercialhaskell/stack/issues/702","id":98500941,"number":702,"title":"Stack for some reason not compiling one of the test modules","user":{"login":"pharpend","id":3221699,"avatar_url":"https://avatars.githubusercontent.com/u/3221699?v=3","gravatar_id":"","url":"https://api.github.com/users/pharpend","html_url":"https://github.com/pharpend","followers_url":"https://api.github.com/users/pharpend/followers","following_url":"https://api.github.com/users/pharpend/following{/other_user}","gists_url":"https://api.github.com/users/pharpend/gists{/gist_id}","starred_url":"https://api.github.com/users/pharpend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharpend/subscriptions","organizations_url":"https://api.github.com/users/pharpend/orgs","repos_url":"https://api.github.com/users/pharpend/repos","events_url":"https://api.github.com/users/pharpend/events{/privacy}","received_events_url":"https://api.github.com/users/pharpend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-01T02:50:38Z","updated_at":"2015-08-01T03:36:42Z","closed_at":null,"body":"```\r\n$ stack --version\r\nVersion 0.1.2.2, Git revision d7e90fde0ad79274ae0cee153999a97151aa8364\r\n```\r\n\r\nMinimal steps:\r\n\r\n```\r\n[src/scratch] % git clone git://github.com/pharpend/comarkdown.git -b io-examples-stack                                                                                                                                                                          pete@valentine\r\nCloning into 'comarkdown'...\r\nremote: Counting objects: 1057, done.\r\nremote: Compressing objects: 100% (133/133), done.\r\nremote: Total 1057 (delta 64), reused 0 (delta 0), pack-reused 915\r\nReceiving objects: 100% (1057/1057), 194.10 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (482/482), done.\r\nChecking connectivity... done.\r\n[src/scratch] % cd comarkdown                                                                                                                                                                                                                                    pete@valentine\r\ncomarkdown.cabal  lib/  LICENSE  README.md  Setup.hs  skel/  stack.yaml  tests/\r\n[scratch/comarkdown io-examples-stack] % stack test                                                                                                                                                                                                              pete@valentine\r\ncomarkdown-0.1.0.0: configure (test)\r\nConfiguring comarkdown-0.1.0.0...\r\ncomarkdown-0.1.0.0: build (test)\r\nPreprocessing library comarkdown-0.1.0.0...\r\n[1 of 5] Compiling Text.Comarkdown.Types ( lib/Text/Comarkdown/Types.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Text/Comarkdown/Types.o )\r\n[2 of 5] Compiling Text.Comarkdown.Parser ( lib/Text/Comarkdown/Parser.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Text/Comarkdown/Parser.o )\r\n[3 of 5] Compiling Text.Comarkdown.Combinators ( lib/Text/Comarkdown/Combinators.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Text/Comarkdown/Combinators.o )\r\n[4 of 5] Compiling Text.Comarkdown.Stdlib ( lib/Text/Comarkdown/Stdlib.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Text/Comarkdown/Stdlib.o )\r\n\r\non the commandline: Warning:\r\n    ‘Text.Comarkdown.Stdlib’ is marked as Trustworthy but has been inferred as safe!\r\n[5 of 5] Compiling Text.Comarkdown  ( lib/Text/Comarkdown.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Text/Comarkdown.o )\r\n^Cuser interrupt\r\n[scratch/comarkdown io-examples-stack] % stack test --verbose                                                                                                                                                                                                    pete@valentine\r\nVersion 0.1.2.2, Git revision d7e90fde0ad79274ae0cee153999a97151aa8364\r\n2015-08-01 02:49:43.232803: [debug] Checking for project config at: /home/pete/src/scratch/comarkdown/stack.yaml @(stack-0.1.2.2:Stack.Config src/Stack/Config.hs:460:9)\r\n2015-08-01 02:49:43.233038: [debug] Loading project config file stack.yaml @(stack-0.1.2.2:Stack.Config src/Stack/Config.hs:483:13)\r\n2015-08-01 02:49:43.238158: [debug] Run process: ghc --info @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.2709: [debug] Run process: ghc --numeric-version @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.294676: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal id @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.30776: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.320669: [debug] Checking resolver: nightly-2015-07-25 @(stack-0.1.2.2:Stack.Build.Source src/Stack/Build/Source.hs:87:13)\r\n2015-08-01 02:49:43.517514: [debug] Run process: ghc-pkg --global --no-user-package-db dump --expand-pkgroot @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.593568: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db /home/pete/.stack/snapshots/x86_64-linux/nightly-2015-07-25/7.10.1/pkgdb/ dump --expand-pkgroot @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:43.682063: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db /home/pete/src/scratch/comarkdown/.stack-work/install/x86_64-linux/nightly-2015-07-25/7.10.1/pkgdb/ dump --expand-pkgroot @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:44.067731: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack-0.1.2.2:System.Process.Read src/System/Process/Read.hs:255:3)\r\n2015-08-01 02:49:44.084779: [info] comarkdown-0.1.0.0: build (test) @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:516:18)\r\n2015-08-01 02:49:44.085357: [debug] Run process: /usr/bin/runhaskell -package=Cabal-1.22.2.0 -clear-package-db -global-package-db -package-db=/home/pete/.stack/snapshots/x86_64-linux/nightly-2015-07-25/7.10.1/pkgdb/ /tmp/stack16473/Setup.hs --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.2.0/ build test:tests --ghc-options \"-hpcdir .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/hpc/.hpc/\" @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:616:13)\r\n2015-08-01 02:49:44.252556: [info] Preprocessing library comarkdown-0.1.0.0... @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:45.874655: [info] In-place registering comarkdown-0.1.0.0... @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:45.903979: [info] Preprocessing test suite 'tests' for comarkdown-0.1.0.0... @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:45.964979: [info] [1 of 3] Compiling TypesSpec        ( tests/TypesSpec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/tests/tests-tmp/TypesSpec.o ) @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:46.0384: [info] [2 of 3] Compiling NoFormattingSpec ( tests/NoFormattingSpec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/tests/tests-tmp/NoFormattingSpec.o ) @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:46.701899: [info] [3 of 3] Compiling Main             ( tests/Spec.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/tests/tests-tmp/Main.o ) @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:46.872244: [info] Linking .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/tests/tests ... @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:930:35)\r\n2015-08-01 02:49:48.320293: [info] comarkdown-0.1.0.0: test (suite: tests) @(stack-0.1.2.2:Stack.Build.Execute src/Stack/Build/Execute.hs:516:18)\r\n\r\nNoFormatting\r\n  Parsing plain (i.e. no-comarkdown) documents\r\n    If a document has no comarkdown-specific formatting, running it through the comarkdown preprocessor should not change it\r\n      holds with the README\r\n      example files\r\n        desbot-manual.md\r\n        desbot-readme.md\r\n        dotfiles-readme.md\r\n        exceptional-readme.md\r\n        irc-data-readme.md\r\n        louse-readme.md\r\n        pager-readme.md\r\n        snowdrift-beginners.md\r\n        snowdrift-guide.md\r\n        snowdrift-readme.md\r\n        snowdrift-setup-vagrant.md\r\nTypes\r\n  Text.Comarkdown.Types\r\n    toCf function\r\n      should, given an otherwise empty document with an arbitary list of commands, produce a CompilerForm, where every one of those commands is a listed value of the cfCommands field.\r\n     # PENDING: No reason given\r\n\r\nFinished in 0.2536 seconds\r\n13 examples, 0 failures, 1 pending\r\n```\r\n\r\nThere's a module, called IOExamples, listed in `other-modules`, which Stack is not compiling. Stack is also not running the tests in that module. The files that IOExamples uses are all listed in `extra-source-files`."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/126856955","html_url":"https://github.com/commercialhaskell/stack/issues/702#issuecomment-126856955","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/702","id":126856955,"user":{"login":"pharpend","id":3221699,"avatar_url":"https://avatars.githubusercontent.com/u/3221699?v=3","gravatar_id":"","url":"https://api.github.com/users/pharpend","html_url":"https://github.com/pharpend","followers_url":"https://api.github.com/users/pharpend/followers","following_url":"https://api.github.com/users/pharpend/following{/other_user}","gists_url":"https://api.github.com/users/pharpend/gists{/gist_id}","starred_url":"https://api.github.com/users/pharpend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharpend/subscriptions","organizations_url":"https://api.github.com/users/pharpend/orgs","repos_url":"https://api.github.com/users/pharpend/repos","events_url":"https://api.github.com/users/pharpend/events{/privacy}","received_events_url":"https://api.github.com/users/pharpend/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T03:36:42Z","updated_at":"2015-08-01T03:36:42Z","body":"I'm getting the same result with `cabal install` + `cabal repl`, so I'm thinking this is a bug with cabal-the-library."}}