[INFO] cloning repository https://github.com/cronokirby/yao-gc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cronokirby/yao-gc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fyao-gc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fyao-gc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3720e6348f5ca2930ef735b36e85cf78af55bc46 [INFO] testing cronokirby/yao-gc against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fyao-gc" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cronokirby/yao-gc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cronokirby/yao-gc [INFO] finished tweaking git repo https://github.com/cronokirby/yao-gc [INFO] tweaked toml for git repo https://github.com/cronokirby/yao-gc written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/cronokirby/yao-gc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c5184da1988c0432dcce7e5b77e86e9653a10d05f1e558855dc8ac975975af [INFO] running `Command { std: "docker" "start" "-a" "a7c5184da1988c0432dcce7e5b77e86e9653a10d05f1e558855dc8ac975975af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c5184da1988c0432dcce7e5b77e86e9653a10d05f1e558855dc8ac975975af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c5184da1988c0432dcce7e5b77e86e9653a10d05f1e558855dc8ac975975af", kill_on_drop: false }` [INFO] [stdout] a7c5184da1988c0432dcce7e5b77e86e9653a10d05f1e558855dc8ac975975af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40be2f577bd098be20c5cca9be48d553b577496e56169ccc8f807982a6ca0482 [INFO] running `Command { std: "docker" "start" "-a" "40be2f577bd098be20c5cca9be48d553b577496e56169ccc8f807982a6ca0482", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Compiling peg v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chacha20 v0.9.0 [INFO] [stderr] Compiling yao-gc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `Message0` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | M0(Message0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Message1` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | M1(Message1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Message2` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | M2(Message2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/circuit/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Input(Input), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegatedInput` [INFO] [stdout] --> src/circuit/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NegatedInput(Input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gate` [INFO] [stdout] --> src/circuit/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Gate(u8, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/circuit/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn negate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gate2_to_u8` [INFO] [stdout] --> src/circuit/mod.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn gate2_to_u8(gate: ast::Gate2) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invert_gate_output` [INFO] [stdout] --> src/circuit/mod.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn invert_gate_output(g: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `optimize` [INFO] [stdout] --> src/circuit/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn optimize(ast: ast::AST) -> Circuit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile` [INFO] [stdout] --> src/circuit/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn compile(src: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DERIVE_KEY_FROM_POINT_CONTEXT` [INFO] [stdout] --> src/ot.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const DERIVE_KEY_FROM_POINT_CONTEXT: &'static str = "Yao-GC Derive Key From Point 2022-04-03"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `kdf` [INFO] [stdout] --> src/ot.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn kdf(point: &RistrettoPoint) -> [u8; 32] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_once` [INFO] [stdout] --> src/ot.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn encrypt_once(key: &[u8; 32], data: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt` [INFO] [stdout] --> src/ot.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn decrypt(key: &[u8; 32], data: &mut [u8]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AlreadyFinished` [INFO] [stdout] --> src/ot.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | AlreadyFinished, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnequalCiphertextLengths` [INFO] [stdout] --> src/ot.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | UnequalCiphertextLengths(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedMessageType` [INFO] [stdout] --> src/ot.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | UnexpectedMessageType(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `point` [INFO] [stdout] --> src/ot.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | point: RistrettoPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message0` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `point` [INFO] [stdout] --> src/ot.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | point: RistrettoPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c0` [INFO] [stdout] --> src/ot.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | c0: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c1` [INFO] [stdout] --> src/ot.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | c1: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/ot.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `M0` [INFO] [stdout] --> src/ot.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | M0(Message0), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `M1` [INFO] [stdout] --> src/ot.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | M1(Message1), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `M2` [INFO] [stdout] --> src/ot.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | M2(Message2), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/ot.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn start(self) -> Result<(), OTError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `message0` [INFO] [stdout] --> src/ot.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn message0(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `message1` [INFO] [stdout] --> src/ot.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn message1(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `message2` [INFO] [stdout] --> src/ot.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn message2(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Message` [INFO] [stdout] --> src/ot.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | Message(Message), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SenderDone` [INFO] [stdout] --> src/ot.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | SenderDone(Message), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceiverOutput` [INFO] [stdout] --> src/ot.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | ReceiverOutput(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OTOutput` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S0` [INFO] [stdout] --> src/ot.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / S0 { [INFO] [stdout] 131 | | /// The first message the receiver might have. [INFO] [stdout] 132 | | m0: Vec, [INFO] [stdout] 133 | | m1: Vec, [INFO] [stdout] 134 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Sender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S1` [INFO] [stdout] --> src/ot.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / S1 { [INFO] [stdout] 136 | | /// The first message the receiver might have. [INFO] [stdout] 137 | | m0: Vec, [INFO] [stdout] 138 | | /// The second message the receiver might have. [INFO] [stdout] ... | [INFO] [stdout] 143 | | big_a: RistrettoPoint, [INFO] [stdout] 144 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Sender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `S2` [INFO] [stdout] --> src/ot.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | S2, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Sender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ot.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(m0: Vec, m1: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/ot.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn advance( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conditional_assign_vec` [INFO] [stdout] --> src/ot.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn conditional_assign_vec(out: &mut [u8], src: &[u8], choice: Choice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R0` [INFO] [stdout] --> src/ot.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / R0 { [INFO] [stdout] 211 | | /// Our secret choice of message. [INFO] [stdout] 212 | | choice: Choice, [INFO] [stdout] 213 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Receiver` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R1` [INFO] [stdout] --> src/ot.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / R1 { [INFO] [stdout] 215 | | /// Our secret choice of message. [INFO] [stdout] 216 | | choice: Choice, [INFO] [stdout] 217 | | /// The secret key used to decrypt the message we'll get from the sender. [INFO] [stdout] 218 | | key: [u8; 32], [INFO] [stdout] 219 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Receiver` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R2` [INFO] [stdout] --> src/ot.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | R2, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Receiver` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ot.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ot.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn new(choice: Choice) -> Receiver { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/ot.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn advance( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> src/circuit/ast.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn parse(input: &[Token]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/circuit/lexer.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lex` [INFO] [stdout] --> src/circuit/lexer.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn lex(input: &str) -> Result, LexError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.94s [INFO] running `Command { std: "docker" "inspect" "40be2f577bd098be20c5cca9be48d553b577496e56169ccc8f807982a6ca0482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40be2f577bd098be20c5cca9be48d553b577496e56169ccc8f807982a6ca0482", kill_on_drop: false }` [INFO] [stdout] 40be2f577bd098be20c5cca9be48d553b577496e56169ccc8f807982a6ca0482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4363e88750177b563883c5238ad4cb4d684dd18e8d6f797c256dd219af85660c [INFO] running `Command { std: "docker" "start" "-a" "4363e88750177b563883c5238ad4cb4d684dd18e8d6f797c256dd219af85660c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling yao-gc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `Message0` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | M0(Message0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Message1` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | M1(Message1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Message2` in public interface (error E0446) [INFO] [stdout] --> src/ot.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | M2(Message2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/circuit/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Input(Input), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NegatedInput` [INFO] [stdout] --> src/circuit/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | NegatedInput(Input), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gate` [INFO] [stdout] --> src/circuit/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Gate(u8, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/circuit/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/circuit/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn negate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gate2_to_u8` [INFO] [stdout] --> src/circuit/mod.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn gate2_to_u8(gate: ast::Gate2) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invert_gate_output` [INFO] [stdout] --> src/circuit/mod.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn invert_gate_output(g: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `optimize` [INFO] [stdout] --> src/circuit/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn optimize(ast: ast::AST) -> Circuit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile` [INFO] [stdout] --> src/circuit/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn compile(src: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/ot.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn start(self) -> Result<(), OTError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.17s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/yao_gc-55da6f8e04835207) [INFO] running `Command { std: "docker" "inspect" "4363e88750177b563883c5238ad4cb4d684dd18e8d6f797c256dd219af85660c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4363e88750177b563883c5238ad4cb4d684dd18e8d6f797c256dd219af85660c", kill_on_drop: false }` [INFO] [stdout] 4363e88750177b563883c5238ad4cb4d684dd18e8d6f797c256dd219af85660c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f786c09683b705b50be91bb2174a3c11ef0f2551e57d753bcc999c6eea96f959 [INFO] running `Command { std: "docker" "start" "-a" "f786c09683b705b50be91bb2174a3c11ef0f2551e57d753bcc999c6eea96f959", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: private type `Message0` in public interface (error E0446) [INFO] [stderr] --> src/ot.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | M0(Message0), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `Message1` in public interface (error E0446) [INFO] [stderr] --> src/ot.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | M1(Message1), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `Message2` in public interface (error E0446) [INFO] [stderr] --> src/ot.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | M2(Message2), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Input` [INFO] [stderr] --> src/circuit/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Input(Input), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/circuit/mod.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NegatedInput` [INFO] [stderr] --> src/circuit/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | NegatedInput(Input), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/circuit/mod.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gate` [INFO] [stderr] --> src/circuit/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Gate(u8, Box, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Circuit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/circuit/mod.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `negate` [INFO] [stderr] --> src/circuit/mod.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | fn negate(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gate2_to_u8` [INFO] [stderr] --> src/circuit/mod.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn gate2_to_u8(gate: ast::Gate2) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `invert_gate_output` [INFO] [stderr] --> src/circuit/mod.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | fn invert_gate_output(g: u8) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `optimize` [INFO] [stderr] --> src/circuit/mod.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn optimize(ast: ast::AST) -> Circuit { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `compile` [INFO] [stderr] --> src/circuit/mod.rs:130:8 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn compile(src: &str) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `start` [INFO] [stderr] --> src/ot.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | fn start(self) -> Result<(), OTError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yao-gc` (bin "yao-gc" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/yao_gc-55da6f8e04835207) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test circuit::ast::test::parsing_nested_gate ... ok [INFO] [stdout] test circuit::ast::test::parsing_inputs ... ok [INFO] [stdout] test circuit::ast::test::parsing_gates ... ok [INFO] [stdout] test ot::test::executing_with_zero_works ... ok [INFO] [stdout] test ot::test::executing_with_one_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f786c09683b705b50be91bb2174a3c11ef0f2551e57d753bcc999c6eea96f959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f786c09683b705b50be91bb2174a3c11ef0f2551e57d753bcc999c6eea96f959", kill_on_drop: false }` [INFO] [stdout] f786c09683b705b50be91bb2174a3c11ef0f2551e57d753bcc999c6eea96f959