camfort / fortran-src

Fortran parsing and static analysis infrastructure
https://hackage.haskell.org/package/fortran-src
Other
48 stars 20 forks source link

fortran-src-0.16.3 testsuite failed on stackage nightly #293

Open juhp opened 4 days ago

juhp commented 4 days ago

This is perhaps/likely be ignored since latest happy 2.1 is marked deprecated in Hackage. This is is really just an FYI.

           Failures:                                                                                                                

             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14:                
             1) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse assign statements               
                  uncaught exception: ErrorCall                                                                                     
                  Encountered a token that was not declared to happy                                                                
                  CallStack (from HasCallStack):                                                                                    
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95                                         

             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse assign stateme
nts/" --seed 386902743                                                                                                              

             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14:                
             2) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse pause statements                
                  uncaught exception: ErrorCall                                                                                     
                  Encountered a token that was not declared to happy                                                                
                  CallStack (from HasCallStack):                                                                                    
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95                                         

             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse pause statemen
ts/" --seed 386902743                                                                                                               

             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14: 
             3) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Statement, doesn't parse pause statements with expression
                  uncaught exception: ErrorCall
                  Encountered a token that was not declared to happy
                  CallStack (from HasCallStack):
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95

             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Statement/doesn't parse pause statemen
ts with expression/" --seed 386902743

             .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:7521:14: 
             4) Language.Fortran.Parser.Free.Fortran95, Fortran 95 Parser, Goto, doesn't parse label assignment
                  uncaught exception: ErrorCall
                  Encountered a token that was not declared to happy
                  CallStack (from HasCallStack):
                    error, called at .stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.2/build/Language/Fortran/Parser/Free/Fortran95.hs:
7521:14 in fortran-src-0.16.3-7kzJoDAJyRHL356hjfGwyU:Language.Fortran.Parser.Free.Fortran95

             To rerun use: --match "/Language.Fortran.Parser.Free.Fortran95/Fortran 95 Parser/Goto/doesn't parse label assignment/" 
--seed 386902743

           Randomized with seed 386902743

           Finished in 0.6929 seconds
           756 examples, 4 failures, 6 pending
juhp commented 4 days ago

Actually seems to fail even with happy < 2.1...

sgraf812 commented 3 days ago

I could not reproduce this issue while building master with stack and happy-2.0.2. So perhaps this is an issue with happy-2.1. I opened https://github.com/haskell/happy/issues/324 to track.