[INFO] fetching crate rcc-aptos 0.1.0... [INFO] testing rcc-aptos-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rcc-aptos 0.1.0 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rcc-aptos 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c634216db9e3e32a26c9f4d47494ef700890ae37df8b95e1f00c573482af55 [INFO] running `Command { std: "docker" "start" "-a" "83c634216db9e3e32a26c9f4d47494ef700890ae37df8b95e1f00c573482af55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c634216db9e3e32a26c9f4d47494ef700890ae37df8b95e1f00c573482af55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c634216db9e3e32a26c9f4d47494ef700890ae37df8b95e1f00c573482af55", kill_on_drop: false }` [INFO] [stdout] 83c634216db9e3e32a26c9f4d47494ef700890ae37df8b95e1f00c573482af55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 66b23d59df1942528d4bbdad70cf72af0d3d0a99dc1517848b4120dc79a34455 [INFO] running `Command { std: "docker" "start" "-a" "66b23d59df1942528d4bbdad70cf72af0d3d0a99dc1517848b4120dc79a34455", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rcc-trait-chain v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bcs v0.1.6 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.98s [INFO] running `Command { std: "docker" "inspect" "66b23d59df1942528d4bbdad70cf72af0d3d0a99dc1517848b4120dc79a34455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b23d59df1942528d4bbdad70cf72af0d3d0a99dc1517848b4120dc79a34455", kill_on_drop: false }` [INFO] [stdout] 66b23d59df1942528d4bbdad70cf72af0d3d0a99dc1517848b4120dc79a34455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 34737d2a7bcdd5ba74c853943950cba62850397f77cfa2ea73620d6b7a847cfc [INFO] running `Command { std: "docker" "start" "-a" "34737d2a7bcdd5ba74c853943950cba62850397f77cfa2ea73620d6b7a847cfc", kill_on_drop: false }` [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: 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] [stderr] Compiling 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "34737d2a7bcdd5ba74c853943950cba62850397f77cfa2ea73620d6b7a847cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34737d2a7bcdd5ba74c853943950cba62850397f77cfa2ea73620d6b7a847cfc", kill_on_drop: false }` [INFO] [stdout] 34737d2a7bcdd5ba74c853943950cba62850397f77cfa2ea73620d6b7a847cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c93cd56690ee97cfc1ca9c303fe2d81168155bfe536ca87455a820c8a7386134 [INFO] running `Command { std: "docker" "start" "-a" "c93cd56690ee97cfc1ca9c303fe2d81168155bfe536ca87455a820c8a7386134", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stderr] --> src/aptos_type/identifier.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `address20`, `address32`, and `default` [INFO] [stderr] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stderr] --> src/aptos_type/identifier.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg(any(test, feature = "fuzzing"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `address20`, `address32`, and `default` [INFO] [stderr] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `fuzzing` [INFO] [stderr] --> src/aptos_type/identifier.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg_attr(feature = "fuzzing", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `address20`, `address32`, and `default` [INFO] [stderr] = help: consider adding `fuzzing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `Module` [INFO] [stderr] --> src/aptos_type/mod.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | use module::{Module, ModuleBundle}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AptosTx` [INFO] [stderr] --> src/lib.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::parser::{AptosTx, Parser}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `deserialize_config_chain_id` is never used [INFO] [stderr] --> src/aptos_type/chain_id.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn deserialize_config_chain_id<'de, D>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `mainnet` is never used [INFO] [stderr] --> src/aptos_type/chain_id.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 156 | impl ChainId { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 170 | pub fn mainnet() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `code`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stderr] --> src/aptos_type/script.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Script { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 30 | pub fn new(code: Vec, ty_args: Vec, args: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn code(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn args(&self) -> &[TransactionArgument] { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn into_inner(self) -> (Vec, Vec, Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `module`, `function`, `ty_args`, `args`, and `into_inner` are never used [INFO] [stderr] --> src/aptos_type/script.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl EntryFunction { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 76 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn module(&self) -> &ModuleId { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn function(&self) -> &IdentStr { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn ty_args(&self) -> &[TypeTag] { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn args(&self) -> &[Vec] { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn into_inner(self) -> (ModuleId, Identifier, Vec, Vec>) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CORE_CODE_ADDRESS` is never used [INFO] [stderr] --> src/aptos_type/language_storage.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const CORE_CODE_ADDRESS: AccountAddress = AccountAddress::ONE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `address` and `type_` are never used [INFO] [stderr] --> src/aptos_type/language_storage.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 103 | impl ResourceKey { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 104 | pub fn address(&self) -> AccountAddress { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn type_(&self) -> &StructTag { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/aptos_type/language_storage.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 113 | impl ResourceKey { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 114 | pub fn new(address: AccountAddress, type_: StructTag) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `convert_txn_args` is never used [INFO] [stderr] --> src/aptos_type/transaction_argument.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn convert_txn_args(args: &[TransactionArgument]) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from` and `into_vec` are never used [INFO] [stderr] --> src/aptos_type/transaction_argument.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 91 | impl VecBytes { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 92 | pub fn from(vec_bytes: Vec>) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | pub fn into_vec(self) -> Vec> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `serialize_values` is never used [INFO] [stderr] --> src/aptos_type/value.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn serialize_values<'a, I>(vals: I) -> Vec> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `parse_string` and `parse_transaction_argument` are never used [INFO] [stderr] --> src/aptos_type/parser.rs:256:8 [INFO] [stderr] | [INFO] [stderr] 204 | impl> Parser { [INFO] [stderr] | ----------------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 256 | fn parse_string(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | fn parse_transaction_argument(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_string_list` is never used [INFO] [stderr] --> src/aptos_type/parser.rs:348:8 [INFO] [stderr] | [INFO] [stderr] 348 | pub fn parse_string_list(s: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_type_tags` is never used [INFO] [stderr] --> src/aptos_type/parser.rs:354:8 [INFO] [stderr] | [INFO] [stderr] 354 | pub fn parse_type_tags(s: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_transaction_arguments` is never used [INFO] [stderr] --> src/aptos_type/parser.rs:364:8 [INFO] [stderr] | [INFO] [stderr] 364 | pub fn parse_transaction_arguments(s: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_transaction_argument` is never used [INFO] [stderr] --> src/aptos_type/parser.rs:374:8 [INFO] [stderr] | [INFO] [stderr] 374 | pub fn parse_transaction_argument(s: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `code`, and `into_inner` are never used [INFO] [stderr] --> src/aptos_type/module.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Module { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(code: Vec) -> Module { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn code(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn into_inner(self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `singleton`, `into_inner`, and `iter` are never used [INFO] [stderr] --> src/aptos_type/module.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 40 | impl ModuleBundle { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 41 | pub fn new(codes: Vec>) -> ModuleBundle { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn singleton(code: Vec) -> ModuleBundle { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn into_inner(self) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value::String` [INFO] [stderr] --> src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | use serde_json::Value::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ALLOWED_NO_SELF_IDENTIFIERS` is never used [INFO] [stderr] --> src/aptos_type/identifier.rs:84:19 [INFO] [stderr] | [INFO] [stderr] 84 | pub(crate) static ALLOWED_NO_SELF_IDENTIFIERS: &str = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rcc-aptos` (lib) generated 22 warnings (run `cargo fix --lib -p rcc-aptos` to apply 2 suggestions) [INFO] [stderr] warning: `rcc-aptos` (lib test) generated 24 warnings (22 duplicates) (run `cargo fix --lib -p rcc-aptos --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rcc_aptos-4c2a271e46cb29de) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c93cd56690ee97cfc1ca9c303fe2d81168155bfe536ca87455a820c8a7386134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93cd56690ee97cfc1ca9c303fe2d81168155bfe536ca87455a820c8a7386134", kill_on_drop: false }` [INFO] [stdout] c93cd56690ee97cfc1ca9c303fe2d81168155bfe536ca87455a820c8a7386134