[INFO] cloning repository https://github.com/tari-project/graxil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tari-project/graxil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari-project%2Fgraxil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari-project%2Fgraxil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16af6ba957c7fb76a626e8bbd6febd5bc84f244c [INFO] testing tari-project/graxil/16af6ba957c7fb76a626e8bbd6febd5bc84f244c against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari-project%2Fgraxil" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tari-project/graxil [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/tari-project/graxil [INFO] tweaked toml for git repo https://github.com/tari-project/graxil written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tari-project/graxil on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tari-project/graxil already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/stratum-mining/stratum` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/tari-project/tari.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multiaddr v0.14.0 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded path-clean v0.1.0 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded multihash v0.16.3 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded cargo_toml v0.20.5 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded hex-conservative v0.3.0 [INFO] [stderr] Downloaded opencl-sys v0.2.9 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded cl3 v0.9.5 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded objc2-io-kit v0.3.1 [INFO] [stderr] Downloaded opencl3 v0.9.5 [INFO] [stderr] Downloaded bitcoin v0.32.6 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09 [INFO] running `Command { std: "docker" "start" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling binary_codec_sv2 v2.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling derive_codec_sv2 v1.1.1 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling buffer_sv2 v2.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling binary_sv2 v3.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling opencl-sys v0.2.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling noise_sv2 v1.4.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling tari_features v4.8.0 (https://github.com/tari-project/tari.git?tag=v4.8.0#6d0db728) [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling tari_common v4.8.0 (https://github.com/tari-project/tari.git?tag=v4.8.0#6d0db728) [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling framing_sv2 v5.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling codec_sv2 v2.1.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling cl3 v0.9.5 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling cargo_toml v0.20.5 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling job_declaration_sv2 v4.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling template_distribution_sv2 v3.1.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling mining_sv2 v4.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling common_messages_sv2 v5.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling hex-conservative v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling roles_logic_sv2 v3.0.0 (https://github.com/stratum-mining/stratum?branch=main#0b083ab9) [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling opencl3 v0.9.5 [INFO] [stderr] Compiling sysinfo v0.35.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling graxil v1.0.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6m 17s [INFO] running `Command { std: "docker" "inspect" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling graxil v1.0.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_batching.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | let _hash = sha3x_hash_with_nonce(&test_header, nonce); [INFO] [stdout] | --------------------- ^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `graxil::pool::messages::PoolMessage`, `graxil::pool::messages::parse_pool_message` [INFO] [stdout] --> tests/integration_test.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | use graxil::pool::messages::{PoolMessage, parse_pool_message}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `parse_pool_message` in `pool::messages` [INFO] [stdout] | | [INFO] [stdout] | no `PoolMessage` in `pool::messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_batching.rs:124:69 [INFO] [stdout] | [INFO] [stdout] 124 | let _hash = sha3x_hash_with_nonce(&test_header, nonce); [INFO] [stdout] | --------------------- ^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_batching.rs:134:73 [INFO] [stdout] | [INFO] [stdout] 134 | let _hash = sha3x_hash_with_nonce(&test_header, nonce + j as u64); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:63:56 [INFO] [stdout] | [INFO] [stdout] 63 | let _hash = sha3x_hash_with_nonce(&header, nonce); [INFO] [stdout] | --------------------- ^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_batching.rs:204:67 [INFO] [stdout] | [INFO] [stdout] 204 | let single_hash = sha3x_hash_with_nonce(&test_header, nonce + j as u64); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | let hash1 = sha3x_hash_with_nonce(&test_header, test_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | let hash2 = sha3x_hash_with_nonce(&test_header, test_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:110:54 [INFO] [stdout] | [INFO] [stdout] 110 | let hash_a = sha3x_hash_with_nonce(&test_header, 1000); [INFO] [stdout] | --------------------- ^^^^ expected `[u8; 8]`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:111:54 [INFO] [stdout] | [INFO] [stdout] 111 | let hash_b = sha3x_hash_with_nonce(&test_header, 1001); [INFO] [stdout] | --------------------- ^^^^ expected `[u8; 8]`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:125:57 [INFO] [stdout] | [INFO] [stdout] 125 | let hash_orig = sha3x_hash_with_nonce(&test_header, test_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | let hash_alt = sha3x_hash_with_nonce(&alt_header, test_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:149:63 [INFO] [stdout] | [INFO] [stdout] 149 | let function_result = sha3x_hash_with_nonce(&test_header, test_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:178:56 [INFO] [stdout] | [INFO] [stdout] 178 | let hash = sha3x_hash_with_nonce(&test_header, i as u64); [INFO] [stdout] | --------------------- ^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graxil` (test "bench_batching") due to 4 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let hash = sha3x_hash_with_nonce(&header, nonce); [INFO] [stdout] | --------------------- ^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/integration_test.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | let difficulty = calculate_difficulty(&hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- argument #2 of type `Algorithm` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/difficulty.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn calculate_difficulty(hash: &[u8], algo: Algorithm) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 34 | let difficulty = calculate_difficulty(&hash, /* Algorithm */); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/integration_test.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let difficulty = parse_target_difficulty(target_hex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------ argument #2 of type `Algorithm` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/difficulty.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn parse_target_difficulty(target_hex: &str, algo: Algorithm) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 | let difficulty = parse_target_difficulty(target_hex, /* Algorithm */); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/bench_hashing.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | let difficulty = calculate_difficulty(hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ argument #2 of type `Algorithm` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/difficulty.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn calculate_difficulty(hash: &[u8], algo: Algorithm) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 188 | let difficulty = calculate_difficulty(hash, /* Algorithm */); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/bench_hashing.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let difficulty = calculate_difficulty(hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ argument #2 of type `Algorithm` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/difficulty.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn calculate_difficulty(hash: &[u8], algo: Algorithm) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 219 | let difficulty = calculate_difficulty(hash, /* Algorithm */); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:273:56 [INFO] [stdout] | [INFO] [stdout] 273 | let hash = sha3x_hash_with_nonce(&test_header, i as u64); [INFO] [stdout] | --------------------- ^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | blob: "0000000000000000000000000000000000000000000000000000000000000000".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `String` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 49 | blob: Some("0000000000000000000000000000000000000000000000000000000000000000".to_string()), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `merkle_path`, `merkle_root`, `nbits` and 4 other fields in initializer of `PoolJob` [INFO] [stdout] --> tests/integration_test.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let pool_job = PoolJob { [INFO] [stdout] | ^^^^^^^ missing `merkle_path`, `merkle_root`, `nbits` and 4 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option: AsRef<[u8]>` is not satisfied [INFO] [stdout] --> tests/integration_test.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | let header_template = hex::decode(&pool_job.blob).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ the trait `AsRef<[u8]>` is not implemented for `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&Option` to implement `AsRef<[u8]>` [INFO] [stdout] note: required by a bound in `decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hex-0.4.3/src/lib.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn decode>(data: T) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/integration_test.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | .unwrap_or_else(|| parse_target_difficulty(&pool_job.target)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------ argument #2 of type `Algorithm` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/difficulty.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn parse_target_difficulty(target_hex: &str, algo: Algorithm) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 63 | .unwrap_or_else(|| parse_target_difficulty(&pool_job.target, /* Algorithm */)), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `algo`, `extranonce2`, `merkle_path` and 6 other fields in initializer of `MiningJob` [INFO] [stdout] --> tests/integration_test.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let mining_job = MiningJob { [INFO] [stdout] | ^^^^^^^^^ missing `algo`, `extranonce2`, `merkle_path` and 6 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:326:57 [INFO] [stdout] | [INFO] [stdout] 326 | let base_hash = sha3x_hash_with_nonce(&test_header, base_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:333:64 [INFO] [stdout] | [INFO] [stdout] 333 | let flipped_hash = sha3x_hash_with_nonce(&test_header, flipped_nonce); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bench_hashing.rs:401:61 [INFO] [stdout] | [INFO] [stdout] 401 | let _hash = sha3x_hash_with_nonce(&test_header, nonce); [INFO] [stdout] | --------------------- ^^^^^ expected `[u8; 8]`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/core/sha3x.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sha3x_hash_with_nonce(header_template: &[u8], nonce: [u8; 8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graxil` (test "integration_test") due to 9 previous errors [INFO] [stderr] error: could not compile `graxil` (test "bench_hashing") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09", kill_on_drop: false }` [INFO] [stdout] 7ecb975165f1fb6e19ba7159e11b99232955852933e5db0067dc96038411fd09