elastic-arm-384804be: building 1wrc7rbb4amlmf7d9pg22n3nlkj2vhdd-zerotierone-1.10.2.drv
Running phase: unpackPhase
unpacking sources
unpacking source archive /nix/store/s95prcayjzn74h8bjix425qimncm8his-source
source root is source
Running phase: patchPhase
patching sources
Running phase: updateAutotoolsGnuConfigScriptsPhase
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./ext/libpqxx-7.7.3/config/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./ext/libpqxx-7.7.3/config/config.guess
Running phase: configurePhase
configuring
patching script interpreter paths in ./doc/build.sh
./doc/build.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/m45cjiwspshg01wrk2pln2qndasky23r-bash-5.1-p16/bin/bash"
fixing libtool script ./ext/libpqxx-7.7.3/config/ltmain.sh
./ext/libpqxx-7.7.3/configure
no configure script, doing nothing
Running phase: buildPhase
building
build flags: -j16 SHELL=/nix/store/m45cjiwspshg01wrk2pln2qndasky23r-bash-5.1-p16/bin/bash all selftest
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/AES.o node/AES.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/AES_aesni.o node/AES_aesni.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/AES_armcrypto.o node/AES_armcrypto.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/C25519.o node/C25519.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Capability.o node/Capability.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/CertificateOfMembership.o node/CertificateOfMembership.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/CertificateOfOwnership.o node/CertificateOfOwnership.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Identity.o node/Identity.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/IncomingPacket.o node/IncomingPacket.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/InetAddress.o node/InetAddress.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Membership.o node/Membership.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Multicaster.o node/Multicaster.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Network.o node/Network.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/NetworkConfig.o node/NetworkConfig.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Node.o node/Node.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/OutboundMulticast.o node/OutboundMulticast.cpp
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Multicaster.cpp:19:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Membership.cpp:18:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Packet.o node/Packet.cpp
In file included from node/Network.cpp:23:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Path.o node/Path.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Peer.o node/Peer.cpp
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Capability.cpp:17:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/IncomingPacket.hpp:23,
from node/IncomingPacket.cpp:23:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Switch.hpp:28,
from node/OutboundMulticast.cpp:17:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Poly1305.o node/Poly1305.cpp
In file included from node/Node.hpp:32,
from node/Node.cpp:24:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/CertificateOfOwnership.cpp:17:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/CertificateOfMembership.cpp:16:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Revocation.o node/Revocation.cpp
node/Node.cpp: In member function 'ZT_ResultCode ZeroTier::Node::processBackgroundTasks(void*, int64_t, volatile int64_t*)':
node/Node.cpp:267:29: warning: comparison of integer expressions of different signedness: 'const int64_t' {aka 'const long int'} and 'long unsigned int' [-Wsign-compare]
267 | if (timeSinceLastPingCheck >= timeUntilNextPingCheck) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Peer.cpp:16:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Path.cpp:16:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Salsa20.o node/Salsa20.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/SelfAwareness.o node/SelfAwareness.cpp
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Revocation.cpp:17:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/SHA512.o node/SHA512.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Switch.o node/Switch.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Tag.o node/Tag.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Topology.o node/Topology.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Trace.o node/Trace.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Utils.o node/Utils.cpp
In file included from node/Node.hpp:32,
from node/SelfAwareness.cpp:24:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o node/Bond.o node/Bond.cpp
export PATH=//homeless-shelter/.cargo/bin:$PATH; cd zeroidc && cargo build --release
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o one.o one.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o selftest.o selftest.cpp
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Tag.cpp:17:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Switch.hpp:28,
from node/Switch.cpp:26:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Topology.cpp:15:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
In file included from node/Node.hpp:32,
from node/Peer.hpp:24,
from node/Topology.hpp:30,
from node/Switch.hpp:28,
from node/Trace.cpp:21:
node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
one.cpp: In function 'int cli(int, char**)':
one.cpp:630:23: warning: comparison of integer expressions of different signedness: 'int' and 'nlohmann::basic_json<>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
630 | for (int i=0; i
::size_type' {aka 'long unsigned int'} [-Wsign-compare]
644 | for (int i=0; isecond->age(now) > age) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
node/Bond.cpp:695:29: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
695 | if (it->second->age(now) > maxAge) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
node/Bond.cpp: In member function 'void ZeroTier::Bond::pathNegotiationCheck(void*, int64_t)':
node/Bond.cpp:757:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
757 | if (_paths[i].packetsIn > maxInCount) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
node/Bond.cpp:761:28: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
761 | if (_paths[i].packetsOut > maxOutCount) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
node/Bond.cpp: In member function 'void ZeroTier::Bond::processBackgroundBondTasks(void*, int64_t)':
node/Bond.cpp:886:66: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
886 | if ((_monitorInterval > 0) && (((now - _paths[i].p->_lastIn) >= (_paths[i].alive ? _monitorInterval : _failoverInterval)))) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node/Bond.cpp: In member function 'void ZeroTier::Bond::curateBond(int64_t, bool)':
node/Bond.cpp:976:60: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
976 | _paths[i].alive = _isLeaf ? (now - _paths[i].p->_lastIn) < _failoverInterval : (now - _paths[i].p->_lastIn) < ZT_PEER_PATH_EXPIRATION;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:983:57: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
983 | bool acceptableAge = _isLeaf ? (_paths[i].p->age(now) < (_failoverInterval + _downDelay)) : _paths[i].alive;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1080:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1080 | for (int j = 0; j < it->second.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1095:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1095 | for (int j = 0; j < it->second.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1107:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1107 | for (int j = 0; j < it->second.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1126:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1126 | for (int j = 0; j < it->second.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1141:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1141 | for (int j = 0; j < it->second.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp: In member function 'void ZeroTier::Bond::estimatePathQuality(int64_t)':
node/Bond.cpp:1191:27: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
1191 | if ((now - it->second) >= qosRecordTimeout) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1220:27: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
1220 | if ((now - it->second) >= qosRecordTimeout) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp: In member function 'void ZeroTier::Bond::processActiveBackupTasks(void*, int64_t)':
node/Bond.cpp:1614:49: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
1614 | int newHandicap = _paths[j].failoverScore > inheritedHandicap ? _paths[j].failoverScore : inheritedHandicap;
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
node/Bond.cpp:1690:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1690 | for (int i = 0; i < _abFailoverQueue.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Compiling foreign-types-shared v0.1.1
Compiling openssl v0.10.40
Compiling futures-util v0.3.21
selftest.cpp: In function 'int testPhy()':
selftest.cpp:1044:25: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
1044 | while ((OSUtils::now() < timeoutAt)&&(phyTestUdpPacketCount < ZT_TEST_PHY_NUM_UDP_PACKETS)) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
selftest.cpp:1057:25: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
1057 | while ((OSUtils::now() < timeoutAt)&&(phyTestTcpByteCount < (ZT_TEST_PHY_NUM_VALID_TCP_CONNECTS * ZT_TEST_PHY_TCP_MESSAGE_SIZE))) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
Compiling foreign-types v0.3.2
Compiling generic-array v0.14.5
Compiling http v0.2.8
Compiling futures-channel v0.3.21
Compiling bitflags v1.3.2
Compiling tracing v0.1.35
Compiling tinyvec_macros v0.1.0
Compiling quote v1.0.18
Compiling native-tls v0.2.10
Compiling futures-sink v0.3.21
Compiling hashbrown v0.11.2
Compiling httparse v1.7.1
Compiling slab v0.4.6
one.cpp: In function 'int cli(int, char**)':
one.cpp:1365:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
1365 | getcwd(cwd, sizeof(cwd));
| ~~~~~~^~~~~~~~~~~~~~~~~~
one.cpp:1373:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
1373 | write(fd, dump.str().c_str(), dump.str().size());
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
one.cpp: In function 'void {anonymous}::_recursiveChown(const char*, uid_t, gid_t)':
one.cpp:1737:8: warning: ignoring return value of 'int lchown(const char*, __uid_t, __gid_t)', declared with attribute warn_unused_result [-Wunused-result]
1737 | lchown(path,uid,gid);
| ~~~~~~^~~~~~~~~~~~~~
Compiling futures-io v0.3.21
Compiling matches v0.1.9
Compiling pin-utils v0.1.0
Compiling tinyvec v1.6.0
Compiling num-integer v0.1.45
Compiling ryu v1.0.10
Compiling try-lock v0.2.3
Compiling subtle v2.4.1
Compiling openssl-probe v0.1.5
Compiling percent-encoding v2.1.0
Compiling socket2 v0.4.4
Compiling mio v0.8.3
Compiling openssl-sys v0.9.74
Compiling num_cpus v1.13.1
Compiling getrandom v0.2.6
In file included from node/../osdep/Binder.hpp:53,
from node/Bond.hpp:17,
from node/Node.hpp:37,
from node/Peer.hpp:24,
from selftest.cpp:36:
node/../osdep/Phy.hpp: In member function 'void ZeroTier::Phy::poll(long unsigned int) [with HANDLER_PTR_TYPE = TestPhyHandlers*]':
node/../osdep/Phy.hpp:882:10: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
882 | ::read(_whackReceiveSocket,tmp,16);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling want v0.3.0
Compiling form_urlencoded v1.0.1
Compiling http-body v0.4.5
Compiling tokio v1.19.2
Compiling encoding_rs v0.8.31
Compiling unicode-width v0.1.9
Compiling tower-service v0.3.1
Compiling httpdate v1.0.2
one.cpp: In function 'int cli(int, char**)':
one.cpp:1366:21: warning: 'zerotier_dump.txt' directive writing 17 bytes into a region of size between 0 and 16383 [-Wformat-overflow=]
1366 | sprintf(cwd, "%s%szerotier_dump.txt", cwd, ZT_PATH_SEPARATOR_S);
| ^~~~~~~~~~~~~~~~~
In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/stdio.h:906,
from one.cpp:18:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 19 and 16402 bytes into a destination of size 16384
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
Compiling unicode-bidi v0.3.8
Compiling textwrap v0.11.0
Compiling unicode-normalization v0.1.19
Compiling atty v0.2.14
Compiling rand_core v0.6.3
In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/string.h:535,
from selftest.cpp:16:
In function 'void* memcpy(void*, const void*, size_t)',
inlined from 'ZeroTier::PhySocket* ZeroTier::Phy::tcpConnect(const sockaddr*, bool&, void*, bool) [with HANDLER_PTR_TYPE = TestPhyHandlers*]' at node/../osdep/Phy.hpp:672:9,
inlined from 'int testPhy()' at selftest.cpp:1061:36:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [17, 28] is out of the bounds [0, 16] of object 'bindaddr' with type 'sockaddr_in' [-Warray-bounds]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
selftest.cpp: In function 'int testPhy()':
selftest.cpp:1007:21: note: 'bindaddr' declared here
1007 | struct sockaddr_in bindaddr;
| ^~~~~~~~
In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/string.h:535,
from selftest.cpp:16:
In function 'void* memcpy(void*, const void*, size_t)',
inlined from 'ZeroTier::PhySocket* ZeroTier::Phy::tcpConnect(const sockaddr*, bool&, void*, bool) [with HANDLER_PTR_TYPE = TestPhyHandlers*]' at node/../osdep/Phy.hpp:672:9,
inlined from 'int testPhy()' at selftest.cpp:1061:36:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [17, 28] is out of the bounds [0, 16] of object 'bindaddr' with type 'sockaddr_in' [-Warray-bounds]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
selftest.cpp: In function 'int testPhy()':
selftest.cpp:1007:21: note: 'bindaddr' declared here
1007 | struct sockaddr_in bindaddr;
| ^~~~~~~~
In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/string.h:535,
from selftest.cpp:16:
In function 'void* memcpy(void*, const void*, size_t)',
inlined from 'ZeroTier::PhySocket* ZeroTier::Phy::tcpConnect(const sockaddr*, bool&, void*, bool) [with HANDLER_PTR_TYPE = TestPhyHandlers*]' at node/../osdep/Phy.hpp:672:9,
inlined from 'int testPhy()' at selftest.cpp:1067:36:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [17, 28] is out of the bounds [0, 16] of object 'invalidAddr' with type 'sockaddr_in' [-Warray-bounds]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
selftest.cpp: In function 'int testPhy()':
selftest.cpp:1012:21: note: 'invalidAddr' declared here
1012 | struct sockaddr_in invalidAddr;
| ^~~~~~~~~~~
In file included from /nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/string.h:535,
from selftest.cpp:16:
In function 'void* memcpy(void*, const void*, size_t)',
inlined from 'ZeroTier::PhySocket* ZeroTier::Phy::tcpConnect(const sockaddr*, bool&, void*, bool) [with HANDLER_PTR_TYPE = TestPhyHandlers*]' at node/../osdep/Phy.hpp:672:9,
inlined from 'int testPhy()' at selftest.cpp:1067:36:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [17, 28] is out of the bounds [0, 16] of object 'invalidAddr' with type 'sockaddr_in' [-Warray-bounds]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
selftest.cpp: In function 'int testPhy()':
selftest.cpp:1012:21: note: 'invalidAddr' declared here
1012 | struct sockaddr_in invalidAddr;
| ^~~~~~~~~~~
Compiling cpufeatures v0.2.2
Compiling strsim v0.8.0
Compiling ansi_term v0.12.1
Compiling fastrand v1.7.0
Compiling base64 v0.13.0
Compiling crypto-common v0.1.3
Compiling block-buffer v0.10.2
Compiling cbindgen v0.20.0
Compiling digest v0.10.3
Compiling vec_map v0.8.2
Compiling idna v0.2.3
Compiling unicode-segmentation v1.9.0
Compiling remove_dir_all v0.5.3
Compiling ppv-lite86 v0.2.16
Compiling sha2 v0.10.2
Compiling tempfile v3.3.0
Compiling clap v2.34.0
Compiling ring v0.16.20
Compiling num-bigint v0.4.3
Compiling ipnet v2.5.0
Compiling lazy_static v1.4.0
Compiling heck v0.3.3
Compiling rand_chacha v0.3.1
Compiling mime v0.3.16
Compiling ordered-float v2.10.0
Compiling spin v0.5.2
Compiling either v1.6.1
Compiling rand v0.8.5
Compiling untrusted v0.7.1
Compiling itertools v0.10.3
Compiling hmac v0.12.1
Compiling num_threads v0.1.6
Compiling time v0.3.9
Compiling openssl-macros v0.1.0
Compiling thiserror-impl v1.0.31
Compiling tokio-util v0.7.3
Compiling h2 v0.3.13
Compiling thiserror v1.0.31
Compiling tokio-native-tls v0.3.0
Compiling hyper v0.14.19
Compiling toml v0.5.9
Compiling serde_urlencoded v0.7.1
Compiling url v2.2.2
Compiling serde_path_to_error v0.1.7
Compiling chrono v0.4.19
Compiling serde-value v0.7.0
Compiling hyper-tls v0.5.0
Compiling reqwest v0.11.10
Compiling jwt v0.16.0 (https://github.com/glimberg/rust-jwt#61a9291f)
Compiling oauth2 v4.2.0
Compiling openidconnect v2.3.1
Compiling zeroidc v0.1.0 (/build/source/zeroidc)
warning: unused imports: `OffsetDateTime`, `format_description`
--> src/lib.rs:38:12
|
38 | use time::{format_description, OffsetDateTime};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused return value of `Box::::from_raw` that must be used
--> src/ext.rs:84:9
|
84 | Box::from_raw(ptr);
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_must_use)]` on by default
= note: call `drop(from_raw(ptr))` if you intend to drop the `Box`
warning: `zeroidc` (lib) generated 2 warnings
Finished release [optimized] target(s) in 4m 42s
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/EmbeddedNetworkController.o controller/EmbeddedNetworkController.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/DBMirrorSet.o controller/DBMirrorSet.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/DB.o controller/DB.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/FileDB.o controller/FileDB.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/LFDB.o controller/LFDB.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o controller/PostgreSQL.o controller/PostgreSQL.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/EthernetTap.o osdep/EthernetTap.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/ManagedRoute.o osdep/ManagedRoute.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/Http.o osdep/Http.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/OSUtils.o osdep/OSUtils.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o service/SoftwareUpdater.o service/SoftwareUpdater.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o service/OneService.o service/OneService.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/LinuxEthernetTap.o osdep/LinuxEthernetTap.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/LinuxNetLink.o osdep/LinuxNetLink.cpp
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o osdep/PortMapper.o osdep/PortMapper.cpp
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/connecthostport.o ext/miniupnpc/connecthostport.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/igd_desc_parse.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/minisoap.o ext/miniupnpc/minisoap.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/minissdpc.o ext/miniupnpc/minissdpc.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniupnpc.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/miniwget.o ext/miniupnpc/miniwget.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/minixml.o ext/miniupnpc/minixml.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/portlistingparse.o ext/miniupnpc/portlistingparse.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/receivedata.o ext/miniupnpc/receivedata.c
In file included from service/../node/Node.hpp:32,
from service/OneService.cpp:33:
service/../node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
service/../node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
service/../node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpcommands.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnpdev.c
osdep/LinuxNetLink.cpp: In member function 'void ZeroTier::LinuxNetLink::_routeAdded(nlmsghdr*)':
osdep/LinuxNetLink.cpp:294:7: warning: unused variable 'ms' [-Wunused-variable]
294 | char ms[24] = {0};
| ^~
osdep/LinuxNetLink.cpp: In member function 'void ZeroTier::LinuxNetLink::_routeDeleted(nlmsghdr*)':
osdep/LinuxNetLink.cpp:382:7: warning: unused variable 'ms' [-Wunused-variable]
382 | char ms[24] = {0};
| ^~
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnperrors.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/miniupnpc/upnpreplyparse.o ext/miniupnpc/upnpreplyparse.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/libnatpmp/natpmp.o ext/libnatpmp/natpmp.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/libnatpmp/getgateway.o ext/libnatpmp/getgateway.c
gcc -O3 -fstack-protector -Wall -Wno-deprecated -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -c -o ext/http-parser/http_parser.o ext/http-parser/http_parser.c
service/OneService.cpp: In member function 'unsigned int ZeroTier::{anonymous}::OneServiceImpl::handleControlPlaneHttpRequest(const ZeroTier::InetAddress&, unsigned int, const string&, const std::map, std::__cxx11::basic_string >&, const string&, std::string&, std::string&)':
service/OneService.cpp:1532:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1532 | for (int i = 0; i < boundAddrs.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~
service/OneService.cpp:1541:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1541 | for (int i = 0; i < surfaceAddrs.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from osdep/Http.cpp:19:
osdep/Phy.hpp: In member function 'void ZeroTier::Phy::poll(long unsigned int) [with HANDLER_PTR_TYPE = ZeroTier::{anonymous}::HttpPhyHandler*]':
osdep/Phy.hpp:882:10: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
882 | ::read(_whackReceiveSocket,tmp,16);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from service/../node/Node.hpp:32,
from service/SoftwareUpdater.cpp:41:
service/../node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
service/../node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
service/../node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
osdep/OSUtils.cpp: In static member function 'static std::vector > ZeroTier::OSUtils::listDirectory(const char*, bool)':
osdep/OSUtils.cpp:111:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
111 | if (readdir_r(d,&de,&dptr))
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
osdep/OSUtils.cpp:111:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
111 | if (readdir_r(d,&de,&dptr))
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
osdep/OSUtils.cpp: In static member function 'static long int ZeroTier::OSUtils::cleanDirectory(const char*, int64_t)':
osdep/OSUtils.cpp:161:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
161 | if (readdir_r(d,&de,&dptr))
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
osdep/OSUtils.cpp:161:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
161 | if (readdir_r(d,&de,&dptr))
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
osdep/OSUtils.cpp: In static member function 'static bool ZeroTier::OSUtils::rmDashRf(const char*)':
osdep/OSUtils.cpp:210:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
210 | if (readdir_r(d,&de,&dptr) != 0)
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
osdep/OSUtils.cpp:210:28: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
210 | if (readdir_r(d,&de,&dptr) != 0)
| ^
In file included from osdep/OSUtils.cpp:32:
/nix/store/fwc8330z3yk4m3npi5n01qvxyvhn7rsc-glibc-2.35-224-dev/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
In file included from controller/../node/Node.hpp:32,
from controller/EmbeddedNetworkController.cpp:45:
controller/../node/Network.hpp: In constructor 'ZeroTier::Network::_IncomingConfigChunk::_IncomingConfigChunk()':
controller/../node/Network.hpp:450:70: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct ZeroTier::Network::_IncomingConfigChunk' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
450 | _IncomingConfigChunk() { memset(this,0,sizeof(_IncomingConfigChunk)); }
| ^
controller/../node/Network.hpp:448:9: note: 'struct ZeroTier::Network::_IncomingConfigChunk' declared here
448 | struct _IncomingConfigChunk
| ^~~~~~~~~~~~~~~~~~~~
osdep/LinuxEthernetTap.cpp: In constructor 'ZeroTier::LinuxEthernetTap::LinuxEthernetTap(const char*, const ZeroTier::MAC&, unsigned int, unsigned int, uint64_t, const char*, void (*)(void*, void*, uint64_t, const ZeroTier::MAC&, const ZeroTier::MAC&, unsigned int, unsigned int, const void*, unsigned int), void*)':
osdep/LinuxEthernetTap.cpp:219:14: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result]
219 | (void)::pipe(_shutdownSignalPipe);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
osdep/LinuxEthernetTap.cpp: In destructor 'ZeroTier::LinuxEthernetTap::~LinuxEthernetTap()':
osdep/LinuxEthernetTap.cpp:345:15: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
345 | (void)::write(_shutdownSignalPipe[1],"\0",1);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osdep/LinuxEthernetTap.cpp: In member function 'virtual void ZeroTier::LinuxEthernetTap::put(const ZeroTier::MAC&, const ZeroTier::MAC&, unsigned int, const void*, unsigned int)':
osdep/LinuxEthernetTap.cpp:486:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
486 | (void)::write(_fd,putBuf,len);
| ~~~~~~~^~~~~~~~~~~~~~~~
In file included from service/../node/../osdep/Binder.hpp:53,
from service/../node/Bond.hpp:17,
from service/../node/Node.hpp:37,
from service/OneService.cpp:33:
service/../node/../osdep/Phy.hpp: In member function 'void ZeroTier::Phy::whack() [with HANDLER_PTR_TYPE = ZeroTier::{anonymous}::OneServiceImpl*]':
service/../node/../osdep/Phy.hpp:256:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
256 | (void)(::write(_whackSendSocket, (PhySocket*)this, 1));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
service/../node/../osdep/Phy.hpp: In member function 'void ZeroTier::Phy::poll(long unsigned int) [with HANDLER_PTR_TYPE = ZeroTier::{anonymous}::OneServiceImpl*]':
service/../node/../osdep/Phy.hpp:882:10: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
882 | ::read(_whackReceiveSocket,tmp,16);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -pie -Wl,-z,relro,-z,now -o zerotier-one node/AES.o node/AES_aesni.o node/AES_armcrypto.o node/C25519.o node/Capability.o node/CertificateOfMembership.o node/CertificateOfOwnership.o node/Identity.o node/IncomingPacket.o node/InetAddress.o node/Membership.o node/Multicaster.o node/Network.o node/NetworkConfig.o node/Node.o node/OutboundMulticast.o node/Packet.o node/Path.o node/Peer.o node/Poly1305.o node/Revocation.o node/Salsa20.o node/SelfAwareness.o node/SHA512.o node/Switch.o node/Tag.o node/Topology.o node/Trace.o node/Utils.o node/Bond.o controller/EmbeddedNetworkController.o controller/DBMirrorSet.o controller/DB.o controller/FileDB.o controller/LFDB.o controller/PostgreSQL.o osdep/EthernetTap.o osdep/ManagedRoute.o osdep/Http.o osdep/OSUtils.o service/SoftwareUpdater.o service/OneService.o osdep/LinuxEthernetTap.o osdep/LinuxNetLink.o osdep/PortMapper.o ext/miniupnpc/connecthostport.o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/minisoap.o ext/miniupnpc/minissdpc.o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniwget.o ext/miniupnpc/minixml.o ext/miniupnpc/portlistingparse.o ext/miniupnpc/receivedata.o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnpreplyparse.o ext/libnatpmp/natpmp.o ext/libnatpmp/getgateway.o ext/http-parser/http_parser.o one.o zeroidc/target/release/libzeroidc.a -ldl -lssl -lcrypto
g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Izeroidc/target -isystem ext -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING="\"Linux\"" -DMINIUPNPC_VERSION_STRING="\"2.0\"" -DUPNP_VERSION_STRING="\"UPnP/1.1\"" -DENABLE_STRNATPMPERR -DZT_NO_TYPE_PUNNING -DZT_ARCH_ARM_HAS_NEON -march=armv8-a+crypto -mtune=generic -mstrict-align -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=4 -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\"" -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -fPIC -fPIE -pie -Wl,-z,relro,-z,now -o zerotier-selftest selftest.o node/AES.o node/AES_aesni.o node/AES_armcrypto.o node/C25519.o node/Capability.o node/CertificateOfMembership.o node/CertificateOfOwnership.o node/Identity.o node/IncomingPacket.o node/InetAddress.o node/Membership.o node/Multicaster.o node/Network.o node/NetworkConfig.o node/Node.o node/OutboundMulticast.o node/Packet.o node/Path.o node/Peer.o node/Poly1305.o node/Revocation.o node/Salsa20.o node/SelfAwareness.o node/SHA512.o node/Switch.o node/Tag.o node/Topology.o node/Trace.o node/Utils.o node/Bond.o controller/EmbeddedNetworkController.o controller/DBMirrorSet.o controller/DB.o controller/FileDB.o controller/LFDB.o controller/PostgreSQL.o osdep/EthernetTap.o osdep/ManagedRoute.o osdep/Http.o osdep/OSUtils.o service/SoftwareUpdater.o service/OneService.o osdep/LinuxEthernetTap.o osdep/LinuxNetLink.o osdep/PortMapper.o ext/miniupnpc/connecthostport.o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/minisoap.o ext/miniupnpc/minissdpc.o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniwget.o ext/miniupnpc/minixml.o ext/miniupnpc/portlistingparse.o ext/miniupnpc/receivedata.o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnpreplyparse.o ext/libnatpmp/natpmp.o ext/libnatpmp/getgateway.o ext/http-parser/http_parser.o zeroidc/target/release/libzeroidc.a -ldl -lssl -lcrypto
ln -sf zerotier-one zerotier-idtool
ln -sf zerotier-one zerotier-cli
buildPhase completed in 7 minutes 17 seconds
Running phase: checkPhase
running tests
[info] sizeof(void *) == 8
[info] OSUtils::now() == 1791593495827
[info] hardware concurrency == 16
[info] sizeof(NetworkConfig) == 466360
[other] Testing hex/unhex... PASS
[other] Testing InetAddress encode/decode... 127.0.0.1/9993 feed:dead:babe:dead:beef:f00d:1234:5678/12345
[other] Testing/fuzzing Dictionary... PASS (junk value to prevent optimization-out of test: -17538)
[crypto] getSecureRandom: 60cbdf51493ea2f8713912d61df95756323d066f37a6d52730b9fb207b1c960ab987cd03f10852a430df58c7cac77e9a3115b2429c4d9392f36a4675f0f21c75
[crypto] getSecureRandom: 9832666436daa81aadfd6e860e64a92f9f5bdd25190896a7293e97fb78ed72823a4c8a083994a7c65a0c977c008016ab7255ae70899fa44a99e122b9b302b11d
[crypto] getSecureRandom: 98959561e6fbe5538040e440fed2e283eef5da20a0408c745f771b530c9f8fa4efc8abc5735bc9efd7ad015f94f10e6df1f0c1a038995f08faf610addfb3a363
[crypto] Testing Salsa20... PASS
[crypto] Salsa20 SSE: DISABLED
[crypto] Benchmarking Salsa20/12... 534.648 MiB/second (f31ddbcdb3b69d0a5e19ba94a7e2facc)
[crypto] Benchmarking Salsa20/20... 98.6202 MiB/second (24c619994ae7f1549136169c9072f3d7)
[crypto] Benchmarking AES-GMAC-SIV... 359.986 MiB/second
[crypto] Testing SHA-512... PASS
[crypto] Testing Poly1305... PASS
[crypto] Benchmarking Poly1305... 110.138 MiB/second
[crypto] Testing C25519 and Ed25519 against test vectors... PASS
[crypto] Testing C25519 ECC key agreement... PASS
[crypto] Benchmarking C25519 ECC key agreement... 0.22ms per agreement.
[crypto] Testing Ed25519 ECC signatures... PASS
[crypto] Benchmarking Ed25519 ECC signatures... 97.42ms per signature.
[packet] Testing Packet encoder/decoder... (compressed: 77, decompressed: 1116) PASS
[identity] Validate known-good identity... PASS (37.4ms per validation)
[identity] Validate known-bad identity... PASS (i.e. it failed)
[identity] Generate identity... (took 1211ms): cdfdf064c8:0:53efcfd322cfc0c8d710f9c68641e21792b6e0ac5fb4fed09577ffe5827202294df592c38294af49bb497398dbbf55a24815a87bb6748d00cb89ce0f3e9ef52f:66c445305a96ce01e6c2ed0404ffe59eaadc528de910db7727fd604214121f20c358495843658958fca97bb0ea82fa8e3012e200c2d6f8bc218479966c60e512
[identity] Locally validate identity: PASS
[identity] Generate identity... (took 596ms): 73b218ac30:0:f5451a0a903987b2af3aa83aee4590451cc9973e88073a7cb735812405064c6cdd58950a663704850245cb91252ae8955d97764a556690635ad2575fb8598498:c3b30820bc9cce1134b7463b735dd79722f6ea5798a25e522c6defb26bb1ac6864ea3bab2dcb74f3c65928b1126b8cff9615d7048f5bfdeb554c5d3d308346d1
[identity] Locally validate identity: PASS
[identity] Generate identity... (took 2509ms): 5ba91f5b53:0:0c58b16d07bf3aebf1ce668642fd9045d3031eba4c18d0a457dab40b15e9c66458b525559f07ecfe9efa27ff328fb8da348bbcf47ad2da3470681070fc4ca5c0:61aafe8255fe4fd95416493d56d041a224fd81585d5d0e7b1961e8d9a2718432d8c9bb31d39d5889c486767f8087b658e7137dc2925056864e633744e23e9371
[identity] Locally validate identity: PASS
[identity] Generate identity... (took 984ms): af619f84d2:0:a3ccd95ccabd6a915dcbae3aaba0943d66d3babc95b45511bd79aa6b1e38655294b340ca3e2df18968ab6447bca81645bb0b2142ed377951eef206121595dfc1:056629baf242d474dfe026d4b75d3d784fe520ac9dd2cfe65b92cb04b258c6b91db388e7720903504fc0d5389e99882ca8194d496fc2eb71ec6a9904ae0d4139
[identity] Locally validate identity: PASS
[identity] Serialize and deserialize (w/private): PASS
[identity] Serialize and deserialize (no private): PASS
[identity] Serialize and deserialize (ASCII w/private): PASS
[identity] Serialize and deserialize (ASCII no private): PASS
[certificate] Generating identity to act as authority... 8f9bda1de3
[certificate] Generating identities A and B... a6293bd5ed, 7c11a756f3
[certificate] Generating certificates A and B...
[certificate] Signing certificates A and B with authority...
[certificate] A agrees with B and B with A... yes, yes.
[certificate] Generating two certificates that should not agree...
[certificate] A agrees with B and B with A... no, no.
[phy] Creating phy endpoint...
[phy] Binding UDP listen socket to 127.0.0.1/60002... OK
[phy] Binding TCP listen socket to 127.0.0.1/60002... OK
[phy] Testing UDP send/receive... got 10000 packets, OK
[phy] Testing TCP... got 10 connect successes, 2 failures, and 10000000 bytes, OK
checkPhase completed in 49 seconds
Running phase: installPhase
installing
install flags: SHELL=/nix/store/m45cjiwspshg01wrk2pln2qndasky23r-bash-5.1-p16/bin/bash pkgconfigdir=/nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2/lib/pkgconfig m4datadir=/nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2/share/aclocal aclocaldir=/nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2/share/aclocal DESTDIR=\$\$out/upstream install
mkdir -p $out/upstream/usr/sbin
rm -f $out/upstream/usr/sbin/zerotier-one
cp -f zerotier-one $out/upstream/usr/sbin/zerotier-one
rm -f $out/upstream/usr/sbin/zerotier-cli
rm -f $out/upstream/usr/sbin/zerotier-idtool
ln -s zerotier-one $out/upstream/usr/sbin/zerotier-cli
ln -s zerotier-one $out/upstream/usr/sbin/zerotier-idtool
mkdir -p $out/upstream/var/lib/zerotier-one
rm -f $out/upstream/var/lib/zerotier-one/zerotier-one
rm -f $out/upstream/var/lib/zerotier-one/zerotier-cli
rm -f $out/upstream/var/lib/zerotier-one/zerotier-idtool
ln -s ../../../usr/sbin/zerotier-one $out/upstream/var/lib/zerotier-one/zerotier-one
ln -s ../../../usr/sbin/zerotier-one $out/upstream/var/lib/zerotier-one/zerotier-cli
ln -s ../../../usr/sbin/zerotier-one $out/upstream/var/lib/zerotier-one/zerotier-idtool
mkdir -p $out/upstream/usr/share/man/man8
rm -f $out/upstream/usr/share/man/man8/zerotier-one.8.gz
cat doc/zerotier-one.8 | gzip -9 >$out/upstream/usr/share/man/man8/zerotier-one.8.gz
mkdir -p $out/upstream/usr/share/man/man1
rm -f $out/upstream/usr/share/man/man1/zerotier-idtool.1.gz
rm -f $out/upstream/usr/share/man/man1/zerotier-cli.1.gz
cat doc/zerotier-cli.1 | gzip -9 >$out/upstream/usr/share/man/man1/zerotier-cli.1.gz
cat doc/zerotier-idtool.1 | gzip -9 >$out/upstream/usr/share/man/man1/zerotier-idtool.1.gz
cp ext/installfiles/linux/zerotier-one.te $out/upstream/var/lib/zerotier-one/zerotier-one.te
Running phase: fixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2
shrinking /nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2/bin/zerotier-one
strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip
stripping (with command strip and flags -S) in /nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2/bin
patching script interpreter paths in /nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2
checking for references to /build/ in /nix/store/a1hdd3wb2icas8snd3q0hjrjqs3rzf2l-zerotierone-1.10.2...
shrinking RPATHs of ELF executables and libraries in /nix/store/z9f3364f2m88655pd2h5xrmsj9rsis3d-zerotierone-1.10.2-man
gzipping man pages under /nix/store/z9f3364f2m88655pd2h5xrmsj9rsis3d-zerotierone-1.10.2-man/share/man/
strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip
patching script interpreter paths in /nix/store/z9f3364f2m88655pd2h5xrmsj9rsis3d-zerotierone-1.10.2-man
checking for references to /build/ in /nix/store/z9f3364f2m88655pd2h5xrmsj9rsis3d-zerotierone-1.10.2-man...