[INFO] cloning repository https://github.com/Siimas/blockchain-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Siimas/blockchain-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e000883179be879edb1c9d821b5e4a10b034838 [INFO] checking Siimas/blockchain-in-rust against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Siimas/blockchain-in-rust [INFO] finished tweaking git repo https://github.com/Siimas/blockchain-in-rust [INFO] tweaked toml for git repo https://github.com/Siimas/blockchain-in-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Siimas/blockchain-in-rust on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Siimas/blockchain-in-rust 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7b4ed32171cde2a0dc922d2b319997b33e135d8dc27e3180cf0360a3986dbd3 [INFO] running `Command { std: "docker" "start" "-a" "b7b4ed32171cde2a0dc922d2b319997b33e135d8dc27e3180cf0360a3986dbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7b4ed32171cde2a0dc922d2b319997b33e135d8dc27e3180cf0360a3986dbd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b4ed32171cde2a0dc922d2b319997b33e135d8dc27e3180cf0360a3986dbd3", kill_on_drop: false }` [INFO] [stdout] b7b4ed32171cde2a0dc922d2b319997b33e135d8dc27e3180cf0360a3986dbd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5831f71b4fcda8961bdf24ab3a2146288b2370c882dfaa114ad40157cf8a91ec [INFO] running `Command { std: "docker" "start" "-a" "5831f71b4fcda8961bdf24ab3a2146288b2370c882dfaa114ad40157cf8a91ec", kill_on_drop: false }` [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking blockchain-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/transaction.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 35 | Transaction{ [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 38 | sender_public_key: , [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `}` [INFO] [stdout] --> src/transaction.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/transaction.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 35 | Transaction{ [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 38 | sender_public_key: , [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `}` [INFO] [stdout] --> src/transaction.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ecdsa::verifying::VerifyingKey: Hash` is not satisfied [INFO] [stdout] --> src/transaction.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Hash, Debug)] [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | pub sender_public_key: VerifyingKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `ecdsa::verifying::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ecdsa::verifying::VerifyingKey: Hash` is not satisfied [INFO] [stdout] --> src/transaction.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Hash, Debug)] [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | pub sender_public_key: VerifyingKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `ecdsa::verifying::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn validate(&self) -> Result<(), TransactionValidationError> { [INFO] [stdout] | -------------------------------------- expected `Result<(), TransactionValidationError>` because of return type [INFO] [stdout] 48 | // validate signature [INFO] [stdout] 49 | self. [INFO] [stdout] | ^^^^ expected `Result<(), TransactionValidationError>`, found `&Transaction` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), TransactionValidationError>` [INFO] [stdout] found reference `&Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn validate(&self) -> Result<(), TransactionValidationError> { [INFO] [stdout] | -------------------------------------- expected `Result<(), TransactionValidationError>` because of return type [INFO] [stdout] 48 | // validate signature [INFO] [stdout] 49 | self. [INFO] [stdout] | ^^^^ expected `Result<(), TransactionValidationError>`, found `&Transaction` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), TransactionValidationError>` [INFO] [stdout] found reference `&Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/wallet.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn generate_address(public_key : &VerifyingKey) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/wallet.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn generate_address(public_key : &VerifyingKey) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_wallet` [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let bob_wallet = Wallet::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_wallet` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | #[warn(unused_variables)] // ! DELETE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bob_wallet` [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | let bob_wallet = Wallet::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_wallet` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | #[warn(unused_variables)] // ! DELETE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-in-rust` (bin "blockchain-in-rust" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain-in-rust` (bin "blockchain-in-rust") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5831f71b4fcda8961bdf24ab3a2146288b2370c882dfaa114ad40157cf8a91ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5831f71b4fcda8961bdf24ab3a2146288b2370c882dfaa114ad40157cf8a91ec", kill_on_drop: false }` [INFO] [stdout] 5831f71b4fcda8961bdf24ab3a2146288b2370c882dfaa114ad40157cf8a91ec