Skip to content

benchmark failed to build in stackage nightly #11

Closed

Description

@juhp
       Building benchmark 'bench-rb-impl' for IntervalMap-0.6.2.3...                                                                                                 
       [1 of 9] Compiling Data.IntervalMap.Interval                                                                                                                  
       [2 of 9] Compiling Data.IntervalMap.Generic.Interval                                                                                                          
       [3 of 9] Compiling Data.IntervalMap.Generic.Base                                                                                                              
       [4 of 9] Compiling Data.IntervalMap.Generic.Strict                                                                                                            
       [5 of 9] Compiling RBColorIntBase                                                                                                                             
       [7 of 9] Compiling RBColorNodeBase                                                                                                                            
       /home/curators/work/unpack-dir/unpacked/IntervalMap-0.6.2.3-39165a8a932402ac2fa5655af95f17c275a095776354ccd74b4c30342ee49c8d/bench/RBColorIntBase.hs:348:46: e
rror: [GHC-87543]                                                                 
           Ambiguous occurrence ‘foldl'’.                                         
           It could refer to                                                                                                                                         
              either ‘Prelude.foldl'’,                                                                                                                               
                     imported from ‘Prelude’ at bench/RBColorIntBase.hs:67:1-63                                                                                      
                     (and originally defined in ‘ghc-internal-9.1204.0:GHC.Internal.Data.Foldable’),
                  or ‘RBColorIntBase.foldl'’,                                     
                     defined at bench/RBColorIntBase.hs:346:1.                    
           |                                                                                                                                                         
       348 |                          Node _ _ _ x l r -> foldl' f (f (foldl' f z l) x) r
           |                                              ^^^^^^                  
                                                                                                                                                                            /home/curators/work/unpack-dir/unpacked/IntervalMap-0.6.2.3-39165a8a932402ac2fa5655af95f17c275a095776354ccd74b4c30342ee49c8d/bench/RBColorIntBase.hs:348:59: e
rror: [GHC-87543]                                                                 
           Ambiguous occurrence ‘foldl'’.                                                                                                                            
           It could refer to                                                                                                                                         
              either ‘Prelude.foldl'’,                                                                                                                               
                     imported from ‘Prelude’ at bench/RBColorIntBase.hs:67:1-63                                                                                      
                     (and originally defined in ‘ghc-internal-9.1204.0:GHC.Internal.Data.Foldable’),
                  or ‘RBColorIntBase.foldl'’,                                                                                                                        
                     defined at bench/RBColorIntBase.hs:346:1.                                                                                                       
           |                                                                                                                                                         
       348 |                          Node _ _ _ x l r -> foldl' f (f (foldl' f z l) x) r
           |                                                           ^^^^^^

Not completely sure what changed

Activity

  1. bokesan commented on Jun 5, 2026

    @bokesan
    Owner

    Thanks for reporting this. Caused by newer GHC version. It was already fixed in the library and test code by PR #10 , but I forgot the benchmarks.

  2. linked a pull request that will close this issueFix benchmarks build error with ghc 9.12 #12on Jun 5, 2026
  3. juhp commented on Jun 6, 2026

    @juhp
    Author

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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