[INFO] fetching crate cashaccount 0.1.0... [INFO] checking cashaccount-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cashaccount 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cashaccount 0.1.0 [INFO] finished tweaking crates.io crate cashaccount 0.1.0 [INFO] tweaked toml for crates.io crate cashaccount 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cashaccount 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding bitcoin v0.21.0 (available: v0.32.7) [INFO] [stderr] Adding cc v1.0.41 (available: v1.2.34) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fb581ed44bc1135b774d93b073b7c4a094109af3915a476495201a2bc40e36b [INFO] running `Command { std: "docker" "start" "-a" "7fb581ed44bc1135b774d93b073b7c4a094109af3915a476495201a2bc40e36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb581ed44bc1135b774d93b073b7c4a094109af3915a476495201a2bc40e36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb581ed44bc1135b774d93b073b7c4a094109af3915a476495201a2bc40e36b", kill_on_drop: false }` [INFO] [stdout] 7fb581ed44bc1135b774d93b073b7c4a094109af3915a476495201a2bc40e36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeaf83a5d963a7bf7e3ff7bc7b7e914a7fd97e9b6a22938b6cab9985a4f1678a [INFO] running `Command { std: "docker" "start" "-a" "eeaf83a5d963a7bf7e3ff7bc7b7e914a7fd97e9b6a22938b6cab9985a4f1678a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Checking c_fixed_string v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking bitcoin v0.21.0 [INFO] [stderr] Compiling cashaccount-sys v0.1.1 [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp: In function 'CashAccount* cashacc_account_init()': [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:22:3: error: 'memset' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 22 | memset(account, 0, sizeof(CashAccount)); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:8:1: note: 'memset' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: cashaccount-sys@0.1.1: 7 | #include [INFO] [stderr] warning: cashaccount-sys@0.1.1: +++ |+#include [INFO] [stderr] warning: cashaccount-sys@0.1.1: 8 | [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp: In function 'int cashacc_parse_opreturn(const char*, unsigned int, bool, CashAccount*)': [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:62:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 62 | for (int i = CASHACCOUNT_PREFIX_LENGTH; i < len; ++i) { [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~^~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:63:5: error: 'uint32_t' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 63 | uint32_t push = 0; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:8:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: cashaccount-sys@0.1.1: 7 | #include [INFO] [stderr] warning: cashaccount-sys@0.1.1: +++ |+#include [INFO] [stderr] warning: cashaccount-sys@0.1.1: 8 | [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:67:7: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 67 | push = opcode; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:68:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 68 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:70:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 70 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:71:7: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 71 | push = *(opreturn + i); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:72:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 72 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:75:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 75 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:77:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 77 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:79:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 79 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:81:7: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 81 | push = byte1 | byte2 << 8; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:84:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 84 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:86:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 86 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:88:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 88 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:90:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 90 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: cashaccount-sys@0.1.1: 46 | if (++i >= len) \ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:92:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 92 | INCREMENT_I; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:94:7: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 94 | push = byte1 | byte2 << 8 | byte3 << 16 | byte4 << 24; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:100:13: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 100 | if (i + push > len) { [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:105:25: error: 'push' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 105 | parts.push_back({i, push}); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:105:20: error: no matching function for call to 'std::vector >::push_back()' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 105 | parts.push_back({i, push}); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~~~~~~~~~~~~^~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: In file included from /usr/include/c++/13/regex:57, [INFO] [stderr] warning: cashaccount-sys@0.1.1: from libcashaccount/src/cashaccount.cpp:6: [INFO] [stderr] warning: cashaccount-sys@0.1.1: /usr/include/c++/13/bits/stl_vector.h:1281:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair; _Alloc = std::allocator >; value_type = std::pair]' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 1281 | push_back(const value_type& __x) [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: /usr/include/c++/13/bits/stl_vector.h:1281:35: note: no known conversion for argument 1 from '' to 'const std::vector >::value_type&' {aka 'const std::pair&'} [INFO] [stderr] warning: cashaccount-sys@0.1.1: 1281 | push_back(const value_type& __x) [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: /usr/include/c++/13/bits/stl_vector.h:1298:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair; _Alloc = std::allocator >; value_type = std::pair]' [INFO] [stderr] warning: cashaccount-sys@0.1.1: 1298 | push_back(value_type&& __x) [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: /usr/include/c++/13/bits/stl_vector.h:1298:30: note: no known conversion for argument 1 from '' to 'std::vector >::value_type&&' {aka 'std::pair&&'} [INFO] [stderr] warning: cashaccount-sys@0.1.1: 1298 | push_back(value_type&& __x) [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:126:3: error: 'memcpy' was not declared in this scope [INFO] [stderr] warning: cashaccount-sys@0.1.1: 126 | memcpy(account->name, name_start, name_len); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:126:3: note: 'memcpy' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:137:11: error: 'uint8_t' does not name a type [INFO] [stderr] warning: cashaccount-sys@0.1.1: 137 | const uint8_t payload_type = *(opreturn + parts[i].first); [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:137:11: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:139:37: error: 'payload_type' was not declared in this scope; did you mean 'payload_len'? [INFO] [stderr] warning: cashaccount-sys@0.1.1: 139 | if (!cashacc_check_payload_type(payload_type)) { [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | payload_len [INFO] [stderr] warning: cashaccount-sys@0.1.1: libcashaccount/src/cashaccount.cpp:158:21: error: 'payload_type' was not declared in this scope; did you mean 'payloads_tmp'? [INFO] [stderr] warning: cashaccount-sys@0.1.1: 158 | current->type = payload_type; [INFO] [stderr] warning: cashaccount-sys@0.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: cashaccount-sys@0.1.1: | payloads_tmp [INFO] [stderr] error: failed to run custom build command for `cashaccount-sys v0.1.1` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/cashaccount-sys-07d4909bd93f14ec/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=static=cashaccount [INFO] [stderr] cargo:rustc-link-search=native=libcashaccount/src [INFO] [stderr] cargo:rerun-if-changed=build.rs [INFO] [stderr] cargo:rerun-if-changed=libcashaccount/ [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libcashaccount/includes/" "-I" "libcashaccount/src/" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/cashaccount-sys-caaf71d4cfc1eff2/out/libcashaccount/src/cashaccount.o" "-c" "libcashaccount/src/cashaccount.cpp" [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp: In function 'CashAccount* cashacc_account_init()': [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:22:3: error: 'memset' was not declared in this scope [INFO] [stderr] cargo:warning= 22 | memset(account, 0, sizeof(CashAccount)); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:8:1: note: 'memset' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning= 7 | #include [INFO] [stderr] cargo:warning= +++ |+#include [INFO] [stderr] cargo:warning= 8 | [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp: In function 'int cashacc_parse_opreturn(const char*, unsigned int, bool, CashAccount*)': [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:62:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 62 | for (int i = CASHACCOUNT_PREFIX_LENGTH; i < len; ++i) { [INFO] [stderr] cargo:warning= | ~~^~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:63:5: error: 'uint32_t' was not declared in this scope [INFO] [stderr] cargo:warning= 63 | uint32_t push = 0; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:8:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning= 7 | #include [INFO] [stderr] cargo:warning= +++ |+#include [INFO] [stderr] cargo:warning= 8 | [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:67:7: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 67 | push = opcode; [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:68:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 68 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:70:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 70 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:71:7: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 71 | push = *(opreturn + i); [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:72:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 72 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:75:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 75 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:77:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 77 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:79:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 79 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:81:7: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 81 | push = byte1 | byte2 << 8; [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:84:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 84 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:86:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 86 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:88:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 88 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:90:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 90 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:46:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] cargo:warning= 46 | if (++i >= len) \ [INFO] [stderr] cargo:warning= | ~~~~^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:92:7: note: in expansion of macro 'INCREMENT_I' [INFO] [stderr] cargo:warning= 92 | INCREMENT_I; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:94:7: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 94 | push = byte1 | byte2 << 8 | byte3 << 16 | byte4 << 24; [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:100:13: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 100 | if (i + push > len) { [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:105:25: error: 'push' was not declared in this scope [INFO] [stderr] cargo:warning= 105 | parts.push_back({i, push}); [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:105:20: error: no matching function for call to 'std::vector >::push_back()' [INFO] [stderr] cargo:warning= 105 | parts.push_back({i, push}); [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~^~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from /usr/include/c++/13/regex:57, [INFO] [stderr] cargo:warning= from libcashaccount/src/cashaccount.cpp:6: [INFO] [stderr] cargo:warning=/usr/include/c++/13/bits/stl_vector.h:1281:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair; _Alloc = std::allocator >; value_type = std::pair]' [INFO] [stderr] cargo:warning= 1281 | push_back(const value_type& __x) [INFO] [stderr] cargo:warning= | ^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/bits/stl_vector.h:1281:35: note: no known conversion for argument 1 from '' to 'const std::vector >::value_type&' {aka 'const std::pair&'} [INFO] [stderr] cargo:warning= 1281 | push_back(const value_type& __x) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/bits/stl_vector.h:1298:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = std::pair; _Alloc = std::allocator >; value_type = std::pair]' [INFO] [stderr] cargo:warning= 1298 | push_back(value_type&& __x) [INFO] [stderr] cargo:warning= | ^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/bits/stl_vector.h:1298:30: note: no known conversion for argument 1 from '' to 'std::vector >::value_type&&' {aka 'std::pair&&'} [INFO] [stderr] cargo:warning= 1298 | push_back(value_type&& __x) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:126:3: error: 'memcpy' was not declared in this scope [INFO] [stderr] cargo:warning= 126 | memcpy(account->name, name_start, name_len); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:126:3: note: 'memcpy' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:137:11: error: 'uint8_t' does not name a type [INFO] [stderr] cargo:warning= 137 | const uint8_t payload_type = *(opreturn + parts[i].first); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:137:11: note: 'uint8_t' is defined in header ''; did you forget to '#include '? [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:139:37: error: 'payload_type' was not declared in this scope; did you mean 'payload_len'? [INFO] [stderr] cargo:warning= 139 | if (!cashacc_check_payload_type(payload_type)) { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | payload_len [INFO] [stderr] cargo:warning=libcashaccount/src/cashaccount.cpp:158:21: error: 'payload_type' was not declared in this scope; did you mean 'payloads_tmp'? [INFO] [stderr] cargo:warning= 158 | current->type = payload_type; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | payloads_tmp [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "libcashaccount/includes/" "-I" "libcashaccount/src/" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/cashaccount-sys-caaf71d4cfc1eff2/out/libcashaccount/src/cashaccount.o" "-c" "libcashaccount/src/cashaccount.cpp" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "eeaf83a5d963a7bf7e3ff7bc7b7e914a7fd97e9b6a22938b6cab9985a4f1678a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeaf83a5d963a7bf7e3ff7bc7b7e914a7fd97e9b6a22938b6cab9985a4f1678a", kill_on_drop: false }` [INFO] [stdout] eeaf83a5d963a7bf7e3ff7bc7b7e914a7fd97e9b6a22938b6cab9985a4f1678a