Page MenuHomePhabricator

Use underscore in chronik-lib package name
ClosedPublic

Authored by roqqit on Jun 26 2024, 18:07.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCa4ef4bb74be5: Use underscore in chronik-lib package name
Summary

Rust 1.79 introduces a breaking change that transforms package names with dashes to underscores. Before bumping rust version, we can fixup the package name.

Also bump the corrosion version to one that supports underscored package naming.

Test Plan

With rust 1.79 installed, this will now build:

cmake -GNinja -DBUILD_BITCOIN_CHRONIK=ON ..
ninja && ninja chronik/check-crates

Event Timeline

Owners added a reviewer: Restricted Owners Package.Jun 26 2024, 18:07
roqqit requested review of this revision.Jun 26 2024, 18:07

Tail of the build log:

-- Looking for EVP_MD_CTX_new
-- Looking for EVP_MD_CTX_new - found
-- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
-- Found QREncode: /usr/include   
-- Rust Toolchain: 1.76.0-x86_64-unknown-linux-gnu
-- Rust Target: x86_64-unknown-linux-gnu
-- Determining required link libraries for target x86_64-unknown-linux-gnu
-- Required static libs for target x86_64-unknown-linux-gnu: gcc_s;util;rt;pthread;m;dl;c
-- Found Rust: /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc (found version "1.76.0") 
-- Using Corrosion as a subdirectory
-- Building CMake Generator for Corrosion - This may take a while
-- Building CMake Generator for Corrosion - done
-- Performing Test have_linker__latomic
-- Performing Test have_linker__latomic - Success
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found suitable version "3.12.4", minimum required is "3.0.0") 
-- Configuring native build in /work/abc-ci-builds/ecash-agora-integration-tests/native
-- Configuring done
CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Build ecash-agora-integration-tests failed with exit code 1

Tail of the build log:

-- Looking for EVP_MD_CTX_new
-- Looking for EVP_MD_CTX_new - found
-- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
-- Found QREncode: /usr/include   
-- Rust Toolchain: 1.76.0-x86_64-unknown-linux-gnu
-- Rust Target: x86_64-unknown-linux-gnu
-- Determining required link libraries for target x86_64-unknown-linux-gnu
-- Required static libs for target x86_64-unknown-linux-gnu: gcc_s;util;rt;pthread;m;dl;c
-- Found Rust: /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc (found version "1.76.0") 
-- Using Corrosion as a subdirectory
-- Building CMake Generator for Corrosion - This may take a while
-- Building CMake Generator for Corrosion - done
-- Performing Test have_linker__latomic
-- Performing Test have_linker__latomic - Success
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found suitable version "3.12.4", minimum required is "3.0.0") 
-- Configuring native build in /work/abc-ci-builds/build-chronik/native
-- Configuring done
CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Build build-chronik failed with exit code 1

Tail of the build log:

-- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
-- Found QREncode: /usr/include   
-- Rust Toolchain: 1.76.0-x86_64-unknown-linux-gnu
-- Rust Target: x86_64-unknown-linux-gnu
-- Determining required link libraries for target x86_64-unknown-linux-gnu
-- Required static libs for target x86_64-unknown-linux-gnu: gcc_s;util;rt;pthread;m;dl;c
-- Found Rust: /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc (found version "1.76.0") 
-- Using Corrosion as a subdirectory
-- Building CMake Generator for Corrosion - This may take a while
-- Building CMake Generator for Corrosion - done
-- Found Python: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter Development Development.Module Development.Embed 
Adding Python_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpython3.9.so
-- Performing Test have_linker__latomic
-- Performing Test have_linker__latomic - Success
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found suitable version "3.12.4", minimum required is "3.0.0") 
-- Configuring native build in /work/abc-ci-builds/build-chronik-plugins/native
-- Configuring done
CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Build build-chronik-plugins failed with exit code 1

Tail of the build log:

-- Looking for EVP_MD_CTX_new
-- Looking for EVP_MD_CTX_new - found
-- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
-- Found QREncode: /usr/include   
-- Rust Toolchain: 1.76.0-x86_64-unknown-linux-gnu
-- Rust Target: x86_64-unknown-linux-gnu
-- Determining required link libraries for target x86_64-unknown-linux-gnu
-- Required static libs for target x86_64-unknown-linux-gnu: gcc_s;util;rt;pthread;m;dl;c
-- Found Rust: /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc (found version "1.76.0") 
-- Using Corrosion as a subdirectory
-- Building CMake Generator for Corrosion - This may take a while
-- Building CMake Generator for Corrosion - done
-- Performing Test have_linker__latomic
-- Performing Test have_linker__latomic - Success
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found suitable version "3.12.4", minimum required is "3.0.0") 
-- Configuring native build in /work/abc-ci-builds/chronik-client-integration-tests/native
-- Configuring done
CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Build chronik-client-integration-tests failed with exit code 1

Tail of the build log:

-- Looking for EVP_MD_CTX_new
-- Looking for EVP_MD_CTX_new - found
-- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
-- Found QREncode: /usr/include   
-- Rust Toolchain: 1.76.0-x86_64-unknown-linux-gnu
-- Rust Target: x86_64-unknown-linux-gnu
-- Determining required link libraries for target x86_64-unknown-linux-gnu
-- Required static libs for target x86_64-unknown-linux-gnu: gcc_s;util;rt;pthread;m;dl;c
-- Found Rust: /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc (found version "1.76.0") 
-- Using Corrosion as a subdirectory
-- Building CMake Generator for Corrosion - This may take a while
-- Building CMake Generator for Corrosion - done
-- Performing Test have_linker__latomic
-- Performing Test have_linker__latomic - Success
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found suitable version "3.12.4", minimum required is "3.0.0") 
-- Configuring native build in /work/abc-ci-builds/ecash-lib-integration-tests/native
-- Configuring done
CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


CMake Error at chronik/CMakeLists.txt:120 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:chronik_lib,INTERFACE_LINK_LIBRARIES>

  Target "chronik_lib" not found.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Build ecash-lib-integration-tests failed with exit code 1

Tail of the build log:

  File "/work/test/functional/setup_scripts/../test_framework/util.py", line 297, in wait_until_helper
    raise AssertionError(
AssertionError: Predicate ''''
            self.wait_until(lambda: is_finalblock(next_blockhash))
''' not true after 60.0 seconds
2024-06-26T18:27:18.445000Z TestFramework (INFO): Stopping nodes
2024-06-26T18:27:18.599000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20240626_182607/setup_scripts/chronik-client_websocket_0
2024-06-26T18:27:18.599000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20240626_182607/setup_scripts/chronik-client_websocket_0/test_framework.log
2024-06-26T18:27:18.600000Z TestFramework (ERROR): 
2024-06-26T18:27:18.600000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/chronik-client-integration-tests/test/tmp/test_runner_₿₵_🏃_20240626_182607/setup_scripts/chronik-client_websocket_0' to consolidate all logs
2024-06-26T18:27:18.600000Z TestFramework (ERROR): 
2024-06-26T18:27:18.601000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2024-06-26T18:27:18.601000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2024-06-26T18:27:18.601000Z TestFramework (ERROR): 
Running Unit Tests for Test Framework Modules
setup_scripts/chronik-client_websocket.py started
setup_scripts/chronik-client_websocket.py failed, Duration: 71 s

stdout:

stderr:


TEST                                      | STATUS    | DURATION

setup_scripts/chronik-client_websocket.py | ✖ Failed  | 71 s

ALL                                       | ✖ Failed  | 71 s (accumulated) 
Runtime: 71 s

Test runner for chronik-client_websocket completed with code 1
-----------------------|---------|----------|---------|---------|-----------------------------------
File                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                 
-----------------------|---------|----------|---------|---------|-----------------------------------
All files              |   28.35 |     8.64 |   24.57 |   28.35 |                                   
 chronik-client        |     100 |      100 |     100 |     100 |                                   
  index.ts             |     100 |      100 |     100 |     100 |                                   
 chronik-client/proto  |    21.6 |     6.07 |    13.9 |   21.74 |                                   
  chronik.ts           |     6.1 |     0.83 |    2.54 |    6.09 | ...,3978-3985,3990-4027,4031-4036 
  chronikNode.ts       |   33.03 |    10.56 |    23.6 |   33.28 | ...,4991-5030,5038-5111,5146-5151 
 chronik-client/src    |   65.77 |    42.39 |   63.41 |   65.38 |                                   
  ChronikClient.ts     |    4.24 |        0 |       0 |    4.29 | 33-163,178-222,290-692            
  ChronikClientNode.ts |   90.84 |     72.8 |   96.38 |   90.84 | ...,1068,1078,1103,1115,1121,1127 
  failoverProxy.ts     |   75.22 |    51.61 |   62.06 |   74.52 | ...67,275-285,294,301,305,310,314 
  hex.ts               |   89.47 |       50 |      75 |   87.87 | 58,66-68                          
  validation.ts        |   93.33 |    81.81 |     100 |   92.59 | 33,39                             
-----------------------|---------|----------|---------|---------|-----------------------------------

##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='1188']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='4189']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='337']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='3897']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='187']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='761']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='1176']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='4148']
##teamcity[blockClosed name='Code Coverage Summary']
mv: cannot stat 'test_results/chronik-client-integration-tests-junit.xml': No such file or directory
Build chronik-client-integration-tests failed with exit code 1

@bot chronik-client-integration-tests

Fabien requested changes to this revision.Jun 26 2024, 19:22
Fabien added a subscriber: Fabien.

This is actually not updating the crate name, only the cmake lib

This revision now requires changes to proceed.Jun 26 2024, 19:22

Tail of the build log:

[393/579] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[394/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o
[395/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockindex.cpp.o
[396/579] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o
[397/579] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[398/579] Linking C static library src/secp256k1/libsecp256k1.a
[399/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/validation.cpp.o
[400/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o
[401/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/coins.cpp.o
[402/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o
[403/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o
[404/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/random.cpp.o
[405/579] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o
[406/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o
[407/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o
[408/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o
[409/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o
[410/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o
[411/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o
[412/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o
[413/579] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o
[414/579] Linking C executable src/secp256k1/ecmult-bench
[415/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o
[416/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o
[417/579] Linking C executable src/secp256k1/sign-bench
[418/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o
[419/579] Linking C executable src/secp256k1/recover-bench
[420/579] Linking C executable src/secp256k1/internal-bench
[421/579] Linking C executable src/secp256k1/verify-bench
[422/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o
[423/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/receive.cpp.o
[424/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o
[425/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/util.cpp.o
[426/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/signmessage.cpp.o
[427/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o
[428/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/interfaces.cpp.o
[429/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/encrypt.cpp.o
[430/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o
[431/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/transaction.cpp.o
[432/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o
[433/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o
[434/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/spend.cpp.o
[435/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o
[436/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o
[437/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o
[438/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/backup.cpp.o
[439/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o
[440/579] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o
[441/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o
[442/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o
[443/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o
[444/579] Linking CXX static library src/libcommon.a
[445/579] Linking CXX static library src/libscript.a
[446/579] Linking CXX static library src/libbitcoinconsensus.a
[447/579] Linking CXX shared library src/libbitcoinconsensus.so.0.29.7
[448/579] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[449/579] Linking CXX executable src/bitcoin-cli
[450/579] Linking CXX executable src/bitcoin-tx
ninja: build stopped: cannot make progress due to previous errors.
Build ecash-lib-integration-tests failed with exit code 1

Tail of the build log:

[393/579] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[394/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockindex.cpp.o
[395/579] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[396/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/validation.cpp.o
[397/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o
[398/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/random.cpp.o
[399/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o
[400/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/coins.cpp.o
[401/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o
[402/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o
[403/579] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o
[404/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o
[405/579] Linking C static library src/secp256k1/libsecp256k1.a
[406/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o
[407/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o
[408/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o
[409/579] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o
[410/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o
[411/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o
[412/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o
[413/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o
[414/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o
[415/579] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o
[416/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o
[417/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o
[418/579] Linking C executable src/secp256k1/ecmult-bench
[419/579] Linking C executable src/secp256k1/verify-bench
[420/579] Linking C executable src/secp256k1/recover-bench
[421/579] Linking C executable src/secp256k1/sign-bench
[422/579] Linking C executable src/secp256k1/internal-bench
[423/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/interfaces.cpp.o
[424/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/receive.cpp.o
[425/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o
[426/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o
[427/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/transaction.cpp.o
[428/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/encrypt.cpp.o
[429/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/spend.cpp.o
[430/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/signmessage.cpp.o
[431/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o
[432/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o
[433/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o
[434/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o
[435/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/util.cpp.o
[436/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o
[437/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o
[438/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o
[439/579] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o
[440/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o
[441/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/backup.cpp.o
[442/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o
[443/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o
[444/579] Linking CXX static library src/libcommon.a
[445/579] Linking CXX static library src/libscript.a
[446/579] Linking CXX static library src/libbitcoinconsensus.a
[447/579] Linking CXX shared library src/libbitcoinconsensus.so.0.29.7
[448/579] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[449/579] Linking CXX executable src/bitcoin-cli
[450/579] Linking CXX executable src/bitcoin-tx
ninja: build stopped: cannot make progress due to previous errors.
Build chronik-client-integration-tests failed with exit code 1

Tail of the build log:

[393/579] Linking CXX static library src/libcommon.a
[394/579] Linking C executable src/secp256k1/ecmult-bench
[395/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/validation.cpp.o
[396/579] Linking CXX static library src/libscript.a
[397/579] Linking CXX static library src/libbitcoinconsensus.a
[398/579] Linking CXX shared library src/libbitcoinconsensus.so.0.29.7
[399/579] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[400/579] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[401/579] Linking C executable src/secp256k1/internal-bench
[402/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockindex.cpp.o
[403/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/coins.cpp.o
[404/579] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[405/579] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o
[406/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o
[407/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o
[408/579] Linking CXX executable src/bitcoin-cli
[409/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o
[410/579] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[411/579] Linking CXX executable src/bitcoin-tx
[412/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/random.cpp.o
[413/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o
[414/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o
[415/579] Building CXX object src/CMakeFiles/server.dir/rpc/rawtransaction.cpp.o
[416/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o
[417/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o
[418/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o
[419/579] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o
[420/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o
[421/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o
[422/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o
[423/579] Building CXX object src/CMakeFiles/server.dir/rpc/blockchain.cpp.o
[424/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o
[425/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o
[426/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o
[427/579] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o
[428/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o
[429/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/receive.cpp.o
[430/579] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o
[431/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/util.cpp.o
[432/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/signmessage.cpp.o
[433/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/transaction.cpp.o
[434/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o
[435/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o
[436/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/encrypt.cpp.o
[437/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o
[438/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o
[439/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o
[440/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o
[441/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/interfaces.cpp.o
[442/579] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o
[443/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/spend.cpp.o
[444/579] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o
[445/579] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o
[446/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o
[447/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o
[448/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/backup.cpp.o
[449/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o
[450/579] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
Build ecash-agora-integration-tests failed with exit code 1

Tail of the build log:

[393/580] Linking C executable src/secp256k1/sign-bench
[394/580] Linking CXX static library src/libbitcoinconsensus.a
[395/580] Linking CXX shared library src/libbitcoinconsensus.so.0.29.7
[396/580] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[397/580] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[398/580] Linking C executable src/secp256k1/ecmult-bench
[399/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/validation.cpp.o
[400/580] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[401/580] Linking C executable src/secp256k1/internal-bench
[402/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockindex.cpp.o
[403/580] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[404/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o
[405/580] Linking CXX executable src/bitcoin-cli
[406/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/coins.cpp.o
[407/580] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o
[408/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o
[409/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o
[410/580] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[411/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o
[412/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/random.cpp.o
[413/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o
[414/580] Linking CXX executable src/bitcoin-tx
[415/580] Building CXX object src/CMakeFiles/server.dir/rpc/rawtransaction.cpp.o
[416/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o
[417/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o
[418/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o
[419/580] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o
[420/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o
[421/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o
[422/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o
[423/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o
[424/580] Building CXX object src/CMakeFiles/server.dir/rpc/blockchain.cpp.o
[425/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o
[426/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o
[427/580] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o
[428/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o
[429/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/receive.cpp.o
[430/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o
[431/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/util.cpp.o
[432/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/transaction.cpp.o
[433/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/signmessage.cpp.o
[434/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o
[435/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o
[436/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/encrypt.cpp.o
[437/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o
[438/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o
[439/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o
[440/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/interfaces.cpp.o
[441/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o
[442/580] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o
[443/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/spend.cpp.o
[444/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o
[445/580] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o
[446/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o
[447/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o
[448/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/backup.cpp.o
[449/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o
[450/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
Build build-chronik failed with exit code 1

Tail of the build log:

[393/580] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[394/580] Linking C executable src/secp256k1/recover-bench
[395/580] Linking C executable src/secp256k1/verify-bench
[396/580] Linking C executable src/secp256k1/sign-bench
[397/580] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[398/580] Linking C executable src/secp256k1/ecmult-bench
[399/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockindex.cpp.o
[400/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/validation.cpp.o
[401/580] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[402/580] Linking C executable src/secp256k1/internal-bench
[403/580] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[404/580] Linking CXX executable src/bitcoin-cli
[405/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/coins.cpp.o
[406/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o
[407/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o
[408/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o
[409/580] Building CXX object src/CMakeFiles/server.dir/wallet/init.cpp.o
[410/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o
[411/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/random.cpp.o
[412/580] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[413/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o
[414/580] Building CXX object src/CMakeFiles/server.dir/rpc/rawtransaction.cpp.o
[415/580] Linking CXX executable src/bitcoin-tx
[416/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o
[417/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o
[418/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o
[419/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o
[420/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o
[421/580] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o
[422/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o
[423/580] Building CXX object src/CMakeFiles/server.dir/rpc/blockchain.cpp.o
[424/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o
[425/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o
[426/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o
[427/580] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o
[428/580] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o
[429/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o
[430/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/receive.cpp.o
[431/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/util.cpp.o
[432/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/transaction.cpp.o
[433/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/signmessage.cpp.o
[434/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o
[435/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o
[436/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o
[437/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/encrypt.cpp.o
[438/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o
[439/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o
[440/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/interfaces.cpp.o
[441/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o
[442/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/spend.cpp.o
[443/580] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o
[444/580] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o
[445/580] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o
[446/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o
[447/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o
[448/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpc/backup.cpp.o
[449/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o
[450/580] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
Build build-chronik-plugins failed with exit code 1
roqqit planned changes to this revision.Jun 26 2024, 19:54

Fixup generated file paths

Fabien requested changes to this revision.Jun 28 2024, 07:55

you need to update the Cargo.lock file as well, which is generated when you run cargo

This revision now requires changes to proceed.Jun 28 2024, 07:55
roqqit requested review of this revision.Jun 28 2024, 19:05

Cargo.lock file was already updated in this patch

This revision is now accepted and ready to land.Jun 28 2024, 19:06
This revision was automatically updated to reflect the committed changes.