[INFO] cloning repository https://github.com/d03fa/cryptopals-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d03fa/cryptopals-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd03fa%2Fcryptopals-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd03fa%2Fcryptopals-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d8c5d723639a2167bc8ff16f3000729cabafa19 [INFO] checking d03fa/cryptopals-rust against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd03fa%2Fcryptopals-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d03fa/cryptopals-rust [INFO] finished tweaking git repo https://github.com/d03fa/cryptopals-rust [INFO] tweaked toml for git repo https://github.com/d03fa/cryptopals-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d03fa/cryptopals-rust on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d03fa/cryptopals-rust 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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 openssl-src v111.21.0+1.1.1p [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54f27866ee89e393ab9b57ea1b4a99d221cb9c17baf6e66e66a626334ef835f6 [INFO] running `Command { std: "docker" "start" "-a" "54f27866ee89e393ab9b57ea1b4a99d221cb9c17baf6e66e66a626334ef835f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54f27866ee89e393ab9b57ea1b4a99d221cb9c17baf6e66e66a626334ef835f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54f27866ee89e393ab9b57ea1b4a99d221cb9c17baf6e66e66a626334ef835f6", kill_on_drop: false }` [INFO] [stdout] 54f27866ee89e393ab9b57ea1b4a99d221cb9c17baf6e66e66a626334ef835f6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 027c4266e7a8acb86b9a28e38d0130ebb3c4aa3756e606544bce83ccd2140b8d [INFO] running `Command { std: "docker" "start" "-a" "027c4266e7a8acb86b9a28e38d0130ebb3c4aa3756e606544bce83ccd2140b8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling openssl-src v111.21.0+1.1.1p [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/probs/set2.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | let blocks_uniq = blocks [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 58 | println!("Number of blocks: {}, {}", blocks.len(), prefix); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/probs/set2.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | let blocks_uniq = blocks [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 58 | println!("Number of blocks: {}, {}", blocks.len(), prefix); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_xor_keyfind_single_xor_key` in module `analysis` [INFO] [stdout] --> src/probs/set1.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | let found = analysis::find_xor_keyfind_single_xor_key(&seg, is_en, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `analysis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ascii_dump` in this scope [INFO] [stdout] --> src/probs/set2.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | println!("\t{}", ascii_dump(&ebc_or_cbc)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::util::ascii_dump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `aes_128_ecb_oracle` in module `super` [INFO] [stdout] --> src/probs/set2.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let result = super::aes_128_ecb_oracle(pb).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in this scope [INFO] [stdout] --> src/probs/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let key = rand_bytes(16)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 4 + use crate::crypt::analysis::rand_bytes; [INFO] [stdout] | [INFO] [stdout] 4 + use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_xor_keyfind_single_xor_key` in module `analysis` [INFO] [stdout] --> src/probs/set1.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | let found = analysis::find_xor_keyfind_single_xor_key(&seg, is_en, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `analysis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in module `cipher` [INFO] [stdout] --> src/probs/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let iv = cipher::rand_bytes(16)?; [INFO] [stdout] | ^^^^^^^^^^ not found in `cipher` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 4 + use crate::crypt::analysis::rand_bytes; [INFO] [stdout] | [INFO] [stdout] 4 + use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] help: if you import `rand_bytes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let iv = cipher::rand_bytes(16)?; [INFO] [stdout] 32 + let iv = rand_bytes(16)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ascii_dump` in this scope [INFO] [stdout] --> src/probs/set2.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | println!("\t{}", ascii_dump(&ebc_or_cbc)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::util::ascii_dump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `aes_128_ecb_oracle` in module `super` [INFO] [stdout] --> src/probs/set2.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let result = super::aes_128_ecb_oracle(pb).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in this scope [INFO] [stdout] --> src/probs/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let key = rand_bytes(16)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 4 + use crate::crypt::analysis::rand_bytes; [INFO] [stdout] | [INFO] [stdout] 4 + use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rand_bytes` in module `cipher` [INFO] [stdout] --> src/probs/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let iv = cipher::rand_bytes(16)?; [INFO] [stdout] | ^^^^^^^^^^ not found in `cipher` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 4 + use crate::crypt::analysis::rand_bytes; [INFO] [stdout] | [INFO] [stdout] 4 + use openssl::rand::rand_bytes; [INFO] [stdout] | [INFO] [stdout] help: if you import `rand_bytes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let iv = cipher::rand_bytes(16)?; [INFO] [stdout] 32 + let iv = rand_bytes(16)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cipher` [INFO] [stdout] --> src/crypt/analysis.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypt::{CryptError, cipher}; [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: `cipher` [INFO] [stdout] --> src/crypt/analysis.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::crypt::{CryptError, cipher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (bin "cryptopals") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (bin "cryptopals" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "027c4266e7a8acb86b9a28e38d0130ebb3c4aa3756e606544bce83ccd2140b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027c4266e7a8acb86b9a28e38d0130ebb3c4aa3756e606544bce83ccd2140b8d", kill_on_drop: false }` [INFO] [stdout] 027c4266e7a8acb86b9a28e38d0130ebb3c4aa3756e606544bce83ccd2140b8d