[INFO] cloning repository https://github.com/Juanperias/tinity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Juanperias/tinity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanperias%2Ftinity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanperias%2Ftinity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f46f791aee278723b67dc72c975db43d3dcccd4 [INFO] checking Juanperias/tinity against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanperias%2Ftinity" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Juanperias/tinity on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Juanperias/tinity [INFO] finished tweaking git repo https://github.com/Juanperias/tinity [INFO] tweaked toml for git repo https://github.com/Juanperias/tinity written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Juanperias/tinity 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af21af5ce66066693d1eb53fd9fdb07f377e4bdf23d1bd4e0dd50e6d2bf3c5a3 [INFO] running `Command { std: "docker" "start" "-a" "af21af5ce66066693d1eb53fd9fdb07f377e4bdf23d1bd4e0dd50e6d2bf3c5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af21af5ce66066693d1eb53fd9fdb07f377e4bdf23d1bd4e0dd50e6d2bf3c5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af21af5ce66066693d1eb53fd9fdb07f377e4bdf23d1bd4e0dd50e6d2bf3c5a3", kill_on_drop: false }` [INFO] [stdout] af21af5ce66066693d1eb53fd9fdb07f377e4bdf23d1bd4e0dd50e6d2bf3c5a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ec7699bb49c1508e8ad96aeb3b5a43d1e0a762a3cb885806396a417f3910cdb [INFO] running `Command { std: "docker" "start" "-a" "5ec7699bb49c1508e8ad96aeb3b5a43d1e0a762a3cb885806396a417f3910cdb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking tinity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::types::Type` [INFO] [stdout] --> src/parser/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::types::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::type_from_string` [INFO] [stdout] --> src/parser/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::type_from_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::Type` [INFO] [stdout] --> src/parser/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::types::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::type_from_string` [INFO] [stdout] --> src/parser/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::type_from_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/binary/elf.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | Section::Other(name, id) => self.asection(name, SectionKind::Unknown), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stype` [INFO] [stdout] --> src/parser/ast.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut stype = SymbolType::Private; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pc` [INFO] [stdout] --> src/parser/ast.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current_pc = 0x0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/ast.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | tokens: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut stype = SymbolType::Private; [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/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut functions = Vec::new(); [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/parser/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut current_function: Option = None; [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/parser/ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current_pc = 0x0; [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/parser/ast.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut functions_hashmap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/binary/elf.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | Section::Other(name, id) => self.asection(name, SectionKind::Unknown), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stype` [INFO] [stdout] --> src/parser/ast.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut stype = SymbolType::Private; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_pc` [INFO] [stdout] --> src/parser/ast.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current_pc = 0x0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/ast.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | tokens: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut stype = SymbolType::Private; [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/parser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut functions = Vec::new(); [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/parser/ast.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut current_function: Option = None; [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/parser/ast.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current_pc = 0x0; [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/parser/ast.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut functions_hashmap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Data`, `Bss`, and `Other` are never constructed [INFO] [stdout] --> src/binary/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Section { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | Text, [INFO] [stdout] 11 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Bss, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Note, [INFO] [stdout] 14 | Other(String, Option), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Global` is never constructed [INFO] [stdout] --> src/binary/symbol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SymbolType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `section` is never read [INFO] [stdout] --> src/binary/symbol.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] 22 | pub section: Section, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_name`, `set_section`, `set_content`, and `set_type` are never used [INFO] [stdout] --> src/binary/symbol.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl SymbolBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_section(mut self, section: Section) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_content(mut self, content: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_type(mut self, new_type: SymbolType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NestedFunction`, `OutsideOfFunction`, and `EndFnWithoutFn` are never constructed [INFO] [stdout] --> src/parser/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum AstError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | #[error("Nested functions are not allowed")] [INFO] [stdout] 10 | NestedFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | OutsideOfFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | EndFnWithoutFn, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 24 | Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Sum { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Load { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | Syscall, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Go { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Radd { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Rsub { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `body`, and `pc` are never read [INFO] [stdout] --> src/parser/ast.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | struct CurrentFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | pc: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Data`, `Bss`, and `Other` are never constructed [INFO] [stdout] --> src/binary/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Section { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | Text, [INFO] [stdout] 11 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Bss, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Note, [INFO] [stdout] 14 | Other(String, Option), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Global` is never constructed [INFO] [stdout] --> src/binary/symbol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SymbolType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `section` is never read [INFO] [stdout] --> src/binary/symbol.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] 22 | pub section: Section, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_name`, `set_section`, `set_content`, and `set_type` are never used [INFO] [stdout] --> src/binary/symbol.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl SymbolBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_section(mut self, section: Section) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_content(mut self, content: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_type(mut self, new_type: SymbolType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NestedFunction`, `OutsideOfFunction`, and `EndFnWithoutFn` are never constructed [INFO] [stdout] --> src/parser/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum AstError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | #[error("Nested functions are not allowed")] [INFO] [stdout] 10 | NestedFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | OutsideOfFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | EndFnWithoutFn, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 24 | Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Sum { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Load { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | Syscall, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Go { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Radd { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Rsub { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `body`, and `pc` are never read [INFO] [stdout] --> src/parser/ast.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | struct CurrentFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | pc: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "5ec7699bb49c1508e8ad96aeb3b5a43d1e0a762a3cb885806396a417f3910cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec7699bb49c1508e8ad96aeb3b5a43d1e0a762a3cb885806396a417f3910cdb", kill_on_drop: false }` [INFO] [stdout] 5ec7699bb49c1508e8ad96aeb3b5a43d1e0a762a3cb885806396a417f3910cdb