[INFO] cloning repository https://github.com/bgillespie/cryptopals-challenges [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgillespie/cryptopals-challenges" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2Fcryptopals-challenges", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2Fcryptopals-challenges'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b05393e0ba792b77d9a3319793cce3ab1dda1b1 [INFO] checking bgillespie/cryptopals-challenges against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgillespie%2Fcryptopals-challenges" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bgillespie/cryptopals-challenges on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bgillespie/cryptopals-challenges [INFO] finished tweaking git repo https://github.com/bgillespie/cryptopals-challenges [INFO] tweaked toml for git repo https://github.com/bgillespie/cryptopals-challenges written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bgillespie/cryptopals-challenges already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8223ffe11019e945b9a1a7a24e7f3f4226fedf435349993dae8cbc78554736 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc8223ffe11019e945b9a1a7a24e7f3f4226fedf435349993dae8cbc78554736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8223ffe11019e945b9a1a7a24e7f3f4226fedf435349993dae8cbc78554736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8223ffe11019e945b9a1a7a24e7f3f4226fedf435349993dae8cbc78554736", kill_on_drop: false }` [INFO] [stdout] cc8223ffe11019e945b9a1a7a24e7f3f4226fedf435349993dae8cbc78554736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec42e901a4655649f4b0cd3d8b33b971af744a4b8092bd8c9c7aa4976735ced1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec42e901a4655649f4b0cd3d8b33b971af744a4b8092bd8c9c7aa4976735ced1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking cryptopals-challenges v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::challenges::bytes::hamming_distance` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::challenges::bytes::hamming_distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::challenges::bytes::hamming_distance` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::challenges::bytes::hamming_distance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SourcesDifferingLength` [INFO] [stdout] --> src/challenges/bytes.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | SourcesDifferingLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixed_xor` [INFO] [stdout] --> src/challenges/bytes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn fixed_xor(a: &[u8], b: &[u8]) -> Result, FixedXorError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadInputLength` [INFO] [stdout] --> src/challenges/bytes.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | BadInputLength, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_weight` [INFO] [stdout] --> src/challenges/bytes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn hamming_weight(x: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/challenges/bytes.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn hamming_distance(a: &[u8], b: &[u8]) -> Rezult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE64` [INFO] [stdout] --> src/challenges/bytes.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / const BASE64: [char; 64] = [ [INFO] [stdout] 94 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stdout] 95 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stdout] 96 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stdout] 97 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stdout] 98 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/challenges/bytes.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn encode(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_bytes` [INFO] [stdout] --> src/challenges/bytes.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn encode_bytes(bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Rezult` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Rezult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Rezult` [INFO] [stdout] --> src/solutions/set_1_challenge_6.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Rezult = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.67s [INFO] running `Command { std: "docker" "inspect" "ec42e901a4655649f4b0cd3d8b33b971af744a4b8092bd8c9c7aa4976735ced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec42e901a4655649f4b0cd3d8b33b971af744a4b8092bd8c9c7aa4976735ced1", kill_on_drop: false }` [INFO] [stdout] ec42e901a4655649f4b0cd3d8b33b971af744a4b8092bd8c9c7aa4976735ced1