[INFO] fetching crate aptos-crypto-link 0.0.3... [INFO] checking aptos-crypto-link-0.0.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate aptos-crypto-link 0.0.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate aptos-crypto-link 0.0.3 [INFO] finished tweaking crates.io crate aptos-crypto-link 0.0.3 [INFO] tweaked toml for crates.io crate aptos-crypto-link 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aptos-crypto-link 0.0.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 186 packages to latest compatible versions [INFO] [stderr] Adding bitvec v0.19.6 (available: v1.0.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding hkdf v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding proptest-derive v0.3.0 (available: v0.6.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.9.3) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.14) [INFO] [stderr] Adding serde-name v0.1.2 (available: v0.2.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding x25519-dalek v1.2.0 (available: v2.0.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsecp256k1-core v0.3.0 [INFO] [stderr] Downloaded libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Downloaded libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Downloaded serde-name v0.1.2 [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded aptos-crypto-derive-link v0.0.3 [INFO] [stderr] Downloaded bcs-link v0.1.3 [INFO] [stderr] Downloaded criterion-plot v0.4.5 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded criterion v0.3.6 [INFO] [stderr] Downloaded proptest-derive v0.3.0 [INFO] [stderr] Downloaded libsecp256k1 v0.7.2 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded blst v0.3.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04471f2c35811a40b0ef348bce6009492d09e630836bf3abb10b09eecf3aaa2 [INFO] running `Command { std: "docker" "start" "-a" "f04471f2c35811a40b0ef348bce6009492d09e630836bf3abb10b09eecf3aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04471f2c35811a40b0ef348bce6009492d09e630836bf3abb10b09eecf3aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04471f2c35811a40b0ef348bce6009492d09e630836bf3abb10b09eecf3aaa2", kill_on_drop: false }` [INFO] [stdout] f04471f2c35811a40b0ef348bce6009492d09e630836bf3abb10b09eecf3aaa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc53a6c483abbca96e38b4d8c494572d424b4c083d4bec9dd51b127a2da10796 [INFO] running `Command { std: "docker" "start" "-a" "bc53a6c483abbca96e38b4d8c494572d424b4c083d4bec9dd51b127a2da10796", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling blst v0.3.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling aptos-crypto-derive-link v0.0.3 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking x25519-dalek v1.2.0 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde-name v0.1.2 [INFO] [stderr] Checking bcs-link v0.1.3 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking aptos-crypto-link v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ristretto255.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use aptos_crypto::test_utils::random_bytes; [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use aptos_crypto::{ [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `BCSCryptoHash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use aptos_crypto::{ [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/hash.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use aptos_crypto::bls12381::DST_BLS_SIG_IN_G2_WITH_POP; [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/hash.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use aptos_crypto::test_utils::random_bytes; [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use aptos_crypto::{ [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/secp256k1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use aptos_crypto::test_utils::random_bytes; [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `BCSCryptoHash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use aptos_crypto::{ [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/noise.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use aptos_crypto::{ [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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use std::cell::OnceCell; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::unsync::OnceCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::_serde_name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash::DefaultHasher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync::Lazy; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::unsync::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/ed25519.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `BCSCryptoHash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "hash") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `aptos_crypto` [INFO] [stdout] --> benches/noise.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use aptos_crypto::{ [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] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "secp256k1") due to 1 previous error [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "ed25519") due to 12 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "ristretto255") due to 1 previous error [INFO] [stdout] warning: unused import: `std::convert::TryFrom as _` [INFO] [stdout] --> benches/noise.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::TryFrom as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use std::cell::OnceCell; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync::OnceCell; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::unsync::OnceCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::_serde_name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash::DefaultHasher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::sync::Lazy; [INFO] [stdout] | [INFO] [stdout] 7 + use once_cell::unsync::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `CryptoHasher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aptos_crypto` [INFO] [stdout] --> benches/bls12381.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, CryptoHasher, BCSCryptoHash, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `BCSCryptoHash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use aptos_crypto_link::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "noise") due to 2 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aptos-crypto-link` (bench "bls12381") due to 12 previous errors [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hash.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | #[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] 125 | 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] [stdout] error: missing documentation for an associated function [INFO] [stdout] --> src/hash.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / pub fn from_iter_sha3<'a, I>(buffers: I) -> Self [INFO] [stdout] 186 | | where [INFO] [stdout] 187 | | I: IntoIterator, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/x25519.rs:77:51 [INFO] [stdout] | [INFO] [stdout] 77 | #[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_PublicKey` [INFO] [stdout] 78 | pub struct PublicKey([u8; PUBLIC_KEY_SIZE]); [INFO] [stdout] | --------- `PublicKey` 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: 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] error: could not compile `aptos-crypto-link` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc53a6c483abbca96e38b4d8c494572d424b4c083d4bec9dd51b127a2da10796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc53a6c483abbca96e38b4d8c494572d424b4c083d4bec9dd51b127a2da10796", kill_on_drop: false }` [INFO] [stdout] bc53a6c483abbca96e38b4d8c494572d424b4c083d4bec9dd51b127a2da10796