[INFO] cloning repository https://github.com/laudiacay/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laudiacay/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fcryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fcryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e7dc3c575c72969d45ada91ad9db22764bf0521 [INFO] testing laudiacay/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%2Flaudiacay%2Fcryptopals" "/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/laudiacay/cryptopals [INFO] finished tweaking git repo https://github.com/laudiacay/cryptopals [INFO] tweaked toml for git repo https://github.com/laudiacay/cryptopals written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/laudiacay/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/laudiacay/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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 845886f7dfd62f837f12205be16d29fa34b997fac589d1b60adf0570c6ef62ba [INFO] running `Command { std: "docker" "start" "-a" "845886f7dfd62f837f12205be16d29fa34b997fac589d1b60adf0570c6ef62ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "845886f7dfd62f837f12205be16d29fa34b997fac589d1b60adf0570c6ef62ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845886f7dfd62f837f12205be16d29fa34b997fac589d1b60adf0570c6ef62ba", kill_on_drop: false }` [INFO] [stdout] 845886f7dfd62f837f12205be16d29fa34b997fac589d1b60adf0570c6ef62ba [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: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] 08f8950c8b43b1a18896b74ceee3c8b66d43962c40734413ff5ca3fb17612df8 [INFO] running `Command { std: "docker" "start" "-a" "08f8950c8b43b1a18896b74ceee3c8b66d43962c40734413ff5ca3fb17612df8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_mt v4.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling num-primes v0.3.0 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/mersenne_twister.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | self.mt[i] = self.mt[((i + M as usize) % N)] ^ x_a; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - self.mt[i] = self.mt[((i + M as usize) % N)] ^ x_a; [INFO] [stdout] 78 + self.mt[i] = self.mt[(i + M as usize) % N] ^ x_a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hashes/sha1.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | _ => panic!("key length is weird"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hashes/sha1.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 26 | ..=63 => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | 64.. => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | _ => panic!("key length is weird"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac` is never used [INFO] [stdout] --> src/hashes/sha1.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn mac(key: &[u8], msg: &[u8]) -> [u8; 20] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_mac` is never used [INFO] [stdout] --> src/hashes/sha1.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn verify_mac(key: &[u8], msg: &[u8], mac: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hmac_sha1` is never used [INFO] [stdout] --> src/hashes/sha1.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hmac_sha1(key: &[u8], msg: &[u8]) -> [u8; 20] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.09s [INFO] running `Command { std: "docker" "inspect" "08f8950c8b43b1a18896b74ceee3c8b66d43962c40734413ff5ca3fb17612df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f8950c8b43b1a18896b74ceee3c8b66d43962c40734413ff5ca3fb17612df8", kill_on_drop: false }` [INFO] [stdout] 08f8950c8b43b1a18896b74ceee3c8b66d43962c40734413ff5ca3fb17612df8 [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: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] 5081662084ee0458e851ea95550fdb96cfbfd225decea733f0b25ed79b3062dc [INFO] running `Command { std: "docker" "start" "-a" "5081662084ee0458e851ea95550fdb96cfbfd225decea733f0b25ed79b3062dc", kill_on_drop: false }` [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/mersenne_twister.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | self.mt[i] = self.mt[((i + M as usize) % N)] ^ x_a; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - self.mt[i] = self.mt[((i + M as usize) % N)] ^ x_a; [INFO] [stdout] 78 + self.mt[i] = self.mt[(i + M as usize) % N] ^ x_a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hashes/sha1.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | _ => panic!("key length is weird"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hashes/sha1.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 26 | ..=63 => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | 64.. => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | _ => panic!("key length is weird"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hmac_sha1` is never used [INFO] [stdout] --> src/hashes/sha1.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hmac_sha1(key: &[u8], msg: &[u8]) -> [u8; 20] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/rustcrpD1yd/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbase64-0d2f1ec8ddb3f3f7.rlib}.rlib" "/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/{libsha2-b83efe2a21602c0a.rlib,libhmac-acc6e201a7f117a7.rlib,libdigest-e0f7e81350c09f05.rlib,libsubtle-af5f0d59ba7ae801.rlib,libblock_buffer-3b2cfadb1d678b7e.rlib,libsha1_smol-e76cc38ab1935432.rlib,libnum_primes-bd16da8c78b8307c.rlib,liblog-fc4b0167ad2190de.rlib,libnum_bigint-46392ced8d45410c.rlib,librand-872fa2929741bd5c.rlib,librand_core-4a159a921d63a3e0.rlib,librand_core-5dd93ed12702f197.rlib,librand_mt-361eaec5814d9ccd.rlib,libnum-3cc48b8139c08394.rlib,libnum_iter-7c3566ebf83cd6d4.rlib,libnum_rational-dde39bfe5f4ca12c.rlib,libnum_complex-d0677add15e5fd9f.rlib,libnum_bigint-059ed6e33d0d1baa.rlib,libnum_integer-d2cf829730df7cfd.rlib,libnum_traits-3cb65ae8623d94f1.rlib,libhex-a52fd19e29921b8e.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,librand-66e9e765787f4545.rlib,librand_chacha-fde31e6b3572a8ad.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-7303ab388d11b14f.rlib,libgetrandom-6ca834a15da3eab0.rlib,liblibc-070928d9dbeff53c.rlib,libanyhow-b2dbc1403aebf6b2.rlib,libaes-76011da43fc371b6.rlib,libcpufeatures-0cc70b1a3e3c4e60.rlib,libcfg_if-66d55f6b302e88c8.rlib,libcipher-c89d74a63170de9e.rlib,libinout-6134dfdcd60bb773.rlib,libcrypto_common-f35d9cdda463edcc.rlib,libgeneric_array-94ff2b8f5e54f4b4.rlib,libtypenum-dfaa696d06b304f0.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/rustcrpD1yd/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-e307909628204a41" "-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-6ca834a15da3eab0.rlib(getrandom-6ca834a15da3eab0.getrandom.d1ed9da4f55312c6-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.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h1858733cbf128e6fE+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` (bin "cryptopals" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5081662084ee0458e851ea95550fdb96cfbfd225decea733f0b25ed79b3062dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5081662084ee0458e851ea95550fdb96cfbfd225decea733f0b25ed79b3062dc", kill_on_drop: false }` [INFO] [stdout] 5081662084ee0458e851ea95550fdb96cfbfd225decea733f0b25ed79b3062dc