[INFO] cloning repository https://github.com/mintlayer/dsa-blake3-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mintlayer/dsa-blake3-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmintlayer%2Fdsa-blake3-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmintlayer%2Fdsa-blake3-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 946b5183a4eda1d963f52a99fa31aff2b90b241e [INFO] checking mintlayer/dsa-blake3-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmintlayer%2Fdsa-blake3-rs" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mintlayer/dsa-blake3-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mintlayer/dsa-blake3-rs [INFO] finished tweaking git repo https://github.com/mintlayer/dsa-blake3-rs [INFO] tweaked toml for git repo https://github.com/mintlayer/dsa-blake3-rs written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/mintlayer/dsa-blake3-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0053d902f6b0943290adce7b55eef370961e3495ad2c01a4512e0c9b48c7dce [INFO] running `Command { std: "docker" "start" "-a" "b0053d902f6b0943290adce7b55eef370961e3495ad2c01a4512e0c9b48c7dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0053d902f6b0943290adce7b55eef370961e3495ad2c01a4512e0c9b48c7dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0053d902f6b0943290adce7b55eef370961e3495ad2c01a4512e0c9b48c7dce", kill_on_drop: false }` [INFO] [stdout] b0053d902f6b0943290adce7b55eef370961e3495ad2c01a4512e0c9b48c7dce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f33774aaca8eb61aa425fc10ef7a0ed1b9f1a2cea15c6f93396ae868f4ca0d9 [INFO] running `Command { std: "docker" "start" "-a" "8f33774aaca8eb61aa425fc10ef7a0ed1b9f1a2cea15c6f93396ae868f4ca0d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling blake3 v0.3.5 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling validator_derive v0.13.0 [INFO] [stderr] Checking validator v0.13.0 [INFO] [stderr] Checking dsa-blake3-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/slot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `total_stakes2` [INFO] [stdout] --> src/slot.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ParticipantId, ParticipantKey, Participant, rand, total_stakes2, ParticipantIdx}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stake` [INFO] [stdout] --> src/participant.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{SlotId, Stake}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/round.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/slot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParticipantId`, `total_stakes2` [INFO] [stdout] --> src/round.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Participant, Slot, Stake, rand, MIN_STAKE, total_stakes, btc_hash, total_stakes2, ParticipantId, ParticipantIdx}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `total_stakes2` [INFO] [stdout] --> src/slot.rs:3:63 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ParticipantId, ParticipantKey, Participant, rand, total_stakes2, ParticipantIdx}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stake` [INFO] [stdout] --> src/participant.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{SlotId, Stake}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/round.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParticipantId`, `total_stakes2` [INFO] [stdout] --> src/round.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Participant, Slot, Stake, rand, MIN_STAKE, total_stakes, btc_hash, total_stakes2, ParticipantId, ParticipantIdx}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationError` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btc` [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn btc_hash(btc:&str) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_btc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btc` [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn btc_hash(btc:&str) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_btc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slots` [INFO] [stdout] --> src/lib.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let slots = round.get_slots(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slots` [INFO] [stdout] --> src/lib.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let slots = round.get_slots(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut participants = round.get_participants().clone(); [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: function is never used: `total_stakes2` [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn total_stakes2(pcpants:&Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_type_of` [INFO] [stdout] --> src/lib.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut participants = round.get_participants().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_stakes2` [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn total_stakes2(pcpants:&Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_type_of` [INFO] [stdout] --> src/lib.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn print_type_of(_: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "8f33774aaca8eb61aa425fc10ef7a0ed1b9f1a2cea15c6f93396ae868f4ca0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f33774aaca8eb61aa425fc10ef7a0ed1b9f1a2cea15c6f93396ae868f4ca0d9", kill_on_drop: false }` [INFO] [stdout] 8f33774aaca8eb61aa425fc10ef7a0ed1b9f1a2cea15c6f93396ae868f4ca0d9