Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - crypton-connection-0.4.0 (lib:crypton-connection) (requires build) - ldap-client-0.4.3 (first run) Starting crypton-connection-0.4.0 (all, legacy fallback) Building crypton-connection-0.4.0 (all, legacy fallback) Installing crypton-connection-0.4.0 (all, legacy fallback) Completed crypton-connection-0.4.0 (all, legacy fallback) Configuring ldap-client-0.4.3... Preprocessing library for ldap-client-0.4.3.. Building library for ldap-client-0.4.3.. [ 1 of 12] Compiling Ldap.Asn1.Type ( src/Ldap/Asn1/Type.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/Type.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/Type.dyn_o ) [ 2 of 12] Compiling Ldap.Asn1.ToAsn1 ( src/Ldap/Asn1/ToAsn1.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/ToAsn1.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/ToAsn1.dyn_o ) [ 3 of 12] Compiling Ldap.Asn1.FromAsn1 ( src/Ldap/Asn1/FromAsn1.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/FromAsn1.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Asn1/FromAsn1.dyn_o ) src/Ldap/Asn1/FromAsn1.hs:9:56: warning: [-Wunused-imports] The import of liftA2 from module Control.Applicative is redundant | 9 | import Control.Applicative (Alternative(..), liftA2, optional) | ^^^^^^ src/Ldap/Asn1/FromAsn1.hs:15:1: warning: [-Wunused-imports] The import of Control.Monad.Fail is redundant except perhaps to import instances from Control.Monad.Fail To import instances alone, use: import Control.Monad.Fail() | 15 | import Control.Monad.Fail (MonadFail, fail) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Ldap/Asn1/FromAsn1.hs:412:3: warning: [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (Parser s). return will eventually be removed in favour of pure Either remove definition for return (recommended) or define as return = pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 412 | return x = Parser (\s -> return (s, x)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 12] Compiling Ldap.Client.Internal ( src/Ldap/Client/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Internal.dyn_o ) [ 5 of 12] Compiling Ldap.Client.Extended ( src/Ldap/Client/Extended.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Extended.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Extended.dyn_o ) [ 6 of 12] Compiling Ldap.Client.Delete ( src/Ldap/Client/Delete.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Delete.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Delete.dyn_o ) [ 7 of 12] Compiling Ldap.Client.Compare ( src/Ldap/Client/Compare.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Compare.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Compare.dyn_o ) [ 8 of 12] Compiling Ldap.Client.Bind ( src/Ldap/Client/Bind.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Bind.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Bind.dyn_o ) [ 9 of 12] Compiling Ldap.Client.Add ( src/Ldap/Client/Add.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Add.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Add.dyn_o ) [10 of 12] Compiling Ldap.Client.Modify ( src/Ldap/Client/Modify.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Modify.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Modify.dyn_o ) [11 of 12] Compiling Ldap.Client.Search ( src/Ldap/Client/Search.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Search.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client/Search.dyn_o ) src/Ldap/Client/Search.hs:43:1: warning: [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 43 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12 of 12] Compiling Ldap.Client ( src/Ldap/Client.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/ldap-client-0.4.3/noopt/build/Ldap/Client.dyn_o ) src/Ldap/Client.hs:247:22: warning: [GHC-20125] [-Wmissing-fields] " Fields of Conn.TLSSettingsSimple not initialised: settingClientSupported :: tls-2.0.6:Network.TLS.Parameters.Supported " In the expression: Conn.TLSSettingsSimple {Conn.settingDisableCertificateValidation = False, Conn.settingDisableSession = False, Conn.settingUseServerName = False} In an equation for defaultTlsSettings: defaultTlsSettings = Conn.TLSSettingsSimple {Conn.settingDisableCertificateValidation = False, Conn.settingDisableSession = False, Conn.settingUseServerName = False} | 247 | defaultTlsSettings = Conn.TLSSettingsSimple | ^^^^^^^^^^^^^^^^^^^^^^... src/Ldap/Client.hs:254:23: warning: [GHC-20125] [-Wmissing-fields] " Fields of Conn.TLSSettingsSimple not initialised: settingClientSupported :: tls-2.0.6:Network.TLS.Parameters.Supported " In the expression: Conn.TLSSettingsSimple {Conn.settingDisableCertificateValidation = True, Conn.settingDisableSession = False, Conn.settingUseServerName = False} In an equation for insecureTlsSettings: insecureTlsSettings = Conn.TLSSettingsSimple {Conn.settingDisableCertificateValidation = True, Conn.settingDisableSession = False, Conn.settingUseServerName = False} | 254 | insecureTlsSettings = Conn.TLSSettingsSimple | ^^^^^^^^^^^^^^^^^^^^^^... Preprocessing test suite 'spec' for ldap-client-0.4.3.. Building test suite 'spec' for ldap-client-0.4.3.. ghc-9.6.3: could not execute: hspec-discover