[INFO] cloning repository https://github.com/Tazoeur/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tazoeur/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTazoeur%2Fcryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTazoeur%2Fcryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 124ceb79dcb4fa895d493242ac99bd55b95cb75c [INFO] checking Tazoeur/cryptopals/124ceb79dcb4fa895d493242ac99bd55b95cb75c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTazoeur%2Fcryptopals" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tazoeur/cryptopals on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tazoeur/cryptopals [INFO] finished tweaking git repo https://github.com/Tazoeur/cryptopals [INFO] tweaked toml for git repo https://github.com/Tazoeur/cryptopals written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tazoeur/cryptopals 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6770020d6943ec5b11491a699c87e88d0c1bf2925a57d9f693db94fe75a734b [INFO] running `Command { std: "docker" "start" "-a" "e6770020d6943ec5b11491a699c87e88d0c1bf2925a57d9f693db94fe75a734b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6770020d6943ec5b11491a699c87e88d0c1bf2925a57d9f693db94fe75a734b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6770020d6943ec5b11491a699c87e88d0c1bf2925a57d9f693db94fe75a734b", kill_on_drop: false }` [INFO] [stdout] e6770020d6943ec5b11491a699c87e88d0c1bf2925a57d9f693db94fe75a734b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6014e23c0d8b74965aa1e80e032f04425314402465d9ed5d831f7df894f43b2 [INFO] running `Command { std: "docker" "start" "-a" "e6014e23c0d8b74965aa1e80e032f04425314402465d9ed5d831f7df894f43b2", kill_on_drop: false }` [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attack::xor_cipher` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use attack::xor_cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Base64` and `Dictionary` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use structs::{Base64, Dictionary, Hex}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attack::xor_cipher` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use attack::xor_cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Base64` and `Dictionary` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use structs::{Base64, Dictionary, Hex}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attack/xor_cipher.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | let decoded = input.rolling_xor(&Hex::new(hs)); [INFO] [stdout] | -------- ^^ expected `&[HexSymbol]`, found `HexSymbol` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[HexSymbol]` [INFO] [stdout] found struct `HexSymbol` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structs/hex/hex_struct.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(symbols: &[HexSymbol]) -> Self { [INFO] [stdout] | ^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attack/xor_cipher.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let decoded = input.rolling_xor(&Hex::new(hs)); [INFO] [stdout] | -------- ^^ expected `&[HexSymbol]`, found `HexSymbol` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[HexSymbol]` [INFO] [stdout] found struct `HexSymbol` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structs/hex/hex_struct.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(symbols: &[HexSymbol]) -> Self { [INFO] [stdout] | ^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attack/xor_cipher.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | let decoded = input.rolling_xor(&Hex::new(hs)); [INFO] [stdout] | -------- ^^ expected `&[HexSymbol]`, found `HexSymbol` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[HexSymbol]` [INFO] [stdout] found struct `HexSymbol` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structs/hex/hex_struct.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(symbols: &[HexSymbol]) -> Self { [INFO] [stdout] | ^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attack/xor_cipher.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let decoded = input.rolling_xor(&Hex::new(hs)); [INFO] [stdout] | -------- ^^ expected `&[HexSymbol]`, found `HexSymbol` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[HexSymbol]` [INFO] [stdout] found struct `HexSymbol` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structs/hex/hex_struct.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(symbols: &[HexSymbol]) -> Self { [INFO] [stdout] | ^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (bin "cryptopals") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (bin "cryptopals" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6014e23c0d8b74965aa1e80e032f04425314402465d9ed5d831f7df894f43b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6014e23c0d8b74965aa1e80e032f04425314402465d9ed5d831f7df894f43b2", kill_on_drop: false }` [INFO] [stdout] e6014e23c0d8b74965aa1e80e032f04425314402465d9ed5d831f7df894f43b2