* Package: sys-fs/cryfs-0.10.2 * Repository: gentoo * Maintainer: nickaristocrates@gmail.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.11.18-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] * Applying cryfs-0.10.2-unbundle-libs.patch ... [ ok ] * Applying cryfs-0.10.2-install-targets.patch ... [ ok ] * Working in BUILD_DIR: "/var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build" * Hardcoded definition(s) removed in vendor/cryptopp/vendor_cryptopp/CMakeLists.txt: * set(CMAKE_BUILD_TYPE RelWithDebInfo) * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE INTERNAL "CMAKE_BUILD_TYPE") * please use append-cppflags for preprocessor flags * Working in BUILD_DIR: "/var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build" cmake -C /var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBoost_USE_STATIC_LIBS=OFF -DCRYFS_UPDATE_CHECKS=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_SYSTEM_LIBS=ON -DBUILD_TESTING=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build/gentoo_toolchain.cmake /var/tmp/portage/sys-fs/cryfs-0.10.2/work loading initial cache file /var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.7.4") -- Checking for module 'libcryptopp>=8.2' -- Found libcryptopp, version 8.5 -- Building version 0.10.2 -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") -- addr2line found. Using it for backtraces. -- Found CURL: /usr/lib64/libcurl.so (found version "7.76.1") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: filesystem system thread chrono date_time atomic -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: filesystem system -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: filesystem system thread chrono date_time atomic -- Found fuse in system location -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: thread chrono date_time atomic -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: filesystem system thread chrono date_time atomic -- Boost will be dynamically linked -- Boost will be dynamically linked -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.65.1") found components: program_options chrono -- Building version 0.10.2 -- The following REQUIRED packages have been found: * CURL * Threads * Boost (required version >= 1.65.1) -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG C++ -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build * Working in BUILD_DIR: "/var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build" ninja -v -j32 -l0 [1/188] /usr/bin/x86_64-pc-linux-gnu-g++ -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -MD -MT vendor/spdlog/CMakeFiles/spdlog.dir/dummy.cpp.o -MF vendor/spdlog/CMakeFiles/spdlog.dir/dummy.cpp.o.d -o vendor/spdlog/CMakeFiles/spdlog.dir/dummy.cpp.o -c ../vendor/spdlog/dummy.cpp [2/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/network/WinHttpClient.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/network/WinHttpClient.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/WinHttpClient.cpp.o -c ../src/cpp-utils/network/WinHttpClient.cpp [3/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_windows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_windows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_windows.cpp.o -c ../src/cpp-utils/thread/debugging_windows.cpp [4/188] : && /usr/bin/cmake -E rm -f vendor/spdlog/libspdlog.a && /usr/bin/x86_64-pc-linux-gnu-ar qc vendor/spdlog/libspdlog.a vendor/spdlog/CMakeFiles/spdlog.dir/dummy.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib vendor/spdlog/libspdlog.a && : [5/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -DGIT_VERSION_STRING=\"0.10.2\" -I../src -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/gitversion/CMakeFiles/gitversion.dir/versionstring.cpp.o -MF src/gitversion/CMakeFiles/gitversion.dir/versionstring.cpp.o.d -o src/gitversion/CMakeFiles/gitversion.dir/versionstring.cpp.o -c ../src/gitversion/versionstring.cpp [6/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/network/HttpClient.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/network/HttpClient.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/HttpClient.cpp.o -c ../src/cpp-utils/network/HttpClient.cpp [7/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/process/subprocess.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/process/subprocess.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/subprocess.cpp.o -c ../src/cpp-utils/process/subprocess.cpp [8/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o -c ../src/cpp-utils/thread/LeftRight.cpp [9/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -DGIT_VERSION_STRING=\"0.10.2\" -I../src -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/gitversion/CMakeFiles/gitversion.dir/gitversion.cpp.o -MF src/gitversion/CMakeFiles/gitversion.dir/gitversion.cpp.o.d -o src/gitversion/CMakeFiles/gitversion.dir/gitversion.cpp.o -c ../src/gitversion/gitversion.cpp [10/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -DGIT_VERSION_STRING=\"0.10.2\" -I../src -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/gitversion/CMakeFiles/gitversion.dir/VersionCompare.cpp.o -MF src/gitversion/CMakeFiles/gitversion.dir/VersionCompare.cpp.o.d -o src/gitversion/CMakeFiles/gitversion.dir/VersionCompare.cpp.o -c ../src/gitversion/VersionCompare.cpp [11/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/pipestream.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/pipestream.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/pipestream.cpp.o -c ../src/cpp-utils/io/pipestream.cpp [12/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/SerializationHelper.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/SerializationHelper.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/SerializationHelper.cpp.o -c ../src/cpp-utils/data/SerializationHelper.cpp [13/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/network/CurlHttpClient.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/network/CurlHttpClient.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/CurlHttpClient.cpp.o -c ../src/cpp-utils/network/CurlHttpClient.cpp [14/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/network/FakeHttpClient.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/network/FakeHttpClient.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/FakeHttpClient.cpp.o -c ../src/cpp-utils/network/FakeHttpClient.cpp [15/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -DGIT_VERSION_STRING=\"0.10.2\" -I../src -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/gitversion/CMakeFiles/gitversion.dir/parser.cpp.o -MF src/gitversion/CMakeFiles/gitversion.dir/parser.cpp.o.d -o src/gitversion/CMakeFiles/gitversion.dir/parser.cpp.o -c ../src/gitversion/parser.cpp [16/188] : && /usr/bin/cmake -E rm -f src/gitversion/libgitversion.a && /usr/bin/x86_64-pc-linux-gnu-ar qc src/gitversion/libgitversion.a src/gitversion/CMakeFiles/gitversion.dir/gitversion.cpp.o src/gitversion/CMakeFiles/gitversion.dir/versionstring.cpp.o src/gitversion/CMakeFiles/gitversion.dir/parser.cpp.o src/gitversion/CMakeFiles/gitversion.dir/VersionCompare.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib src/gitversion/libgitversion.a && : [17/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/DontEchoStdinToStdoutRAII.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/DontEchoStdinToStdoutRAII.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/DontEchoStdinToStdoutRAII.cpp.o -c ../src/cpp-utils/io/DontEchoStdinToStdoutRAII.cpp [18/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalCatcher.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalCatcher.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalCatcher.cpp.o -c ../src/cpp-utils/process/SignalCatcher.cpp [19/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalHandler.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalHandler.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalHandler.cpp.o -c ../src/cpp-utils/process/SignalHandler.cpp [20/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_windows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_windows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_windows.cpp.o -c ../src/cpp-utils/assert/backtrace_windows.cpp [21/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/NoninteractiveConsole.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/NoninteractiveConsole.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/NoninteractiveConsole.cpp.o -c ../src/cpp-utils/io/NoninteractiveConsole.cpp [22/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/process/daemonize.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/process/daemonize.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/daemonize.cpp.o -c ../src/cpp-utils/process/daemonize.cpp [23/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomDataBuffer.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomDataBuffer.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomDataBuffer.cpp.o -c ../src/cpp-utils/random/RandomDataBuffer.cpp [24/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/AssertFailed.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/AssertFailed.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/AssertFailed.cpp.o -c ../src/cpp-utils/assert/AssertFailed.cpp [25/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/get_total_memory.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/get_total_memory.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/get_total_memory.cpp.o -c ../src/cpp-utils/system/get_total_memory.cpp [26/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_windows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_windows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_windows.cpp.o -c ../src/cpp-utils/system/memory_windows.cpp [27/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/Console.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/Console.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/Console.cpp.o -c ../src/cpp-utils/io/Console.cpp [28/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/time.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/time.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/time.cpp.o -c ../src/cpp-utils/system/time.cpp [29/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_windows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_windows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_windows.cpp.o -c ../src/cpp-utils/system/filetime_windows.cpp [30/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_nonwindows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_nonwindows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_nonwindows.cpp.o -c ../src/cpp-utils/system/filetime_nonwindows.cpp [31/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/IOStreamConsole.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/IOStreamConsole.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/IOStreamConsole.cpp.o -c ../src/cpp-utils/io/IOStreamConsole.cpp [32/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/env.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/env.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/env.cpp.o -c ../src/cpp-utils/system/env.cpp [33/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/OSRandomGenerator.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/OSRandomGenerator.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/OSRandomGenerator.cpp.o -c ../src/cpp-utils/random/OSRandomGenerator.cpp [34/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempFile.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempFile.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempFile.cpp.o -c ../src/cpp-utils/tempfile/TempFile.cpp [35/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Deserializer.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Deserializer.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Deserializer.cpp.o -c ../src/cpp-utils/data/Deserializer.cpp [36/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/diskspace.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/diskspace.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/diskspace.cpp.o -c ../src/cpp-utils/system/diskspace.cpp [37/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/lock/LockPool.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/lock/LockPool.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/lock/LockPool.cpp.o -c ../src/cpp-utils/lock/LockPool.cpp [38/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Serializer.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Serializer.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Serializer.cpp.o -c ../src/cpp-utils/data/Serializer.cpp [39/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGenerator.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGenerator.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGenerator.cpp.o -c ../src/cpp-utils/random/RandomGenerator.cpp [40/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/io/ProgressBar.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/io/ProgressBar.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/ProgressBar.cpp.o -c ../src/cpp-utils/io/ProgressBar.cpp [41/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/PasswordBasedKDF.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/PasswordBasedKDF.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/PasswordBasedKDF.cpp.o -c ../src/cpp-utils/crypto/kdf/PasswordBasedKDF.cpp [42/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -D_FILE_OFFSET_BITS=64 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/Profiler.cpp.o -MF src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/Profiler.cpp.o.d -o src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/Profiler.cpp.o -c ../src/fspp/impl/Profiler.cpp [43/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempDir.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempDir.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempDir.cpp.o -c ../src/cpp-utils/tempfile/TempDir.cpp [44/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/EncryptionKey.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/EncryptionKey.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/EncryptionKey.cpp.o -c ../src/cpp-utils/crypto/symmetric/EncryptionKey.cpp [45/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/SCryptParameters.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/SCryptParameters.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/SCryptParameters.cpp.o -c ../src/cpp-utils/crypto/kdf/SCryptParameters.cpp [46/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataFixture.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataFixture.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataFixture.cpp.o -c ../src/cpp-utils/data/DataFixture.cpp [47/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_nonwindows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_nonwindows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_nonwindows.cpp.o -c ../src/cpp-utils/thread/debugging_nonwindows.cpp [48/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/ThreadSystem.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/ThreadSystem.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/ThreadSystem.cpp.o -c ../src/cpp-utils/thread/ThreadSystem.cpp [49/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LoopThread.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LoopThread.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LoopThread.cpp.o -c ../src/cpp-utils/thread/LoopThread.cpp [50/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/utils/FileDoesntExistException.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/utils/FileDoesntExistException.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/utils/FileDoesntExistException.cpp.o -c ../src/blockstore/utils/FileDoesntExistException.cpp [51/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataUtils.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataUtils.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataUtils.cpp.o -c ../src/cpp-utils/data/DataUtils.cpp [52/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/PseudoRandomPool.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/PseudoRandomPool.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/PseudoRandomPool.cpp.o -c ../src/cpp-utils/random/PseudoRandomPool.cpp [53/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/Random.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/Random.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/Random.cpp.o -c ../src/cpp-utils/random/Random.cpp [54/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/Scrypt.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/Scrypt.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/Scrypt.cpp.o -c ../src/cpp-utils/crypto/kdf/Scrypt.cpp [55/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Device.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Device.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Device.cpp.o -c ../src/fspp/fs_interface/Device.cpp [56/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/ciphers.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/ciphers.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/ciphers.cpp.o -c ../src/cpp-utils/crypto/symmetric/ciphers.cpp [57/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Dir.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Dir.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Dir.cpp.o -c ../src/fspp/fs_interface/Dir.cpp [58/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Symlink.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Symlink.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Symlink.cpp.o -c ../src/fspp/fs_interface/Symlink.cpp [59/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/value_type/ValueType.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/value_type/ValueType.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/value_type/ValueType.cpp.o -c ../src/cpp-utils/value_type/ValueType.cpp [60/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/hash/Hash.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/hash/Hash.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/hash/Hash.cpp.o -c ../src/cpp-utils/crypto/hash/Hash.cpp [61/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/RandomPadding.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/RandomPadding.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/RandomPadding.cpp.o -c ../src/cpp-utils/crypto/RandomPadding.cpp [62/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_nonwindows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_nonwindows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_nonwindows.cpp.o -c ../src/cpp-utils/assert/backtrace_nonwindows.cpp [63/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Node.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Node.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Node.cpp.o -c ../src/fspp/fs_interface/Node.cpp [64/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/testutils/FakeAuthenticatedCipher.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/testutils/FakeAuthenticatedCipher.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/testutils/FakeAuthenticatedCipher.cpp.o -c ../src/cpp-utils/crypto/symmetric/testutils/FakeAuthenticatedCipher.cpp [65/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGeneratorThread.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGeneratorThread.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGeneratorThread.cpp.o -c ../src/cpp-utils/random/RandomGeneratorThread.cpp [66/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Types.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Types.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Types.cpp.o -c ../src/fspp/fs_interface/Types.cpp [67/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/File.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/File.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/File.cpp.o -c ../src/fspp/fs_interface/File.cpp [68/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/homedir.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/homedir.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/homedir.cpp.o -c ../src/cpp-utils/system/homedir.cpp [69/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_nonwindows.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_nonwindows.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_nonwindows.cpp.o -c ../src/cpp-utils/system/memory_nonwindows.cpp [70/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/OpenFile.cpp.o -MF src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/OpenFile.cpp.o.d -o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/OpenFile.cpp.o -c ../src/fspp/fs_interface/OpenFile.cpp [71/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/CacheEntry.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/CacheEntry.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/CacheEntry.cpp.o -c ../src/blockstore/implementations/caching/cache/CacheEntry.cpp [72/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/bin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Data.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Data.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Data.cpp.o -c ../src/cpp-utils/data/Data.cpp [73/188] : && /usr/bin/cmake -E rm -f src/cpp-utils/libcpp-utils.a && /usr/bin/x86_64-pc-linux-gnu-ar qc src/cpp-utils/libcpp-utils.a src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/ciphers.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/testutils/FakeAuthenticatedCipher.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/Scrypt.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/SCryptParameters.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/kdf/PasswordBasedKDF.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/RandomPadding.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/symmetric/EncryptionKey.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/crypto/hash/Hash.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/daemonize.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/subprocess.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalCatcher.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/process/SignalHandler.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempFile.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/tempfile/TempDir.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/HttpClient.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/CurlHttpClient.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/WinHttpClient.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/network/FakeHttpClient.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/Console.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/DontEchoStdinToStdoutRAII.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/IOStreamConsole.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/NoninteractiveConsole.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/pipestream.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/io/ProgressBar.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LoopThread.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/ThreadSystem.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_nonwindows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/debugging_windows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/Random.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGeneratorThread.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/OSRandomGenerator.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/PseudoRandomPool.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomDataBuffer.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/random/RandomGenerator.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/lock/LockPool.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/SerializationHelper.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Serializer.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Deserializer.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataFixture.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/DataUtils.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/data/Data.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_nonwindows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/backtrace_windows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/assert/AssertFailed.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/get_total_memory.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/homedir.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_nonwindows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/memory_windows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/time.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/diskspace.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_nonwindows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/filetime_windows.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/system/env.cpp.o src/cpp-utils/CMakeFiles/cpp-utils.dir/value_type/ValueType.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib src/cpp-utils/libcpp-utils.a && : [74/188] : && /usr/bin/cmake -E rm -f src/fspp/fs_interface/libfspp-interface.a && /usr/bin/x86_64-pc-linux-gnu-ar qc src/fspp/fs_interface/libfspp-interface.a src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Device.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Dir.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/File.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Node.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/OpenFile.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Symlink.cpp.o src/fspp/fs_interface/CMakeFiles/fspp-interface.dir/Types.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib src/fspp/fs_interface/libfspp-interface.a && : [75/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -D_FILE_OFFSET_BITS=64 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/FilesystemImpl.cpp.o -MF src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/FilesystemImpl.cpp.o.d -o src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/FilesystemImpl.cpp.o -c ../src/fspp/impl/FilesystemImpl.cpp [76/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -D_FILE_OFFSET_BITS=64 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/fspp/fuse/CMakeFiles/fspp-fuse.dir/Fuse.cpp.o -MF src/fspp/fuse/CMakeFiles/fspp-fuse.dir/Fuse.cpp.o.d -o src/fspp/fuse/CMakeFiles/fspp-fuse.dir/Fuse.cpp.o -c ../src/fspp/fuse/Fuse.cpp [77/188] : && /usr/bin/cmake -E rm -f src/fspp/fuse/libfspp-fuse.a && /usr/bin/x86_64-pc-linux-gnu-ar qc src/fspp/fuse/libfspp-fuse.a src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/FilesystemImpl.cpp.o src/fspp/fuse/CMakeFiles/fspp-fuse.dir/__/impl/Profiler.cpp.o src/fspp/fuse/CMakeFiles/fspp-fuse.dir/Fuse.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib src/fspp/fuse/libfspp-fuse.a && : [78/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/QueueMap.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/QueueMap.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/QueueMap.cpp.o -c ../src/blockstore/implementations/caching/cache/QueueMap.cpp [79/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/utils/Math.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/utils/Math.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/utils/Math.cpp.o -c ../src/blobstore/implementations/onblocks/utils/Math.cpp [80/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/RunLengthEncoding.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/RunLengthEncoding.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/RunLengthEncoding.cpp.o -c ../src/blockstore/implementations/compressing/compressors/RunLengthEncoding.cpp [81/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessStore.cpp.o -MF src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessStore.cpp.o.d -o src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessStore.cpp.o -c ../src/parallelaccessstore/ParallelAccessStore.cpp [82/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/utils/BlockStoreUtils.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/utils/BlockStoreUtils.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/utils/BlockStoreUtils.cpp.o -c ../src/blockstore/utils/BlockStoreUtils.cpp [83/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/utils/BlockId.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/utils/BlockId.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/utils/BlockId.cpp.o -c ../src/blockstore/utils/BlockId.cpp [84/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/utils/IdWrapper.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/utils/IdWrapper.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/utils/IdWrapper.cpp.o -c ../src/blockstore/utils/IdWrapper.cpp [85/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/Gzip.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/Gzip.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/compressors/Gzip.cpp.o -c ../src/blockstore/implementations/compressing/compressors/Gzip.cpp [86/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessBaseStore.cpp.o -MF src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessBaseStore.cpp.o.d -o src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessBaseStore.cpp.o -c ../src/parallelaccessstore/ParallelAccessBaseStore.cpp [87/188] : && /usr/bin/cmake -E rm -f src/parallelaccessstore/libparallelaccessstore.a && /usr/bin/x86_64-pc-linux-gnu-ar qc src/parallelaccessstore/libparallelaccessstore.a src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessBaseStore.cpp.o src/parallelaccessstore/CMakeFiles/parallelaccessstore.dir/ParallelAccessStore.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib src/parallelaccessstore/libparallelaccessstore.a && : [88/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlock.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlock.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlock.cpp.o -c ../src/blockstore/implementations/testfake/FakeBlock.cpp [89/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlockStore.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlockStore.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/testfake/FakeBlockStore.cpp.o -c ../src/blockstore/implementations/testfake/FakeBlockStore.cpp [90/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeStore.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTreeStore.h:10, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.h:7, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStoreAdapter.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [91/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/PeriodicTask.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/PeriodicTask.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/PeriodicTask.cpp.o -c ../src/blockstore/implementations/caching/cache/PeriodicTask.cpp [92/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/inmemory/InMemoryBlockStore2.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/inmemory/InMemoryBlockStore2.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/inmemory/InMemoryBlockStore2.cpp.o -c ../src/blockstore/implementations/inmemory/InMemoryBlockStore2.cpp [93/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/Cache.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/Cache.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/cache/Cache.cpp.o -c ../src/blockstore/implementations/caching/cache/Cache.cpp [94/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/BlockRef.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/BlockRef.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/BlockRef.cpp.o -c ../src/blockstore/implementations/parallelaccess/BlockRef.cpp [95/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/cpp-utils/macros.h:13:10: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [96/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStoreAdapter.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStoreAdapter.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStoreAdapter.cpp.o -c ../src/blockstore/implementations/parallelaccess/ParallelAccessBlockStoreAdapter.cpp [97/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/CachedValue.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/CachedValue.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/CachedValue.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/impl/CachedValue.cpp [98/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressedBlock.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressedBlock.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressedBlock.cpp.o -c ../src/blockstore/implementations/compressing/CompressedBlock.cpp [99/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressingBlockStore.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressingBlockStore.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/compressing/CompressingBlockStore.cpp.o -c ../src/blockstore/implementations/compressing/CompressingBlockStore.cpp [100/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/encrypted/EncryptedBlockStore2.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/encrypted/EncryptedBlockStore2.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/encrypted/EncryptedBlockStore2.cpp.o -c ../src/blockstore/implementations/encrypted/EncryptedBlockStore2.cpp [101/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o -c ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/BlobStoreOnBlocks.cpp.o -c ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/cpp-utils/macros.h:13:10: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/BlobStoreOnBlocks.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [102/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/ClientIdAndBlockId.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/ClientIdAndBlockId.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/ClientIdAndBlockId.cpp.o -c ../src/blockstore/implementations/integrity/ClientIdAndBlockId.cpp [103/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -D_FILE_OFFSET_BITS=64 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cryfs-cli/CMakeFiles/cryfs-cli_bin.dir/main.cpp.o -MF src/cryfs-cli/CMakeFiles/cryfs-cli_bin.dir/main.cpp.o.d -o src/cryfs-cli/CMakeFiles/cryfs-cli_bin.dir/main.cpp.o -c ../src/cryfs-cli/main.cpp [104/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStore.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStore.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/parallelaccess/ParallelAccessBlockStore.cpp.o -c ../src/blockstore/implementations/parallelaccess/ParallelAccessBlockStore.cpp [105/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlock.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlock.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlock.cpp.o -c ../src/blockstore/implementations/low2highlevel/LowToHighLevelBlock.cpp [106/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [107/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlockStore.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlockStore.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlockStore.cpp.o -c ../src/blockstore/implementations/mock/MockBlockStore.cpp [108/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlock.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlock.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/mock/MockBlock.cpp.o -c ../src/blockstore/implementations/mock/MockBlock.cpp [109/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp.o -c ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/parallelaccessstore/ParallelAccessBaseStore.h:7, from ../src/parallelaccessstore/ParallelAccessStore.h:13, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/parallelaccessstore/ParallelAccessStore.h:12, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:5, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/cpp-utils/macros.h:12:9: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/cpp-utils/macros.h:13:10: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/DataTreeRef.h:6, from ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/ParallelAccessDataTreeStore.cpp:1: ../src/blobstore/implementations/onblocks/parallelaccessdatatreestore/../datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [110/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlockStore.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlockStore.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/low2highlevel/LowToHighLevelBlockStore.cpp.o -c ../src/blockstore/implementations/low2highlevel/LowToHighLevelBlockStore.cpp [111/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataLeafNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataLeafNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [112/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/ondisk/OnDiskBlockStore2.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/ondisk/OnDiskBlockStore2.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/ondisk/OnDiskBlockStore2.cpp.o -c ../src/blockstore/implementations/ondisk/OnDiskBlockStore2.cpp [113/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/KnownBlockVersions.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/KnownBlockVersions.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/KnownBlockVersions.cpp.o -c ../src/blockstore/implementations/integrity/KnownBlockVersions.cpp [114/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/IntegrityBlockStore2.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/IntegrityBlockStore2.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/integrity/IntegrityBlockStore2.cpp.o -c ../src/blockstore/implementations/integrity/IntegrityBlockStore2.cpp [115/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataInnerNode.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [116/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/algorithms.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:3: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:3: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:3: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:3: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:3: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/pointer/unique_ref.h:7, from ../src/cpp-utils/pointer/optional_ownership_ptr.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/pointer/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/pointer/unique_ref.h:7, from ../src/cpp-utils/pointer/optional_ownership_ptr.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/pointer/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/pointer/unique_ref.h:7, from ../src/cpp-utils/pointer/optional_ownership_ptr.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/pointer/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/cpp-utils/pointer/unique_ref.h:7, from ../src/cpp-utils/pointer/optional_ownership_ptr.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:1: ../src/cpp-utils/pointer/../macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/pointer/../macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/pointer/../macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/algorithms.cpp:5: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [117/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datanodestore/DataNodeStore.cpp.o -c ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/data/../assert/../macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/cpp-utils/data/../assert/AssertFailed.h:7, from ../src/cpp-utils/data/../assert/assert.h:11, from ../src/cpp-utils/data/FixedSizeData.h:8, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/data/../assert/../macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataInnerNode.h:5, from ../src/blobstore/implementations/onblocks/datanodestore/DataNodeStore.cpp:1: ../src/blobstore/implementations/onblocks/datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [118/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: ../src/cpp-utils/data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: ../src/cpp-utils/data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: ../src/cpp-utils/data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: ../src/cpp-utils/data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/impl/LeafTraverser.cpp:3: ../src/blobstore/implementations/onblocks/datatreestore/impl/../../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [119/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/CachingBlockStore2.cpp.o -MF src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/CachingBlockStore2.cpp.o.d -o src/blockstore/CMakeFiles/blockstore.dir/implementations/caching/CachingBlockStore2.cpp.o -c ../src/blockstore/implementations/caching/CachingBlockStore2.cpp [120/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/DataTree.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blockstore/interface/Block.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:6, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:6, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:6, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:6, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.h:8, from ../src/blobstore/implementations/onblocks/datatreestore/DataTree.cpp:1: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ [121/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp FAILED: src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_THREAD_VERSION=4 -I../src -isystem ../vendor/spdlog -O2 -march=znver3 -pipe -g -ggdb -O3 -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o -MF src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o.d -o src/blobstore/CMakeFiles/blobstore.dir/implementations/onblocks/datatreestore/LeafHandle.cpp.o -c ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:70:95: error: macro "_serialize" passed 5 arguments, but takes just 0 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:78:95: error: macro "_serialize" passed 5 arguments, but takes just 0 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:86:95: error: macro "_serialize" passed 5 arguments, but takes just 0 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:139: error: macro "_serialize" passed 5 arguments, but takes just 0 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86intrin.h:27, from /usr/include/cryptopp/misc.h:81, from /usr/include/cryptopp/simple.h:17, from /usr/include/cryptopp/filters.h:17, from /usr/include/cryptopp/basecode.h:10, from /usr/include/cryptopp/hex.h:10, from ../src/cpp-utils/data/FixedSizeData.h:5, from ../src/blockstore/utils/IdWrapper.h:6, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here 37 | #define _serialize() __builtin_ia32_serialize () | In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected primary-expression before ‘result’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: expected ‘}’ before ‘result’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:141: note: to match this ‘{’ 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:146:25: error: in-class initialization of static data member ‘cpputils::Data blobstore::onblocks::datanodestore::DataNodeView::_serialize’ of non-literal type 146 | static cpputils::Data _serialize(const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ^~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: no matching function for call to ‘cpputils::Data::Data()’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ In file included from ../src/cpp-utils/random/RandomGenerator.h:5, from ../src/cpp-utils/random/PseudoRandomPool.h:6, from ../src/cpp-utils/random/Random.h:5, from ../src/blockstore/utils/IdWrapper.h:7, from ../src/blockstore/utils/BlockId.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:7, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: ../src/cpp-utils/random/../data/Data.h:100:8: note: candidate: ‘cpputils::Data::Data(cpputils::Data&&)’ 100 | inline Data::Data(Data &&rhs) noexcept | ^~~~ ../src/cpp-utils/random/../data/Data.h:100:8: note: conversion of argument 1 would be ill-formed: ../src/cpp-utils/random/../data/Data.h:93:8: note: candidate: ‘cpputils::Data::Data(size_t, cpputils::unique_ref)’ 93 | inline Data::Data(size_t size, unique_ref allocator) | ^~~~ ../src/cpp-utils/random/../data/Data.h:93:8: note: conversion of argument 1 would be ill-formed: In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: non-constant in-class initialization invalid for static member ‘blobstore::onblocks::datanodestore::DataNodeView::_serialize’ 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: note: (an out of class initialization is required) ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:15: error: expected ‘;’ at end of member declaration 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~ | ; ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:27: error: ‘layout’ is not a type 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:33: error: expected ‘,’ or ‘...’ before ‘.’ token 147 | cpputils::Data result(layout.blocksizeBytes()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:147:20: error: ISO C++ forbids declaration of ‘result’ with no type [-fpermissive] 147 | cpputils::Data result(layout.blocksizeBytes()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:35: error: ‘result’ is not a type 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:41: error: expected ‘,’ or ‘...’ before ‘.’ token 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 148 | cpputils::serialize(result.dataOffset(layout.FORMAT_VERSION_OFFSET_BYTES), formatVersion); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:148:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:34: error: ‘result’ is not a type 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:40: error: expected ‘,’ or ‘...’ before ‘.’ token 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 149 | cpputils::serialize(result.dataOffset(layout.DEPTH_OFFSET_BYTES), depth); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:149:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:35: error: ‘result’ is not a type 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:41: error: expected ‘,’ or ‘...’ before ‘.’ token 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:5: error: ISO C++ forbids declaration of ‘serialize’ with no type [-fpermissive] 150 | cpputils::serialize(result.dataOffset(layout.SIZE_OFFSET_BYTES), size); | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:150:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:17: error: ‘result’ is not a type 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:23: error: expected ‘,’ or ‘...’ before ‘.’ token 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:5: error: ISO C++ forbids declaration of ‘memcpy’ with no type [-fpermissive] 151 | std::memcpy(result.dataOffset(layout.HEADERSIZE_BYTES), data.data(), data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:151:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:17: error: ‘result’ is not a type 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:23: error: expected ‘,’ or ‘...’ before ‘.’ token 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:5: error: ISO C++ forbids declaration of ‘memset’ with no type [-fpermissive] 152 | std::memset(result.dataOffset(layout.HEADERSIZE_BYTES+data.size()), 0, layout.datasizeBytes()-data.size()); | ^~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:152:5: error: invalid use of ‘::’ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:153:5: error: expected unqualified-id before ‘return’ 153 | return result; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In constructor ‘blobstore::onblocks::datanodestore::DataNodeView::DataNodeView(cpputils::unique_ref)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:64:64: error: class ‘blobstore::onblocks::datanodestore::DataNodeView’ does not have any field named ‘_block’ 64 | DataNodeView(cpputils::unique_ref block): _block(std::move(block)) { | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::create(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:70:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 70 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:105: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:128: warning: unused parameter ‘depth’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:68:144: warning: unused parameter ‘size’ [-Wunused-parameter] 68 | static DataNodeView create(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::initialize(cpputils::unique_ref, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:78:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 78 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:103: warning: unused parameter ‘layout’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:120: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:143: warning: unused parameter ‘depth’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:76:159: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | static DataNodeView initialize(cpputils::unique_ref block, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In static member function ‘static blobstore::onblocks::datanodestore::DataNodeView blobstore::onblocks::datanodestore::DataNodeView::overwrite(blockstore::BlockStore*, const blobstore::onblocks::datanodestore::DataNodeLayout&, uint16_t, uint8_t, uint32_t, const BlockId&, cpputils::Data)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:86:33: error: use of deleted function ‘cpputils::Data::Data(const cpputils::Data&)’ 86 | cpputils::Data serialized = _serialize(layout, formatVersion, depth, size, std::move(data)); | ^~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: ../src/cpp-utils/random/../data/Data.h:82:28: note: declared here 82 | DISALLOW_COPY_AND_ASSIGN(Data); | ^~~~ ../src/cpp-utils/macros.h:12:3: note: in definition of macro ‘DISALLOW_COPY_AND_ASSIGN’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:108: warning: unused parameter ‘formatVersion’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~~~~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:131: warning: unused parameter ‘depth’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:84:147: warning: unused parameter ‘size’ [-Wunused-parameter] 84 | static DataNodeView overwrite(blockstore::BlockStore *blockStore, const DataNodeLayout &layout, uint16_t formatVersion, uint8_t depth, uint32_t size, const blockstore::BlockId &blockId, cpputils::Data data) { | ~~~~~~~~~^~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint16_t blobstore::onblocks::datanodestore::DataNodeView::FormatVersion() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:94:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 94 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setFormatVersion(uint16_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:98:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 98 | _block->write(&value, DataNodeLayout::FORMAT_VERSION_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint8_t blobstore::onblocks::datanodestore::DataNodeView::Depth() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:102:53: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 102 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::DEPTH_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setDepth(uint8_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:106:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 106 | _block->write(&value, DataNodeLayout::DEPTH_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘uint32_t blobstore::onblocks::datanodestore::DataNodeView::Size() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:110:54: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 110 | return cpputils::deserializeWithOffset(_block->data(), DataNodeLayout::SIZE_OFFSET_BYTES); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::setSize(uint32_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:114:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 114 | _block->write(&value, DataNodeLayout::SIZE_OFFSET_BYTES, sizeof(value)); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const void* blobstore::onblocks::datanodestore::DataNodeView::data() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:118:40: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 118 | return static_cast(_block->data()) + DataNodeLayout::HEADERSIZE_BYTES; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::write(const void*, uint64_t, uint64_t)’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:122:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 122 | _block->write(source, offset + DataNodeLayout::HEADERSIZE_BYTES, size); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘blobstore::onblocks::datanodestore::DataNodeLayout blobstore::onblocks::datanodestore::DataNodeView::layout() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:126:27: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 126 | return DataNodeLayout(_block->size()); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘cpputils::unique_ref blobstore::onblocks::datanodestore::DataNodeView::releaseBlock()’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:130:22: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 130 | return std::move(_block); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const blockstore::Block& blobstore::onblocks::datanodestore::DataNodeView::block() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:134:13: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 134 | return *_block; | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘const BlockId& blobstore::onblocks::datanodestore::DataNodeView::blockId() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:138:12: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 138 | return _block->blockId(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: In member function ‘void blobstore::onblocks::datanodestore::DataNodeView::flush() const’: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:142:5: error: ‘_block’ was not declared in this scope; did you mean ‘block’? 142 | _block->flush(); | ^~~~~~ | block ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h: At global scope: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:156:43: error: invalid declarator before ‘_block’ 156 | cpputils::unique_ref _block; | ^~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:1: ../src/cpp-utils/macros.h:12:9: error: expected unqualified-id before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:12:9: error: expected ‘)’ before ‘const’ 12 | Class(const Class &rhs) = delete; \ | ~^~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/cpp-utils/macros.h:13:10: error: ‘blobstore::onblocks::datanodestore::DataNodeView& blobstore::onblocks::datanodestore::operator=(const blobstore::onblocks::datanodestore::DataNodeView&)’ must be a non-static member function 13 | Class &operator=(const Class &rhs) = delete; | ^~~~~~~~ ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:158:3: note: in expansion of macro ‘DISALLOW_COPY_AND_ASSIGN’ 158 | DISALLOW_COPY_AND_ASSIGN(DataNodeView); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataLeafNode.h:5, from ../src/blobstore/implementations/onblocks/datatreestore/LeafHandle.cpp:2: ../src/blobstore/implementations/onblocks/datatreestore/../datanodestore/DataNodeView.h:164:1: error: expected declaration before ‘}’ token 164 | } | ^ ninja: build stopped: subcommand failed. * ERROR: sys-fs/cryfs-0.10.2::gentoo failed (compile phase): * ninja -v -j32 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3658: Called cmake_src_compile * environment, line 1399: Called cmake_build * environment, line 1368: Called eninja * environment, line 1820: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=sys-fs/cryfs-0.10.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/cryfs-0.10.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/cryfs-0.10.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryfs-0.10.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/cryfs-0.10.2/work/cryfs-0.10.2_build' * S: '/var/tmp/portage/sys-fs/cryfs-0.10.2/work'