[INFO] cloning repository https://github.com/nomaxg/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nomaxg/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab784de0ee492af03eb57addabc04d14f6bc4985 [INFO] testing nomaxg/cryptopals against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nomaxg/cryptopals [INFO] finished tweaking git repo https://github.com/nomaxg/cryptopals [INFO] tweaked toml for git repo https://github.com/nomaxg/cryptopals written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nomaxg/cryptopals on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nomaxg/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8be75874a369711e11f3a52da7619fe4d1f99e1c06f6f73064215263de3760c0 [INFO] running `Command { std: "docker" "start" "-a" "8be75874a369711e11f3a52da7619fe4d1f99e1c06f6f73064215263de3760c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8be75874a369711e11f3a52da7619fe4d1f99e1c06f6f73064215263de3760c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be75874a369711e11f3a52da7619fe4d1f99e1c06f6f73064215263de3760c0", kill_on_drop: false }` [INFO] [stdout] 8be75874a369711e11f3a52da7619fe4d1f99e1c06f6f73064215263de3760c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 81e71a80fa06285aa9d60cd63b0b8557b1570cdb8b971876b7e4838b64b29d6f [INFO] running `Command { std: "docker" "start" "-a" "81e71a80fa06285aa9d60cd63b0b8557b1570cdb8b971876b7e4838b64b29d6f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/third_set.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `MersenneTwister`, `break_single_char_xor`, `constants::PLAINTEXTS`, `ctr_decrypt`, `ctr_encrypt`, `display`, `read_lines`, `temper`, `transpose`, `untemper`, and `xor` [INFO] [stdout] --> src/third_set.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | constants::PLAINTEXTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | twister::{temper, untemper, MersenneTwister}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | utils::{ [INFO] [stdout] 10 | break_single_char_xor, display, from_base64, random_index, read_lines, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 11 | strip_padding_bytes, transpose, xor, Bytes, [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::temp_dir` [INFO] [stdout] --> src/twister.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::temp_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONSTANT_KEY` is never used [INFO] [stdout] --> src/third_set.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const CONSTANT_KEY: [u8; 16] = [16; 16]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_random_cbc_encryption` is never used [INFO] [stdout] --> src/third_set.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn gen_random_cbc_encryption() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_padding` is never used [INFO] [stdout] --> src/third_set.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn verify_padding(ct: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | for byte in bytes.clone().into_iter() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `Command { std: "docker" "inspect" "81e71a80fa06285aa9d60cd63b0b8557b1570cdb8b971876b7e4838b64b29d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e71a80fa06285aa9d60cd63b0b8557b1570cdb8b971876b7e4838b64b29d6f", kill_on_drop: false }` [INFO] [stdout] 81e71a80fa06285aa9d60cd63b0b8557b1570cdb8b971876b7e4838b64b29d6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9a82bb4b14d29a1e7dc47a67448b12037adce291e4ec1a5a1204040dabd8aeaa [INFO] running `Command { std: "docker" "start" "-a" "9a82bb4b14d29a1e7dc47a67448b12037adce291e4ec1a5a1204040dabd8aeaa", kill_on_drop: false }` [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/third_set.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `MersenneTwister`, `break_single_char_xor`, `constants::PLAINTEXTS`, `ctr_decrypt`, `ctr_encrypt`, `display`, `read_lines`, `temper`, `transpose`, `untemper`, and `xor` [INFO] [stdout] --> src/third_set.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | constants::PLAINTEXTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | twister::{temper, untemper, MersenneTwister}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | utils::{ [INFO] [stdout] 10 | break_single_char_xor, display, from_base64, random_index, read_lines, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 11 | strip_padding_bytes, transpose, xor, Bytes, [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::temp_dir` [INFO] [stdout] --> src/twister.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::temp_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONSTANT_KEY` is never used [INFO] [stdout] --> src/third_set.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const CONSTANT_KEY: [u8; 16] = [16; 16]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_random_cbc_encryption` is never used [INFO] [stdout] --> src/third_set.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn gen_random_cbc_encryption() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_padding` is never used [INFO] [stdout] --> src/third_set.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | fn verify_padding(ct: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | for byte in bytes.clone().into_iter() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/third_set.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | strip_padding_bytes, transpose, xor, Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::temp_dir` [INFO] [stdout] --> src/twister.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::temp_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | for byte in bytes.clone().into_iter() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcshn7yg/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-9ec7e1d0a71a81c1.rlib,librand_chacha-40e559f2e32ad7e8.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-c5bb8bd855d9e1de.rlib,libgetrandom-05857df46034b834.rlib,liblibc-c894d4fd7db4975d.rlib,libhex-a52fd19e29921b8e.rlib,libbase64-98e76763578d5910.rlib,libaes-124b1eb73b8bf97f.rlib,libcpufeatures-20ef72a8651822b9.rlib,libcfg_if-66d55f6b302e88c8.rlib,libcipher-c65cba2fcac8da53.rlib,libinout-7c5277b5e4f913cd.rlib,libcrypto_common-24b5e491b158f4c1.rlib,libgeneric_array-6ea743498e6beaab.rlib,libtypenum-98ca5036454512a2.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcshn7yg/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cryptopals-be94891901a2e992" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-05857df46034b834.rlib(getrandom-05857df46034b834.getrandom.646a4626166b96a-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h156eaec4876152feE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a82bb4b14d29a1e7dc47a67448b12037adce291e4ec1a5a1204040dabd8aeaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a82bb4b14d29a1e7dc47a67448b12037adce291e4ec1a5a1204040dabd8aeaa", kill_on_drop: false }` [INFO] [stdout] 9a82bb4b14d29a1e7dc47a67448b12037adce291e4ec1a5a1204040dabd8aeaa