[INFO] fetching crate cashaccount-sys 0.1.1... [INFO] checking cashaccount-sys-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cashaccount-sys 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cashaccount-sys 0.1.1 [INFO] finished tweaking crates.io crate cashaccount-sys 0.1.1 [INFO] tweaked toml for crates.io crate cashaccount-sys 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cashaccount-sys 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eca36db3834419e60ce55c72f15a5a210cfbc136e7d00d96c27843ceedb8917 [INFO] running `Command { std: "docker" "start" "-a" "8eca36db3834419e60ce55c72f15a5a210cfbc136e7d00d96c27843ceedb8917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eca36db3834419e60ce55c72f15a5a210cfbc136e7d00d96c27843ceedb8917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eca36db3834419e60ce55c72f15a5a210cfbc136e7d00d96c27843ceedb8917", kill_on_drop: false }` [INFO] [stdout] 8eca36db3834419e60ce55c72f15a5a210cfbc136e7d00d96c27843ceedb8917 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf0f47f64627e6393a0111b0f2e231968833931c7b35451710767d4acf8f2eb [INFO] running `Command { std: "docker" "start" "-a" "9cf0f47f64627e6393a0111b0f2e231968833931c7b35451710767d4acf8f2eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.34 [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 syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling cashaccount-sys v0.1.1 (/opt/rustwide/workdir) [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 (/opt/rustwide/workdir)` [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-c440b467ab9f31b9/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] OUT_DIR = Some(/opt/rustwide/target/debug/build/cashaccount-sys-cae17a779f805918/out) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXX [INFO] [stderr] HOST_CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CXX [INFO] [stderr] CXX = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [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] cargo:rerun-if-env-changed=CXXFLAGS [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CXXFLAGS [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [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] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "libcashaccount/includes/" "-I" "libcashaccount/src/" "-Wall" "-Wextra" "-std=c++11" "-o" "/opt/rustwide/target/debug/build/cashaccount-sys-cae17a779f805918/out/9a03142405d4ef47-cashaccount.o" "-c" "libcashaccount/src/cashaccount.cpp" [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "9cf0f47f64627e6393a0111b0f2e231968833931c7b35451710767d4acf8f2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf0f47f64627e6393a0111b0f2e231968833931c7b35451710767d4acf8f2eb", kill_on_drop: false }` [INFO] [stdout] 9cf0f47f64627e6393a0111b0f2e231968833931c7b35451710767d4acf8f2eb