[INFO] fetching crate slip-10 0.4.1... [INFO] testing slip-10-0.4.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate slip-10 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate slip-10 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate slip-10 0.4.1 [INFO] tweaked toml for crates.io crate slip-10 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slip-10 0.4.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d81b855f97dbf5a28293ead9ba6bddc8cceb501db5525d4615e01834a593bac2 [INFO] running `Command { std: "docker" "start" "-a" "d81b855f97dbf5a28293ead9ba6bddc8cceb501db5525d4615e01834a593bac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d81b855f97dbf5a28293ead9ba6bddc8cceb501db5525d4615e01834a593bac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81b855f97dbf5a28293ead9ba6bddc8cceb501db5525d4615e01834a593bac2", kill_on_drop: false }` [INFO] [stdout] d81b855f97dbf5a28293ead9ba6bddc8cceb501db5525d4615e01834a593bac2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ec029d7a730b93a0ba9854e5aa6fab3fb08538d7b274c9374ecc9ef98b20a8a [INFO] running `Command { std: "docker" "start" "-a" "5ec029d7a730b93a0ba9854e5aa6fab3fb08538d7b274c9374ecc9ef98b20a8a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling generic-ec-core v0.2.3 [INFO] [stderr] Compiling phantom-type v0.4.2 [INFO] [stderr] Compiling generic-ec v0.4.5 [INFO] [stderr] Compiling slip-10 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.28s [INFO] running `Command { std: "docker" "inspect" "5ec029d7a730b93a0ba9854e5aa6fab3fb08538d7b274c9374ecc9ef98b20a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec029d7a730b93a0ba9854e5aa6fab3fb08538d7b274c9374ecc9ef98b20a8a", kill_on_drop: false }` [INFO] [stdout] 5ec029d7a730b93a0ba9854e5aa6fab3fb08538d7b274c9374ecc9ef98b20a8a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0af34ba7458658a7b1d7eeae6464077ff7e16af6ee673d85f9eebc9ef7e9b0 [INFO] running `Command { std: "docker" "start" "-a" "fd0af34ba7458658a7b1d7eeae6464077ff7e16af6ee673d85f9eebc9ef7e9b0", kill_on_drop: false }` [INFO] [stderr] Compiling slip-10 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "fd0af34ba7458658a7b1d7eeae6464077ff7e16af6ee673d85f9eebc9ef7e9b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0af34ba7458658a7b1d7eeae6464077ff7e16af6ee673d85f9eebc9ef7e9b0", kill_on_drop: false }` [INFO] [stdout] fd0af34ba7458658a7b1d7eeae6464077ff7e16af6ee673d85f9eebc9ef7e9b0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adf208cbd952c013220a6a5d75c3d791a3c9422bb2c83c7070ee0c3c9a86a78c [INFO] running `Command { std: "docker" "start" "-a" "adf208cbd952c013220a6a5d75c3d791a3c9422bb2c83c7070ee0c3c9a86a78c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/slip_10-a360a2dbf237fb29) [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] Doc-tests slip_10 [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - H (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - try_derive_child_public_key_with_path (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - derive_child_public_key_with_path (line 564) ... FAILED [INFO] [stdout] test src/lib.rs - derive_child_key_pair (line 433) ... FAILED [INFO] [stdout] test src/lib.rs - try_derive_child_key_pair_with_path (line 507) ... FAILED [INFO] [stdout] test src/lib.rs - derive_child_public_key (line 536) ... FAILED [INFO] [stdout] test src/lib.rs - derive_child_key_pair_with_path (line 474) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - H (line 96) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - try_derive_child_public_key_with_path (line 597) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `ParseChildIndexError: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:609:2 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_597_0() -> core::result::Result<(), impl core::fmt::Debug> { [INFO] [stdout] | ----------------------------------------------- required `ParseChildIndexError: std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 12 | let child_key = slip_10::try_derive_child_public_key_with_path( [INFO] [stdout] | _________________- [INFO] [stdout] 13 | | &master_public_key, [INFO] [stdout] 14 | | child_indexes, [INFO] [stdout] 15 | | )?; [INFO] [stdout] | | -^ the trait `std::error::Error` is not implemented for `ParseChildIndexError` [INFO] [stdout] | |_| [INFO] [stdout] | this has type `Result<_, ParseChildIndexError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_child_public_key_with_path (line 564) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:566:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `OutOfRange: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:573:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_564_0() -> core::result::Result<(), impl core::fmt::Debug> { [INFO] [stdout] | ----------------------------------------------- required `OutOfRange: std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 12 | [1.try_into()?, 10.try_into()?], [INFO] [stdout] | ----------^ the trait `std::error::Error` is not implemented for `OutOfRange` [INFO] [stdout] | | [INFO] [stdout] | this has type `Result<_, OutOfRange>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_child_key_pair (line 433) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - try_derive_child_key_pair_with_path (line 507) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_child_public_key (line 536) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `OutOfRange: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_536_0() -> core::result::Result<(), impl core::fmt::Debug> { [INFO] [stdout] | ----------------------------------------------- required `OutOfRange: std::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | 1.try_into()?, [INFO] [stdout] | ----------^ the trait `std::error::Error` is not implemented for `OutOfRange` [INFO] [stdout] | | [INFO] [stdout] | this has type `Result<_, OutOfRange>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_child_key_pair_with_path (line 474) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `slip_10::supported_curves` [INFO] [stdout] --> src/lib.rs:476:14 [INFO] [stdout] | [INFO] [stdout] 5 | use slip_10::supported_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `supported_curves` in `slip_10` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 81 | | feature = "curve-secp256k1", [INFO] [stdout] 82 | | feature = "curve-secp256r1", [INFO] [stdout] 83 | | feature = "all-curves" [INFO] [stdout] 84 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 85 | pub use generic_ec::curves as supported_curves; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - H (line 96) [INFO] [stdout] src/lib.rs - derive_child_key_pair (line 433) [INFO] [stdout] src/lib.rs - derive_child_key_pair_with_path (line 474) [INFO] [stdout] src/lib.rs - derive_child_public_key (line 536) [INFO] [stdout] src/lib.rs - derive_child_public_key_with_path (line 564) [INFO] [stdout] src/lib.rs - try_derive_child_key_pair_with_path (line 507) [INFO] [stdout] src/lib.rs - try_derive_child_public_key_with_path (line 597) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "adf208cbd952c013220a6a5d75c3d791a3c9422bb2c83c7070ee0c3c9a86a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf208cbd952c013220a6a5d75c3d791a3c9422bb2c83c7070ee0c3c9a86a78c", kill_on_drop: false }` [INFO] [stdout] adf208cbd952c013220a6a5d75c3d791a3c9422bb2c83c7070ee0c3c9a86a78c