[INFO] cloning repository https://github.com/tommasozanon/yomt-blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tommasozanon/yomt-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommasozanon%2Fyomt-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommasozanon%2Fyomt-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24879d325a2d6afe1a58267d77806a891cbe9ca4 [INFO] testing tommasozanon/yomt-blockchain against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommasozanon%2Fyomt-blockchain" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tommasozanon/yomt-blockchain on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tommasozanon/yomt-blockchain [INFO] finished tweaking git repo https://github.com/tommasozanon/yomt-blockchain [INFO] tweaked toml for git repo https://github.com/tommasozanon/yomt-blockchain written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tommasozanon/yomt-blockchain 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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7071c4bea8251d1164ddb9bec62d630e7fa8f98a5303e4878e09a0fdace3c3c [INFO] running `Command { std: "docker" "start" "-a" "f7071c4bea8251d1164ddb9bec62d630e7fa8f98a5303e4878e09a0fdace3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7071c4bea8251d1164ddb9bec62d630e7fa8f98a5303e4878e09a0fdace3c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7071c4bea8251d1164ddb9bec62d630e7fa8f98a5303e4878e09a0fdace3c3c", kill_on_drop: false }` [INFO] [stdout] f7071c4bea8251d1164ddb9bec62d630e7fa8f98a5303e4878e09a0fdace3c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a08cb7ead23d02e42c6ef345640745ff0dc3877ef283ea742977d9b18d0ce2a [INFO] running `Command { std: "docker" "start" "-a" "7a08cb7ead23d02e42c6ef345640745ff0dc3877ef283ea742977d9b18d0ce2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling yomt-blockchain v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blockchain` and `genesis` [INFO] [stdout] --> src/main.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_keypair` [INFO] [stdout] --> src/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain_analyzer` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.71s [INFO] running `Command { std: "docker" "inspect" "7a08cb7ead23d02e42c6ef345640745ff0dc3877ef283ea742977d9b18d0ce2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a08cb7ead23d02e42c6ef345640745ff0dc3877ef283ea742977d9b18d0ce2a", kill_on_drop: false }` [INFO] [stdout] 7a08cb7ead23d02e42c6ef345640745ff0dc3877ef283ea742977d9b18d0ce2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a66b479bf49ce9666efa1e30de190669f96d4ad73ac218d6e7cfec8a9c79a7 [INFO] running `Command { std: "docker" "start" "-a" "42a66b479bf49ce9666efa1e30de190669f96d4ad73ac218d6e7cfec8a9c79a7", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yomt-blockchain v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blockchain` and `genesis` [INFO] [stdout] --> src/main.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_keypair` [INFO] [stdout] --> src/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain_analyzer` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "42a66b479bf49ce9666efa1e30de190669f96d4ad73ac218d6e7cfec8a9c79a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a66b479bf49ce9666efa1e30de190669f96d4ad73ac218d6e7cfec8a9c79a7", kill_on_drop: false }` [INFO] [stdout] 42a66b479bf49ce9666efa1e30de190669f96d4ad73ac218d6e7cfec8a9c79a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08c2143d3caccd41d891ace6194d7d97aa4de5f74c6dfbd81a3d487398a1b72d [INFO] running `Command { std: "docker" "start" "-a" "08c2143d3caccd41d891ace6194d7d97aa4de5f74c6dfbd81a3d487398a1b72d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ed25519_dalek::Signature` [INFO] [stderr] --> src/wallet/wallet.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ed25519_dalek::Signature; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::to_string` [INFO] [stderr] --> src/wallet/wallet.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::to_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/blockchain/blockchain.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `find_unspent_transactions` is never used [INFO] [stderr] --> src/blockchain/blockchain.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl Blockchain{ [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `can_unlock` is never used [INFO] [stderr] --> src/blockchain/transaction.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 79 | impl TxInput{ [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 80 | [INFO] [stderr] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `can_be_unlocked` is never used [INFO] [stderr] --> src/blockchain/transaction.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 86 | impl TxOutput{ [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yomt-blockchain` (lib) generated 6 warnings (run `cargo fix --lib -p yomt-blockchain` to apply 3 suggestions) [INFO] [stderr] warning: `yomt-blockchain` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stderr] --> src/main.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Blockchain` and `genesis` [INFO] [stderr] --> src/main.rs:2:47 [INFO] [stderr] | [INFO] [stderr] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sled` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sled; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `generate_keypair` [INFO] [stderr] --> src/main.rs:4:39 [INFO] [stderr] | [INFO] [stderr] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chain_analyzer` is never used [INFO] [stderr] --> src/main.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yomt-blockchain` (bin "yomt-blockchain" test) generated 5 warnings (run `cargo fix --bin "yomt-blockchain" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yomt_blockchain-9e596dbdd70a1844) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yomt_blockchain-e246654c92d16ad7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yomt_blockchain [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08c2143d3caccd41d891ace6194d7d97aa4de5f74c6dfbd81a3d487398a1b72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c2143d3caccd41d891ace6194d7d97aa4de5f74c6dfbd81a3d487398a1b72d", kill_on_drop: false }` [INFO] [stdout] 08c2143d3caccd41d891ace6194d7d97aa4de5f74c6dfbd81a3d487398a1b72d [INFO] testing tommasozanon/yomt-blockchain against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommasozanon%2Fyomt-blockchain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tommasozanon/yomt-blockchain on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tommasozanon/yomt-blockchain [INFO] finished tweaking git repo https://github.com/tommasozanon/yomt-blockchain [INFO] tweaked toml for git repo https://github.com/tommasozanon/yomt-blockchain written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tommasozanon/yomt-blockchain 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" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc1dbfd1804283ae0d06899794136eb9d126723b6b9a341758b76a8f239b5175 [INFO] running `Command { std: "docker" "start" "-a" "dc1dbfd1804283ae0d06899794136eb9d126723b6b9a341758b76a8f239b5175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc1dbfd1804283ae0d06899794136eb9d126723b6b9a341758b76a8f239b5175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1dbfd1804283ae0d06899794136eb9d126723b6b9a341758b76a8f239b5175", kill_on_drop: false }` [INFO] [stdout] dc1dbfd1804283ae0d06899794136eb9d126723b6b9a341758b76a8f239b5175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f896ce26362585424d9bc1ed5bcee64d60aed05d0aa659f5397a801035ab8feb [INFO] running `Command { std: "docker" "start" "-a" "f896ce26362585424d9bc1ed5bcee64d60aed05d0aa659f5397a801035ab8feb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling yomt-blockchain v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blockchain` and `genesis` [INFO] [stdout] --> src/main.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_keypair` [INFO] [stdout] --> src/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain_analyzer` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.81s [INFO] running `Command { std: "docker" "inspect" "f896ce26362585424d9bc1ed5bcee64d60aed05d0aa659f5397a801035ab8feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f896ce26362585424d9bc1ed5bcee64d60aed05d0aa659f5397a801035ab8feb", kill_on_drop: false }` [INFO] [stdout] f896ce26362585424d9bc1ed5bcee64d60aed05d0aa659f5397a801035ab8feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a40afc231c07878e101bbc8e4866c1f11645e732056f55f3e75a39b9eb69bce [INFO] running `Command { std: "docker" "start" "-a" "4a40afc231c07878e101bbc8e4866c1f11645e732056f55f3e75a39b9eb69bce", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yomt-blockchain v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stdout] --> src/main.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blockchain` and `genesis` [INFO] [stdout] --> src/main.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_keypair` [INFO] [stdout] --> src/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chain_analyzer` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519_dalek::Signature` [INFO] [stdout] --> src/wallet/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ed25519_dalek::Signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/wallet/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/blockchain.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_unspent_transactions` is never used [INFO] [stdout] --> src/blockchain/blockchain.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Blockchain{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TxInput{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 80 | [INFO] [stdout] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_be_unlocked` is never used [INFO] [stdout] --> src/blockchain/transaction.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl TxOutput{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "4a40afc231c07878e101bbc8e4866c1f11645e732056f55f3e75a39b9eb69bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a40afc231c07878e101bbc8e4866c1f11645e732056f55f3e75a39b9eb69bce", kill_on_drop: false }` [INFO] [stdout] 4a40afc231c07878e101bbc8e4866c1f11645e732056f55f3e75a39b9eb69bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e00e9d1eda78843cdfca299cf37ab719f12aed720e3fbd2221b7147553266c9 [INFO] running `Command { std: "docker" "start" "-a" "9e00e9d1eda78843cdfca299cf37ab719f12aed720e3fbd2221b7147553266c9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ed25519_dalek::Signature` [INFO] [stderr] --> src/wallet/wallet.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ed25519_dalek::Signature; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::to_string` [INFO] [stderr] --> src/wallet/wallet.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::to_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/blockchain/blockchain.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | let mut unspent_txs : Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `find_unspent_transactions` is never used [INFO] [stderr] --> src/blockchain/blockchain.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl Blockchain{ [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | fn find_unspent_transactions(&self) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `can_unlock` is never used [INFO] [stderr] --> src/blockchain/transaction.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 79 | impl TxInput{ [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 80 | [INFO] [stderr] 81 | fn can_unlock(&self, data : String) -> bool{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `can_be_unlocked` is never used [INFO] [stderr] --> src/blockchain/transaction.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 86 | impl TxOutput{ [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 87 | fn can_be_unlocked(&self, data : String) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yomt-blockchain` (lib) generated 6 warnings (run `cargo fix --lib -p yomt-blockchain` to apply 3 suggestions) [INFO] [stderr] warning: `yomt-blockchain` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `Block`, `blockhash_deserialize`, `deserialize`, and `serialize` [INFO] [stderr] --> src/main.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use yomt_blockchain::blockchain::block::{Block, serialize, deserialize, blockhash_deserialize}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Blockchain` and `genesis` [INFO] [stderr] --> src/main.rs:2:47 [INFO] [stderr] | [INFO] [stderr] 2 | use yomt_blockchain::blockchain::blockchain::{genesis,Blockchain, BlockchainIter}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sled` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sled; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `generate_keypair` [INFO] [stderr] --> src/main.rs:4:39 [INFO] [stderr] | [INFO] [stderr] 4 | use yomt_blockchain::wallet::wallet::{generate_keypair, load_secretkey}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chain_analyzer` is never used [INFO] [stderr] --> src/main.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn chain_analyzer(iter : &mut BlockchainIter) -> (){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yomt-blockchain` (bin "yomt-blockchain" test) generated 5 warnings (run `cargo fix --bin "yomt-blockchain" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yomt_blockchain-9e596dbdd70a1844) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yomt_blockchain-e246654c92d16ad7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yomt_blockchain [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9e00e9d1eda78843cdfca299cf37ab719f12aed720e3fbd2221b7147553266c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e00e9d1eda78843cdfca299cf37ab719f12aed720e3fbd2221b7147553266c9", kill_on_drop: false }` [INFO] [stdout] 9e00e9d1eda78843cdfca299cf37ab719f12aed720e3fbd2221b7147553266c9