[INFO] cloning repository https://github.com/Rexagon/boc-visualizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rexagon/boc-visualizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexagon%2Fboc-visualizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexagon%2Fboc-visualizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99f0ff46035290b222d307c044cbd52ab8dde20f [INFO] checking Rexagon/boc-visualizer against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRexagon%2Fboc-visualizer" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rexagon/boc-visualizer on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rexagon/boc-visualizer [INFO] finished tweaking git repo https://github.com/Rexagon/boc-visualizer [INFO] tweaked toml for git repo https://github.com/Rexagon/boc-visualizer written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Rexagon/boc-visualizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-10/source/core/Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c3c0647354105760f98ec9d7e085ca712d1866308644597f60fa6a94cf53acc [INFO] running `Command { std: "docker" "start" "-a" "1c3c0647354105760f98ec9d7e085ca712d1866308644597f60fa6a94cf53acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3c0647354105760f98ec9d7e085ca712d1866308644597f60fa6a94cf53acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3c0647354105760f98ec9d7e085ca712d1866308644597f60fa6a94cf53acc", kill_on_drop: false }` [INFO] [stdout] 1c3c0647354105760f98ec9d7e085ca712d1866308644597f60fa6a94cf53acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1a6508c53e6ae5199651b69fd8b7d7b5f0e89737f3b723b864dcaff8a9dd70 [INFO] running `Command { std: "docker" "start" "-a" "8b1a6508c53e6ae5199651b69fd8b7d7b5f0e89737f3b723b864dcaff8a9dd70", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/core/Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling wasm-bindgen v0.2.76 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling ton_types v1.10.2 (https://github.com/broxus/ton-labs-types.git#560f7849) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking subtle-ng v2.4.1 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ton_block v1.7.14 (https://github.com/broxus/ton-labs-block.git#226fc3e1) [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking lockfree v0.5.1 (https://github.com/tonlabs/lockfree.git#bfcb6658) [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.76 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.26 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.76 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.76 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.76 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek-ng v4.0.1 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking serde_json v1.0.67 [INFO] [stderr] Checking ed25519-dalek v1.0.1 (https://github.com/broxus/ed25519-dalek.git#e5d68fd1) [INFO] [stderr] Checking js-sys v0.3.53 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking ton_abi v2.1.0 (https://github.com/broxus/ton-labs-abi.git#a5f3dc33) [INFO] [stderr] Checking wasm-bindgen-futures v0.4.26 [INFO] [stderr] Checking wasm-bindgen-test v0.3.26 [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> core/src/bindings.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializable` [INFO] [stdout] --> core/src/bindings.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use ton_block::{Deserializable, MsgAddressInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ton_block::Deserializable` [INFO] [stdout] --> core/src/bindings.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | use ton_block::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ton_types::SliceData` [INFO] [stdout] --> core/src/bindings.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | use ton_types::SliceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> core/src/bindings.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializable` [INFO] [stdout] --> core/src/bindings.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use ton_block::{Deserializable, MsgAddressInt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ton_block::Deserializable` [INFO] [stdout] --> core/src/bindings.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | use ton_block::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ton_types::SliceData` [INFO] [stdout] --> core/src/bindings.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | use ton_types::SliceData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/bindings.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | _ => Ok(Default::default()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/bindings.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | _ => Ok(Default::default()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_js` [INFO] [stdout] --> core/src/bindings.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main_js() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> core/src/bindings.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn decode(boc: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_contract_abi` [INFO] [stdout] --> core/src/bindings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validate_contract_abi(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_abi` [INFO] [stdout] --> core/src/bindings.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn parse_abi(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_abi_entry` [INFO] [stdout] --> core/src/bindings.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn encode_abi_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tokenize(mut input: &str) -> Peekable + '_> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_token` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn first_token(input: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Comma, // `,` [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenParen` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | OpenParen, // `(` [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseParen` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | CloseParen, // `)` [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenBracket` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | OpenBracket, // `[` [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseBracket` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | CloseBracket, // `]` [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_whitespace(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ident_start` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_ident_start(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ident_continue` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_ident_continue(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cursor` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct Cursor<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_token` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn advance_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn whitespace(&mut self) -> TokenKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ident` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn ident(&mut self) -> TokenKind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_while` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn eat_while(&mut self, mut p: impl FnMut(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first(&self) -> char { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_char` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn nth_char(&self, n: usize) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_consumed` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn len_consumed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bump` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn bump(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chars` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn chars(&self) -> Chars<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EOF_CHAR` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | const EOF_CHAR: char = '\0'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_TUPLE_LEVEL` [INFO] [stdout] --> core/src/custom_abi/parser.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_TUPLE_LEVEL: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_ABI_VERSION` [INFO] [stdout] --> core/src/custom_abi/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_ABI_VERSION: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> core/src/custom_abi/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse<'a, I>(input: &'a str, mut iter: Peekable) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> core/src/custom_abi/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn function<'a, I>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `types_list` [INFO] [stdout] --> core/src/custom_abi/parser.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn types_list<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result, ParserError> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_type` [INFO] [stdout] --> core/src/custom_abi/parser.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn single_type<'a, I>(ctx: &'a mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ident` [INFO] [stdout] --> core/src/custom_abi/parser.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_ident(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ident_integer` [INFO] [stdout] --> core/src/custom_abi/parser.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn parse_ident_integer(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `abi_version` [INFO] [stdout] --> core/src/custom_abi/parser.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn abi_version<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_abi_version` [INFO] [stdout] --> core/src/custom_abi/parser.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn parse_abi_version(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `optional_brackets` [INFO] [stdout] --> core/src/custom_abi/parser.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn optional_brackets<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_delim_or_until_paren` [INFO] [stdout] --> core/src/custom_abi/parser.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn skip_delim_or_until_paren<'a, I>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tag` [INFO] [stdout] --> core/src/custom_abi/parser.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn tag<'a, I>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace0` [INFO] [stdout] --> core/src/custom_abi/parser.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn whitespace0<'a, I>(ctx: &mut Context, iter: &mut Peekable) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn eof<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result<(), ParserError> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> core/src/custom_abi/parser.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> core/src/custom_abi/parser.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | Int(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Uint` [INFO] [stdout] --> core/src/custom_abi/parser.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | Uint(u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarInt` [INFO] [stdout] --> core/src/custom_abi/parser.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | VarInt(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarUint` [INFO] [stdout] --> core/src/custom_abi/parser.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | VarUint(u16), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Address` [INFO] [stdout] --> core/src/custom_abi/parser.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> core/src/custom_abi/parser.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> core/src/custom_abi/parser.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cell` [INFO] [stdout] --> core/src/custom_abi/parser.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | Cell, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gram` [INFO] [stdout] --> core/src/custom_abi/parser.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | Gram, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_token` [INFO] [stdout] --> core/src/custom_abi/parser.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn skip_token<'a, I>(ctx: &mut Context, iter: &mut Peekable, len: usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> core/src/custom_abi/parser.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | struct Context<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> core/src/custom_abi/parser.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 373 | fn text(&self, len: usize) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `err_unexpected_token` [INFO] [stdout] --> core/src/custom_abi/parser.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | fn err_unexpected_token(&self, len: usize) -> ParserError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `err_eof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | fn err_eof(&self) -> ParserError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> core/src/custom_abi/parser.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | UnexpectedToken { token: String, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | UnexpectedEof { position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInteger` [INFO] [stdout] --> core/src/custom_abi/parser.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | InvalidInteger { size: u16, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TooDeepNesting` [INFO] [stdout] --> core/src/custom_abi/parser.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | TooDeepNesting { depth: usize, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidAbiVersion` [INFO] [stdout] --> core/src/custom_abi/parser.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | InvalidAbiVersion { version: u8, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> core/src/custom_abi/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse(input: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/bindings.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | _ => Ok(Default::default()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> core/src/bindings.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | _ => Ok(Default::default()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_js` [INFO] [stdout] --> core/src/bindings.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main_js() -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> core/src/bindings.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn decode(boc: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_contract_abi` [INFO] [stdout] --> core/src/bindings.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validate_contract_abi(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_abi` [INFO] [stdout] --> core/src/bindings.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn parse_abi(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_abi_entry` [INFO] [stdout] --> core/src/bindings.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn encode_abi_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tokenize(mut input: &str) -> Peekable + '_> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_token` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn first_token(input: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Comma, // `,` [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenParen` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | OpenParen, // `(` [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseParen` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | CloseParen, // `)` [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenBracket` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | OpenBracket, // `[` [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CloseBracket` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | CloseBracket, // `]` [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_whitespace(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ident_start` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn is_ident_start(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_ident_continue` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_ident_continue(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cursor` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct Cursor<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance_token` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn advance_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `whitespace` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn whitespace(&mut self) -> TokenKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ident` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn ident(&mut self) -> TokenKind { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eat_while` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn eat_while(&mut self, mut p: impl FnMut(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first(&self) -> char { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nth_char` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn nth_char(&self, n: usize) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len_consumed` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn len_consumed(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bump` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn bump(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chars` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | fn chars(&self) -> Chars<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EOF_CHAR` [INFO] [stdout] --> core/src/custom_abi/lexer.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | const EOF_CHAR: char = '\0'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_TUPLE_LEVEL` [INFO] [stdout] --> core/src/custom_abi/parser.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const MAX_TUPLE_LEVEL: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_ABI_VERSION` [INFO] [stdout] --> core/src/custom_abi/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_ABI_VERSION: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> core/src/custom_abi/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse<'a, I>(input: &'a str, mut iter: Peekable) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> core/src/custom_abi/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn function<'a, I>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `types_list` [INFO] [stdout] --> core/src/custom_abi/parser.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn types_list<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result, ParserError> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_type` [INFO] [stdout] --> core/src/custom_abi/parser.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn single_type<'a, I>(ctx: &'a mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ident` [INFO] [stdout] --> core/src/custom_abi/parser.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_ident(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ident_integer` [INFO] [stdout] --> core/src/custom_abi/parser.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn parse_ident_integer(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `abi_version` [INFO] [stdout] --> core/src/custom_abi/parser.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn abi_version<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_abi_version` [INFO] [stdout] --> core/src/custom_abi/parser.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn parse_abi_version(position: usize, ident: &str) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `optional_brackets` [INFO] [stdout] --> core/src/custom_abi/parser.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn optional_brackets<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_delim_or_until_paren` [INFO] [stdout] --> core/src/custom_abi/parser.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn skip_delim_or_until_paren<'a, I>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tag` [INFO] [stdout] --> core/src/custom_abi/parser.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn tag<'a, I>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace0` [INFO] [stdout] --> core/src/custom_abi/parser.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn whitespace0<'a, I>(ctx: &mut Context, iter: &mut Peekable) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn eof<'a, I>(ctx: &mut Context, iter: &mut Peekable) -> Result<(), ParserError> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> core/src/custom_abi/parser.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> core/src/custom_abi/parser.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | Int(u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Uint` [INFO] [stdout] --> core/src/custom_abi/parser.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | Uint(u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarInt` [INFO] [stdout] --> core/src/custom_abi/parser.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | VarInt(u16), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarUint` [INFO] [stdout] --> core/src/custom_abi/parser.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | VarUint(u16), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Address` [INFO] [stdout] --> core/src/custom_abi/parser.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> core/src/custom_abi/parser.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> core/src/custom_abi/parser.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cell` [INFO] [stdout] --> core/src/custom_abi/parser.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | Cell, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gram` [INFO] [stdout] --> core/src/custom_abi/parser.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | Gram, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skip_token` [INFO] [stdout] --> core/src/custom_abi/parser.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn skip_token<'a, I>(ctx: &mut Context, iter: &mut Peekable, len: usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> core/src/custom_abi/parser.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | struct Context<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> core/src/custom_abi/parser.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 373 | fn text(&self, len: usize) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `err_unexpected_token` [INFO] [stdout] --> core/src/custom_abi/parser.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | fn err_unexpected_token(&self, len: usize) -> ParserError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `err_eof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | fn err_eof(&self) -> ParserError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> core/src/custom_abi/parser.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | UnexpectedToken { token: String, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedEof` [INFO] [stdout] --> core/src/custom_abi/parser.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | UnexpectedEof { position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInteger` [INFO] [stdout] --> core/src/custom_abi/parser.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | InvalidInteger { size: u16, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TooDeepNesting` [INFO] [stdout] --> core/src/custom_abi/parser.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | TooDeepNesting { depth: usize, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidAbiVersion` [INFO] [stdout] --> core/src/custom_abi/parser.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | InvalidAbiVersion { version: u8, position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> core/src/custom_abi/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse(input: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.30s [INFO] running `Command { std: "docker" "inspect" "8b1a6508c53e6ae5199651b69fd8b7d7b5f0e89737f3b723b864dcaff8a9dd70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1a6508c53e6ae5199651b69fd8b7d7b5f0e89737f3b723b864dcaff8a9dd70", kill_on_drop: false }` [INFO] [stdout] 8b1a6508c53e6ae5199651b69fd8b7d7b5f0e89737f3b723b864dcaff8a9dd70