[INFO] fetching crate slip-10 0.4.1... [INFO] testing slip-10-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate slip-10 0.4.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slip-10 0.4.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 53 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 877bf358bc2f1247ded66e2fa4ff2a9a87ae06e58809a93a44dc1a290ff1d241 [INFO] running `Command { std: "docker" "start" "-a" "877bf358bc2f1247ded66e2fa4ff2a9a87ae06e58809a93a44dc1a290ff1d241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "877bf358bc2f1247ded66e2fa4ff2a9a87ae06e58809a93a44dc1a290ff1d241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877bf358bc2f1247ded66e2fa4ff2a9a87ae06e58809a93a44dc1a290ff1d241", kill_on_drop: false }` [INFO] [stdout] 877bf358bc2f1247ded66e2fa4ff2a9a87ae06e58809a93a44dc1a290ff1d241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2beafa6c14e961029db27ddb94e1b7826a93f6e9a07b8ec18a27138a751ec4e6 [INFO] running `Command { std: "docker" "start" "-a" "2beafa6c14e961029db27ddb94e1b7826a93f6e9a07b8ec18a27138a751ec4e6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_core v0.6.4 [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 enum-ordinalize v3.1.15 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling zeroize v1.8.1 [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 9.91s [INFO] running `Command { std: "docker" "inspect" "2beafa6c14e961029db27ddb94e1b7826a93f6e9a07b8ec18a27138a751ec4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2beafa6c14e961029db27ddb94e1b7826a93f6e9a07b8ec18a27138a751ec4e6", kill_on_drop: false }` [INFO] [stdout] 2beafa6c14e961029db27ddb94e1b7826a93f6e9a07b8ec18a27138a751ec4e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7403b96f19c4112e6fa7d5e19276cd9176bddbe806189a0765ad64a586d16d59 [INFO] running `Command { std: "docker" "start" "-a" "7403b96f19c4112e6fa7d5e19276cd9176bddbe806189a0765ad64a586d16d59", kill_on_drop: false }` [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling slip-10 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "7403b96f19c4112e6fa7d5e19276cd9176bddbe806189a0765ad64a586d16d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7403b96f19c4112e6fa7d5e19276cd9176bddbe806189a0765ad64a586d16d59", kill_on_drop: false }` [INFO] [stdout] 7403b96f19c4112e6fa7d5e19276cd9176bddbe806189a0765ad64a586d16d59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 07122f47ea8201ed6afa038b61910e72b65e438fe91c17917591d880bac1e6aa [INFO] running `Command { std: "docker" "start" "-a" "07122f47ea8201ed6afa038b61910e72b65e438fe91c17917591d880bac1e6aa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/slip_10-cc49444ab8cae5c0) [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 - derive_child_key_pair (line 433) ... FAILED [INFO] [stdout] test src/lib.rs - derive_child_public_key_with_path (line 564) ... 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_key_pair_with_path (line 474) ... FAILED [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 (line 536) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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_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] ---- 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 (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] [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.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "07122f47ea8201ed6afa038b61910e72b65e438fe91c17917591d880bac1e6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07122f47ea8201ed6afa038b61910e72b65e438fe91c17917591d880bac1e6aa", kill_on_drop: false }` [INFO] [stdout] 07122f47ea8201ed6afa038b61910e72b65e438fe91c17917591d880bac1e6aa