[INFO] fetching crate flowlang 0.3.28... [INFO] testing flowlang-0.3.28 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate flowlang 0.3.28 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate flowlang 0.3.28 [INFO] finished tweaking crates.io crate flowlang 0.3.28 [INFO] tweaked toml for crates.io crate flowlang 0.3.28 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flowlang 0.3.28 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flowlang 0.3.28 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ca390759de1c29e2afaa3f645e63b34ad6760a09cd755fa25c55a24f4b14a8 [INFO] running `Command { std: "docker" "start" "-a" "05ca390759de1c29e2afaa3f645e63b34ad6760a09cd755fa25c55a24f4b14a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ca390759de1c29e2afaa3f645e63b34ad6760a09cd755fa25c55a24f4b14a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ca390759de1c29e2afaa3f645e63b34ad6760a09cd755fa25c55a24f4b14a8", kill_on_drop: false }` [INFO] [stdout] 05ca390759de1c29e2afaa3f645e63b34ad6760a09cd755fa25c55a24f4b14a8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6c9aefcdd88bb24af0f9a1b17cb5690fc26cb1440726a49d180645f5b65a4ff [INFO] running `Command { std: "docker" "start" "-a" "b6c9aefcdd88bb24af0f9a1b17cb5690fc26cb1440726a49d180645f5b65a4ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling ndata v0.3.16 [INFO] [stderr] Compiling flowlang v0.3.28 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/x25519.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] 688 + (0..256).map(move |i| ((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.49s [INFO] running `Command { std: "docker" "inspect" "b6c9aefcdd88bb24af0f9a1b17cb5690fc26cb1440726a49d180645f5b65a4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c9aefcdd88bb24af0f9a1b17cb5690fc26cb1440726a49d180645f5b65a4ff", kill_on_drop: false }` [INFO] [stdout] b6c9aefcdd88bb24af0f9a1b17cb5690fc26cb1440726a49d180645f5b65a4ff [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e935dcab7f9f94bdcf36cf7960ad91985eb0882702112a98227147f03b1cecb8 [INFO] running `Command { std: "docker" "start" "-a" "e935dcab7f9f94bdcf36cf7960ad91985eb0882702112a98227147f03b1cecb8", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/x25519.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] 688 + (0..256).map(move |i| ((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flowlang v0.3.28 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/x25519.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] 688 + (0..256).map(move |i| ((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "e935dcab7f9f94bdcf36cf7960ad91985eb0882702112a98227147f03b1cecb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e935dcab7f9f94bdcf36cf7960ad91985eb0882702112a98227147f03b1cecb8", kill_on_drop: false }` [INFO] [stdout] e935dcab7f9f94bdcf36cf7960ad91985eb0882702112a98227147f03b1cecb8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7ba5ff3870ffedfca3d2e9f2465bf591fe59c4bdc36cf9daadeeddc0ec933b3 [INFO] running `Command { std: "docker" "start" "-a" "f7ba5ff3870ffedfca3d2e9f2465bf591fe59c4bdc36cf9daadeeddc0ec933b3", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/x25519.rs:688:27 [INFO] [stderr] | [INFO] [stderr] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stderr] 688 + (0..256).map(move |i| ((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8 ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `flowlang` (lib) generated 1 warning (run `cargo fix --lib -p flowlang` to apply 1 suggestion) [INFO] [stderr] warning: `flowlang` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flowlang-ecc65b7ec2c1b04d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/flow-1d2ad6b89fea0519) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/build.rs (/opt/rustwide/target/debug/deps/flowb-b3e90af7f773a052) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/flowmcp.rs (/opt/rustwide/target/debug/deps/flowmcp-e459de2a96803c02) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests flowlang [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/x25519.rs:688:27 [INFO] [stderr] | [INFO] [stderr] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stderr] 688 + (0..256).map(move |i| ((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8 ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/x25519.rs - x25519::[T]::ct_eq (line 1133) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConditionallySelectable::conditional_select (line 1236) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConditionallySelectable::conditional_swap (line 1284) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConstantTimeLess::ct_lt (line 1759) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConstantTimeEq (line 1084) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConstantTimeGreater::ct_gt (line 1668) ... FAILED [INFO] [stdout] test src/rand.rs - rand::fill_bytes (line 298) ... ok [INFO] [stdout] test src/x25519.rs - x25519::ConditionallySelectable::conditional_assign (line 1259) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/x25519.rs - x25519::[T]::ct_eq (line 1133) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | use subtle::ConstantTimeEq; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_eq` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/x25519.rs:1139:16 [INFO] [stdout] | [INFO] [stdout] 1139 | let a_eq_a = a.ct_eq(&a); [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1106:6 [INFO] [stdout] | [INFO] [stdout] 1106 | fn ct_eq(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `[u8; 8]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeEq` which provides `ct_eq` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1133 + use flowlang::x25519::ConstantTimeEq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_eq` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/x25519.rs:1140:16 [INFO] [stdout] | [INFO] [stdout] 1140 | let a_eq_b = a.ct_eq(&b); [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1106:6 [INFO] [stdout] | [INFO] [stdout] 1106 | fn ct_eq(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `[u8; 8]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeEq` which provides `ct_eq` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1133 + use flowlang::x25519::ConstantTimeEq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConditionallySelectable::conditional_select (line 1236) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | use subtle::ConditionallySelectable; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `conditional_select` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1243:13 [INFO] [stdout] | [INFO] [stdout] 1243 | let z = u8::conditional_select(&x, &y, 0.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `u8` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_select` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1237 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `conditional_swap` with a similar name [INFO] [stdout] | [INFO] [stdout] 1243 - let z = u8::conditional_select(&x, &y, 0.into()); [INFO] [stdout] 1243 + let z = u8::conditional_swap(&x, &y, 0.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `conditional_select` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1245:13 [INFO] [stdout] | [INFO] [stdout] 1245 | let z = u8::conditional_select(&x, &y, 1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `u8` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_select` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1237 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `conditional_swap` with a similar name [INFO] [stdout] | [INFO] [stdout] 1245 - let z = u8::conditional_select(&x, &y, 1.into()); [INFO] [stdout] 1245 + let z = u8::conditional_swap(&x, &y, 1.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConditionallySelectable::conditional_swap (line 1284) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1285:5 [INFO] [stdout] | [INFO] [stdout] 1285 | use subtle::ConditionallySelectable; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `conditional_swap` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | u8::conditional_swap(&mut x, &mut y, 0.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `u8` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `conditional_assign` with a similar name, but with different arguments [INFO] [stdout] --> src/x25519.rs:1273:3 [INFO] [stdout] | [INFO] [stdout] 1273 | fn conditional_assign(&mut self, other: &Self, choice: Choice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_swap` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1285 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `conditional_swap` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1294:5 [INFO] [stdout] | [INFO] [stdout] 1294 | u8::conditional_swap(&mut x, &mut y, 1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `u8` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `conditional_assign` with a similar name, but with different arguments [INFO] [stdout] --> src/x25519.rs:1273:3 [INFO] [stdout] | [INFO] [stdout] 1273 | fn conditional_assign(&mut self, other: &Self, choice: Choice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_swap` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1285 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConstantTimeLess::ct_lt (line 1759) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1760:5 [INFO] [stdout] | [INFO] [stdout] 1760 | use subtle::ConstantTimeLess; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_lt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1765:16 [INFO] [stdout] | [INFO] [stdout] 1765 | let x_lt_y = x.ct_lt(&y); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1778:6 [INFO] [stdout] | [INFO] [stdout] 1778 | fn ct_lt(&self, other: &Self) -> Choice { [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeLess` which provides `ct_lt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1759 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1765 - let x_lt_y = x.ct_lt(&y); [INFO] [stdout] 1765 + let x_lt_y = x.ct_gt(&y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_lt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1769:16 [INFO] [stdout] | [INFO] [stdout] 1769 | let y_lt_x = y.ct_lt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1778:6 [INFO] [stdout] | [INFO] [stdout] 1778 | fn ct_lt(&self, other: &Self) -> Choice { [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeLess` which provides `ct_lt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1759 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1769 - let y_lt_x = y.ct_lt(&x); [INFO] [stdout] 1769 + let y_lt_x = y.ct_gt(&x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_lt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1773:16 [INFO] [stdout] | [INFO] [stdout] 1773 | let x_lt_x = x.ct_lt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1778:6 [INFO] [stdout] | [INFO] [stdout] 1778 | fn ct_lt(&self, other: &Self) -> Choice { [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeLess` which provides `ct_lt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1759 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1773 - let x_lt_x = x.ct_lt(&x); [INFO] [stdout] 1773 + let x_lt_x = x.ct_gt(&x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConstantTimeEq (line 1084) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1085:5 [INFO] [stdout] | [INFO] [stdout] 1085 | use subtle::ConstantTimeEq; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_eq` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1089:14 [INFO] [stdout] | [INFO] [stdout] 1089 | assert_eq!(x.ct_eq(&y).unwrap_u8(), 0); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1106:6 [INFO] [stdout] | [INFO] [stdout] 1106 | fn ct_eq(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeEq` which provides `ct_eq` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1084 + use flowlang::x25519::ConstantTimeEq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_eq` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | assert_eq!(x.ct_eq(&x).unwrap_u8(), 1); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1106:6 [INFO] [stdout] | [INFO] [stdout] 1106 | fn ct_eq(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeEq` which provides `ct_eq` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1084 + use flowlang::x25519::ConstantTimeEq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConstantTimeGreater::ct_gt (line 1668) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1669:5 [INFO] [stdout] | [INFO] [stdout] 1669 | use subtle::ConstantTimeGreater; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_gt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1674:16 [INFO] [stdout] | [INFO] [stdout] 1674 | let x_gt_y = x.ct_gt(&y); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1686:6 [INFO] [stdout] | [INFO] [stdout] 1686 | fn ct_gt(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeGreater` which provides `ct_gt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1668 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1674 - let x_gt_y = x.ct_gt(&y); [INFO] [stdout] 1674 + let x_gt_y = x.ct_lt(&y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_gt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1678:16 [INFO] [stdout] | [INFO] [stdout] 1678 | let y_gt_x = y.ct_gt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1686:6 [INFO] [stdout] | [INFO] [stdout] 1686 | fn ct_gt(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeGreater` which provides `ct_gt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1668 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1678 - let y_gt_x = y.ct_gt(&x); [INFO] [stdout] 1678 + let y_gt_x = y.ct_lt(&x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ct_gt` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1682:16 [INFO] [stdout] | [INFO] [stdout] 1682 | let x_gt_x = x.ct_gt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1686:6 [INFO] [stdout] | [INFO] [stdout] 1686 | fn ct_gt(&self, other: &Self) -> Choice; [INFO] [stdout] | ----- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConstantTimeGreater` which provides `ct_gt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1668 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1682 - let x_gt_x = x.ct_gt(&x); [INFO] [stdout] 1682 + let x_gt_x = x.ct_lt(&x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/x25519.rs - x25519::ConditionallySelectable::conditional_assign (line 1259) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 1260 | use subtle::ConditionallySelectable; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `subtle` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `subtle`, use `cargo add subtle` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `conditional_assign` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1266:3 [INFO] [stdout] | [INFO] [stdout] 1266 | x.conditional_assign(&y, 0.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1273:6 [INFO] [stdout] | [INFO] [stdout] 1273 | fn conditional_assign(&mut self, other: &Self, choice: Choice) { [INFO] [stdout] | ------------------ the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `bitor_assign` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:814:4 [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_assign` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1260 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `conditional_assign` found for type `u8` in the current scope [INFO] [stdout] --> src/x25519.rs:1268:3 [INFO] [stdout] | [INFO] [stdout] 1268 | x.conditional_assign(&y, 1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/x25519.rs:1273:6 [INFO] [stdout] | [INFO] [stdout] 1273 | fn conditional_assign(&mut self, other: &Self, choice: Choice) { [INFO] [stdout] | ------------------ the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `bitor_assign` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/bit.rs:814:4 [INFO] [stdout] help: trait `ConditionallySelectable` which provides `conditional_assign` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1260 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/x25519.rs - x25519::ConditionallySelectable::conditional_assign (line 1259) [INFO] [stdout] src/x25519.rs - x25519::ConditionallySelectable::conditional_select (line 1236) [INFO] [stdout] src/x25519.rs - x25519::ConditionallySelectable::conditional_swap (line 1284) [INFO] [stdout] src/x25519.rs - x25519::ConstantTimeEq (line 1084) [INFO] [stdout] src/x25519.rs - x25519::ConstantTimeGreater::ct_gt (line 1668) [INFO] [stdout] src/x25519.rs - x25519::ConstantTimeLess::ct_lt (line 1759) [INFO] [stdout] src/x25519.rs - x25519::[T]::ct_eq (line 1133) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f7ba5ff3870ffedfca3d2e9f2465bf591fe59c4bdc36cf9daadeeddc0ec933b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ba5ff3870ffedfca3d2e9f2465bf591fe59c4bdc36cf9daadeeddc0ec933b3", kill_on_drop: false }` [INFO] [stdout] f7ba5ff3870ffedfca3d2e9f2465bf591fe59c4bdc36cf9daadeeddc0ec933b3