>>> pistache 3ec9d7c4f8b828fdd391550fff81b01e72dd6269 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-0/dl/pistache/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269 -xf - >>> pistache 3ec9d7c4f8b828fdd391550fff81b01e72dd6269 Patching Applying 0001-src-common-transport.cc-fallback-value-for-RUSAGE_TH.patch using patch: patching file src/common/transport.cc >>> pistache 3ec9d7c4f8b828fdd391550fff81b01e72dd6269 Configuring rm -rf /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build mkdir -p /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc%g" -e "s%@TARGET_CXX@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++%g" -e "s%@TARGET_AR@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-m4%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-Wl,-elf2flt=-r', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-Wl,-elf2flt=-r', '-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-Wl,-elf2flt=-r', '-static', '-Wl,-elf2flt=-r', '-static'%g" -e "s%@BR2_CMAKE@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/giuliobenetti/autobuild/run/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot%g" -e "s%@STATIC@%true%g" /home/giuliobenetti/autobuild/run/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build/cross-compilation.conf PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=static --buildtype=release --cross-file=/home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/cmake -DPISTACHE_USE_SSL=false /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269/ /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build The Meson build system Version: 0.63.2 Source dir: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269 Build dir: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269/build Build type: cross build Project name: pistache Project version: 0.0.3 C++ compiler for the host machine: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++ (gcc 10.3.0 "arm-linux-g++.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 10.3.0") C++ linker for the host machine: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++ ld.bfd 2.32 C++ compiler for the build machine: /usr/bin/g++ (gcc 11.2.0 "g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.38 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: cortex-m4 Target machine cpu family: arm Target machine cpu: cortex-m4 Compiler for C++ supports arguments -Wconversion: YES Compiler for C++ supports arguments -Wno-sign-conversion: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Found pkg-config: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake (3.22.3) Run-time dependency howardhinnant-date found: NO (tried pkgconfig and cmake) Run-time dependency hinnant-date found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency hinnant-date Executing subproject hinnant-date hinnant-date| Project name: hinnant-date hinnant-date| Project version: 3.0.1 hinnant-date| C++ compiler for the host machine: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++ (gcc 10.3.0 "arm-linux-g++.br_real (Buildroot toolchains.bootlin.com-2021.11-1) 10.3.0") hinnant-date| C++ linker for the host machine: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++ ld.bfd 2.32 hinnant-date| C++ compiler for the build machine: /usr/bin/g++ (gcc 11.2.0 "g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0") hinnant-date| C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.38 hinnant-date| Build targets in project: 0 hinnant-date| Subproject hinnant-date finished. Dependency hinnant-date from subproject subprojects/hinnant-date found: YES 3.0.1 Run-time dependency threads found: YES Run-time dependency rapidjson found: YES 1.1.0 Checking if "std::atomic" : links: YES Checking if "std::atomic" : links: NO Library atomic found: YES Checking if "std::atomic with libatomic" with dependency -latomic: links: YES Configuring version.h using configuration Program git found: YES (/usr/bin/git) WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Build targets in project: 1 NOTICE: Future-deprecated features used: * 0.56.0: {'meson.source_root'} pistache 0.0.3 Subprojects hinnant-date : YES User defined options Cross files : /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build/cross-compilation.conf build.cmake_prefix_path: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : static libdir : lib prefix : /usr strip : false b_pie : false PISTACHE_USE_SSL : false Found ninja-1.10.2.git.kitware.jobserver-1 at /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/ninja >>> pistache 3ec9d7c4f8b828fdd391550fff81b01e72dd6269 Building PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=y /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/ninja -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build ninja: Entering directory `/home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269//build' [1/23] Compiling C++ object src/libpistache.a.p/common_string_logger.cc.o [2/23] Compiling C++ object src/libpistache.a.p/common_reactor.cc.o FAILED: src/libpistache.a.p/common_reactor.cc.o /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++ -Isrc/libpistache.a.p -Isrc -I../src -Iinclude -I../include -I../subprojects/hinnant-date/include -I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wconversion -Wno-sign-conversion -Wno-missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static -fPIC -pthread -MD -MQ src/libpistache.a.p/common_reactor.cc.o -MF src/libpistache.a.p/common_reactor.cc.o.d -o src/libpistache.a.p/common_reactor.cc.o -c ../src/common/reactor.cc ../src/common/reactor.cc: In member function 'std::shared_ptr Pistache::Aio::SyncImpl::handler(const Pistache::Aio::Reactor::Key&) const': ../src/common/reactor.cc:101:41: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 101 | return handlers_.at(key.data()); | ~~~~~~~~^~ ../src/common/reactor.cc: In static member function 'static std::pair Pistache::Aio::SyncImpl::HandlerList::decodeTag(const Pistache::Polling::Tag&)': ../src/common/reactor.cc:308:38: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 308 | size_t index = value >> HandlerShift; | ~~~~~~^~~~~~~~~~~~~~~ ../src/common/reactor.cc: In lambda function: ../src/common/reactor.cc:512:25: error: 'pthread_setname_np' was not declared in this scope; did you mean 'pthread_setcanceltype'? 512 | pthread_setname_np(pthread_self(), | ^~~~~~~~~~~~~~~~~~ | pthread_setcanceltype [3/23] Compiling C++ object src/libpistache.a.p/common_net.cc.o [4/23] Compiling C++ object src/libpistache.a.p/common_timer_pool.cc.o ../src/common/timer_pool.cc: In member function 'void Pistache::TimerPool::Entry::armMs(std::chrono::milliseconds)': ../src/common/timer_pool.cc:84:102: warning: conversion from 'std::chrono::duration >::rep' {aka 'long long int'} to 'long int' may change value [-Wconversion] 84 | spec.it_value.tv_nsec = std::chrono::duration_cast(value).count(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/common/timer_pool.cc:88:98: warning: conversion from 'std::chrono::duration::rep' {aka 'long long int'} to '__time_t' {aka 'long int'} may change value [-Wconversion] 88 | spec.it_value.tv_sec = std::chrono::duration_cast(value).count(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [5/23] Compiling C++ object src/libpistache.a.p/common_os.cc.o In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/vector:72, from ../include/pistache/os.h:22, from ../src/common/os.cc:14: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Pistache::Polling::Event&}; _Tp = Pistache::Polling::Event; _Alloc = std::allocator]': /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 426 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/vector:67, from ../include/pistache/os.h:22, from ../src/common/os.cc:14: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/stl_vector.h: In member function 'int Pistache::Polling::Epoll::poll(std::vector&, std::chrono::milliseconds) const': /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/stl_vector.h:1198:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1198 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [6/23] Compiling C++ object src/libpistache.a.p/common_base64.cc.o [7/23] Compiling C++ object src/libpistache.a.p/common_stream.cc.o ../src/common/stream.cc: In constructor 'Pistache::FileBuffer::FileBuffer(const string&)': ../src/common/stream.cc:84:20: warning: conversion from '__off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 84 | size_ = sb.st_size; | ~~~^~~~~~~ [8/23] Compiling C++ object src/libpistache.a.p/common_utils.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/peer.h:20, from ../src/common/utils.cc:13: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [9/23] Compiling C++ object src/libpistache.a.p/common_mime.cc.o In file included from ../include/pistache/http.h:36, from ../src/common/mime.cc:15: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [10/23] Compiling C++ object src/libpistache.a.p/common_tcp.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/peer.h:20, from ../src/common/tcp.cc:13: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [11/23] Compiling C++ object src/libpistache.a.p/common_cookie.cc.o [12/23] Compiling C++ object src/libpistache.a.p/common_http_header.cc.o In file included from ../include/pistache/http.h:36, from ../src/common/http_header.cc:16: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/vector:72, from ../include/pistache/base64.h:19, from ../src/common/http_header.cc:13: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Pistache::Http::CacheDirective::Directive&}; _Tp = Pistache::Http::CacheDirective; _Alloc = std::allocator]': /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 426 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Pistache::Http::CacheDirective::Directive&, std::chrono::duration >}; _Tp = Pistache::Http::CacheDirective; _Alloc = std::allocator]': /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc:426:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc: In member function 'virtual void Pistache::Http::Header::CacheControl::parseRaw(const char*, size_t)': /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc:121:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/include/c++/10.3.0/bits/vector.tcc:121:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [13/23] Compiling C++ object src/libpistache.a.p/common_description.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/router.h:23, from ../include/pistache/description.h:26, from ../src/common/description.cc:14: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [14/23] Compiling C++ object src/libpistache.a.p/common_peer.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/peer.h:20, from ../src/common/peer.cc:21: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [15/23] Compiling C++ object src/libpistache.a.p/common_http_headers.cc.o [16/23] Compiling C++ object src/libpistache.a.p/common_transport.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/peer.h:20, from ../src/common/transport.cc:18: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ ../src/common/transport.cc: In member function 'void Pistache::Tcp::Transport::armTimerMsImpl(Pistache::Tcp::Transport::TimerEntry)': ../src/common/transport.cc:429:47: warning: conversion from 'std::chrono::duration >::rep' {aka 'long long int'} to 'long int' may change value [-Wconversion] 428 | spec.it_value.tv_nsec = std::chrono::duration_cast(entry.value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 429 | .count(); | ~~~~~~^~ ../src/common/transport.cc:433:104: warning: conversion from 'std::chrono::duration::rep' {aka 'long long int'} to '__time_t' {aka 'long int'} may change value [-Wconversion] 433 | spec.it_value.tv_sec = std::chrono::duration_cast(entry.value).count(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [17/23] Compiling C++ object src/libpistache.a.p/server_endpoint.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/endpoint.h:15, from ../src/server/endpoint.cc:14: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [18/23] Compiling C++ object src/libpistache.a.p/server_listener.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/peer.h:20, from ../src/server/listener.cc:16: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ [19/23] Compiling C++ object src/libpistache.a.p/common_http_defs.cc.o [20/23] Compiling C++ object src/libpistache.a.p/client_client.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/client.h:16, from ../src/client/client.cc:13: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ ../src/client/client.cc: In member function 'Pistache::Async::Promise Pistache::Http::Experimental::Client::doRequest(Pistache::Http::Request)': ../src/client/client.cc:1054:81: warning: conversion from 'long long unsigned int' to 'std::vector >::size_type' {aka 'unsigned int'} may change value [-Wconversion] 1054 | auto transport = std::static_pointer_cast(transports[index]); | ^~~~~ [21/23] Compiling C++ object src/libpistache.a.p/common_http.cc.o In file included from ../include/pistache/http.h:36, from ../src/common/http.cc:14: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ ../src/common/http.cc: In member function 'Pistache::Http::Private::State Pistache::Http::Private::BodyStep::parseContentLength(Pistache::StreamCursor&, const std::shared_ptr&)': ../src/common/http.cc:430:56: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 430 | const size_t remaining = contentLength - bytesRead; | ~~~~~~~~~~~~~~^~~~~~~~~~~ ../src/common/http.cc:437:40: warning: conversion from 'long long unsigned int' to 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} may change value [-Wconversion] 437 | message->body_.reserve(contentLength); | ^~~~~~~~~~~~~ ../src/common/http.cc:438:31: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 438 | if (!readBody(contentLength)) | ^~~~~~~~~~~~~ ../src/common/http.cc: In function 'Pistache::Async::Promise Pistache::Http::serveFile(Pistache::Http::ResponseWriter&, const string&, const Pistache::Http::Mime::MediaType&)': ../src/common/http.cc:1021:31: warning: conversion from '__off64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 1021 | const size_t len = sb.st_size; | ~~~^~~~~~~ [22/23] Compiling C++ object src/libpistache.a.p/server_router.cc.o In file included from ../include/pistache/http.h:36, from ../include/pistache/router.h:23, from ../include/pistache/description.h:26, from ../src/server/router.cc:15: ../include/pistache/transport.h: In member function 'size_t Pistache::Tcp::Transport::BufferHolder::offset() const': ../include/pistache/transport.h:109:44: warning: conversion from 'off_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 109 | size_t offset() const { return offset_; } | ^~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:293: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/pistache-3ec9d7c4f8b828fdd391550fff81b01e72dd6269/.stamp_built] Error 1 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/buildroot'