[INFO] cloning repository https://github.com/cykuza/cyberyen-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cykuza/cyberyen-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcykuza%2Fcyberyen-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcykuza%2Fcyberyen-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6822cdbf2207fcd4eba9f2819ec839275b9a17fb [INFO] checking cykuza/cyberyen-rs/6822cdbf2207fcd4eba9f2819ec839275b9a17fb against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcykuza%2Fcyberyen-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cykuza/cyberyen-rs [INFO] finished tweaking git repo https://github.com/cykuza/cyberyen-rs [INFO] tweaked toml for git repo https://github.com/cykuza/cyberyen-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cykuza/cyberyen-rs on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cykuza/cyberyen-rs 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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.17 [INFO] [stderr] Downloaded find-msvc-tools v0.1.8 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.108 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.108 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded bech32 v0.9.1 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded clap_lex v0.7.7 [INFO] [stderr] Downloaded base58 v0.2.0 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded rusty-fork v0.3.1 [INFO] [stderr] Downloaded js-sys v0.3.85 [INFO] [stderr] Downloaded clap v4.5.54 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.108 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.34 [INFO] [stderr] Downloaded clap_builder v4.5.54 [INFO] [stderr] Downloaded tempfile v3.24.0 [INFO] [stderr] Downloaded base64ct v1.8.3 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded proptest v1.9.0 [INFO] [stderr] Downloaded cc v1.2.54 [INFO] [stderr] Downloaded scrypt v0.10.0 [INFO] [stderr] Downloaded zerocopy v0.8.34 [INFO] [stderr] Downloaded rustix v1.1.3 [INFO] [stderr] Downloaded web-sys v0.3.85 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed4d5886d4a0a57952e773f0287b3691015be79cd540f312272fa292467a72c9 [INFO] running `Command { std: "docker" "start" "-a" "ed4d5886d4a0a57952e773f0287b3691015be79cd540f312272fa292467a72c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed4d5886d4a0a57952e773f0287b3691015be79cd540f312272fa292467a72c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4d5886d4a0a57952e773f0287b3691015be79cd540f312272fa292467a72c9", kill_on_drop: false }` [INFO] [stdout] ed4d5886d4a0a57952e773f0287b3691015be79cd540f312272fa292467a72c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d49873a5ed87d36853b6359784e946e7135a6176369c5ab76a7803051af4bbd [INFO] running `Command { std: "docker" "start" "-a" "2d49873a5ed87d36853b6359784e946e7135a6176369c5ab76a7803051af4bbd", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.34 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking cyberyen-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `VerIf` is defined multiple times [INFO] [stdout] --> src/script/mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 127 | VerIf, [INFO] [stdout] | ----- previous definition of the type `VerIf` here [INFO] [stdout] ... [INFO] [stdout] 207 | VerIf, [INFO] [stdout] | ^^^^^ `VerIf` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `VerIf` must be defined only once in the type namespace of this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `VerNotIf` is defined multiple times [INFO] [stdout] --> src/script/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 128 | VerNotIf, [INFO] [stdout] | -------- previous definition of the type `VerNotIf` here [INFO] [stdout] ... [INFO] [stdout] 208 | VerNotIf, [INFO] [stdout] | ^^^^^^^^ `VerNotIf` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `VerNotIf` must be defined only once in the type namespace of this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/block/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/primitives/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/script/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::primitives::{Hash256, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/script/mod.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrivateKey` [INFO] [stdout] --> src/transaction/mod.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::primitives::{Hash256, LockTime, PrivateKey, PublicKey, Rin}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/transaction/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `VerIf` is defined multiple times [INFO] [stdout] --> src/script/mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 127 | VerIf, [INFO] [stdout] | ----- previous definition of the type `VerIf` here [INFO] [stdout] ... [INFO] [stdout] 207 | VerIf, [INFO] [stdout] | ^^^^^ `VerIf` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `VerIf` must be defined only once in the type namespace of this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `VerNotIf` is defined multiple times [INFO] [stdout] --> src/script/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 128 | VerNotIf, [INFO] [stdout] | -------- previous definition of the type `VerNotIf` here [INFO] [stdout] ... [INFO] [stdout] 208 | VerNotIf, [INFO] [stdout] | ^^^^^^^^ `VerNotIf` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `VerNotIf` must be defined only once in the type namespace of this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected `;` [INFO] [stdout] --> src/script/mod.rs:838:68 [INFO] [stdout] | [INFO] [stdout] 838 | let script = Script::from_bytes(vec![0x76, 0xa9, 0x14, 0x00; 20]); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] = note: while trying to match sequence start [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/auxpow/mod.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | [current.as_bytes(), branch.as_bytes()].concat() [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/auxpow/mod.rs:94:57 [INFO] [stdout] | [INFO] [stdout] 94 | [branch.as_bytes(), current.as_bytes()].concat() [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyberyen-rs` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/block/mod.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let params = ScryptParams::new(10, 1, 1, 32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -- unexpected argument #4 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scrypt-0.10.0/src/params.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(log_n: u8, r: u32, p: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 64 - let params = ScryptParams::new(10, 1, 1, 32) [INFO] [stdout] 64 + let params = ScryptParams::new(10, 1, 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/mod.rs:231:68 [INFO] [stdout] | [INFO] [stdout] 231 | let combined = [left.as_bytes(), right.as_bytes()].concat(); [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/mod.rs:239:67 [INFO] [stdout] | [INFO] [stdout] 239 | let combined = [last.as_bytes(), last.as_bytes()].concat(); [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/mod.rs:305:58 [INFO] [stdout] | [INFO] [stdout] 305 | [current.as_bytes(), sibling.as_bytes()].concat() [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `concat` exists for array `[&[u8; 32]; 2]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/mod.rs:307:58 [INFO] [stdout] | [INFO] [stdout] 307 | [sibling.as_bytes(), current.as_bytes()].concat() [INFO] [stdout] | ^^^^^^ method cannot be called on `[&[u8; 32]; 2]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[&[u8; 32]]: std::slice::Concat<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/consensus/mod.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | if actual_timespan < target_timespan / 4 { [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert `actual_timespan` from `u32` to `u64`, matching the type of `target_timespan / 4` [INFO] [stdout] | [INFO] [stdout] 262 | if u64::from(actual_timespan) < target_timespan / 4 { [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/consensus/mod.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 255 | let mut actual_timespan = last_block_time.saturating_sub(first_block_time); [INFO] [stdout] | ------------------------------------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 263 | actual_timespan = target_timespan / 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/consensus/mod.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | if actual_timespan > target_timespan * 4 { [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert `actual_timespan` from `u32` to `u64`, matching the type of `target_timespan * 4` [INFO] [stdout] | [INFO] [stdout] 265 | if u64::from(actual_timespan) > target_timespan * 4 { [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/consensus/mod.rs:266:31 [INFO] [stdout] | [INFO] [stdout] 255 | let mut actual_timespan = last_block_time.saturating_sub(first_block_time); [INFO] [stdout] | ------------------------------------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 266 | actual_timespan = target_timespan * 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 33]: serde::Serialize` is not satisfied [INFO] [stdout] --> src/mweb/mod.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `[u8; 33]` [INFO] [stdout] 16 | pub struct PedersenCommitment { [INFO] [stdout] 17 | / /// Commitment value (simplified representation) [INFO] [stdout] 18 | | pub commit: [u8; 33], [INFO] [stdout] | |________________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `[u8; 33]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] [T; 0] [INFO] [stdout] [T] [INFO] [stdout] [T; 1] [INFO] [stdout] [T; 2] [INFO] [stdout] [T; 3] [INFO] [stdout] [T; 4] [INFO] [stdout] [T; 5] [INFO] [stdout] [T; 6] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 33]: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/mweb/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub commit: [u8; 33], [INFO] [stdout] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `[u8; 33]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[u8; 33]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &[u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 1] [INFO] [stdout] [T; 2] [INFO] [stdout] [T; 3] [INFO] [stdout] [T; 4] [INFO] [stdout] [T; 5] [INFO] [stdout] [T; 6] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 33]: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/mweb/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub commit: [u8; 33], [INFO] [stdout] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `[u8; 33]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[u8; 33]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &[u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 1] [INFO] [stdout] [T; 2] [INFO] [stdout] [T; 3] [INFO] [stdout] [T; 4] [INFO] [stdout] [T; 5] [INFO] [stdout] [T; 6] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[u8; 33]: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/mweb/mod.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `[u8; 33]` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[u8; 33]` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &[u8] [INFO] [stdout] [T; 0] [INFO] [stdout] [T; 1] [INFO] [stdout] [T; 2] [INFO] [stdout] [T; 3] [INFO] [stdout] [T; 4] [INFO] [stdout] [T; 5] [INFO] [stdout] [T; 6] [INFO] [stdout] and 26 others [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Rin` cannot be made by summing an iterator over elements of type `Rin` [INFO] [stdout] --> src/mweb/mod.rs:238:44 [INFO] [stdout] | [INFO] [stdout] 238 | self.kernels.iter().map(|k| k.fee).sum() [INFO] [stdout] | ^^^ value of type `Rin` cannot be made by summing a `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `Sum` is not implemented for `Rin` [INFO] [stdout] --> src/primitives/mod.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Rin(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Sum`: [INFO] [stdout] `Duration` implements `Sum<&'a Duration>` [INFO] [stdout] `Duration` implements `Sum` [INFO] [stdout] `Result` implements `Sum>` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] and 88 others [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/mweb/mod.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | self.kernels.iter().map(|k| k.fee).sum() [INFO] [stdout] | ------------ ------ ^^^^^^^^^^^^^^ `Iterator::Item` changed to `Rin` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Kernel` here [INFO] [stdout] | this expression has type `Vec` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/core/src/iter/traits/iterator.rs:3671:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Rin` cannot be made by summing an iterator over elements of type `Rin` [INFO] [stdout] --> src/transaction/mod.rs:231:51 [INFO] [stdout] | [INFO] [stdout] 231 | self.outputs.iter().map(|out| out.amount).sum() [INFO] [stdout] | ^^^ value of type `Rin` cannot be made by summing a `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `Sum` is not implemented for `Rin` [INFO] [stdout] --> src/primitives/mod.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Rin(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Sum`: [INFO] [stdout] `Duration` implements `Sum<&'a Duration>` [INFO] [stdout] `Duration` implements `Sum` [INFO] [stdout] `Result` implements `Sum>` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] and 88 others [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/transaction/mod.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | self.outputs.iter().map(|out| out.amount).sum() [INFO] [stdout] | ------------ ------ ^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Rin` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&TxOut` here [INFO] [stdout] | this expression has type `Vec` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/core/src/iter/traits/iterator.rs:3671:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Rin` cannot be made by summing an iterator over elements of type `Rin` [INFO] [stdout] --> src/transaction/mod.rs:239:54 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(prev_outputs.iter().map(|out| out.amount).sum()) [INFO] [stdout] | ^^^ value of type `Rin` cannot be made by summing a `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `Sum` is not implemented for `Rin` [INFO] [stdout] --> src/primitives/mod.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct Rin(pub u64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Sum`: [INFO] [stdout] `Duration` implements `Sum<&'a Duration>` [INFO] [stdout] `Duration` implements `Sum` [INFO] [stdout] `Result` implements `Sum>` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] `Saturating` implements `Sum` [INFO] [stdout] `Saturating` implements `Sum<&'a Saturating>` [INFO] [stdout] and 88 others [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/transaction/mod.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | Ok(prev_outputs.iter().map(|out| out.amount).sum()) [INFO] [stdout] | ------------ ------ ^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Rin` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&TxOut` here [INFO] [stdout] | this expression has type `&[TxOut]` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/core/src/iter/traits/iterator.rs:3671:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `primitives::PublicKey: serde::Serialize` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 276 | / /// Partial signatures [INFO] [stdout] 277 | | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | |___________________________________________________________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `primitives::PublicKey` [INFO] [stdout] --> src/primitives/mod.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `primitives::PublicKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 157 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Serialize` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Serialize` [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secp256k1::ecdsa::Signature: serde::Serialize` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `secp256k1::ecdsa::Signature` [INFO] [stdout] ... [INFO] [stdout] 276 | / /// Partial signatures [INFO] [stdout] 277 | | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | |___________________________________________________________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `secp256k1::ecdsa::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 157 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Serialize` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Serialize` [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `primitives::PublicKey: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `primitives::PublicKey` [INFO] [stdout] --> src/primitives/mod.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `primitives::PublicKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secp256k1::ecdsa::Signature: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `secp256k1::ecdsa::Signature` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `secp256k1::ecdsa::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `primitives::PublicKey: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `primitives::PublicKey` [INFO] [stdout] --> src/primitives/mod.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `primitives::PublicKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secp256k1::ecdsa::Signature: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | pub partial_sigs: Vec<(PublicKey, secp256k1::ecdsa::Signature)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `secp256k1::ecdsa::Signature` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `secp256k1::ecdsa::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `primitives::PublicKey: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `primitives::PublicKey` [INFO] [stdout] --> src/primitives/mod.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `primitives::PublicKey` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secp256k1::ecdsa::Signature: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/transaction/mod.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `secp256k1::ecdsa::Signature` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `secp256k1::ecdsa::Signature` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 176 others [INFO] [stdout] = note: required for `(primitives::PublicKey, secp256k1::ecdsa::Signature)` to implement `Deserialize<'_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Vec<(primitives::PublicKey, secp256k1::ecdsa::Signature)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `auxpow::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/block/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/transaction/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/script/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commit` [INFO] [stdout] --> src/mweb/mod.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn verify(&self, commit: &PedersenCommitment) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_commit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/primitives/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let secp = secp256k1::Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/primitives/mod.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | LockTime::Relative(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&Opcode::VerIf` and `&Opcode::VerNotIf` not covered [INFO] [stdout] --> src/script/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ patterns `&Opcode::VerIf` and `&Opcode::VerNotIf` not covered [INFO] [stdout] | [INFO] [stdout] note: `Opcode` defined here [INFO] [stdout] --> src/script/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | VerIf, [INFO] [stdout] | ----- not covered [INFO] [stdout] 208 | VerNotIf, [INFO] [stdout] | -------- not covered [INFO] [stdout] = note: the matched value is of type `&Opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/script/mod.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 343 | 0x65 => Ok(VerIf), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 417 | 0x65 => Ok(VerIf), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/script/mod.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 344 | 0x66 => Ok(VerNotIf), [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 418 | 0x66 => Ok(VerNotIf), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&Opcode::VerIf` and `&Opcode::VerNotIf` not covered [INFO] [stdout] --> src/script/mod.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | match self { [INFO] [stdout] | ^^^^ patterns `&Opcode::VerIf` and `&Opcode::VerNotIf` not covered [INFO] [stdout] | [INFO] [stdout] note: `Opcode` defined here [INFO] [stdout] --> src/script/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | VerIf, [INFO] [stdout] | ----- not covered [INFO] [stdout] 208 | VerNotIf, [INFO] [stdout] | -------- not covered [INFO] [stdout] = note: the matched value is of type `&Opcode` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 624 ~ Op16 => 0x60, [INFO] [stdout] 625 ~ &Opcode::VerIf | &Opcode::VerNotIf => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_hash` [INFO] [stdout] --> src/script/mod.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | message_hash: &Hash256, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature_bytes` [INFO] [stdout] --> src/script/mod.rs:807:17 [INFO] [stdout] | [INFO] [stdout] 807 | let signature_bytes = match &sig_items[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cyberyen-rs` (lib) due to 30 previous errors; 16 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0004, E0061, E0277, E0308, E0428, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d49873a5ed87d36853b6359784e946e7135a6176369c5ab76a7803051af4bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d49873a5ed87d36853b6359784e946e7135a6176369c5ab76a7803051af4bbd", kill_on_drop: false }` [INFO] [stdout] 2d49873a5ed87d36853b6359784e946e7135a6176369c5ab76a7803051af4bbd