[INFO] fetching crate rcc-aptos 0.1.0... [INFO] checking rcc-aptos-0.1.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124305 [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 c2f2db79ca3024f68d22b45aa22b570775c2c4ad [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d73d75b1f0c6f89d36f51e99169b9a7fb6847e535a0131eb1bf64e0722a9e2 [INFO] running `Command { std: "docker" "start" "-a" "c7d73d75b1f0c6f89d36f51e99169b9a7fb6847e535a0131eb1bf64e0722a9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d73d75b1f0c6f89d36f51e99169b9a7fb6847e535a0131eb1bf64e0722a9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d73d75b1f0c6f89d36f51e99169b9a7fb6847e535a0131eb1bf64e0722a9e2", kill_on_drop: false }` [INFO] [stdout] c7d73d75b1f0c6f89d36f51e99169b9a7fb6847e535a0131eb1bf64e0722a9e2 [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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c350cf03927c53ddee330504dfc07ccedfd56f4c1ec0e4372cafc4447698863 [INFO] running `Command { std: "docker" "start" "-a" "8c350cf03927c53ddee330504dfc07ccedfd56f4c1ec0e4372cafc4447698863", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking rcc-trait-chain v0.1.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.59 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking rcc-aptos v0.1.0 (/opt/rustwide/workdir) [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: `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: 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: 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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "8c350cf03927c53ddee330504dfc07ccedfd56f4c1ec0e4372cafc4447698863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c350cf03927c53ddee330504dfc07ccedfd56f4c1ec0e4372cafc4447698863", kill_on_drop: false }` [INFO] [stdout] 8c350cf03927c53ddee330504dfc07ccedfd56f4c1ec0e4372cafc4447698863 [ERROR] this task or one of its parent failed! [ERROR] error sending request for url (https://crater.rust-lang.org/agent-api/record-progress): connection closed before message completed [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rcc-aptos-0.1.0 against try#44523379467bbd2050af931a040d10c2b764b443 for pr-124305 [INFO] extracting crate rcc-aptos 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rcc-aptos 0.1.0 on toolchain 44523379467bbd2050af931a040d10c2b764b443 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44523379467bbd2050af931a040d10c2b764b443" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44523379467bbd2050af931a040d10c2b764b443" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44523379467bbd2050af931a040d10c2b764b443" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+44523379467bbd2050af931a040d10c2b764b443" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d31247cffd9da99d12c59627f9bddc9d192cc8337bea530aae9a75e3fb187fc [INFO] running `Command { std: "docker" "start" "-a" "5d31247cffd9da99d12c59627f9bddc9d192cc8337bea530aae9a75e3fb187fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d31247cffd9da99d12c59627f9bddc9d192cc8337bea530aae9a75e3fb187fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d31247cffd9da99d12c59627f9bddc9d192cc8337bea530aae9a75e3fb187fc", kill_on_drop: false }` [INFO] [stdout] 5d31247cffd9da99d12c59627f9bddc9d192cc8337bea530aae9a75e3fb187fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+44523379467bbd2050af931a040d10c2b764b443" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5489d77c78495960ca4202e03c373464b8c9d5523eaa9ed361fe0872edd7181 [INFO] running `Command { std: "docker" "start" "-a" "a5489d77c78495960ca4202e03c373464b8c9d5523eaa9ed361fe0872edd7181", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking rcc-trait-chain v0.1.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.59 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking rcc-aptos v0.1.0 (/opt/rustwide/workdir) [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: `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: 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 `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 `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: 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: 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`, `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`, `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 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.63s [INFO] running `Command { std: "docker" "inspect" "a5489d77c78495960ca4202e03c373464b8c9d5523eaa9ed361fe0872edd7181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5489d77c78495960ca4202e03c373464b8c9d5523eaa9ed361fe0872edd7181", kill_on_drop: false }` [INFO] [stdout] a5489d77c78495960ca4202e03c373464b8c9d5523eaa9ed361fe0872edd7181