Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting containers-0.5.11.0 Building containers-0.5.11.0 Completed containers-0.5.11.0 Starting cal-layout-0.1.0.1 Building cal-layout-0.1.0.1 Failed to install cal-layout-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/cal-layout-0.1.0.1-7VBhP0clwOXAPr0z1VGFEm.log ): cabal: Entering directory '/tmp/cabal-tmp-10440/cal-layout-0.1.0.1' Configuring cal-layout-0.1.0.1... Preprocessing library for cal-layout-0.1.0.1.. Building library for cal-layout-0.1.0.1.. [1 of 1] Compiling CalLayout ( src/CalLayout.hs, dist/build/CalLayout.o ) Preprocessing executable 'bookings-test' for cal-layout-0.1.0.1.. Building executable 'bookings-test' for cal-layout-0.1.0.1.. [1 of 1] Compiling Main ( example/Bookings.hs, dist/build/bookings-test/bookings-test-tmp/Main.o ) example/Bookings.hs:12:5: error: ‘start’ is not a (visible) method of class ‘CalEvent’ | 12 | start = bStart | ^^^^^ example/Bookings.hs:13:5: error: ‘end’ is not a (visible) method of class ‘CalEvent’ | 13 | end = bEnd | ^^^ cabal: Leaving directory '/tmp/cabal-tmp-10440/cal-layout-0.1.0.1' cabal: Error: some packages failed to install: cal-layout-0.1.0.1-7VBhP0clwOXAPr0z1VGFEm failed during the building phase. The exception was: ExitFailure 1