Guest User

Untitled

a guest
Mar 13th, 2017
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.52 KB | None | 0 0
  1. g++ -MMD -MT build/release/gen/cql3/CqlParser.o -MF build/release/gen/cql3/CqlParser.o.d -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I/home/arch/src/scylla/seastar -I/home/arch/src/scylla/seastar/fmt -I/home/arch/src/scylla/seastar/build/release/gen -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -O2 -DBOOST_TEST_DYN_LINK -Wno-maybe-uninitialized -DHAVE_LIBSYSTEMD=1 -I. -I build/release/gen -I seastar -I seastar/build/release/gen -c -o build/release/gen/cql3/CqlParser.o build/release/gen/cql3/CqlParser.cpp
  2. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  3. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  4. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  5. from /usr/include/c++/6.3.1/climits:42,
  6. from /usr/include/boost/type_traits/is_signed.hpp:16,
  7. from /usr/include/boost/type_traits/make_unsigned.hpp:14,
  8. from /usr/include/boost/range/size_type.hpp:24,
  9. from /usr/include/boost/range/size.hpp:21,
  10. from /usr/include/boost/range/functions.hpp:20,
  11. from /usr/include/boost/range/iterator_range_core.hpp:38,
  12. from /usr/include/boost/range/iterator_range.hpp:13,
  13. from ./schema.hh:25,
  14. from ./cql3/selection/selectable.hh:45,
  15. from ./cql3/selection/writetime_or_ttl.hh:45,
  16. from build/release/gen/cql3/CqlParser.hpp:63,
  17. from build/release/gen/cql3/CqlParser.cpp:44:
  18. /home/arch/src/scylla/seastar/fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  19. /home/arch/src/scylla/seastar/fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  20. const unsigned CHAR_WIDTH = 1;
  21. ^
  22. In file included from ./utils/exponential_backoff_retry.hh:25:0,
  23. from ./sstables/compaction_manager.hh:30,
  24. from ./database.hh:67,
  25. from ./service/storage_proxy.hh:44,
  26. from ./db/schema_tables.hh:43,
  27. from ./db/system_keyspace.hh:46,
  28. from ./cql3/functions/function_name.hh:45,
  29. from ./cql3/selection/selectable.hh:48,
  30. from ./cql3/selection/writetime_or_ttl.hh:45,
  31. from build/release/gen/cql3/CqlParser.hpp:63,
  32. from build/release/gen/cql3/CqlParser.cpp:44:
  33. /home/arch/src/scylla/seastar/core/sleep.hh: In instantiation of ‘struct sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>’:
  34. /home/arch/src/scylla/seastar/core/sleep.hh:46:47: required from ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]’
  35. /home/arch/src/scylla/seastar/core/sleep.hh:50:5: required from ‘future<> sleep(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]’
  36. ./utils/exponential_backoff_retry.hh:44:36: required from here
  37. /home/arch/src/scylla/seastar/core/sleep.hh:46:24: error: ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>’ declared with greater visibility than the type of its field ‘sleep(std::chrono::duration<_Rep, _Period>)::sleeper::sleeper(std::chrono::duration<_Rep, _Period>) [with Clock = std::chrono::_V2::steady_clock; Rep = long int; Period = std::ratio<1l, 1000l>]::<lambda()>::<this capture>’ [-Werror=attributes]
  38. : tmr([this] { done.set_value(); })
  39. ^
  40. In file included from ./memtable.hh:33:0,
  41. from ./database.hh:62,
  42. from ./service/storage_proxy.hh:44,
  43. from ./db/schema_tables.hh:43,
  44. from ./db/system_keyspace.hh:46,
  45. from ./cql3/functions/function_name.hh:45,
  46. from ./cql3/selection/selectable.hh:48,
  47. from ./cql3/selection/writetime_or_ttl.hh:45,
  48. from build/release/gen/cql3/CqlParser.hpp:63,
  49. from build/release/gen/cql3/CqlParser.cpp:44:
  50. ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
  51. ./partition_version.hh:492:34: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  52. ./partition_version.hh:490:51: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
  53. ./partition_version.hh:490:49: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  54. ./partition_version.hh:489:50: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
  55. ./partition_version.hh:489:23: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  56. /usr/include/c++/6.3.1/bits/unique_ptr.h:76:2: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = partition_snapshot_reader<>]’
  57. /usr/include/c++/6.3.1/bits/unique_ptr.h:239:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = partition_snapshot_reader<>; _Dp = std::default_delete<partition_snapshot_reader<> >]’
  58. ./streamed_mutation.hh:480:52: required from ‘streamed_mutation make_streamed_mutation(Args&& ...) [with Impl = partition_snapshot_reader<>; Args = {lw_shared_ptr<const schema>&, dht::decorated_key, lw_shared_ptr<partition_snapshot>&, query::clustering_key_filter_ranges, logalloc::region&, logalloc::allocating_section&, boost::any}]’
  59. ./partition_version.hh:529:86: required from here
  60. ./partition_version.hh:492:53: error: ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()>::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
  61. _read_section(_lsa_region, [this] {
  62. ^
  63. ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
  64. ./partition_version.hh:490:49: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  65. ./partition_version.hh:489:50: required from ‘struct partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
  66. ./partition_version.hh:489:23: required from ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  67. /usr/include/c++/6.3.1/bits/unique_ptr.h:76:2: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = partition_snapshot_reader<>]’
  68. /usr/include/c++/6.3.1/bits/unique_ptr.h:239:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = partition_snapshot_reader<>; _Dp = std::default_delete<partition_snapshot_reader<> >]’
  69. ./streamed_mutation.hh:480:52: required from ‘streamed_mutation make_streamed_mutation(Args&& ...) [with Impl = partition_snapshot_reader<>; Args = {lw_shared_ptr<const schema>&, dht::decorated_key, lw_shared_ptr<partition_snapshot>&, query::clustering_key_filter_ranges, logalloc::region&, logalloc::allocating_section&, boost::any}]’
  70. ./partition_version.hh:529:86: required from here
  71. ./partition_version.hh:490:55: error: ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::~partition_snapshot_reader()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
  72. return with_linearized_managed_bytes([this] {
  73. ^
  74. ./partition_version.hh: In instantiation of ‘struct partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’:
  75. ./partition_version.hh:503:49: required from ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  76. ./partition_version.hh:502:45: required from ‘struct partition_snapshot_reader<MemoryAccounter>::fill_buffer() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’
  77. ./partition_version.hh:502:29: required from ‘future<> partition_snapshot_reader<MemoryAccounter>::fill_buffer() [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]’
  78. build/release/gen/cql3/CqlParser.cpp:51960:1: required from here
  79. ./partition_version.hh:503:52: error: ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>’ declared with greater visibility than the type of its field ‘partition_snapshot_reader<MemoryAccounter>::fill_buffer()::<lambda()> [with MemoryAccounter = partition_snapshot_reader_dummy_accounter]::<lambda()>::<this capture>’ [-Werror=attributes]
  80. return with_linearized_managed_bytes([&] {
  81. ^
  82. cc1plus: all warnings being treated as errors
  83. [25/252] NINJA seastar/build/release/libseastar.a seastar/build/release/apps/iotune/...se/gen/http/request_parser.hh seastar/build/release/gen/http/http_response_parser.hh
  84. FAILED: seastar/build/release/libseastar.a seastar/build/release/apps/iotune/iotune seastar/build/release/gen/http/request_parser.hh seastar/build/release/gen/http/http_response_parser.hh
  85. /usr/bin/ninja -C seastar build/release/libseastar.a build/release/apps/iotune/iotune build/release/gen/http/request_parser.hh build/release/gen/http/http_response_parser.hh
  86. ninja: Entering directory `seastar'
  87. [1/39] CXX build/release/core/resource.o
  88. FAILED: build/release/core/resource.o
  89. g++ -MMD -MT build/release/core/resource.o -MF build/release/core/resource.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/resource.o core/resource.cc
  90. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  91. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  92. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  93. from /usr/include/c++/6.3.1/climits:42,
  94. from /usr/include/boost/integer_fwd.hpp:12,
  95. from /usr/include/boost/integer.hpp:18,
  96. from /usr/include/boost/function/function_base.hpp:20,
  97. from /usr/include/boost/function/detail/prologue.hpp:17,
  98. from /usr/include/boost/function/function_template.hpp:13,
  99. from /usr/include/boost/function/detail/maybe_include.hpp:18,
  100. from /usr/include/boost/function/function1.hpp:11,
  101. from /usr/include/boost/program_options/value_semantic.hpp:13,
  102. from /usr/include/boost/program_options/options_description.hpp:13,
  103. from /usr/include/boost/program_options.hpp:15,
  104. from core/resource.cc:22:
  105. fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  106. fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  107. const unsigned CHAR_WIDTH = 1;
  108. ^
  109. [2/39] CXX build/release/net/ethernet.o
  110. [3/39] CXX build/release/net/ip.o
  111. FAILED: build/release/net/ip.o
  112. g++ -MMD -MT build/release/net/ip.o -MF build/release/net/ip.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/ip.o net/ip.cc
  113. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  114. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  115. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  116. from /usr/include/boost/asio/detail/socket_types.hpp:82,
  117. from /usr/include/boost/asio/ip/address_v4.hpp:21,
  118. from net/ip.hh:26,
  119. from net/ip.cc:23:
  120. fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  121. fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  122. const unsigned CHAR_WIDTH = 1;
  123. ^
  124. [4/39] CXX build/release/net/dhcp.o
  125. FAILED: build/release/net/dhcp.o
  126. g++ -MMD -MT build/release/net/dhcp.o -MF build/release/net/dhcp.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/dhcp.o net/dhcp.cc
  127. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  128. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  129. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  130. from /usr/include/boost/asio/detail/socket_types.hpp:82,
  131. from /usr/include/boost/asio/ip/address_v4.hpp:21,
  132. from net/ip.hh:26,
  133. from net/dhcp.hh:25,
  134. from net/dhcp.cc:27:
  135. fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  136. fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  137. const unsigned CHAR_WIDTH = 1;
  138. ^
  139. [5/39] CXX build/release/core/scollectd.o
  140. FAILED: build/release/core/scollectd.o
  141. g++ -MMD -MT build/release/core/scollectd.o -MF build/release/core/scollectd.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/scollectd.o core/scollectd.cc
  142. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  143. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  144. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  145. from /usr/include/c++/6.3.1/climits:42,
  146. from /usr/include/boost/integer_fwd.hpp:12,
  147. from /usr/include/boost/integer.hpp:18,
  148. from /usr/include/boost/function/function_base.hpp:20,
  149. from /usr/include/boost/function/detail/prologue.hpp:17,
  150. from /usr/include/boost/function/function_template.hpp:13,
  151. from /usr/include/boost/function/detail/maybe_include.hpp:18,
  152. from /usr/include/boost/function/function1.hpp:11,
  153. from /usr/include/boost/program_options/value_semantic.hpp:13,
  154. from /usr/include/boost/program_options/options_description.hpp:13,
  155. from /usr/include/boost/program_options.hpp:15,
  156. from ./core/scollectd.hh:35,
  157. from core/scollectd-impl.hh:24,
  158. from core/scollectd.cc:31:
  159. fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  160. fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  161. const unsigned CHAR_WIDTH = 1;
  162. ^
  163. [6/39] CXX build/release/net/udp.o
  164. FAILED: build/release/net/udp.o
  165. g++ -MMD -MT build/release/net/udp.o -MF build/release/net/udp.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/udp.o net/udp.cc
  166. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:168:0,
  167. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/syslimits.h:7,
  168. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include-fixed/limits.h:34,
  169. from /usr/include/boost/asio/detail/socket_types.hpp:82,
  170. from /usr/include/boost/asio/ip/address_v4.hpp:21,
  171. from net/ip.hh:26,
  172. from net/udp.cc:22:
  173. fmt/fmt/format.h: In member function ‘void fmt::internal::ArgFormatterBase<Impl, Char>::visit_char(int)’:
  174. fmt/fmt/format.h:1856:20: error: expected unqualified-id before numeric constant
  175. const unsigned CHAR_WIDTH = 1;
  176. ^
  177. [7/39] CXX build/release/core/fstream.o
  178. FAILED: build/release/core/fstream.o
  179. g++ -MMD -MT build/release/core/fstream.o -MF build/release/core/fstream.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/fstream.o core/fstream.cc
  180. In file included from core/fstream.hh:33:0,
  181. from core/fstream.cc:22:
  182. core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  183. core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  184. core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  185. core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  186. core/fstream.cc:233:92: required from here
  187. core/file.hh:597:20: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  188. [rstate] { return rstate->done(); },
  189. ^
  190. core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>’:
  191. core/file.hh:610:9: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]’
  192. core/file.hh:598:29: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’
  193. core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  194. core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  195. core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  196. core/fstream.cc:233:92: required from here
  197. core/file.hh:601:28: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:21)>::<rstate capture>’ [-Werror=attributes]
  198. [rstate] (auto buf1) mutable {
  199. ^
  200. core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  201. core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  202. core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  203. core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  204. core/fstream.cc:233:92: required from here
  205. core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  206. [rstate, this, &pc] () mutable {
  207. ^
  208. core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<this capture>’ [-Werror=attributes]
  209. core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<pc capture>’ [-Werror=attributes]
  210. core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  211. core/file.hh:617:10: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  212. core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  213. core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  214. core/fstream.cc:233:92: required from here
  215. core/file.hh:610:24: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  216. }).then([rstate] () mutable {
  217. ^
  218. cc1plus: all warnings being treated as errors
  219. [8/39] CXX build/release/http/httpd.o
  220. FAILED: build/release/http/httpd.o
  221. g++ -MMD -MT build/release/http/httpd.o -MF build/release/http/httpd.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/http/httpd.o http/httpd.cc
  222. In file included from ./core/iostream.hh:224:0,
  223. from ./core/reactor.hh:26,
  224. from http/httpd.cc:22:
  225. ./core/iostream-impl.hh: In instantiation of ‘struct input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(using tmp_buf = class temporary_buffer<char>)>’:
  226. ./core/iostream-impl.hh:172:14: required from ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]’
  227. ./core/iostream-impl.hh:166:31: required from ‘struct input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]::<lambda()>’
  228. ./core/iostream-impl.hh:166:18: required from ‘future<> input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]’
  229. http/httpd.hh:181:45: required from here
  230. ./core/iostream-impl.hh:168:51: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>::<this capture>’ [-Werror=attributes]
  231. return _fd.get().then([this, &consumer] (tmp_buf buf) {
  232. ^
  233. ./core/iostream-impl.hh:168:51: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::tmp_buf)>::<consumer capture>’ [-Werror=attributes]
  234. ./core/iostream-impl.hh: In instantiation of ‘struct input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(using unconsumed_remainder = class std::experimental::fundamentals_v1::optional<temporary_buffer<char> >)>’:
  235. ./core/iostream-impl.hh:203:14: required from ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]’
  236. ./core/iostream-impl.hh:166:31: required from ‘struct input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]::<lambda()>’
  237. ./core/iostream-impl.hh:166:18: required from ‘future<> input_stream<CharType>::consume(Consumer&) [with Consumer = http_request_parser; CharType = char]’
  238. http/httpd.hh:181:45: required from here
  239. ./core/iostream-impl.hh:194:52: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>::<this capture>’ [-Werror=attributes]
  240. return unconsumed.then([this, &consumer] (unconsumed_remainder u) {
  241. ^
  242. ./core/iostream-impl.hh:194:52: error: ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>’ declared with greater visibility than the type of its field ‘input_stream<CharType>::consume(Consumer&)::<lambda()> [with Consumer = http_request_parser; CharType = char]::<lambda(input_stream<char>::unconsumed_remainder)>::<consumer capture>’ [-Werror=attributes]
  243. In file included from ./core/distributed.hh:24:0,
  244. from http/httpd.cc:26:
  245. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’:
  246. ./core/sharded.hh:338:62: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]’
  247. ./core/sharded.hh:337:45: required from ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’
  248. ./core/sharded.hh:337:34: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]’
  249. ./core/sharded.hh:336:66: required from ‘struct seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>’
  250. ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
  251. http/httpd.hh:416:36: required from here
  252. ./core/sharded.hh:338:68: error: ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable::<lambda()> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  253. _instances[engine().cpu_id()].service = apply([this] (Args... args) {
  254. ^
  255. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’:
  256. ./core/sharded.hh:337:34: required from ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]’
  257. ./core/sharded.hh:336:66: required from ‘struct seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>’
  258. ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
  259. http/httpd.hh:416:36: required from here
  260. ./core/sharded.hh:337:49: error: ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::start(Args&& ...)::<lambda(unsigned int)> mutable [with Args = {}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  261. return smp::submit_to(c, [this, args] () mutable {
  262. ^
  263. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’:
  264. ./core/sharded.hh:388:14: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]’
  265. ./core/sharded.hh:380:35: required from ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’
  266. ./core/sharded.hh:380:30: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]’
  267. ./core/sharded.hh:379:78: required from ‘struct seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>’
  268. ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
  269. http/httpd.hh:420:35: required from here
  270. ./core/sharded.hh:386:49: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  271. return inst->stop().then([this, inst] {
  272. ^
  273. ./core/sharded.hh:386:49: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable::<lambda()> mutable [with Service = httpd::http_server]::<lambda()>::<inst capture>’ [-Werror=attributes]
  274. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’:
  275. ./core/sharded.hh:380:30: required from ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]’
  276. ./core/sharded.hh:379:78: required from ‘struct seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>’
  277. ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
  278. http/httpd.hh:420:35: required from here
  279. ./core/sharded.hh:380:39: error: ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::stop()::<lambda(unsigned int)> mutable [with Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  280. return smp::submit_to(c, [this] () mutable {
  281. ^
  282. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’:
  283. ./core/sharded.hh:430:30: required from ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
  284. ./core/sharded.hh:429:85: required from ‘struct seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>’
  285. ./core/sharded.hh:429:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
  286. http/httpd.hh:426:10: required from here
  287. ./core/sharded.hh:430:45: error: ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  288. return smp::submit_to(c, [this, func] {
  289. ^
  290. ./core/sharded.hh:430:45: error: ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(Func&&)::<lambda(unsigned int)> [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda()>::<func capture>’ [-Werror=attributes]
  291. ./core/sharded.hh: In instantiation of ‘struct seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’:
  292. ./core/sharded.hh:402:30: required from ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]’
  293. ./core/sharded.hh:401:94: required from ‘struct seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>’
  294. ./core/sharded.hh:401:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]’
  295. http/httpd.hh:430:70: required from here
  296. ./core/sharded.hh:402:54: error: ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>::<this capture>’ [-Werror=attributes]
  297. return smp::submit_to(c, [this, func, args...] {
  298. ^
  299. ./core/sharded.hh:402:54: error: ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...)::<lambda(unsigned int)> [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda()>::<args#0 capture>’ [-Werror=attributes]
  300. In file included from ./core/iostream-impl.hh:26:0,
  301. from ./core/iostream.hh:224,
  302. from ./core/reactor.hh:26,
  303. from http/httpd.cc:22:
  304. ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
  305. ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  306. ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
  307. ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  308. ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  309. ./core/sharded.hh:335:29: required from ‘future<> seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]’
  310. http/httpd.hh:416:36: required from here
  311. ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::start(Args&& ...) [with Args = {}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
  312. func(*begin++).then_wrapped([&] (future<> f) {
  313. ^
  314. ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
  315. ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
  316. ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
  317. ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
  318. ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]’
  319. ./core/sharded.hh:379:29: required from ‘future<> seastar::sharded<Service>::stop() [with Service = httpd::http_server]’
  320. http/httpd.hh:420:35: required from here
  321. ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::stop() [with Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
  322. ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
  323. ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
  324. ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
  325. ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
  326. ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]’
  327. ./core/sharded.hh:429:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]’
  328. http/httpd.hh:426:10: required from here
  329. ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(Func&&) [with Func = httpd::http_server_control::set_routes(std::function<void(httpd::routes&)>)::<lambda(httpd::http_server&)>; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
  330. ./core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
  331. ./core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  332. ./core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
  333. ./core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  334. ./core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]’
  335. ./core/sharded.hh:401:29: required from ‘future<> seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]’
  336. http/httpd.hh:430:70: required from here
  337. ./core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = seastar::sharded<Service>::invoke_on_all(future<> (Service::*)(Args ...), Args ...) [with Args = {ipv4_addr}; Service = httpd::http_server]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
  338. cc1plus: all warnings being treated as errors
  339. [9/39] CXX build/release/net/tls.o
  340. FAILED: build/release/net/tls.o
  341. g++ -MMD -MT build/release/net/tls.o -MF build/release/net/tls.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/net/tls.o net/tls.cc
  342. In file included from ./core/reactor.hh:64:0,
  343. from net/tls.cc:28:
  344. ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  345. ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  346. ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  347. ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  348. net/tls.cc:77:53: required from here
  349. ./core/file.hh:597:20: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  350. [rstate] { return rstate->done(); },
  351. ^
  352. ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>’:
  353. ./core/file.hh:610:9: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]’
  354. ./core/file.hh:598:29: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’
  355. ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  356. ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  357. ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  358. net/tls.cc:77:53: required from here
  359. ./core/file.hh:601:28: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable::<lambda()> mutable [with CharType = char]::<lambda(auto:25)>::<rstate capture>’ [-Werror=attributes]
  360. [rstate] (auto buf1) mutable {
  361. ^
  362. ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  363. ./core/file.hh:596:24: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  364. ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  365. ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  366. net/tls.cc:77:53: required from here
  367. ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  368. [rstate, this, &pc] () mutable {
  369. ^
  370. ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<this capture>’ [-Werror=attributes]
  371. ./core/file.hh:598:31: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<pc capture>’ [-Werror=attributes]
  372. ./core/file.hh: In instantiation of ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’:
  373. ./core/file.hh:617:10: required from ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]’
  374. ./core/file.hh:582:38: required from ‘struct file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]::<lambda(size_t)>’
  375. ./core/file.hh:618:6: required from ‘future<temporary_buffer<char_type> > file::dma_read_bulk(uint64_t, size_t, const io_priority_class&) [with CharType = char; uint64_t = long unsigned int; size_t = long unsigned int]’
  376. net/tls.cc:77:53: required from here
  377. ./core/file.hh:610:24: error: ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>’ declared with greater visibility than the type of its field ‘file::dma_read_bulk(uint64_t, size_t, const io_priority_class&)::<lambda(size_t)> mutable [with CharType = char; size_t = long unsigned int]::<lambda()>::<rstate capture>’ [-Werror=attributes]
  378. }).then([rstate] () mutable {
  379. ^
  380. In file included from net/tls.cc:29:0:
  381. ./core/thread.hh: In instantiation of ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’:
  382. ./core/thread.hh:307:16: required from ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]’
  383. ./core/thread.hh:305:122: required from ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::<lambda(struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::work&)>’
  384. ./core/thread.hh:305:19: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
  385. ./core/thread.hh:329:17: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
  386. net/tls.cc:291:10: required from here
  387. ./core/thread.hh:307:45: error: ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>::<w capture>’ [-Werror=attributes]
  388. w.th = thread(std::move(w.attr), [&w] {
  389. ^
  390. ./core/thread.hh: In instantiation of ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’:
  391. ./core/thread.hh:312:10: required from ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]’
  392. ./core/thread.hh:305:122: required from ‘struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::<lambda(struct seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]::work&)>’
  393. ./core/thread.hh:305:19: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(seastar::thread_attributes, Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
  394. ./core/thread.hh:329:17: required from ‘futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> seastar::async(Func&&, Args&& ...) [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}; futurize_t<typename std::result_of<typename std::decay<_Tp>::type(std::decay_t<Args>...)>::type> = future<>]’
  395. net/tls.cc:291:10: required from here
  396. ./core/thread.hh:310:54: error: ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>’ declared with greater visibility than the type of its field ‘seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::<lambda(seastar::async(seastar::thread_attributes, Func&&, Args&& ...)::work&)> mutable [with Func = seastar::tls::certificate_credentials::impl::set_system_trust()::<lambda()>; Args = {}]::<lambda()>::__ret’ [-Werror=attributes]
  397. return w.th.join().then([ret = std::move(ret)] () mutable {
  398. ^
  399. cc1plus: all warnings being treated as errors
  400. [10/39] CXX build/release/core/reactor.o
  401. FAILED: build/release/core/reactor.o
  402. g++ -MMD -MT build/release/core/reactor.o -MF build/release/core/reactor.o.d -O2 -I build/release/gen -std=gnu++1y -g -Wall -Werror -fvisibility=hidden -pthread -I. -U_FORTIFY_SOURCE -march=nehalem -Ifmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -c -o build/release/core/reactor.o core/reactor.cc
  403. In file included from core/iostream-impl.hh:26:0,
  404. from core/iostream.hh:224,
  405. from core/reactor.hh:26,
  406. from core/reactor.cc:28:
  407. core/future-util.hh: In instantiation of ‘struct parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(class future<>)>’:
  408. core/future-util.hh:94:17: recursively required from ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
  409. core/future-util.hh:94:17: required from ‘struct parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(struct parallel_for_each_state&)>’
  410. core/future-util.hh:88:19: required from ‘future<> parallel_for_each(Iterator, Iterator, Func&&) [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
  411. core/future-util.hh:136:29: required from ‘future<> parallel_for_each(Range&&, Func&&) [with Range = boost::integer_range<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]’
  412. core/reactor.hh:1071:33: required from ‘static future<> smp::invoke_on_all(Func&&) [with Func = void (*)()]’
  413. core/reactor.cc:2185:56: required from here
  414. core/future-util.hh:94:47: error: ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(future<>)>’ declared with greater visibility than the type of its field ‘parallel_for_each(Iterator, Iterator, Func&&)::<lambda(parallel_for_each_state&)> [with Iterator = boost::range_detail::integer_iterator<unsigned int>; Func = smp::invoke_on_all(Func&&) [with Func = void (*)()]::<lambda(unsigned int)>]::<lambda(future<>)>::<state capture>’ [-Werror=attributes]
  415. func(*begin++).then_wrapped([&] (future<> f) {
  416. ^
  417. cc1plus: all warnings being treated as errors
Advertisement
Add Comment
Please, Sign In to add comment