[INFO] fetching crate rcc-aptos 0.1.0... [INFO] checking rcc-aptos-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rcc-aptos 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rcc-aptos 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rcc-aptos 0.1.0 [INFO] finished tweaking crates.io crate rcc-aptos 0.1.0 [INFO] tweaked toml for crates.io crate rcc-aptos 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rcc-trait-chain v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b2cb9d1d13d208b94518590a8b76c9091b91f95701a9cb0eb1866feaaa0f9a7 [INFO] running `Command { std: "docker" "start" "-a" "9b2cb9d1d13d208b94518590a8b76c9091b91f95701a9cb0eb1866feaaa0f9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2cb9d1d13d208b94518590a8b76c9091b91f95701a9cb0eb1866feaaa0f9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2cb9d1d13d208b94518590a8b76c9091b91f95701a9cb0eb1866feaaa0f9a7", kill_on_drop: false }` [INFO] [stdout] 9b2cb9d1d13d208b94518590a8b76c9091b91f95701a9cb0eb1866feaaa0f9a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85bba592ae96ea0fb292d7feb4e025d109d254bc7ffec0bb241775ac12c58488 [INFO] running `Command { std: "docker" "start" "-a" "85bba592ae96ea0fb292d7feb4e025d109d254bc7ffec0bb241775ac12c58488", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rcc-trait-chain v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking rcc-aptos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: `Module` [INFO] [stdout] --> src/aptos_type/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use module::{Module, ModuleBundle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AptosTx` [INFO] [stdout] --> src/lib.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::{AptosTx, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: unexpected `cfg` condition value: `fuzzing` [INFO] [stdout] --> src/aptos_type/identifier.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `address20`, `address32`, and `default` [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: `Module` [INFO] [stdout] --> src/aptos_type/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use module::{Module, ModuleBundle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AptosTx` [INFO] [stdout] --> src/lib.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::{AptosTx, Parser}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value::String` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use serde_json::Value::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_config_chain_id` is never used [INFO] [stdout] --> src/aptos_type/chain_id.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn deserialize_config_chain_id<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_config_chain_id` is never used [INFO] [stdout] --> src/aptos_type/chain_id.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn deserialize_config_chain_id<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mainnet` is never used [INFO] [stdout] --> src/aptos_type/chain_id.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl ChainId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn mainnet() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `code`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/script.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Script { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 30 | pub fn new(code: Vec, ty_args: Vec, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn code(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn args(&self) -> &[TransactionArgument] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn into_inner(self) -> (Vec, Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module`, `function`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/script.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl EntryFunction { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn module(&self) -> &ModuleId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn function(&self) -> &IdentStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn args(&self) -> &[Vec] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn into_inner(self) -> (ModuleId, Identifier, Vec, Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CORE_CODE_ADDRESS` is never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const CORE_CODE_ADDRESS: AccountAddress = AccountAddress::ONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address` and `type_` are never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ResourceKey { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 104 | pub fn address(&self) -> AccountAddress { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn type_(&self) -> &StructTag { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl ResourceKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(address: AccountAddress, type_: StructTag) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_txn_args` is never used [INFO] [stdout] --> src/aptos_type/transaction_argument.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn convert_txn_args(args: &[TransactionArgument]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `into_vec` are never used [INFO] [stdout] --> src/aptos_type/transaction_argument.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl VecBytes { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 92 | pub fn from(vec_bytes: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn into_vec(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_values` is never used [INFO] [stdout] --> src/aptos_type/value.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn serialize_values<'a, I>(vals: I) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_string` and `parse_transaction_argument` are never used [INFO] [stdout] --> src/aptos_type/parser.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl> Parser { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | fn parse_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn parse_transaction_argument(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string_list` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn parse_string_list(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_tags` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn parse_type_tags(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transaction_arguments` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn parse_transaction_arguments(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transaction_argument` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn parse_transaction_argument(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `code`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/module.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(code: Vec) -> Module { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn code(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `singleton`, `into_inner`, and `iter` are never used [INFO] [stdout] --> src/aptos_type/module.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ModuleBundle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new(codes: Vec>) -> ModuleBundle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn singleton(code: Vec) -> ModuleBundle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn into_inner(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mainnet` is never used [INFO] [stdout] --> src/aptos_type/chain_id.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl ChainId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn mainnet() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `code`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/script.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Script { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 30 | pub fn new(code: Vec, ty_args: Vec, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn code(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn args(&self) -> &[TransactionArgument] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn into_inner(self) -> (Vec, Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `module`, `function`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/script.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl EntryFunction { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn module(&self) -> &ModuleId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn function(&self) -> &IdentStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn args(&self) -> &[Vec] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn into_inner(self) -> (ModuleId, Identifier, Vec, Vec>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALLOWED_NO_SELF_IDENTIFIERS` is never used [INFO] [stdout] --> src/aptos_type/identifier.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) static ALLOWED_NO_SELF_IDENTIFIERS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CORE_CODE_ADDRESS` is never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const CORE_CODE_ADDRESS: AccountAddress = AccountAddress::ONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `address` and `type_` are never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ResourceKey { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 104 | pub fn address(&self) -> AccountAddress { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn type_(&self) -> &StructTag { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aptos_type/language_storage.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl ResourceKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(address: AccountAddress, type_: StructTag) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_txn_args` is never used [INFO] [stdout] --> src/aptos_type/transaction_argument.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn convert_txn_args(args: &[TransactionArgument]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `into_vec` are never used [INFO] [stdout] --> src/aptos_type/transaction_argument.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl VecBytes { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 92 | pub fn from(vec_bytes: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn into_vec(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_values` is never used [INFO] [stdout] --> src/aptos_type/value.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn serialize_values<'a, I>(vals: I) -> Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_string` and `parse_transaction_argument` are never used [INFO] [stdout] --> src/aptos_type/parser.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl> Parser { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | fn parse_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn parse_transaction_argument(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string_list` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn parse_string_list(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type_tags` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn parse_type_tags(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transaction_arguments` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn parse_transaction_arguments(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transaction_argument` is never used [INFO] [stdout] --> src/aptos_type/parser.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn parse_transaction_argument(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `code`, and `into_inner` are never used [INFO] [stdout] --> src/aptos_type/module.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(code: Vec) -> Module { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn code(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `singleton`, `into_inner`, and `iter` are never used [INFO] [stdout] --> src/aptos_type/module.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ModuleBundle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new(codes: Vec>) -> ModuleBundle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn singleton(code: Vec) -> ModuleBundle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn into_inner(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.12s [INFO] running `Command { std: "docker" "inspect" "85bba592ae96ea0fb292d7feb4e025d109d254bc7ffec0bb241775ac12c58488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85bba592ae96ea0fb292d7feb4e025d109d254bc7ffec0bb241775ac12c58488", kill_on_drop: false }` [INFO] [stdout] 85bba592ae96ea0fb292d7feb4e025d109d254bc7ffec0bb241775ac12c58488