eth_pairings_cpp 0.1.1

EIP1962 reference implementation in C++
Documentation

Build #2808496 2026-01-09 13:26:33

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.94.0-nightly (31cd367b9 2026-01-08)

# docs.rs version docsrs 0.1.0 (7bfb09c2 2026-01-03 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/eth_pairings_cpp-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/eth_pairings_cpp-0.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260108-1.94.0-nightly-31cd367b9\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aea19656fcfb779e0fcabcd747d6dbf8ec7322b1426f6f8032371d46bbfcbba5 [INFO] running `Command { std: "docker" "start" "-a" "aea19656fcfb779e0fcabcd747d6dbf8ec7322b1426f6f8032371d46bbfcbba5", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing [INFO] [stderr] --> build.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | .static_flag(true) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `eth_pairings_cpp` (build script) generated 1 warning [INFO] [stderr] Compiling eth_pairings_cpp v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: In file included from eip1962cpp/src/api.cpp:1: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:31: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | wint_t [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:38: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:38: error: template argument 2 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:63: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:87: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | wint_t [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:94: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:94: error: template argument 2 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: In file included from eip1962cpp/src/wrapper.cpp:1: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:31: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | wint_t [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:38: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:38: error: template argument 2 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:63: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:87: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | wint_t [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:94: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/api.h:9:94: error: template argument 2 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp: In function 'int run(const char*, uint32_t, char*, uint32_t*, char*, uint32_t*)': [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:5:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 5 | std::vector<std::uint8_t> input; [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | wint_t [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:5:29: error: template argument 1 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 5 | std::vector<std::uint8_t> input; [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:5:29: error: template argument 2 is invalid [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:6:11: error: request for member 'resize' in 'input', which is of non-class type 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 6 | input.resize(i_len); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:7:35: error: request for member 'begin' in 'input', which is of non-class type 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 7 | std::copy(i, i + i_len, input.begin()); [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: error: no matching function for call to 'get_if<0>(int*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: In file included from eip1962cpp/src/api.h:4: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1190:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1190 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1190:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: note: mismatched types 'std::variant<_Types ...>' and 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1204:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<const typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1204 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1204:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: note: mismatched types 'const std::variant<_Types ...>' and 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1217:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1217 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1217:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: note: expected a type, got '0' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1228:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1228 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1228:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:9:37: note: expected a type, got '0' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: error: no matching function for call to 'get_if<1>(int*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1190:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1190 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1190:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: note: mismatched types 'std::variant<_Types ...>' and 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1204:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<const typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1204 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1204:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: note: mismatched types 'const std::variant<_Types ...>' and 'int' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1217:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1217 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1217:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: note: expected a type, got '1' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1228:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 1228 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ^~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: /usr/include/c++/13/variant:1228:5: note: template argument deduction/substitution failed: [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: eip1962cpp/src/wrapper.cpp:14:49: note: expected a type, got '1' [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "eip1962cpp/include" "-w" "-std=c++1z" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out/fcebf82dda43487b-wrapper.o" "-c" "eip1962cpp/src/wrapper.cpp" [INFO] [stderr] warning: eth_pairings_cpp@0.1.1: ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "eip1962cpp/include" "-w" "-std=c++1z" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out/fcebf82dda43487b-api.o" "-c" "eip1962cpp/src/api.cpp" [INFO] [stderr] error: failed to run custom build command for `eth_pairings_cpp v0.1.1 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/eth_pairings_cpp-575f0cf7f251008c/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some() [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: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:warning=In file included from eip1962cpp/src/api.cpp:1: [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:31: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | wint_t [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:38: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:38: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:63: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:87: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | wint_t [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:94: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:94: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=In file included from eip1962cpp/src/wrapper.cpp:1: [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:31: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | wint_t [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:38: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:38: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:63: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:87: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | wint_t [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:94: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 9 | std::variant<std::vector<std::uint8_t>, std::basic_string<char>> run(std::vector<std::uint8_t> const &input); [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=eip1962cpp/src/api.h:9:94: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp: In function 'int run(const char*, uint32_t, char*, uint32_t*, char*, uint32_t*)': [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:5:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? [INFO] [stderr] cargo:warning= 5 | std::vector<std::uint8_t> input; [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning= | wint_t [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:5:29: error: template argument 1 is invalid [INFO] [stderr] cargo:warning= 5 | std::vector<std::uint8_t> input; [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:5:29: error: template argument 2 is invalid [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:6:11: error: request for member 'resize' in 'input', which is of non-class type 'int' [INFO] [stderr] cargo:warning= 6 | input.resize(i_len); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:7:35: error: request for member 'begin' in 'input', which is of non-class type 'int' [INFO] [stderr] cargo:warning= 7 | std::copy(i, i + i_len, input.begin()); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: error: no matching function for call to 'get_if<0>(int*)' [INFO] [stderr] cargo:warning= 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from eip1962cpp/src/api.h:4: [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1190:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1190 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1190:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: note: mismatched types 'std::variant<_Types ...>' and 'int' [INFO] [stderr] cargo:warning= 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1204:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<const typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1204 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1204:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: note: mismatched types 'const std::variant<_Types ...>' and 'int' [INFO] [stderr] cargo:warning= 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1217:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1217 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1217:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: note: expected a type, got '0' [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1228:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1228 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1228:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 9 | if (auto answer = std::get_if<0>(&result)) [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:9:37: note: expected a type, got '0' [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: error: no matching function for call to 'get_if<1>(int*)' [INFO] [stderr] cargo:warning= 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1190:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1190 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1190:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: note: mismatched types 'std::variant<_Types ...>' and 'int' [INFO] [stderr] cargo:warning= 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1204:5: note: candidate: 'template<long unsigned int _Np, class ... _Types> constexpr std::add_pointer_t<const typename std::variant_alternative<_Np, std::variant<_Types ...> >::type> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1204 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1204:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: note: mismatched types 'const std::variant<_Types ...>' and 'int' [INFO] [stderr] cargo:warning= 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1217:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1217 | get_if(variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1217:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<_Tp> std::get_if(variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: note: expected a type, got '1' [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1228:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 1228 | get_if(const variant<_Types...>* __ptr) noexcept [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=/usr/include/c++/13/variant:1228:5: note: template argument deduction/substitution failed: [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class ... _Types> constexpr std::add_pointer_t<const _Tp> std::get_if(const variant<_Types ...>*)' [INFO] [stderr] cargo:warning= 14 | } else if (auto error_descr = std::get_if<1>(&result)) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] cargo:warning=eip1962cpp/src/wrapper.cpp:14:49: note: expected a type, got '1' [INFO] [stderr] exit status: 1 [INFO] [stderr] cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "eip1962cpp/include" "-w" "-std=c++1z" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out/fcebf82dda43487b-wrapper.o" "-c" "eip1962cpp/src/wrapper.cpp" [INFO] [stderr] exit status: 0 [INFO] [stderr] exit status: 0 [INFO] [stderr] exit status: 1 [INFO] [stderr] cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "eip1962cpp/include" "-w" "-std=c++1z" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out/fcebf82dda43487b-api.o" "-c" "eip1962cpp/src/api.cpp" [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" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "eip1962cpp/include" "-w" "-std=c++1z" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/eth_pairings_cpp-67767601d31e12e0/out/fcebf82dda43487b-api.o" "-c" "eip1962cpp/src/api.cpp" [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "aea19656fcfb779e0fcabcd747d6dbf8ec7322b1426f6f8032371d46bbfcbba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea19656fcfb779e0fcabcd747d6dbf8ec7322b1426f6f8032371d46bbfcbba5", kill_on_drop: false }` [INFO] [stdout] aea19656fcfb779e0fcabcd747d6dbf8ec7322b1426f6f8032371d46bbfcbba5