[INFO] cloning repository https://github.com/octopus-network/ic-aptos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/octopus-network/ic-aptos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fic-aptos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fic-aptos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c9b317080b52109678c423f06769c06795cd11b [INFO] building octopus-network/ic-aptos against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctopus-network%2Fic-aptos" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/octopus-network/ic-aptos [INFO] finished tweaking git repo https://github.com/octopus-network/ic-aptos [INFO] tweaked toml for git repo https://github.com/octopus-network/ic-aptos written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/octopus-network/ic-aptos on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/octopus-network/ic-aptos 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/aptos-labs/bcs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/aptos-labs/aptos-core` [INFO] [stderr] Updating git submodule `https://github.com/aptos-labs/aptos-indexer-processors.git` [INFO] [stderr] Updating git submodule `https://github.com/banool/aptos-tontine.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded impl-serde v0.3.2 [INFO] [stderr] Downloaded stacker v0.1.19 [INFO] [stderr] Downloaded more-asserts v0.3.1 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded impl-codec v0.5.1 [INFO] [stderr] Downloaded primitive-types v0.10.1 [INFO] [stderr] Downloaded bitvec v0.20.4 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded serde-name v0.1.2 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded variant_count v1.1.0 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded ethnum v1.5.0 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded psm v0.1.25 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded candid v0.10.13 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 407bf95bfaff7271e097d645ae63006237c3b9c0ec1441f6b5aacaca596f530e [INFO] running `Command { std: "docker" "start" "-a" "407bf95bfaff7271e097d645ae63006237c3b9c0ec1441f6b5aacaca596f530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "407bf95bfaff7271e097d645ae63006237c3b9c0ec1441f6b5aacaca596f530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407bf95bfaff7271e097d645ae63006237c3b9c0ec1441f6b5aacaca596f530e", kill_on_drop: false }` [INFO] [stdout] 407bf95bfaff7271e097d645ae63006237c3b9c0ec1441f6b5aacaca596f530e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46ca66ac816631fe2adf3b24d2f0d0786b8d081ab62dcbf70773677520ab6609 [INFO] running `Command { std: "docker" "start" "-a" "46ca66ac816631fe2adf3b24d2f0d0786b8d081ab62dcbf70773677520ab6609", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling move-bytecode-spec v0.1.0 (https://github.com/aptos-labs/aptos-core?branch=mainnet#8d5d045e) [INFO] [stderr] Compiling aptos-crypto-derive v0.0.3 (/opt/rustwide/workdir/crates/aptos-crypto-derive) [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling bcs v0.1.4 (https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d) [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling serde-name v0.1.2 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling aptos-crypto v0.0.3 (/opt/rustwide/workdir/crates/aptos-crypto) [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling move-core-types v0.0.4 (https://github.com/aptos-labs/aptos-core?branch=mainnet#8d5d045e) [INFO] [stderr] Compiling move-core-types v0.0.4 (/opt/rustwide/workdir/crates/move-core-types) [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/move-core-types/src/vm_status.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 494 | / derive_status_try_from_repr! { [INFO] [stdout] 495 | | #[repr(u64)] [INFO] [stdout] 496 | | #[allow(non_camel_case_types)] [INFO] [stdout] 497 | | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)] [INFO] [stdout] ... | [INFO] [stdout] 866 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_status_try_from_repr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALLOWED_NO_SELF_IDENTIFIERS` is never used [INFO] [stdout] --> crates/move-core-types/src/identifier.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) static ALLOWED_NO_SELF_IDENTIFIERS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wmul` is never used [INFO] [stdout] --> crates/move-core-types/src/u256.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl U256 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn wmul(self, b: Self) -> (Self, Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling move-binary-format v0.0.3 (https://github.com/aptos-labs/aptos-core?branch=mainnet#8d5d045e) [INFO] [stderr] Compiling aptos-types v0.0.3 (/opt/rustwide/workdir/crates/aptos-types) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/aptos-types/src/access_path.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use anyhow::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `format_err` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{format_err, Result}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{collections::HashMap, fmt, fmt::Debug, str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{bail, ensure, Error, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `ensure`, and `format_err` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{ensure, format_err, Context, Error, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ed25519PrivateKey` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use aptos_crypto::ed25519::{Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountAuthenticator` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use authenticator::{AccountAuthenticator, TransactionAuthenticator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeSet` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{collections::BTreeSet, hash::Hash, ops::Deref, sync::atomic::AtomicU64}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoHasher` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use aptos_crypto::hash::{CryptoHash, CryptoHasher, HashValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{ensure, format_err, Context, Error, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> crates/aptos-types/src/account_config/resources/chain_id.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ChainIdResource { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | chain_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aptos-cached-packages v0.1.0 (/opt/rustwide/workdir/crates/aptos-cached-packages) [INFO] [stderr] Compiling aptos-api-types v0.0.1 (/opt/rustwide/workdir/crates/aptos-api-types) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{bail, format_err}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModuleId`, `account_address::AccountAddress`, `identifier::Identifier`, and `transaction_argument::TransactionArgument` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | identifier::Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | language_storage::{ModuleId, StructTag, TypeTag}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | parser::{parse_struct_tag, parse_type_tag}, [INFO] [stdout] 21 | transaction_argument::TransactionArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ED25519_PUBLIC_KEY_LENGTH` and `ED25519_SIGNATURE_LENGTH` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ed25519::{self, Ed25519PublicKey, ED25519_PUBLIC_KEY_LENGTH, ED25519_SIGNATURE_LENGTH}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractEvent`, `EventWithVersion`, `Script`, `SignedTransaction`, and `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | contract_event::{ContractEvent, EventWithVersion}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | Script, SignedTransaction, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`, and `boxed::Box` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | time::{SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> crates/aptos-api-types/src/wrappers.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use anyhow::{bail, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidCryptoMaterial` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ValidCryptoMaterial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "46ca66ac816631fe2adf3b24d2f0d0786b8d081ab62dcbf70773677520ab6609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ca66ac816631fe2adf3b24d2f0d0786b8d081ab62dcbf70773677520ab6609", kill_on_drop: false }` [INFO] [stdout] 46ca66ac816631fe2adf3b24d2f0d0786b8d081ab62dcbf70773677520ab6609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29158158bb74cd18dc6b4d1d4e8db5c18f04fb27564a522f3a6fc039ead67c00 [INFO] running `Command { std: "docker" "start" "-a" "29158158bb74cd18dc6b4d1d4e8db5c18f04fb27564a522f3a6fc039ead67c00", kill_on_drop: false }` [INFO] [stderr] Compiling aptos-crypto-derive v0.0.3 (/opt/rustwide/workdir/crates/aptos-crypto-derive) [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/move-core-types/src/vm_status.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 494 | / derive_status_try_from_repr! { [INFO] [stdout] 495 | | #[repr(u64)] [INFO] [stdout] 496 | | #[allow(non_camel_case_types)] [INFO] [stdout] 497 | | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)] [INFO] [stdout] ... | [INFO] [stdout] 866 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_status_try_from_repr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling move-core-types v0.0.4 (/opt/rustwide/workdir/crates/move-core-types) [INFO] [stdout] warning: static `ALLOWED_NO_SELF_IDENTIFIERS` is never used [INFO] [stdout] --> crates/move-core-types/src/identifier.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) static ALLOWED_NO_SELF_IDENTIFIERS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wmul` is never used [INFO] [stdout] --> crates/move-core-types/src/u256.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl U256 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn wmul(self, b: Self) -> (Self, Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/move-core-types/src/vm_status.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 494 | / derive_status_try_from_repr! { [INFO] [stdout] 495 | | #[repr(u64)] [INFO] [stdout] 496 | | #[allow(non_camel_case_types)] [INFO] [stdout] 497 | | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)] [INFO] [stdout] ... | [INFO] [stdout] 866 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_status_try_from_repr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aptos-crypto v0.0.3 (/opt/rustwide/workdir/crates/aptos-crypto) [INFO] [stdout] warning: static `ALLOWED_NO_SELF_IDENTIFIERS` is never used [INFO] [stdout] --> crates/move-core-types/src/identifier.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) static ALLOWED_NO_SELF_IDENTIFIERS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wmul` is never used [INFO] [stdout] --> crates/move-core-types/src/u256.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 282 | impl U256 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn wmul(self, b: Self) -> (Self, Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aptos-types v0.0.3 (/opt/rustwide/workdir/crates/aptos-types) [INFO] [stdout] warning: associated function `from_x25519_public_bytes` is never used [INFO] [stdout] --> crates/aptos-crypto/src/ed25519/ed25519_keys.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl Ed25519PublicKey { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn from_x25519_public_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/aptos-types/src/access_path.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use anyhow::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `format_err` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{format_err, Result}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{collections::HashMap, fmt, fmt::Debug, str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{bail, ensure, Error, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Error`, `ensure`, and `format_err` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{ensure, format_err, Context, Error, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ed25519PrivateKey` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use aptos_crypto::ed25519::{Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountAuthenticator` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use authenticator::{AccountAuthenticator, TransactionAuthenticator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeSet` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{collections::BTreeSet, hash::Hash, ops::Deref, sync::atomic::AtomicU64}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `convert::TryFrom` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> crates/aptos-types/src/access_path.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use anyhow::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `format_err` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{format_err, Result}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{collections::HashMap, fmt, fmt::Debug, str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> crates/aptos-types/src/on_chain_config/mod.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(feature = "fuzzing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{bail, ensure, Error, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `ensure`, and `format_err` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{ensure, format_err, Context, Error, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ed25519PrivateKey` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use aptos_crypto::ed25519::{Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountAuthenticator` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use authenticator::{AccountAuthenticator, TransactionAuthenticator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeSet` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{collections::BTreeSet, hash::Hash, ops::Deref, sync::atomic::AtomicU64}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoHasher` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use aptos_crypto::hash::{CryptoHash, CryptoHasher, HashValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | fmt::{self, Debug, Display, Formatter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> crates/aptos-types/src/transaction/authenticator.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoHasher` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use aptos_crypto::hash::{CryptoHash, CryptoHasher, HashValue}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> crates/aptos-types/src/transaction/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{ensure, format_err, Context, Error, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> crates/aptos-types/src/account_config/resources/chain_id.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ChainIdResource { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | chain_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> crates/aptos-types/src/account_config/resources/chain_id.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ChainIdResource { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 15 | chain_id: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aptos-cached-packages v0.1.0 (/opt/rustwide/workdir/crates/aptos-cached-packages) [INFO] [stderr] Compiling aptos-api-types v0.0.1 (/opt/rustwide/workdir/crates/aptos-api-types) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{bail, format_err}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModuleId`, `account_address::AccountAddress`, `identifier::Identifier`, and `transaction_argument::TransactionArgument` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | identifier::Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | language_storage::{ModuleId, StructTag, TypeTag}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | parser::{parse_struct_tag, parse_type_tag}, [INFO] [stdout] 21 | transaction_argument::TransactionArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ED25519_PUBLIC_KEY_LENGTH` and `ED25519_SIGNATURE_LENGTH` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ed25519::{self, Ed25519PublicKey, ED25519_PUBLIC_KEY_LENGTH, ED25519_SIGNATURE_LENGTH}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractEvent`, `EventWithVersion`, `Script`, `SignedTransaction`, and `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | contract_event::{ContractEvent, EventWithVersion}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | Script, SignedTransaction, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`, and `boxed::Box` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | time::{SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> crates/aptos-api-types/src/wrappers.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use anyhow::{bail, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidCryptoMaterial` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ValidCryptoMaterial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{bail, format_err}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModuleId`, `account_address::AccountAddress`, `identifier::Identifier`, and `transaction_argument::TransactionArgument` [INFO] [stdout] --> crates/aptos-api-types/src/move_types.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | identifier::Identifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | language_storage::{ModuleId, StructTag, TypeTag}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | parser::{parse_struct_tag, parse_type_tag}, [INFO] [stdout] 21 | transaction_argument::TransactionArgument, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ED25519_PUBLIC_KEY_LENGTH` and `ED25519_SIGNATURE_LENGTH` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ed25519::{self, Ed25519PublicKey, ED25519_PUBLIC_KEY_LENGTH, ED25519_SIGNATURE_LENGTH}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractEvent`, `EventWithVersion`, `Script`, `SignedTransaction`, and `account_address::AccountAddress` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | account_address::AccountAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | contract_event::{ContractEvent, EventWithVersion}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | Script, SignedTransaction, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`, and `boxed::Box` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | time::{SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> crates/aptos-api-types/src/wrappers.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use anyhow::{bail, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidCryptoMaterial` [INFO] [stdout] --> crates/aptos-api-types/src/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ValidCryptoMaterial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.77s [INFO] running `Command { std: "docker" "inspect" "29158158bb74cd18dc6b4d1d4e8db5c18f04fb27564a522f3a6fc039ead67c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29158158bb74cd18dc6b4d1d4e8db5c18f04fb27564a522f3a6fc039ead67c00", kill_on_drop: false }` [INFO] [stdout] 29158158bb74cd18dc6b4d1d4e8db5c18f04fb27564a522f3a6fc039ead67c00