[INFO] cloning repository https://github.com/thomasperrot/aes-attacks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomasperrot/aes-attacks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasperrot%2Faes-attacks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasperrot%2Faes-attacks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b1081acf061371b65ef9474714df95188e58ee6 [INFO] testing thomasperrot/aes-attacks against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomasperrot%2Faes-attacks" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thomasperrot/aes-attacks [INFO] finished tweaking git repo https://github.com/thomasperrot/aes-attacks [INFO] tweaked toml for git repo https://github.com/thomasperrot/aes-attacks written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomasperrot/aes-attacks on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thomasperrot/aes-attacks 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tqdm v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd840ccb9e1a440cd75a52c41f04515587c060122e7af3dcce09954aba2f1e5f [INFO] running `Command { std: "docker" "start" "-a" "dd840ccb9e1a440cd75a52c41f04515587c060122e7af3dcce09954aba2f1e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd840ccb9e1a440cd75a52c41f04515587c060122e7af3dcce09954aba2f1e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd840ccb9e1a440cd75a52c41f04515587c060122e7af3dcce09954aba2f1e5f", kill_on_drop: false }` [INFO] [stdout] dd840ccb9e1a440cd75a52c41f04515587c060122e7af3dcce09954aba2f1e5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e3ca7483831aacce6a1f21485af9fd6d22044b31765249eaf953fb413c294870 [INFO] running `Command { std: "docker" "start" "-a" "e3ca7483831aacce6a1f21485af9fd6d22044b31765249eaf953fb413c294870", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling tqdm v0.7.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling aes-attacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidOracle` is never constructed [INFO] [stdout] --> src/square_attack/oracles.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct InvalidOracle {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let cloned_equations = Vec::from(eq.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[[Vec; 16]]` does not implement `Clone`, so calling `clone` on `&[[Vec; 16]]` 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 18.49s [INFO] running `Command { std: "docker" "inspect" "e3ca7483831aacce6a1f21485af9fd6d22044b31765249eaf953fb413c294870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ca7483831aacce6a1f21485af9fd6d22044b31765249eaf953fb413c294870", kill_on_drop: false }` [INFO] [stdout] e3ca7483831aacce6a1f21485af9fd6d22044b31765249eaf953fb413c294870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9d7f4a6c961bbeba852a1c41e208e25c66a2a1b354baf4238d914164452e44d4 [INFO] running `Command { std: "docker" "start" "-a" "9d7f4a6c961bbeba852a1c41e208e25c66a2a1b354baf4238d914164452e44d4", kill_on_drop: false }` [INFO] [stderr] Compiling aes-attacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidOracle` is never constructed [INFO] [stdout] --> src/square_attack/oracles.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct InvalidOracle {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let cloned_equations = Vec::from(eq.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[[Vec; 16]]` does not implement `Clone`, so calling `clone` on `&[[Vec; 16]]` 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: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/differential_fault_analysis/attack.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let cloned_equations = Vec::from(eq.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[[Vec; 16]]` does not implement `Clone`, so calling `clone` on `&[[Vec; 16]]` 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 `test` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "9d7f4a6c961bbeba852a1c41e208e25c66a2a1b354baf4238d914164452e44d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d7f4a6c961bbeba852a1c41e208e25c66a2a1b354baf4238d914164452e44d4", kill_on_drop: false }` [INFO] [stdout] 9d7f4a6c961bbeba852a1c41e208e25c66a2a1b354baf4238d914164452e44d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 74900fead38acb93888226acd438b135f3884f87979b56fe1cd95f6ace564592 [INFO] running `Command { std: "docker" "start" "-a" "74900fead38acb93888226acd438b135f3884f87979b56fe1cd95f6ace564592", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stderr] --> src/differential_fault_analysis/attack.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use clap::builder::TypedValueParser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `InvalidOracle` is never constructed [INFO] [stderr] --> src/square_attack/oracles.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct InvalidOracle {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/differential_fault_analysis/attack.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | let cloned_equations = Vec::from(eq.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[[Vec; 16]]` does not implement `Clone`, so calling `clone` on `&[[Vec; 16]]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aes-attacks` (lib) generated 3 warnings (run `cargo fix --lib -p aes-attacks` to apply 2 suggestions) [INFO] [stderr] warning: `aes-attacks` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aes_attacks-52841641551947c5) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test aes::aes::tests::test_encrypt ... ok [INFO] [stdout] test aes::aes::tests::test_mix_columns ... ok [INFO] [stdout] test aes::aes::tests::test_sub_bytes ... ok [INFO] [stdout] test aes::aes::tests::test_transform_state ... ok [INFO] [stdout] test aes::key_expansion::tests::test_get_first_key ... ok [INFO] [stdout] test aes::key_expansion::tests::test_r_con ... ok [INFO] [stdout] test differential_fault_analysis::attack::tests::test_attack ... ignored [INFO] [stdout] test aes::aes::tests::test_add_round_key ... ok [INFO] [stdout] test aes::key_expansion::tests::test_rot_word ... ok [INFO] [stdout] test aes::key_expansion::tests::test_sub_word ... ok [INFO] [stdout] test aes::key_expansion::tests::test_xor ... ok [INFO] [stdout] test aes::aes::tests::test_shift_rows ... ok [INFO] [stdout] test aes::key_expansion::tests::test_key_expansion ... ok [INFO] [stdout] test differential_fault_analysis::second_step::tests::test_get_keys ... ok [INFO] [stdout] test differential_fault_analysis::second_step::tests::test_is_valid_guess ... ok [INFO] [stdout] test differential_fault_analysis::second_step::tests::test_is_valid_guess_invalid ... ok [INFO] [stdout] test differential_fault_analysis::first_step::tests::test_compute_fourth_column ... ok [INFO] [stdout] test differential_fault_analysis::first_step::tests::test_compute_second_column ... ok [INFO] [stdout] test differential_fault_analysis::first_step::tests::test_compute_first_column ... ok [INFO] [stdout] test differential_fault_analysis::first_step::tests::test_compute_third_column ... ok [INFO] [stdout] test square_attack::attack::tests::test_get_delta_set ... ok [INFO] [stdout] test square_attack::attack::tests::test_is_guess_correct ... ok [INFO] [stdout] test square_attack::attack::tests::test_is_guess_correct_incorrect ... ok [INFO] [stdout] test square_attack::attack::tests::test_reverse_state ... ok [INFO] [stdout] test utils::transform::tests::test_plain_to_square ... ok [INFO] [stdout] test utils::transform::tests::test_square_to_plain ... ok [INFO] [stderr] [?25l 0%| | 0/1 [00:00