[INFO] cloning repository https://github.com/starcoinorg/crypto-common [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starcoinorg/crypto-common" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c350ab8d2b61f24d4a6102e5797a29b3950b92b2 [INFO] testing starcoinorg/crypto-common against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/starcoinorg/crypto-common [INFO] finished tweaking git repo https://github.com/starcoinorg/crypto-common [INFO] tweaked toml for git repo https://github.com/starcoinorg/crypto-common written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/starcoinorg/crypto-common on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/starcoinorg/crypto-common 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/starcoinorg/openrpc-rs` [INFO] [stderr] Updating git repository `https://github.com/starcoinorg/schemars` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2994f2781ced6f096ffd4991dd7615bbed33129dd4152b843a628cf042d7b3b [INFO] running `Command { std: "docker" "start" "-a" "d2994f2781ced6f096ffd4991dd7615bbed33129dd4152b843a628cf042d7b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2994f2781ced6f096ffd4991dd7615bbed33129dd4152b843a628cf042d7b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2994f2781ced6f096ffd4991dd7615bbed33129dd4152b843a628cf042d7b3b", kill_on_drop: false }` [INFO] [stdout] d2994f2781ced6f096ffd4991dd7615bbed33129dd4152b843a628cf042d7b3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 052ef1960973163b5ce9454a8d75143b895ba580ad3acb303af2e5f00e03b75c [INFO] running `Command { std: "docker" "start" "-a" "052ef1960973163b5ce9454a8d75143b895ba580ad3acb303af2e5f00e03b75c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling schemars v0.8.8 (https://github.com/starcoinorg/schemars?rev=a64c6ddf7ca4796e090208b1476de2e53772042f#a64c6ddf) [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling schemars_derive v0.8.8 (https://github.com/starcoinorg/schemars?rev=a64c6ddf7ca4796e090208b1476de2e53772042f#a64c6ddf) [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bcs v0.1.4 (https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d) [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.16.0 [INFO] [stderr] Compiling openrpc-schema v0.1.0 (https://github.com/starcoinorg/openrpc-rs?rev=1f2f7d3495e3bd3ef3b6fcf7c4e0602cad090d5e#1f2f7d34) [INFO] [stderr] Compiling crypto-common v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "052ef1960973163b5ce9454a8d75143b895ba580ad3acb303af2e5f00e03b75c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052ef1960973163b5ce9454a8d75143b895ba580ad3acb303af2e5f00e03b75c", kill_on_drop: false }` [INFO] [stdout] 052ef1960973163b5ce9454a8d75143b895ba580ad3acb303af2e5f00e03b75c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab49f4528cf5b76d5fe4993b35dc919389b575d4b8657d95f41bb81816bbe92 [INFO] running `Command { std: "docker" "start" "-a" "dab49f4528cf5b76d5fe4993b35dc919389b575d4b8657d95f41bb81816bbe92", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:128:51 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_HashValue` [INFO] [stdout] 129 | pub struct HashValue { [INFO] [stdout] | --------- `HashValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "dab49f4528cf5b76d5fe4993b35dc919389b575d4b8657d95f41bb81816bbe92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab49f4528cf5b76d5fe4993b35dc919389b575d4b8657d95f41bb81816bbe92", kill_on_drop: false }` [INFO] [stdout] dab49f4528cf5b76d5fe4993b35dc919389b575d4b8657d95f41bb81816bbe92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74d651dd22593119e8ca240c4d1a21ef0e8629bdf098eac15496053959d286f8 [INFO] running `Command { std: "docker" "start" "-a" "74d651dd22593119e8ca240c4d1a21ef0e8629bdf098eac15496053959d286f8", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:128:51 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_HashValue` [INFO] [stderr] 129 | pub struct HashValue { [INFO] [stderr] | --------- `HashValue` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `crypto-common` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypto_common-25aedb1268e5e684) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_serialize_and_deserialize ... ok [INFO] [stdout] test tests::test_serialize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests crypto_common [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 94) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - TestOnlyHash (line 714) ... FAILED [INFO] [stdout] test src/lib.rs - (line 84) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aptos_crypto::hash::{CryptoHasher, TestOnlyHasher}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `aptos_crypto_derive` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aptos_crypto_derive::CryptoHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aptos_crypto_derive`, use `cargo add aptos_crypto_derive` to add it to your `Cargo.toml` [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 - TestOnlyHash (line 714) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> src/lib.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aptos_crypto::hash::TestOnlyHash; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_only_hash` found for reference `&'static [u8; 11]` in the current scope [INFO] [stdout] --> src/lib.rs:717:16 [INFO] [stdout] | [INFO] [stdout] 5 | b"hello world".test_only_hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&'static [u8; 11]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aptos_crypto::hash::CryptoHash; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aptos_crypto_derive` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 4 | use aptos_crypto_derive::{CryptoHasher, BCSCryptoHash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aptos_crypto_derive`, use `cargo add aptos_crypto_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hash` found for struct `MyNewStruct` in the current scope [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 7 | struct MyNewStruct { /*...*/ } [INFO] [stdout] | ------------------ method `hash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 10 | value.hash(); [INFO] [stdout] | ^^^^ method not found in `MyNewStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `hash`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] candidate #2: `crypto_common::CryptoHash` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, 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/lib.rs - (line 41) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] src/lib.rs - (line 94) [INFO] [stdout] src/lib.rs - TestOnlyHash (line 714) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "74d651dd22593119e8ca240c4d1a21ef0e8629bdf098eac15496053959d286f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d651dd22593119e8ca240c4d1a21ef0e8629bdf098eac15496053959d286f8", kill_on_drop: false }` [INFO] [stdout] 74d651dd22593119e8ca240c4d1a21ef0e8629bdf098eac15496053959d286f8