[INFO] cloning repository https://github.com/buzzy-coder/time-decay-consensus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buzzy-coder/time-decay-consensus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuzzy-coder%2Ftime-decay-consensus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuzzy-coder%2Ftime-decay-consensus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af48086a16e2debda097ea1ce20ec038c34074a0
[INFO] checking buzzy-coder/time-decay-consensus against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuzzy-coder%2Ftime-decay-consensus" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/buzzy-coder/time-decay-consensus
[INFO] finished tweaking git repo https://github.com/buzzy-coder/time-decay-consensus
[INFO] tweaked toml for git repo https://github.com/buzzy-coder/time-decay-consensus written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/buzzy-coder/time-decay-consensus on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/buzzy-coder/time-decay-consensus 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ed25519 v2.2.3
[INFO] [stderr]   Downloaded ed25519-dalek v2.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94d7395878b71d7792d814447d7313d9cb396900e86b13ffbc980fc2fb40b57f
[INFO] running `Command { std: "docker" "start" "-a" "94d7395878b71d7792d814447d7313d9cb396900e86b13ffbc980fc2fb40b57f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94d7395878b71d7792d814447d7313d9cb396900e86b13ffbc980fc2fb40b57f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94d7395878b71d7792d814447d7313d9cb396900e86b13ffbc980fc2fb40b57f", kill_on_drop: false }`
[INFO] [stdout] 94d7395878b71d7792d814447d7313d9cb396900e86b13ffbc980fc2fb40b57f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ce66f6504d81939bb3c2baae1eec0530c1841140c144a49b5b48125dccd8237
[INFO] running `Command { std: "docker" "start" "-a" "6ce66f6504d81939bb3c2baae1eec0530c1841140c144a49b5b48125dccd8237", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking time-decay-consensus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `VerificationError`
[INFO] [stdout]  --> src/simulation.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::verify::{VerificationError};
[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 imports: `EscalationPattern` and `ProgressionProfile`
[INFO] [stdout]  --> src/simulation.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::threshold::{ThresholdEscalator, EscalationPattern, ProgressionProfile};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/blockchain.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VerificationError`
[INFO] [stdout]  --> src/simulation.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::verify::{VerificationError};
[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 imports: `EscalationPattern` and `ProgressionProfile`
[INFO] [stdout]  --> src/simulation.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::threshold::{ThresholdEscalator, EscalationPattern, ProgressionProfile};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/blockchain.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ed25519_dalek::SigningKey`
[INFO] [stdout]    --> src/main.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use ed25519_dalek::SigningKey;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProgressionProfile`
[INFO] [stdout]    --> src/main.rs:136:48
[INFO] [stdout]     |
[INFO] [stdout] 136 |     use crate::threshold::{ThresholdEscalator, ProgressionProfile};
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Exponential` and `Sigmoid` are never constructed
[INFO] [stdout]  --> src/threshold.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum EscalationPattern {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] 7 |     Linear(f64),       // rate: e.g., 0.01 means +1% per second
[INFO] [stdout] 8 |     Exponential(f64),  // factor: e.g., 0.001 for gradual curve
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 9 |     Sigmoid(f64, f64), // (k, midpoint): smooth S-curve
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `EscalationPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Adaptive` is never constructed
[INFO] [stdout]   --> src/threshold.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum ProgressionProfile {
[INFO] [stdout]    |          ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     Adaptive,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgressionProfile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_vote` is never used
[INFO] [stdout]   --> src/vote.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn sign_vote(voter_id: String, signing_key: &SigningKey, timestamp: DateTime<Utc>) -> Signature {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WindowType` is never used
[INFO] [stdout]  --> src/window.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum WindowType {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VotingWindow` is never constructed
[INFO] [stdout]   --> src/window.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct VotingWindow {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_open`, `time_left`, `should_extend`, and `extend` are never used
[INFO] [stdout]   --> src/window.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl VotingWindow {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(start_time: DateTime<Utc>, window_type: WindowType, grace_secs: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn is_open(&self, now: DateTime<Utc>) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn time_left(&self, now: DateTime<Utc>) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn should_extend(
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn extend(&mut self, extra_secs: u64) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `average_margin` and `suggested_base_threshold` are never used
[INFO] [stdout]   --> src/history.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl HistoryAnalyzer {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn average_margin(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn suggested_base_threshold(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/window.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut vw = VotingWindow::new(now, WindowType::Short, 10);
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinearDecay` is never constructed
[INFO] [stdout]    --> src/weight_engine.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub struct LinearDecay {
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExponentialDecay` is never constructed
[INFO] [stdout]    --> src/weight_engine.rs:110:16
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub struct ExponentialDecay {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SteppedDecay` is never constructed
[INFO] [stdout]    --> src/weight_engine.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub struct SteppedDecay {
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_weight` is never used
[INFO] [stdout]    --> src/weight_engine.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |     impl LinearDecay {
[INFO] [stdout]     |     ---------------- method in this implementation
[INFO] [stdout] 118 |         pub fn compute_weight(&self, original: f64, age: f64) -> f64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_weight` is never used
[INFO] [stdout]    --> src/weight_engine.rs:123:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |     impl ExponentialDecay {
[INFO] [stdout]     |     --------------------- method in this implementation
[INFO] [stdout] 123 |         pub fn compute_weight(&self, original: f64, age: f64) -> f64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_weight` is never used
[INFO] [stdout]    --> src/weight_engine.rs:128:16
[INFO] [stdout]     |
[INFO] [stdout] 127 |     impl SteppedDecay {
[INFO] [stdout]     |     ----------------- method in this implementation
[INFO] [stdout] 128 |         pub fn compute_weight(&self, original: f64, age: f64) -> f64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.62s
[INFO] running `Command { std: "docker" "inspect" "6ce66f6504d81939bb3c2baae1eec0530c1841140c144a49b5b48125dccd8237", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ce66f6504d81939bb3c2baae1eec0530c1841140c144a49b5b48125dccd8237", kill_on_drop: false }`
[INFO] [stdout] 6ce66f6504d81939bb3c2baae1eec0530c1841140c144a49b5b48125dccd8237
