[INFO] cloning repository https://github.com/mohit-launch/chronovote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohit-launch/chronovote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohit-launch%2Fchronovote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohit-launch%2Fchronovote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbf2c8359d17c765c0f373615065c58170313655 [INFO] checking mohit-launch/chronovote against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohit-launch%2Fchronovote" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mohit-launch/chronovote [INFO] finished tweaking git repo https://github.com/mohit-launch/chronovote [INFO] tweaked toml for git repo https://github.com/mohit-launch/chronovote written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mohit-launch/chronovote on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mohit-launch/chronovote 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curve25519-dalek v4.2.0 [INFO] [stderr] Downloaded fiat-crypto v0.3.0 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f44e0317d5007ed7bddc1495bf3f6177677e3bab97d6f7da78c6a44b8e370e8 [INFO] running `Command { std: "docker" "start" "-a" "5f44e0317d5007ed7bddc1495bf3f6177677e3bab97d6f7da78c6a44b8e370e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f44e0317d5007ed7bddc1495bf3f6177677e3bab97d6f7da78c6a44b8e370e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f44e0317d5007ed7bddc1495bf3f6177677e3bab97d6f7da78c6a44b8e370e8", kill_on_drop: false }` [INFO] [stdout] 5f44e0317d5007ed7bddc1495bf3f6177677e3bab97d6f7da78c6a44b8e370e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bcb4bd4aac5afe00668666a206c742b2eefdfb946b558e931ebb88db89961b0 [INFO] running `Command { std: "docker" "start" "-a" "2bcb4bd4aac5afe00668666a206c742b2eefdfb946b558e931ebb88db89961b0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v4.2.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chronovote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `decay` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod decay; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `decay`, create file "src/decay.rs" or "src/decay/mod.rs" [INFO] [stdout] = note: if there is a `mod decay` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `decay` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod decay; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `decay`, create file "src/decay.rs" or "src/decay/mod.rs" [INFO] [stdout] = note: if there is a `mod decay` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/voter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `voter` [INFO] [stdout] --> src/weight.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{decay::{calculate_weight, DecayModel}, voter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::decay::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::decay::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threshold::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::threshold::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DecayModel` in this scope [INFO] [stdout] --> src/main.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let decay_model = DecayModel::Exponential(0.001); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DecayModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/voter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chronovote` (bin "chronovote") due to 2 previous errors; 7 warnings emitted [INFO] [stdout] warning: unused import: `VerifyingKey` [INFO] [stdout] --> src/voter.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | use ed25519_dalek::{SigningKey,VerifyingKey}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `voter` [INFO] [stdout] --> src/weight.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{decay::{calculate_weight, DecayModel}, voter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::decay::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::decay::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threshold::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::threshold::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DecayModel` in this scope [INFO] [stdout] --> src/main.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let decay_model = DecayModel::Exponential(0.001); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DecayModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DecayModel` in this scope [INFO] [stdout] --> src/main.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | decay_model: DecayModel::Exponential(0.001), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DecayModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chronovote` (bin "chronovote" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2bcb4bd4aac5afe00668666a206c742b2eefdfb946b558e931ebb88db89961b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bcb4bd4aac5afe00668666a206c742b2eefdfb946b558e931ebb88db89961b0", kill_on_drop: false }` [INFO] [stdout] 2bcb4bd4aac5afe00668666a206c742b2eefdfb946b558e931ebb88db89961b0