[INFO] cloning repository https://github.com/codewithayuu/solang-lens [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codewithayuu/solang-lens" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodewithayuu%2Fsolang-lens", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodewithayuu%2Fsolang-lens'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e4a24eb8fa60f17048a3414dfc0c06b7f4c7453 [INFO] checking codewithayuu/solang-lens against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodewithayuu%2Fsolang-lens" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codewithayuu/solang-lens [INFO] finished tweaking git repo https://github.com/codewithayuu/solang-lens [INFO] tweaked toml for git repo https://github.com/codewithayuu/solang-lens written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codewithayuu/solang-lens on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codewithayuu/solang-lens already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/hyperledger/solang` [INFO] [stderr] Updating git submodule `https://github.com/tornadocash/tornado-cli.git` [INFO] [stderr] Updating git submodule `https://github.com/ethereum/solidity` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.8.12 [INFO] [stderr] Adding diff v0.1.13 [INFO] [stderr] Adding hashbrown v0.14.5 [INFO] [stderr] Adding pretty_assertions v1.4.1 [INFO] [stderr] Adding wasmparser v0.216.1 (available: v0.255.0) [INFO] [stderr] Adding yansi v1.0.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leb128 v0.2.6 [INFO] [stderr] Downloaded wasm-encoder v0.202.0 [INFO] [stderr] Downloaded linkme-impl v0.3.36 [INFO] [stderr] Downloaded scale-decode-derive v0.11.1 [INFO] [stderr] Downloaded ink_primitives v5.1.1 [INFO] [stderr] Downloaded scale-type-resolver v0.1.1 [INFO] [stderr] Downloaded xcm-procedural v8.0.0 [INFO] [stderr] Downloaded ink_metadata v5.1.1 [INFO] [stderr] Downloaded linkme v0.3.36 [INFO] [stderr] Downloaded ink_prelude v5.1.1 [INFO] [stderr] Downloaded ink_allocator v5.1.1 [INFO] [stderr] Downloaded const_env_impl v0.1.5 [INFO] [stderr] Downloaded scale-encode-derive v0.6.0 [INFO] [stderr] Downloaded ink_storage_traits v5.1.1 [INFO] [stderr] Downloaded scale-bits v0.5.0 [INFO] [stderr] Downloaded sp-weights v31.1.0 [INFO] [stderr] Downloaded const_env v0.1.5 [INFO] [stderr] Downloaded pallet-contracts-uapi v9.0.0 [INFO] [stderr] Downloaded scale-encode v0.6.0 [INFO] [stderr] Downloaded bounded-collections v0.2.4 [INFO] [stderr] Downloaded ink_engine v5.1.1 [INFO] [stderr] Downloaded contract-metadata v4.1.3 [INFO] [stderr] Downloaded scale-decode v0.11.1 [INFO] [stderr] Downloaded wasmparser v0.202.0 [INFO] [stderr] Downloaded ink_env v5.1.1 [INFO] [stderr] Downloaded sp-arithmetic v26.1.0 [INFO] [stderr] Downloaded staging-xcm v11.0.0 [INFO] [stderr] Downloaded wasmparser v0.216.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223 [INFO] running `Command { std: "docker" "start" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling winnow v1.0.2 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking konst_macro_rules v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking konst v0.2.20 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking scale-type-resolver v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling linkme-impl v0.3.36 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking ink_prelude v5.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling linkme v0.3.36 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Checking const_format v0.2.36 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking semver v1.0.28 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking pallet-contracts-uapi v9.0.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking sha3 v0.10.9 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling solang v0.3.4 (https://github.com/hyperledger/solang?branch=main#6ce21bc8) [INFO] [stderr] Checking ink_allocator v5.1.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking leb128 v0.2.6 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking wasm-encoder v0.202.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking wasmparser v0.202.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking normalize-path v0.2.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling const_env_impl v0.1.5 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking zerofrom v0.1.7 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling xcm-procedural v8.0.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-decode-derive v0.11.1 [INFO] [stderr] Compiling scale-encode-derive v0.6.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling const_env v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking clap_complete v4.6.3 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking schnorrkel v0.11.5 [INFO] [stderr] Checking schemars v0.8.22 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking anchor-syn v0.29.0 [INFO] [stderr] Checking parse-display v0.9.1 [INFO] [stderr] Checking wasmparser v0.216.1 [INFO] [stderr] Checking scale-bits v0.5.0 [INFO] [stderr] Checking scale-encode v0.6.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking scale-decode v0.11.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking contract-metadata v4.1.3 [INFO] [stderr] Checking sp-arithmetic v26.1.0 [INFO] [stderr] Checking bounded-collections v0.2.4 [INFO] [stderr] Compiling solang-parser v0.3.5 (https://github.com/hyperledger/solang?branch=main#6ce21bc8) [INFO] [stderr] Checking ink_primitives v5.1.1 [INFO] [stderr] Checking ink_metadata v5.1.1 [INFO] [stderr] Checking ink_engine v5.1.1 [INFO] [stderr] Checking sp-weights v31.1.0 [INFO] [stderr] Checking staging-xcm v11.0.0 [INFO] [stderr] Checking ink_storage_traits v5.1.1 [INFO] [stderr] Checking ink_env v5.1.1 [INFO] [stderr] Checking solang-lens v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BinaryReader` [INFO] [stdout] --> src/wasm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryReader, ExternalKind, Parser, Payload, TypeRef, ValType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryReader` [INFO] [stdout] --> src/wasm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryReader, ExternalKind, Parser, Payload, TypeRef, ValType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut ns = parse_and_resolve( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut ns = parse_and_resolve( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated` [INFO] [stdout] --> src/report.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | generated: &GeneratedContract, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> src/report.rs:580:64 [INFO] [stdout] | [INFO] [stdout] 580 | sol.params.iter().zip(sor.params.iter().skip(1)).any(|(sp, gp)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated` [INFO] [stdout] --> src/report.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | generated: &GeneratedContract, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> src/report.rs:580:64 [INFO] [stdout] | [INFO] [stdout] 580 | sol.params.iter().zip(sor.params.iter().skip(1)).any(|(sp, gp)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> src/mapper.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl TypeMapping { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn with_note(mut self, note: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> src/mapper.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl TypeMapping { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn with_note(mut self, note: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryReader` [INFO] [stdout] --> src/wasm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryReader, ExternalKind, Parser, Payload, TypeRef, ValType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryReader` [INFO] [stdout] --> src/wasm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BinaryReader, ExternalKind, Parser, Payload, TypeRef, ValType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut ns = parse_and_resolve( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut ns = parse_and_resolve( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated` [INFO] [stdout] --> src/report.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | generated: &GeneratedContract, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> src/report.rs:580:64 [INFO] [stdout] | [INFO] [stdout] 580 | sol.params.iter().zip(sor.params.iter().skip(1)).any(|(sp, gp)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generated` [INFO] [stdout] --> src/report.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | generated: &GeneratedContract, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gp` [INFO] [stdout] --> src/report.rs:580:64 [INFO] [stdout] | [INFO] [stdout] 580 | sol.params.iter().zip(sor.params.iter().skip(1)).any(|(sp, gp)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_abi_human` is never used [INFO] [stdout] --> src/compiler.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn print_abi_human(output: &CompilationOutput) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_analyze` is never used [INFO] [stdout] --> src/compiler.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn run_analyze( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_generated_contract` is never used [INFO] [stdout] --> src/generator.rs:496:8 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn print_generated_contract(contract: &GeneratedContract) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> src/mapper.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl TypeMapping { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn with_note(mut self, note: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_params` is never used [INFO] [stdout] --> src/mapper.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeMapper { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn map_params(&self, params: &[AbiParam]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MappedParam` is never constructed [INFO] [stdout] --> src/mapper.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct MappedParam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_table` is never used [INFO] [stdout] --> src/mapper.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn print_type_table(mapper: &TypeMapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_abi_human` is never used [INFO] [stdout] --> src/compiler.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn print_abi_human(output: &CompilationOutput) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_analyze` is never used [INFO] [stdout] --> src/compiler.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn run_analyze( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_generated_contract` is never used [INFO] [stdout] --> src/generator.rs:496:8 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn print_generated_contract(contract: &GeneratedContract) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_note` is never used [INFO] [stdout] --> src/mapper.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl TypeMapping { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | fn with_note(mut self, note: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_params` is never used [INFO] [stdout] --> src/mapper.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl TypeMapper { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn map_params(&self, params: &[AbiParam]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MappedParam` is never constructed [INFO] [stdout] --> src/mapper.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct MappedParam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_type_table` is never used [INFO] [stdout] --> src/mapper.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn print_type_table(mapper: &TypeMapper) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: primitive-types v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223", kill_on_drop: false }` [INFO] [stdout] 9bc0dd6ee4a8a37cbee383f76f4528611019d3d8e79b1f2337d10ba4e48c2223