[INFO] fetching crate flowlang 0.3.27... [INFO] testing flowlang-0.3.27 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate flowlang 0.3.27 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate flowlang 0.3.27 [INFO] finished tweaking crates.io crate flowlang 0.3.27 [INFO] tweaked toml for crates.io crate flowlang 0.3.27 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flowlang 0.3.27 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flowlang 0.3.27 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f9cd6cfa8b0af7e9c21e783d0fb67f2fb8d3e99fda4d7b9babc87f57a954d21 [INFO] running `Command { std: "docker" "start" "-a" "3f9cd6cfa8b0af7e9c21e783d0fb67f2fb8d3e99fda4d7b9babc87f57a954d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f9cd6cfa8b0af7e9c21e783d0fb67f2fb8d3e99fda4d7b9babc87f57a954d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9cd6cfa8b0af7e9c21e783d0fb67f2fb8d3e99fda4d7b9babc87f57a954d21", kill_on_drop: false }` [INFO] [stdout] 3f9cd6cfa8b0af7e9c21e783d0fb67f2fb8d3e99fda4d7b9babc87f57a954d21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 444dc334fde7896c0dd702555d433548c758a57f2711109ac05918f82e181344 [INFO] running `Command { std: "docker" "start" "-a" "444dc334fde7896c0dd702555d433548c758a57f2711109ac05918f82e181344", kill_on_drop: false }` [INFO] [stderr] Compiling ndata v0.3.15 [INFO] [stderr] Compiling flowlang v0.3.27 (/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 4.03s [INFO] running `Command { std: "docker" "inspect" "444dc334fde7896c0dd702555d433548c758a57f2711109ac05918f82e181344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444dc334fde7896c0dd702555d433548c758a57f2711109ac05918f82e181344", kill_on_drop: false }` [INFO] [stdout] 444dc334fde7896c0dd702555d433548c758a57f2711109ac05918f82e181344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b04abe673b679e651fcbec22213481314948c1fa86c750ec1500938a5082266 [INFO] running `Command { std: "docker" "start" "-a" "3b04abe673b679e651fcbec22213481314948c1fa86c750ec1500938a5082266", 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.27 (/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.87s [INFO] running `Command { std: "docker" "inspect" "3b04abe673b679e651fcbec22213481314948c1fa86c750ec1500938a5082266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b04abe673b679e651fcbec22213481314948c1fa86c750ec1500938a5082266", kill_on_drop: false }` [INFO] [stdout] 3b04abe673b679e651fcbec22213481314948c1fa86c750ec1500938a5082266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2be4be9c1142ca629f8481d794f1ec3a09c020893adb0504df91d884a66ee2a4 [INFO] running `Command { std: "docker" "start" "-a" "2be4be9c1142ca629f8481d794f1ec3a09c020893adb0504df91d884a66ee2a4", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stdout] [INFO] [stderr] --> src/x25519.rs:688:27 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 688 | (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^ ^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] running 0 tests [INFO] [stderr] help: remove these parentheses [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 688 - (0..256).map(move |i| (((self.bytes[i >> 3] >> (i & 7)) & 1u8) == 1u8)) [INFO] [stdout] [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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flowlang-1e44167cb841169d) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/flow-65e8dc2673599296) [INFO] [stderr] Running unittests src/build.rs (/opt/rustwide/target/debug/deps/flowb-9ffdad14ff2e48ed) [INFO] [stderr] Running unittests src/flowmcp.rs (/opt/rustwide/target/debug/deps/flowmcp-b505d55529fb3aab) [INFO] [stdout] [INFO] [stderr] Doc-tests flowlang [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] 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] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 8 tests [INFO] [stderr] [INFO] [stdout] test src/x25519.rs - x25519::ConditionallySelectable::conditional_swap (line 1284) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConstantTimeGreater::ct_gt (line 1668) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::ConditionallySelectable::conditional_select (line 1236) ... 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::ConditionallySelectable::conditional_assign (line 1259) ... FAILED [INFO] [stdout] test src/x25519.rs - x25519::[T]::ct_eq (line 1133) ... FAILED [INFO] [stdout] test src/rand.rs - rand::fill_bytes (line 298) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 2 | 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] 8 | 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] --> /opt/rustwide/workdir/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] 2 + 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] 11 | 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] --> /opt/rustwide/workdir/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] 2 + 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::ConstantTimeGreater::ct_gt (line 1668) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1669:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 8 | let x_gt_y = x.ct_gt(&y); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let x_gt_y = x.ct_gt(&y); [INFO] [stdout] 8 + 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] 12 | let y_gt_x = y.ct_gt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - let y_gt_x = y.ct_gt(&x); [INFO] [stdout] 12 + 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] 16 | let x_gt_x = x.ct_gt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeGreater; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_lt` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - let x_gt_x = x.ct_gt(&x); [INFO] [stdout] 16 + 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_select (line 1236) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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] 8 | 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] 2 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `conditional_swap` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let z = u8::conditional_select(&x, &y, 0.into()); [INFO] [stdout] 8 + 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] 10 | 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] 2 + use flowlang::x25519::ConditionallySelectable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `conditional_swap` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - let z = u8::conditional_select(&x, &y, 1.into()); [INFO] [stdout] 10 + 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::ConstantTimeLess::ct_lt (line 1759) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1760:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 8 | let x_lt_y = x.ct_lt(&y); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - let x_lt_y = x.ct_lt(&y); [INFO] [stdout] 8 + 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] 12 | let y_lt_x = y.ct_lt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - let y_lt_x = y.ct_lt(&x); [INFO] [stdout] 12 + 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] 16 | let x_lt_x = x.ct_lt(&x); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + use flowlang::x25519::ConstantTimeLess; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ct_gt` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - let x_lt_x = x.ct_lt(&x); [INFO] [stdout] 16 + 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] 3 | 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] 7 | assert_eq!(x.ct_eq(&y).unwrap_u8(), 0); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + 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] 8 | assert_eq!(x.ct_eq(&x).unwrap_u8(), 1); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + 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_assign (line 1259) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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] 8 | x.conditional_assign(&y, 0.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/bit.rs:820:5 [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] 2 + 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] 10 | x.conditional_assign(&y, 1.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/bit.rs:820:5 [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] 2 + 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::[T]::ct_eq (line 1133) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `subtle` [INFO] [stdout] --> src/x25519.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 8 | let a_eq_a = a.ct_eq(&a); [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + 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] 9 | let a_eq_b = a.ct_eq(&b); [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/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] 2 + 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] [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.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2be4be9c1142ca629f8481d794f1ec3a09c020893adb0504df91d884a66ee2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be4be9c1142ca629f8481d794f1ec3a09c020893adb0504df91d884a66ee2a4", kill_on_drop: false }` [INFO] [stdout] 2be4be9c1142ca629f8481d794f1ec3a09c020893adb0504df91d884a66ee2a4