[INFO] cloning repository https://github.com/phatch25/cipher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phatch25/cipher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatch25%2Fcipher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatch25%2Fcipher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad3453cb8286698fef3438df4221994bae338433 [INFO] checking phatch25/cipher against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatch25%2Fcipher" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phatch25/cipher [INFO] finished tweaking git repo https://github.com/phatch25/cipher [INFO] tweaked toml for git repo https://github.com/phatch25/cipher written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phatch25/cipher on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phatch25/cipher 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking phatch25/cipher against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatch25%2Fcipher" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phatch25/cipher [INFO] finished tweaking git repo https://github.com/phatch25/cipher [INFO] tweaked toml for git repo https://github.com/phatch25/cipher written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phatch25/cipher on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phatch25/cipher 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80563e717581cc25ab68db83763f9c1d30b2afc8ded9d49204e5c815188002d9 [INFO] running `Command { std: "docker" "start" "-a" "80563e717581cc25ab68db83763f9c1d30b2afc8ded9d49204e5c815188002d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80563e717581cc25ab68db83763f9c1d30b2afc8ded9d49204e5c815188002d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80563e717581cc25ab68db83763f9c1d30b2afc8ded9d49204e5c815188002d9", kill_on_drop: false }` [INFO] [stdout] 80563e717581cc25ab68db83763f9c1d30b2afc8ded9d49204e5c815188002d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99aefcf3bb83c390c1b8867f3562fdbde748bf3749202c76aa469a78427cb269 [INFO] running `Command { std: "docker" "start" "-a" "99aefcf3bb83c390c1b8867f3562fdbde748bf3749202c76aa469a78427cb269", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking cipher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ciphers/enigma.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [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: `std::collections::HashMap` [INFO] [stdout] --> src/ciphers/enigma.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_frequencies` is never used [INFO] [stdout] --> src/analysis/frequency.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_frequencies(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_likely_key_lengths` is never used [INFO] [stdout] --> src/analysis/kasiski.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_likely_key_lengths(text: &str, max_key_len: usize) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_shift` is never used [INFO] [stdout] --> src/breaking/caesar_crack.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn find_best_shift(ciphertext: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_best_key` is never used [INFO] [stdout] --> src/breaking/affine_crack.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn find_best_key(ciphertext: &str) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/utils/alphabet.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ALPHABET: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_to_pos` is never used [INFO] [stdout] --> src/utils/alphabet.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn char_to_pos(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pos_to_char` is never used [INFO] [stdout] --> src/utils/alphabet.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn pos_to_char(pos: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_coprime_26` is never used [INFO] [stdout] --> src/utils/alphabet.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn is_coprime_26(n: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/utils/alphabet.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn gcd(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_inverse` is never used [INFO] [stdout] --> src/utils/alphabet.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn mod_inverse(a: i32, m: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_text` is never used [INFO] [stdout] --> src/utils/alphabet.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn clean_text(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_text` is never used [INFO] [stdout] --> src/utils/alphabet.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn group_text(text: &str, n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/utils/alphabet.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ALPHABET: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "99aefcf3bb83c390c1b8867f3562fdbde748bf3749202c76aa469a78427cb269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99aefcf3bb83c390c1b8867f3562fdbde748bf3749202c76aa469a78427cb269", kill_on_drop: false }` [INFO] [stdout] 99aefcf3bb83c390c1b8867f3562fdbde748bf3749202c76aa469a78427cb269