^^^ Text/Hamlet.hs:480:1: warning: [-Wunused-top-binds] Defined but not used: ‘varName’ | 480 | varName _ "" = error "Illegal empty varName" | ^^^^^^^ Text/Hamlet.hs:484:1: warning: [-Wunused-top-binds] Defined but not used: ‘strToExp’ | 484 | strToExp s@(c:_) | ^^^^^^^^ Text/Hamlet.hs:517:16: warning: [-Wunused-matches] Defined but not used: ‘html’ | 517 | show (EPlain html) = "EPlain" | ^^^^ Text/Hamlet.hs:518:14: warning: [-Wunused-matches] Defined but not used: ‘url’ | 518 | show (EUrl url) = "EUrl" | ^^^ Text/Hamlet.hs:519:19: warning: [-Wunused-matches] Defined but not used: ‘url’ | 519 | show (EUrlParam url) = "EUrlParam" | ^^^ Text/Hamlet.hs:520:16: warning: [-Wunused-matches] Defined but not used: ‘url’ | 520 | show (EMixin url) = "EMixin" | ^^^ Text/Hamlet.hs:521:20: warning: [-Wunused-matches] Defined but not used: ‘msg_url’ | 521 | show (EMixinI18n msg_url) = "EMixinI18n" | ^^^^^^^ Text/Hamlet.hs:522:14: warning: [-Wunused-matches] Defined but not used: ‘msg’ | 522 | show (EMsg msg) = "EMsg" | ^^^ Text/Hamlet.hs:570:43: warning: [-Wname-shadowing] This binding for ‘c’ shadows the existing binding bound at Text/Hamlet.hs:566:13 | 570 | c VTMixin = [|\r -> EMixin $ \c -> r c|] | ^ [17 of 22] Compiling Text.Hamlet.Runtime Text/Hamlet/Runtime.hs:100:12: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 100 | instance a ~ HamletData => ToHamletData [a] where | ^ Text/Hamlet/Runtime.hs:102:12: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 102 | instance a ~ HamletData => ToHamletData (Maybe a) where | ^ [20 of 22] Compiling Text.Shakespeare.I18N Text/Shakespeare/I18N.hs:65:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 65 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/Shakespeare/I18N.hs:80:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 80 | import Data.Monoid (mempty, mappend) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Text/Shakespeare/I18N.hs:410:17: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 410 | instance master ~ master' => RenderMessage master (SomeMessage master') where | ^ [21 of 22] Compiling Text.Shakespeare.Text [22 of 22] Compiling Text.TypeScript error: Bad exit status from /var/tmp/rpm-tmp.73P4t0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.73P4t0 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-shakespeare.spec