Resolving dependencies... Configuring newtype-0.2... Configuring primitive-0.6.2.0... Building newtype-0.2... Building primitive-0.6.2.0... Configuring random-1.1... Installed newtype-0.2 Building random-1.1... Installed random-1.1 Installed primitive-0.6.2.0 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring QuickCheck-2.9.2... Building QuickCheck-2.9.2... Installed QuickCheck-2.9.2 Configuring HCodecs-0.5... Building HCodecs-0.5... Installed HCodecs-0.5 Configuring hamid-0.9... Building hamid-0.9... Failed to install hamid-0.9 Build log ( /home/builder/.cabal/logs/hamid-0.9.log ): cabal: Entering directory '/tmp/cabal-tmp-10269/hamid-0.9' Configuring hamid-0.9... Building hamid-0.9... Preprocessing library hamid-0.9... src/System/Midi.hs:19:8: error: File name does not match module name: Saw: ‘System.MIDI’ Expected: ‘System.Midi’ cabal: Leaving directory '/tmp/cabal-tmp-10269/hamid-0.9' cabal: Error: some packages failed to install: hamid-0.9 failed during the building phase. The exception was: ExitFailure 1