[INFO] cloning repository https://github.com/kobakaku/garbled-circuit-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kobakaku/garbled-circuit-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobakaku%2Fgarbled-circuit-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobakaku%2Fgarbled-circuit-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 478a71f6bec577e51c74d7d65b62a891293a90c2 [INFO] testing kobakaku/garbled-circuit-rs against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkobakaku%2Fgarbled-circuit-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kobakaku/garbled-circuit-rs [INFO] finished tweaking git repo https://github.com/kobakaku/garbled-circuit-rs [INFO] tweaked toml for git repo https://github.com/kobakaku/garbled-circuit-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kobakaku/garbled-circuit-rs on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kobakaku/garbled-circuit-rs 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kobakaku/oblivious-transfer-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded der v0.4.5 [INFO] [stderr] Downloaded pem-rfc7468 v0.2.4 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] [stderr] Downloaded num-bigint-dig v0.7.1 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d087790a8360539a9ab28b889637d77bb958e1b46a7bc295d0bca69a4558b258 [INFO] running `Command { std: "docker" "start" "-a" "d087790a8360539a9ab28b889637d77bb958e1b46a7bc295d0bca69a4558b258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d087790a8360539a9ab28b889637d77bb958e1b46a7bc295d0bca69a4558b258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d087790a8360539a9ab28b889637d77bb958e1b46a7bc295d0bca69a4558b258", kill_on_drop: false }` [INFO] [stdout] d087790a8360539a9ab28b889637d77bb958e1b46a7bc295d0bca69a4558b258 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae85f01d7913d03f161297407e860a0dfe281ddade35fa19d06f365cc8063d2b [INFO] running `Command { std: "docker" "start" "-a" "ae85f01d7913d03f161297407e860a0dfe281ddade35fa19d06f365cc8063d2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling oblivious-transfer-rs v0.1.0 (https://github.com/kobakaku/oblivious-transfer-rs?rev=570ea6abf204b1b01ab2d6851d83807878f23f24#570ea6ab) [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling garbled_circuit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.88s [INFO] running `Command { std: "docker" "inspect" "ae85f01d7913d03f161297407e860a0dfe281ddade35fa19d06f365cc8063d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae85f01d7913d03f161297407e860a0dfe281ddade35fa19d06f365cc8063d2b", kill_on_drop: false }` [INFO] [stdout] ae85f01d7913d03f161297407e860a0dfe281ddade35fa19d06f365cc8063d2b [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ea662344da2aeababb1ec0c3e934216ffb3f9d32f45e0fc0dcd0f35d4a534a [INFO] running `Command { std: "docker" "start" "-a" "c8ea662344da2aeababb1ec0c3e934216ffb3f9d32f45e0fc0dcd0f35d4a534a", kill_on_drop: false }` [INFO] [stderr] Compiling garbled_circuit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "c8ea662344da2aeababb1ec0c3e934216ffb3f9d32f45e0fc0dcd0f35d4a534a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ea662344da2aeababb1ec0c3e934216ffb3f9d32f45e0fc0dcd0f35d4a534a", kill_on_drop: false }` [INFO] [stdout] c8ea662344da2aeababb1ec0c3e934216ffb3f9d32f45e0fc0dcd0f35d4a534a [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 232d261cd521129b21375e7f0135adc7c1bd4e451f84a7a19ccf9f638a0215d4 [INFO] running `Command { std: "docker" "start" "-a" "232d261cd521129b21375e7f0135adc7c1bd4e451f84a7a19ccf9f638a0215d4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/garbled_circuit_rs-26708fb956c9bab4) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test key::tests::test_empty_data_encryption ... ok [INFO] [stdout] test key::tests::test_key_creation ... ok [INFO] [stdout] test garbled::tests::test_garbled_circuit_creation ... ok [INFO] [stdout] test key::tests::test_key_default ... ok [INFO] [stdout] test key::tests::test_decrypt_with_wrong_key ... ok [INFO] [stdout] test garbled::tests::test_garbled_gate_table_creation ... ok [INFO] [stdout] test key::tests::test_key_encrypt_decrypt_with_magic ... ok [INFO] [stdout] test garbled::tests::test_wire_key_consistency ... ok [INFO] [stdout] test key::tests::test_key_encrypt_decrypt ... ok [INFO] [stdout] test two_party::tests::test_bob_setup ... ok [INFO] [stdout] test key::tests::test_large_data_encryption ... ok [INFO] [stdout] test key::tests::test_magic_bytes_verification ... ok [INFO] [stdout] test key::tests::test_magic_verification_with_wrong_key ... ok [INFO] [stdout] test two_party::tests::test_alice_setup ... ok [INFO] [stdout] test two_party::tests::test_no_bob_inputs ... ok [INFO] [stdout] test key::tests::test_key_equality ... ok [INFO] [stdout] test two_party::tests::test_multiple_bob_inputs ... ok [INFO] [stdout] test two_party::tests::test_complete_ot_protocol_and_gate has been running for over 60 seconds [INFO] [stdout] test two_party::tests::test_complete_ot_protocol_or_gate has been running for over 60 seconds [INFO] [stdout] test two_party::tests::test_complex_ot_circuit has been running for over 60 seconds [INFO] [stdout] test two_party::tests::test_ot_security_property has been running for over 60 seconds [INFO] [stdout] test two_party::tests::test_complex_ot_circuit ... ok [INFO] [stdout] test two_party::tests::test_ot_security_property ... ok [INFO] [stdout] test two_party::tests::test_complete_ot_protocol_and_gate ... ok [INFO] [stdout] test two_party::tests::test_complete_ot_protocol_or_gate ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- two_party::tests::test_complete_ot_protocol_or_gate stdout ---- [INFO] [stdout] Error: Invalid key size for wire 2: expected 16 bytes, got 15 [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::msg:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: ::extract_messages [INFO] [stdout] at ./src/two_party.rs:172:28 [INFO] [stdout] 2: garbled_circuit_rs::two_party::execute_secure_protocol [INFO] [stdout] at ./src/two_party.rs:233:9 [INFO] [stdout] 3: garbled_circuit_rs::two_party::tests::test_complete_ot_protocol_or_gate [INFO] [stdout] at ./src/two_party.rs:376:26 [INFO] [stdout] 4: garbled_circuit_rs::two_party::tests::test_complete_ot_protocol_or_gate::{closure#0} [INFO] [stdout] at ./src/two_party.rs:361:47 [INFO] [stdout] 5: >::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 11: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 12: std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 17: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 18: ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 20: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 21: std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 23: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 25: ::new::thread_start [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] two_party::tests::test_complete_ot_protocol_or_gate [INFO] [stdout] [INFO] [stdout] test result: FAILED. 20 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 117.42s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "232d261cd521129b21375e7f0135adc7c1bd4e451f84a7a19ccf9f638a0215d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232d261cd521129b21375e7f0135adc7c1bd4e451f84a7a19ccf9f638a0215d4", kill_on_drop: false }` [INFO] [stdout] 232d261cd521129b21375e7f0135adc7c1bd4e451f84a7a19ccf9f638a0215d4