[INFO] cloning repository https://github.com/liviualexandrubobocu/rust-dwarf-debugger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liviualexandrubobocu/rust-dwarf-debugger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliviualexandrubobocu%2Frust-dwarf-debugger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliviualexandrubobocu%2Frust-dwarf-debugger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 216e293c8b484beca0bb1b86d4c85d26590a24af [INFO] testing liviualexandrubobocu/rust-dwarf-debugger against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliviualexandrubobocu%2Frust-dwarf-debugger" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liviualexandrubobocu/rust-dwarf-debugger [INFO] finished tweaking git repo https://github.com/liviualexandrubobocu/rust-dwarf-debugger [INFO] tweaked toml for git repo https://github.com/liviualexandrubobocu/rust-dwarf-debugger written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liviualexandrubobocu/rust-dwarf-debugger on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liviualexandrubobocu/rust-dwarf-debugger 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f4abb416ff23169fc0a768b9018bf3d44897d6f34f1f1eeae38684ec14e0769 [INFO] running `Command { std: "docker" "start" "-a" "1f4abb416ff23169fc0a768b9018bf3d44897d6f34f1f1eeae38684ec14e0769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f4abb416ff23169fc0a768b9018bf3d44897d6f34f1f1eeae38684ec14e0769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4abb416ff23169fc0a768b9018bf3d44897d6f34f1f1eeae38684ec14e0769", kill_on_drop: false }` [INFO] [stdout] 1f4abb416ff23169fc0a768b9018bf3d44897d6f34f1f1eeae38684ec14e0769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6530ff0503cf23340f4c91d1fd78789adc4a0adc94e25d4cef7a325fa08a9142 [INFO] running `Command { std: "docker" "start" "-a" "6530ff0503cf23340f4c91d1fd78789adc4a0adc94e25d4cef7a325fa08a9142", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling memmap2 v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasmparser v0.82.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling ruzstd v0.4.0 [INFO] [stderr] Compiling js-sys v0.3.66 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rust-dwarf-debugger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/wasm_sections/global_section.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let mut dwarf_info = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 49 - let mut dwarf_info = ...; [INFO] [stdout] 49 + let mut dwarf_info = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 49 - let mut dwarf_info = ...; [INFO] [stdout] 49 + let mut dwarf_info = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/wasm_sections/global_section.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let mut dwarf_info = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 49 - let mut dwarf_info = ...; [INFO] [stdout] 49 + let mut dwarf_info = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: only foreign, `unsafe extern "C"`, or `unsafe extern "C-unwind"` functions may have a C-variadic arg [INFO] [stdout] --> src/wasm_sections/global_section.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn finalize_dwarf(dwarf_info: ...) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmparser::RefType` [INFO] [stdout] --> src/wasm_parser.rs:2:136 [INFO] [stdout] | [INFO] [stdout] 2 | ...SectionEntryType, ExternalKind, TypeDef, FuncType, RefType}; [INFO] [stdout] | ^^^^^^^ no `RefType` in the root [INFO] [stdout] | [INFO] [stdout] note: enum `crate::wasm_sections::import_section::RefType` exists but is inaccessible [INFO] [stdout] --> src/wasm_sections/import_section.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | enum RefType { [INFO] [stdout] | ^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::wasm_sections::FunctionImportInfo`, `crate::wasm_sections::GlobalImportInfo`, `crate::wasm_sections::MemoryImportInfo`, `crate::wasm_sections::TableImportInfo` [INFO] [stdout] --> src/state_management.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::wasm_sections::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `TableImportInfo` in `wasm_sections` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MemoryImportInfo` in `wasm_sections` [INFO] [stdout] | | no `GlobalImportInfo` in `wasm_sections` [INFO] [stdout] | no `FunctionImportInfo` in `wasm_sections` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::FunctionImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::GlobalImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::MemoryImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::TableImportInfo [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::wasm_sections::import_section::FunctionImportInfo`, `crate::wasm_sections::import_section::GlobalImportInfo`, `crate::wasm_sections::import_section::MemoryImportInfo`, `crate::wasm_sections::import_section::TableImportInfo` [INFO] [stdout] --> src/state_management.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::wasm_sections::import_section::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `TableImportInfo` in `wasm_sections::import_section` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MemoryImportInfo` in `wasm_sections::import_section` [INFO] [stdout] | | no `GlobalImportInfo` in `wasm_sections::import_section` [INFO] [stdout] | no `FunctionImportInfo` in `wasm_sections::import_section` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::FunctionImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::GlobalImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::MemoryImportInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wasm_sections::wasm_sections::TableImportInfo [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/wasm_parser.rs:228:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_wasm(wasm_contents: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ---------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 228 | self.function_imports.push(info); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/wasm_parser.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_wasm(wasm_contents: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ---------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 244 | self.global_imports.push(info); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/wasm_parser.rs:258:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_wasm(wasm_contents: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ---------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 258 | self.memory_imports.push(info); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/wasm_parser.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_wasm(wasm_contents: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ---------- this function can't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 273 | self.table_imports.push(info); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `source_map` in this scope [INFO] [stdout] --> src/wasm_parser.rs:296:33 [INFO] [stdout] | [INFO] [stdout] 296 | ... source_map.add_function_name(export.index, export.field.to_string()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_initializer_expression` in this scope [INFO] [stdout] --> src/wasm_parser.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | ... handle_initializer_expression(initializer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::wasm_sections::global_section::handle_initializer_expression` exists but is inaccessible [INFO] [stdout] --> src/wasm_sections/global_section.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | fn handle_initializer_expression(initializer: Vec, dwarf_unit: &mut DwarfUnit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `globals` in this scope [INFO] [stdout] --> src/wasm_sections/global_section.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | for global in globals { // Assume `globals` is your collection of GlobalType [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryType` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | Memory(MemoryType), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::wasm_sections::wasm_sections::MemoryType; [INFO] [stdout] | [INFO] [stdout] 2 + use wasmparser::MemoryType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlobalType` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Global(GlobalType), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::wasm_sections::global_section::GlobalType` exists but is inaccessible [INFO] [stdout] --> src/wasm_sections/global_section.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::wasm_sections::wasm_sections::GlobalType; [INFO] [stdout] | [INFO] [stdout] 2 + use wasmparser::GlobalType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `FunctionImportInfo` is private [INFO] [stdout] --> src/wasm_parser.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `FunctionImportInfo` is defined here [INFO] [stdout] --> src/state_management.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::wasm_sections::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `FunctionImportInfo` through the re-export [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{wasm_sections::FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `GlobalImportInfo` is private [INFO] [stdout] --> src/wasm_parser.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `GlobalImportInfo` is defined here [INFO] [stdout] --> src/state_management.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::wasm_sections::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `GlobalImportInfo` through the re-export [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, wasm_sections::GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `MemoryImportInfo` is private [INFO] [stdout] --> src/wasm_parser.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `MemoryImportInfo` is defined here [INFO] [stdout] --> src/state_management.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::wasm_sections::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `MemoryImportInfo` through the re-export [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, wasm_sections::MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unresolved item import `TableImportInfo` is private [INFO] [stdout] --> src/wasm_parser.rs:9:87 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ private unresolved item import [INFO] [stdout] | [INFO] [stdout] note: the unresolved item import `TableImportInfo` is defined here [INFO] [stdout] --> src/state_management.rs:4:84 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::wasm_sections::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, TableImportInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `TableImportInfo` through the re-export [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state_management::{FunctionImportInfo, GlobalImportInfo, MemoryImportInfo, wasm_sections::TableImportInfo}; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: C-variadic functions are unstable [INFO] [stdout] --> src/wasm_sections/global_section.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / fn finalize_dwarf(dwarf_info: ...) { [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44930 for more information [INFO] [stdout] = help: add `#![feature(c_variadic)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-07-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/wasm_sections/global_section.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use gimli::{write::{DwarfUnit, Writer}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ObjectSection` and `Object` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use object::{Object, ObjectSection}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `params` found for reference `&wasmparser::FuncType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | for param in func_type.params() { [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `returns` found for reference `&wasmparser::FuncType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | for return_type in func_type.returns() { [INFO] [stdout] | ^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wasm_parser.rs:223:67 [INFO] [stdout] | [INFO] [stdout] 223 | ... import_name: import.field.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/string.rs:2794:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 223 | import_name: import.field.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `wasmparser::GlobalType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:235:79 [INFO] [stdout] | [INFO] [stdout] 235 | ... value_type: format!("{}", global_type.content_type()), // Convert the type to a string representation [INFO] [stdout] | ^^^^^^^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_mutable` found for struct `wasmparser::GlobalType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:236:62 [INFO] [stdout] | [INFO] [stdout] 236 | ... mutable: global_type.is_mutable(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `wasmparser::GlobalType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wasm_parser.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | ... import_name: import.field.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/string.rs:2794:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 241 | import_name: import.field.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `limits` found for struct `wasmparser::MemoryType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:249:62 [INFO] [stdout] | [INFO] [stdout] 249 | ... initial: memory_type.limits().initial(), [INFO] [stdout] | ^^^^^^ method not found in `wasmparser::MemoryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `limits` found for struct `wasmparser::MemoryType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:250:62 [INFO] [stdout] | [INFO] [stdout] 250 | ... maximum: memory_type.limits().maximum(), // This might be None if there's no maximum [INFO] [stdout] | ^^^^^^ method not found in `wasmparser::MemoryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wasm_parser.rs:255:67 [INFO] [stdout] | [INFO] [stdout] 255 | ... import_name: import.field.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/string.rs:2794:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 255 | import_name: import.field.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wasm_parser.rs:263:55 [INFO] [stdout] | [INFO] [stdout] 263 | ... element_type: table_type.element_type, // Convert the element type to a string representation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `limits` found for struct `wasmparser::TableType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:264:61 [INFO] [stdout] | [INFO] [stdout] 264 | ... initial: table_type.limits().initial(), [INFO] [stdout] | ^^^^^^ method not found in `wasmparser::TableType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `limits` found for struct `wasmparser::TableType` in the current scope [INFO] [stdout] --> src/wasm_parser.rs:265:61 [INFO] [stdout] | [INFO] [stdout] 265 | ... maximum: table_type.limits().maximum(), // This might be None if there's no maximum [INFO] [stdout] | ^^^^^^ method not found in `wasmparser::TableType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wasm_parser.rs:270:67 [INFO] [stdout] | [INFO] [stdout] 270 | ... import_name: import.field.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/string.rs:2794:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 270 | import_name: import.field.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/wasm_parser.rs:308:29 [INFO] [stdout] | [INFO] [stdout] 308 | ... process_global_type(global_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `global_section::GlobalType`, found `wasmparser::GlobalType` [INFO] [stdout] | argument #2 of type `&mut DwarfUnit` is missing [INFO] [stdout] | [INFO] [stdout] = note: `wasmparser::GlobalType` and `global_section::GlobalType` have similar names, but are actually distinct types [INFO] [stdout] note: `wasmparser::GlobalType` is defined in crate `wasmparser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmparser-0.82.0/src/primitives.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `global_section::GlobalType` is defined in the current crate [INFO] [stdout] --> src/wasm_sections/global_section.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct GlobalType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/wasm_sections/global_section.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn process_global_type(global_type: GlobalType, dwarf_unit: &mut DwarfUnit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ----------------------- -------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 308 - process_global_type(global_type); [INFO] [stdout] 308 + process_global_type(/* global_section::GlobalType */, /* &mut DwarfUnit */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for mutable reference `&mut DwarfUnit` in the current scope [INFO] [stdout] --> src/wasm_sections/global_section.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let mut die = dwarf_unit.add(global_type.name, global_type.value_type); [INFO] [stdout] | ^^^ method not found in `&mut DwarfUnit` [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 33 | let mut die = dwarf_unit.line_strings.add(global_type.name, global_type.value_type); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 33 | let mut die = dwarf_unit.strings.add(global_type.name, global_type.value_type); [INFO] [stdout] | ++++++++ [INFO] [stdout] 33 | let mut die = dwarf_unit.unit.add(global_type.name, global_type.value_type); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_varuint32` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let import_count = read_varuint32( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_name` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let module_name = read_name(&mut bytes)?; // Read the module name [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_name` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let import_name = read_name(&mut bytes)?; // Read the import name [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let desc_byte = bytes.next(); // Read the descriptor byte [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_varuint32` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | 0x00 => ImportDescriptor::Function(read_varuint32(&mut bytes)?), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_table_type` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | 0x01 => ImportDescriptor::Table(read_table_type(&mut bytes)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_memory_type` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | 0x02 => ImportDescriptor::Memory(read_memory_type(&mut bytes)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_global_type` in this scope [INFO] [stdout] --> src/wasm_sections/import_section.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | 0x03 => ImportDescriptor::Global(read_global_type(&mut bytes)?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ImportEntry` has no field named `module` [INFO] [stdout] --> src/wasm_sections/import_section.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | module: module_name, [INFO] [stdout] | ^^^^^^ `ImportEntry` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_name`, `import_name`, `descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ImportEntry` has no field named `name` [INFO] [stdout] --> src/wasm_sections/import_section.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | name: import_name, [INFO] [stdout] | ^^^^ `ImportEntry` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_name`, `import_name`, `descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ImportEntry` has no field named `desc` [INFO] [stdout] --> src/wasm_sections/import_section.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | desc, [INFO] [stdout] | ^^^^ `ImportEntry` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_name`, `import_name`, `descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SectionReader` [INFO] [stdout] --> src/wasm_parser.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use wasmparser::{Parser, Payload, SectionReader, CodeSectionReader, Operator, ImportSectionEntryType, ExternalKind, TypeDef, FuncType, Re... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/wasm_parser.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use object::{Object, ObjectSection}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectSection` [INFO] [stdout] --> src/wasm_parser.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use object::{Object, ObjectSection}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abbrevs` [INFO] [stdout] --> src/wasm_parser.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | let abbrevs = dwarf.abbreviations(&unit.header)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_abbrevs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dwarf` [INFO] [stdout] --> src/wasm_parser.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | dwarf: &Dwarf, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_dwarf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/wasm_parser.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | unit: &Unit, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/wasm_parser.rs:407:34 [INFO] [stdout] | [INFO] [stdout] 407 | fn parse_entry(data: &[u8], entry: &DebuggingInformationEntry , debug_info_storage: &mut DebugInfoStorage) -> Result... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/wasm_parser.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let mut name = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/wasm_parser.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | name = Some(value.to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/wasm_parser.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | let mut name = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/wasm_parser.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | name = Some(value.to_string()?); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/source_maps.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn add_entry(&mut self, offset: usize, entry: SourceMapEntry) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_sections.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut parsed_debug_addr = Some(DebugAddr::from(EndianSlice::new(&[], LittleEndian))); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_sections.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut parsed_ranged_lists = Some(RangeLists::new(Default::default(), Default::default())); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_sections.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut dwarf = Dwarf { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initializer` [INFO] [stdout] --> src/wasm_sections/global_section.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn handle_initializer_expression(initializer: Vec, dwarf_unit: &mut DwarfUnit) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initializer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dwarf_unit` [INFO] [stdout] --> src/wasm_sections/global_section.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | fn handle_initializer_expression(initializer: Vec, dwarf_unit: &mut DwarfUnit) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dwarf_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dwarf_info` [INFO] [stdout] --> src/wasm_sections/global_section.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn finalize_dwarf(dwarf_info: ...) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dwarf_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let file = fs::File::open("C:\\Users\\liviu\\RustroverProjects\\rust-dwarf-debugger\\output.txt").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mmap = unsafe { Mmap::map(&file)? }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0424, E0425, E0432, E0560, E0586, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dwarf-debugger` (bin "rust-dwarf-debugger") due to 46 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6530ff0503cf23340f4c91d1fd78789adc4a0adc94e25d4cef7a325fa08a9142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6530ff0503cf23340f4c91d1fd78789adc4a0adc94e25d4cef7a325fa08a9142", kill_on_drop: false }` [INFO] [stdout] 6530ff0503cf23340f4c91d1fd78789adc4a0adc94e25d4cef7a325fa08a9142