fatal: not a git repository (or any of the parent directories): .git
CMake Deprecation Warning at CMakeLists.txt:20 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_FLAGS
    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS


/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.c: In function 'WebSocket_upgrade':
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.c:1324:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1324 |                 SHA1_Init( &ctx );
      |                 ^~~~~~~~~
In file included from /usr/include/openssl/x509.h:41,
                 from /usr/include/openssl/ssl.h:32,
                 from /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/SSLSocket.h:29,
                 from /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/MQTTPacket.h:26,
                 from /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.h:20,
                 from /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.c:30:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.c:1325:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1325 |                 SHA1_Update( &ctx, ws_key, strlen(ws_key));
      |                 ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/paho-mqtt-sys-0.5.0/paho.mqtt.c/src/WebSocket.c:1326:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1326 |                 SHA1_Final( sha_hash, &ctx );
      |                 ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
