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 cabal-doctest-1.0.7 Starting StateVar-1.2 Starting base-orphans-0.8.1 Starting haskell-src-exts-1.21.1 Building StateVar-1.2 Building cabal-doctest-1.0.7 Building base-orphans-0.8.1 Building haskell-src-exts-1.21.1 Completed base-orphans-0.8.1 Starting lens-family-core-1.2.3 Completed StateVar-1.2 Starting primitive-0.7.0.0 Building lens-family-core-1.2.3 Building primitive-0.7.0.0 Completed cabal-doctest-1.0.7 Starting random-1.1 Building random-1.1 Completed lens-family-core-1.2.3 Starting tagged-0.8.6 Building tagged-0.8.6 Completed random-1.1 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed th-abstraction-0.3.1.0 Starting void-0.7.3 Building void-0.7.3 Completed transformers-compat-0.6.5 Starting contravariant-1.5.2 Completed void-0.7.3 Starting lens-family-1.2.3 Building contravariant-1.5.2 Building lens-family-1.2.3 Completed primitive-0.7.0.0 Starting distributive-0.6.1 Completed contravariant-1.5.2 Starting exceptions-0.10.3 Completed lens-family-1.2.3 Starting vector-0.12.0.3 Building exceptions-0.10.3 Building distributive-0.6.1 Building vector-0.12.0.3 Completed distributive-0.6.1 Starting comonad-5.0.5 Completed exceptions-0.10.3 Starting temporary-1.3 Building temporary-1.3 Building comonad-5.0.5 Completed temporary-1.3 Completed comonad-5.0.5 Starting bifunctors-5.5.5 Building bifunctors-5.5.5 Completed bifunctors-5.5.5 Starting profunctors-5.4 Building profunctors-5.4 Completed vector-0.12.0.3 Completed profunctors-5.4 Starting proto-lens-0.5.1.0 Building proto-lens-0.5.1.0 Completed proto-lens-0.5.1.0 Starting proto-lens-runtime-0.5.0.0 Building proto-lens-runtime-0.5.0.0 Completed proto-lens-runtime-0.5.0.0 Completed haskell-src-exts-1.21.1 Starting proto-lens-protoc-0.5.0.0 Building proto-lens-protoc-0.5.0.0 Completed proto-lens-protoc-0.5.0.0 Starting proto-lens-setup-0.4.0.2 Building proto-lens-setup-0.4.0.2 Completed proto-lens-setup-0.4.0.2 Starting proto-lens-protobuf-types-0.5.0.0 Building proto-lens-protobuf-types-0.5.0.0 Failed to install proto-lens-protobuf-types-0.5.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/proto-lens-protobuf-types-0.5.0.0-6PghmSZ4MTW4lY93dLLYn4.log ): cabal: Entering directory '/tmp/cabal-tmp-29732/proto-lens-protobuf-types-0.5.0.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-29732/proto-lens-protobuf-types-0.5.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-29732/proto-lens-protobuf-types-0.5.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-29732/proto-lens-protobuf-types-0.5.0.0/dist/setup/setup ... Configuring proto-lens-protobuf-types-0.5.0.0... ========== Error: couldn't find the executable "protoc" in your $PATH. Follow the installation instructions at https://google.github.io/proto-lens/installing-protoc.html . ========== Missing executable "protoc" CallStack (from HasCallStack): error, called at src/Data/ProtoLens/Setup.hs:416:13 in proto-lens-setup-0.4.0.2-BHWlp06P2aWC16AeQ44pdO:Data.ProtoLens.Setup cabal: Leaving directory '/tmp/cabal-tmp-29732/proto-lens-protobuf-types-0.5.0.0' cabal: Error: some packages failed to install: proto-lens-protobuf-types-0.5.0.0-6PghmSZ4MTW4lY93dLLYn4 failed during the building phase. The exception was: ExitFailure 1 tensorflow-proto-0.2.0.1-4SVEPFA0y7YB3mMxYjsPLk depends on tensorflow-proto-0.2.0.1 which failed to install.