cmakeBuild

command_line: /usr/local/bin/cmake --build . --config Release --parallel 4

working_directory: ""

stdout:

[143/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/time.cpp.o
[144/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/tokenpipe.cpp.o
[145/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/validation.cpp.o
[146/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/validationinterface.cpp.o
[147/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/versionbits.cpp.o
[148/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/fs_helpers.cpp.o
[149/214] Building CXX object _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/util/string.cpp.o
[150/214] Building C object CMakeFiles/btck.dir/src/util/error.c.o
[151/214] Building CXX object CMakeFiles/btck.dir/src/util/error.cpp.o
[152/214] Building CXX object CMakeFiles/btck.dir/src/btck_error.cpp.o
/.../btck/src/btck_error.cpp:8:50: warning: no header providing "std::error_category" is directly included [misc-include-cleaner]
    7 | 
    8 | auto btck::verification_error_category() -> std::error_category const&
      |                                                  ^
/.../btck/src/btck_error.cpp:18:14: warning: no header providing "BtcK_VerificationError_Message" is directly included [misc-include-cleaner]
    5 | #include <btck/btck_error.hpp>
    6 | #include <string>
    7 | 
    8 | auto btck::verification_error_category() -> std::error_category const&
    9 | {
   10 |   static struct : std::error_category {
   11 |     [[nodiscard]] auto name() const noexcept -> char const* override
   12 |     {
   13 |       return "VerificationError";
   14 |     }   15 | 
   16 |     [[nodiscard]] auto message(int ev) const -> std::string override
   17 |     {
   18 |       return BtcK_VerificationError_Message(ev);
      |              ^
/.../btck/src/btck_error.cpp:25:60: warning: no header providing "std::error_code" is directly included [misc-include-cleaner]
   25 | auto btck::make_error_code(verification_error err) -> std::error_code
      |                                                            ^
[153/214] Performing configure step for 'TestingMacros'
-- The Swift compiler identification is Apple 6.1.2
-- Check for working Swift compiler: /usr/local/bin/swiftc
-- Check for working Swift compiler: /usr/local/bin/swiftc - works
-- Could NOT find SwiftSyntax (missing: SwiftSyntax_DIR)
-- The C compiler identification is Clang 18.1.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done-- Check for working C compiler: /usr/bin/clang-18 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Module triple: x86_64-unknown-linux-gnu
-- Configuring done (7.7s)
-- Generating done (0.1s)
-- Build files have been written to: /.../btck/build/_deps/swifttesting-build/Sources/tm/src/TestingMacros-build
[154/214] Building CXX object CMakeFiles/btck.dir/src/btck_block.cpp.o
/.../btck/src/btck_block.cpp:20:1: warning: included header serialize.h is not used directly [misc-include-cleaner]
   20 | #include "serialize.h"
      | ^~~~~~~~~~~~~~~~~~~~~~
   21 | #include "span.h"
[155/214] Building CXX object CMakeFiles/btck.dir/src/btck_script_pubkey.cpp.o
[156/214] Building CXX object CMakeFiles/btck.dir/src/btck_transaction.cpp.o
[157/214] Building C object CMakeFiles/btck.dir/src/verification_error.c.o
[158/214] Building C object CMakeFiles/btck.dir/src/verification_flags.c.o
[159/214] Scanning /.../btck/src/btck.cpp for CXX dependencies
[160/214] Scanning /.../btck/src/btck_error.cpp for CXX dependencies
[161/214] Linking CXX static library _deps/bitcoin-build/src/libcrc32c.a[167/214] Generating CXX dyndep file CMakeFiles/btck-cpp.dir/CXX.dd
[168/214] Scanning /.../btck/test/cpp/block.cpp for CXX dependencies
[169/214] Scanning /.../btck/test/cpp/transaction.cpp for CXX dependencies
[170/214] Scanning /.../btck/test/cpp/verify.cpp for CXX dependencies
[171/214] Building CXX object _deps/swifttesting-build/Sources/_TestingInternals/CMakeFiles/_TestingInternals.dir/Discovery.cpp.o
[172/214] Building CXX object _deps/swifttesting-build/Sources/_TestingInternals/CMakeFiles/_TestingInternals.dir/Stubs.cpp.o
[173/214] Building CXX object _deps/swifttesting-build/Sources/_TestingInternals/CMakeFiles/_TestingInternals.dir/Versions.cpp.o
[174/214] Building CXX object _deps/swifttesting-build/Sources/_TestingInternals/CMakeFiles/_TestingInternals.dir/WillThrow.cpp.o
[175/214] Building CXX object CMakeFiles/btck.dir/src/chain.cpp.o
[176/214] Building CXX object CMakeFiles/btck.dir/src/btck_transaction_output.cpp.o
/.../btck/src/btck_transaction_output.cpp:9:1: warning: included header utility is not used directly [misc-include-cleaner]
    9 | #include <utility>
      | ^~~~~~~~~~~~~~~~~~
   10 | 
/.../btck/src/btck_transaction_output.cpp:53:50: warning: no header providing "size_t" is directly included [misc-include-cleaner]
    7 |   BtcK_TransactionOutput const* self, char* buf, size_t len) -> int
      |                                                  ^
[177/214] Linking CXX shared library libbtck.so.0.21.0
[178/214] Creating library symlink libbtck.so.0 libbtck.so
[179/214] Generating CXX dyndep file test/cpp/CMakeFiles/btck.test.cpp.dir/CXX.dd
[180/214] Building CXX object CMakeFiles/btck-cpp.dir/src/btck_error.cpp.o
/.../btck/src/btck_error.cpp:8:50: warning: no header providing "std::error_category" is directly included [misc-include-cleaner]
    7 | 
    8 | auto btck::verification_error_category() -> std::error_category const&
      |                                                  ^
/.../btck/src/btck_error.cpp:18:14: warning: no header providing "BtcK_VerificationError_Message" is directly included [misc-include-cleaner]
    5 | #include <btck/btck_error.hpp>
    6 | #include <string>
    7 | 
    8 | auto btck::verification_error_category() -> std::error_category const&
    9 | {
   10 |   static struct : std::error_category {
   11 |     [[nodiscard]] auto name() const noexcept -> char const* override
   12 |     {
   13 |       return "VerificationError";
   14 |     }   15 | 
   16 |     [[nodiscard]] auto message(int ev) const -> std::string override
   17 |     {
   18 |       return BtcK_VerificationError_Message(ev);
      |              ^
/.../btck/src/btck_error.cpp:25:60: warning: no header providing "std::error_code" is directly included [misc-include-cleaner]
   25 | auto btck::make_error_code(verification_error err) -> std::error_code
      |                                                            ^
[181/214] Linking CXX static library lib/lib_TestingInternals.a
[182/214] Building C object test/c/CMakeFiles/btck.test.c.dir/btck.c.o
/.../btck/test/c/btck.c:5:1: warning: included header btck.h is not used directly [misc-include-cleaner]
    5 | #include <btck/btck.h>
      | ^~~~~~~~~~~~~~~~~~~~~~
[183/214] Building C object test/c/CMakeFiles/btck.test.c.dir/main.c.o
/.../btck/test/c/main.c:15:37: warning: parameter 'state' is unused [misc-unused-parameters]
   15 | static void test_transaction(void** state)
      |                                     ^
[184/214] Building Swift Module 'btck' with 4 sources
/.../btck/bindings/swift/error.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 

/.../btck/bindings/swift/script_pubkey.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 

/.../btck/bindings/swift/transaction.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 

/.../btck/bindings/swift/transaction_output.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 
/.../btck/bindings/swift/transaction_output.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 
/.../btck/bindings/swift/error.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 
/.../btck/bindings/swift/script_pubkey.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 

/.../btck/bindings/swift/script_pubkey.swift:67:56: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
65 |             return 0
66 |         }
67 |         guard BtcK_ScriptPubkey_ToBytes(ptr, callback, &buffer) == 0 else {
   |                                                        `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
68 |             return Data()
69 |         }
/.../btck/bindings/swift/transaction.swift:5:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4 | 
 5 | import Foundation
   |        `- warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'btck' can't be guaranteed
 6 | @_implementationOnly import btck_c
 7 | 

/.../btck/bindings/swift/transaction.swift:79:62: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
77 |             return 0
78 |         }
79 |         let result = BtcK_Transaction_ToBytes(ptr, callback, &buffer)
   |                                                              `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
80 |         guard result == 0 else { return Data() }
81 |         return buffer
[185/214] Building CXX object CMakeFiles/btck-cpp.dir/src/btck.cpp.o
/.../btck/src/btck.cpp:28:31: warning: no header providing "std::operator""sv" is directly included [misc-include-cleaner]
   11 |   if (err.domain() == "Memory"sv) {
      |                               ^
/.../btck/src/btck.cpp:38:11: warning: no header providing "std::vector" is directly included [misc-include-cleaner]
   12 |   -> std::vector<std::byte>
      |           ^
/.../btck/src/btck.cpp:38:23: warning: no header providing "std::byte" is directly included [misc-include-cleaner]
    7 |   -> std::vector<std::byte>
      |                       ^
/.../btck/src/btck.cpp:70:11: warning: no header providing "std::string" is directly included [misc-include-cleaner]
   11 |   -> std::string
      |           ^
[186/214] Linking CXX static library libbtck-cpp.a
[187/214] Building CXX object test/cpp/CMakeFiles/btck.test.cpp.dir/block.cpp.o
/.../btck/test/cpp/block.cpp:11:1: warning: included header string is not used directly [misc-include-cleaner]
   11 | #include <string>
      | ^~~~~~~~~~~~~~~~~
   12 | 
/.../btck/test/cpp/block.cpp:13:1: warning: function 'TestBody' has cognitive complexity of 51 (threshold 25) [readability-function-cognitive-complexity]
   13 | TEST(Block, Genesis)
      | ^
/usr/include/gtest/gtest.h:2176:42: note: expanded from macro 'TEST'
 2176 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
      |                                          ^
/usr/include/gtest/gtest.h:2170:3: note: expanded from macro 'GTEST_TEST'
 2170 |   GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
      |   ^
/usr/include/gtest/internal/gtest-internal.h:1558:60: note: expanded from macro 'GTEST_TEST_'
 1558 |   void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
      |                                                            ^
/.../btck/test/cpp/block.cpp:59:3: note: +1, including nesting penalty of 0, nesting level increased to 1
   59 |   EXPECT_FALSE(block.transactions().empty());
      |   ^
/usr/include/gtest/gtest.h:1811:33: note: expanded from macro 'EXPECT_FALSE'
 1811 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition)
      |                                 ^
/usr/include/gtest/gtest.h:1795:3: note: expanded from macro 'GTEST_EXPECT_FALSE'
 1795 |   GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
      |   ^
/usr/include/gtest/internal/gtest-internal.h:1491:3: note: expanded from macro 'GTEST_TEST_BOOLEAN_'
 1491 |   GTEST_AMBIGUOUS_ELSE_BLOCKER_                                       \
      |   ^
/usr/include/gtest/internal/gtest-port.h:712:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSE_BLOCKER_'
  712 |   switch (0)                          \
      |   ^
/.../btck/test/cpp/block.cpp:59:3: note: +2, including nesting penalty of 1, nesting level increased to 2
   59 |   EXPECT_FALSE(block.transactions().empty());
      |   ^
/usr/include/gtest/gtest.h:1811:33: note: expanded from macro 'EXPECT_FALSE'
 1811 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition)
      |                                 ^
/usr/include/gtest/gtest.h:1795:3: note: expanded from macro 'GTEST_EXPECT_FALSE'
 1795 |   GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
      |   ^
/usr/include/gtest/internal/gtest-internal.h:1492:3: note: expanded from macro 'GTEST_TEST_BOOLEAN_'
 1492 |   if (const ::testing::AssertionResult gtest_ar_ =                    \
      |   ^
/.../btck/test/cpp/block.cpp:59:3: note: +1, nesting level increased to 2
   59 |   EXPECT_FALSE(block.transactions().empty());
      |   ^
/usr/include/gtest/gtest.h:1811:33: note: expanded from macro 'EXPECT_FALSE'
 1811 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition)
      |                                 ^
/usr/include/gtest/gtest.h:1795:3: note: expanded from macro 'GTEST_EXPECT_FALSE'
 1795 |   GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
      |   ^
/usr/include/gtest/internal/gtest-internal.h:1495:3: note: expanded from macro 'GTEST_TEST_BOOLEAN_'
 1495 |   else                                                                \
      |   ^
/.../btck/test/cpp/block.cpp:60:3: note: +1, including nesting penalty of 0, nesting level increased to 1
   60 |   EXPECT_EQ(block.hash(), btck::BlockHash{as_bytes(std::span{block_hash})});
      |   ^
/usr/include/gtest/gtest.h:1869:3: note: expanded from macro 'EXPECT_EQ'
 1869 |   EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
      |   ^
/usr/include/gtest/gtest_pred_impl.h:144:3: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  134 |   GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
      |   ^
/usr/include/gtest/gtest_pred_impl.h:78:3: note: expanded from macro 'GTEST_ASSERT_'
   78 |   GTEST_AMBIGUOUS_ELSE_BLOCKER_                                 \
      |   ^
/usr/include/gtest/internal/gtest-port.h:712:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSE_BLOCKER_'
  712 |   switch (0)                          \
      |   ^
/.../btck/test/cpp/block.cpp:60:3: note: +2, including nesting penalty of 1, nesting level increased to 2
   60 |   EXPECT_EQ(block.hash(), btck::BlockHash{as_bytes(std::span{block_hash})});
      |   ^
/usr/include/gtest/gtest.h:1869:3: note: expanded from macro 'EXPECT_EQ'
 1869 |   EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
      |   ^
/usr/include/gtest/gtest_pred_impl.h:144:3: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^
/usr/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  134 |   GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
The maximum number of reported warnings or errors has been reached!!!
Status: 0
Loading...