[INFO] cloning repository https://github.com/nblockbuster/bungie-lua-decompiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nblockbuster/bungie-lua-decompiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnblockbuster%2Fbungie-lua-decompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnblockbuster%2Fbungie-lua-decompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36e0ac28a640b81527c218484c3aa7264bec697d [INFO] testing nblockbuster/bungie-lua-decompiler against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnblockbuster%2Fbungie-lua-decompiler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nblockbuster/bungie-lua-decompiler [INFO] finished tweaking git repo https://github.com/nblockbuster/bungie-lua-decompiler [INFO] tweaked toml for git repo https://github.com/nblockbuster/bungie-lua-decompiler written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nblockbuster/bungie-lua-decompiler on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nblockbuster/bungie-lua-decompiler 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded binrw v0.11.2 [INFO] [stderr] Downloaded binrw_derive v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dde57a1d704aece6327797d3c7b771f73e7fbe3e34b3db841eeb6bc7547f322b [INFO] running `Command { std: "docker" "start" "-a" "dde57a1d704aece6327797d3c7b771f73e7fbe3e34b3db841eeb6bc7547f322b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dde57a1d704aece6327797d3c7b771f73e7fbe3e34b3db841eeb6bc7547f322b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde57a1d704aece6327797d3c7b771f73e7fbe3e34b3db841eeb6bc7547f322b", kill_on_drop: false }` [INFO] [stdout] dde57a1d704aece6327797d3c7b771f73e7fbe3e34b3db841eeb6bc7547f322b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84e84548cbb222831eef79d071e3a225ec489562daef145f1096ee229136ee5 [INFO] running `Command { std: "docker" "start" "-a" "a84e84548cbb222831eef79d071e3a225ec489562daef145f1096ee229136ee5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling binrw_derive v0.11.2 [INFO] [stderr] Compiling binrw v0.11.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling bungie-lua-decompiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LuaHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub endianness: LuaEndian, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub int_size: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub size_t: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub instruction_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub number_size: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub number_type: LuaNumberType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub integral_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub unk: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | TypeConstants(TypeConstsSection), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LuaSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - TypeConstants(TypeConstsSection), [INFO] [stdout] 41 + TypeConstants(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constants_amount` and `constants` are never read [INFO] [stdout] --> src/structs.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct TypeConstsSection { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | pub constants_amount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | #[br(count = constants_amount)] [INFO] [stdout] 50 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConstsSection` 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 `constant_type`, `string_size`, and `const_string` are never read [INFO] [stdout] --> src/structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaConstant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | pub constant_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub const_string: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaConstant` 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 `unk9` is never read [INFO] [stdout] --> src/structs.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct FunctionBlock { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub unk9: u32, // 0x00000006 - slot count? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionBlock` 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 `unk0` is never read [INFO] [stdout] --> src/structs.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ChildFunction { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pub unk0: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildFunction` 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 `mode` and `value` are never read [INFO] [stdout] --> src/structs.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct OpArg { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub mode: OpArgMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | pub value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpArg` 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 `constants_amount` and `constants` are never read [INFO] [stdout] --> src/structs.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct BungieConstsSection { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 190 | // #[br(pad_before = 0x1)] [INFO] [stdout] 191 | pub constants_amount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | #[br(count = constants_amount)] [INFO] [stdout] 193 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstsSection` 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 `constant_type` and `constant` are never read [INFO] [stdout] --> src/structs.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct BungieConstant { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 199 | pub constant_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 200 | #[br(args(constant_type))] [INFO] [stdout] 201 | pub constant: BungieConstantEnum, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstant` 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 `0` is never read [INFO] [stdout] --> src/structs.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | Bool(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 - Bool(u8), [INFO] [stdout] 210 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | LightUserData(i64), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 212 - LightUserData(i64), [INFO] [stdout] 212 + LightUserData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | Number(f32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 214 - Number(f32), [INFO] [stdout] 214 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | String(BungieConstantString), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 216 - String(BungieConstantString), [INFO] [stdout] 216 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 - U64(u64), [INFO] [stdout] 218 + U64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string_size` and `const_string` are never read [INFO] [stdout] --> src/structs.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BungieConstantString { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub const_string: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantString` 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: multiple fields are never read [INFO] [stdout] --> src/structs.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct DebugInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 232 | pub line_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 233 | pub locals_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 234 | pub upvalue_count_2: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 235 | pub line_begin: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 236 | pub line_end: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 237 | [INFO] [stdout] 238 | pub path_string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 239 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = path_string_size)] [INFO] [stdout] 240 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | [INFO] [stdout] 242 | pub function_string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = function_string_size)] [INFO] [stdout] 244 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub upvalues: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` 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 `string_size`, `local_name`, `start`, and `end` are never read [INFO] [stdout] --> src/structs.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct DebugLocal { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 259 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 260 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stdout] 261 | pub local_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | pub start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 263 | pub end: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugLocal` 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 `string_size` and `string` are never read [INFO] [stdout] --> src/structs.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct DebugUpvalue { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 269 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 270 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stdout] 271 | pub string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugUpvalue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.31s [INFO] running `Command { std: "docker" "inspect" "a84e84548cbb222831eef79d071e3a225ec489562daef145f1096ee229136ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84e84548cbb222831eef79d071e3a225ec489562daef145f1096ee229136ee5", kill_on_drop: false }` [INFO] [stdout] a84e84548cbb222831eef79d071e3a225ec489562daef145f1096ee229136ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99264f26bd5a9f2f71b01bfc534f34051fcbf00a02fbb96c3d3bef0af301a218 [INFO] running `Command { std: "docker" "start" "-a" "99264f26bd5a9f2f71b01bfc534f34051fcbf00a02fbb96c3d3bef0af301a218", kill_on_drop: false }` [INFO] [stderr] Compiling bungie-lua-decompiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LuaHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub endianness: LuaEndian, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub int_size: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub size_t: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub instruction_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub number_size: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub number_type: LuaNumberType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub integral_flag: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub unk: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | TypeConstants(TypeConstsSection), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LuaSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - TypeConstants(TypeConstsSection), [INFO] [stdout] 41 + TypeConstants(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constants_amount` and `constants` are never read [INFO] [stdout] --> src/structs.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct TypeConstsSection { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | pub constants_amount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | #[br(count = constants_amount)] [INFO] [stdout] 50 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeConstsSection` 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 `constant_type`, `string_size`, and `const_string` are never read [INFO] [stdout] --> src/structs.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LuaConstant { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | pub constant_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub const_string: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LuaConstant` 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 `unk9` is never read [INFO] [stdout] --> src/structs.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct FunctionBlock { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub unk9: u32, // 0x00000006 - slot count? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionBlock` 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 `unk0` is never read [INFO] [stdout] --> src/structs.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ChildFunction { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | pub unk0: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChildFunction` 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 `mode` and `value` are never read [INFO] [stdout] --> src/structs.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct OpArg { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub mode: OpArgMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | pub value: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpArg` 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 `constants_amount` and `constants` are never read [INFO] [stdout] --> src/structs.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct BungieConstsSection { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 190 | // #[br(pad_before = 0x1)] [INFO] [stdout] 191 | pub constants_amount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | #[br(count = constants_amount)] [INFO] [stdout] 193 | pub constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstsSection` 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 `constant_type` and `constant` are never read [INFO] [stdout] --> src/structs.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct BungieConstant { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 199 | pub constant_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 200 | #[br(args(constant_type))] [INFO] [stdout] 201 | pub constant: BungieConstantEnum, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstant` 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 `0` is never read [INFO] [stdout] --> src/structs.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | Bool(u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 210 - Bool(u8), [INFO] [stdout] 210 + Bool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | LightUserData(i64), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 212 - LightUserData(i64), [INFO] [stdout] 212 + LightUserData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | Number(f32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 214 - Number(f32), [INFO] [stdout] 214 + Number(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | String(BungieConstantString), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 216 - String(BungieConstantString), [INFO] [stdout] 216 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structs.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 - U64(u64), [INFO] [stdout] 218 + U64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string_size` and `const_string` are never read [INFO] [stdout] --> src/structs.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BungieConstantString { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub const_string: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BungieConstantString` 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: multiple fields are never read [INFO] [stdout] --> src/structs.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct DebugInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 232 | pub line_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 233 | pub locals_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 234 | pub upvalue_count_2: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 235 | pub line_begin: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 236 | pub line_end: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 237 | [INFO] [stdout] 238 | pub path_string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 239 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = path_string_size)] [INFO] [stdout] 240 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | [INFO] [stdout] 242 | pub function_string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = function_string_size)] [INFO] [stdout] 244 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub upvalues: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` 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 `string_size`, `local_name`, `start`, and `end` are never read [INFO] [stdout] --> src/structs.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct DebugLocal { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 259 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 260 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stdout] 261 | pub local_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 262 | pub start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 263 | pub end: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugLocal` 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 `string_size` and `string` are never read [INFO] [stdout] --> src/structs.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct DebugUpvalue { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 269 | pub string_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 270 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stdout] 271 | pub string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugUpvalue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "99264f26bd5a9f2f71b01bfc534f34051fcbf00a02fbb96c3d3bef0af301a218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99264f26bd5a9f2f71b01bfc534f34051fcbf00a02fbb96c3d3bef0af301a218", kill_on_drop: false }` [INFO] [stdout] 99264f26bd5a9f2f71b01bfc534f34051fcbf00a02fbb96c3d3bef0af301a218 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a4cb78b04654c13c719c5178c5e3a033e6cdeb3cdde9fe51788fccf77cb5f2b [INFO] running `Command { std: "docker" "start" "-a" "4a4cb78b04654c13c719c5178c5e3a033e6cdeb3cdde9fe51788fccf77cb5f2b", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/structs.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct LuaHeader { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | pub endianness: LuaEndian, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 24 | pub int_size: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 25 | pub size_t: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | pub instruction_size: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | pub number_size: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 28 | pub number_type: LuaNumberType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 29 | pub integral_flag: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 30 | pub unk: u8, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LuaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | TypeConstants(TypeConstsSection), [INFO] [stderr] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `LuaSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 41 - TypeConstants(TypeConstsSection), [INFO] [stderr] 41 + TypeConstants(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `constants_amount` and `constants` are never read [INFO] [stderr] --> src/structs.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct TypeConstsSection { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 48 | pub constants_amount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | #[br(count = constants_amount)] [INFO] [stderr] 50 | pub constants: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeConstsSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `constant_type`, `string_size`, and `const_string` are never read [INFO] [stderr] --> src/structs.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct LuaConstant { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 56 | pub constant_type: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 57 | pub string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub const_string: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LuaConstant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unk9` is never read [INFO] [stderr] --> src/structs.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct FunctionBlock { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 81 | pub unk9: u32, // 0x00000006 - slot count? [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unk0` is never read [INFO] [stderr] --> src/structs.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct ChildFunction { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 109 | pub unk0: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChildFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `mode` and `value` are never read [INFO] [stderr] --> src/structs.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 182 | pub struct OpArg { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 183 | pub mode: OpArgMode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 184 | pub value: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpArg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `constants_amount` and `constants` are never read [INFO] [stderr] --> src/structs.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 189 | pub struct BungieConstsSection { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 190 | // #[br(pad_before = 0x1)] [INFO] [stderr] 191 | pub constants_amount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 192 | #[br(count = constants_amount)] [INFO] [stderr] 193 | pub constants: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstsSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `constant_type` and `constant` are never read [INFO] [stderr] --> src/structs.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 198 | pub struct BungieConstant { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 199 | pub constant_type: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 200 | #[br(args(constant_type))] [INFO] [stderr] 201 | pub constant: BungieConstantEnum, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | Bool(u8), [INFO] [stderr] | ---- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 210 - Bool(u8), [INFO] [stderr] 210 + Bool(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:212:19 [INFO] [stderr] | [INFO] [stderr] 212 | LightUserData(i64), [INFO] [stderr] | ------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 212 - LightUserData(i64), [INFO] [stderr] 212 + LightUserData(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | Number(f32), [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 214 - Number(f32), [INFO] [stderr] 214 + Number(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:216:12 [INFO] [stderr] | [INFO] [stderr] 216 | String(BungieConstantString), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 216 - String(BungieConstantString), [INFO] [stderr] 216 + String(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/structs.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | U64(u64), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 218 - U64(u64), [INFO] [stderr] 218 + U64(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `string_size` and `const_string` are never read [INFO] [stderr] --> src/structs.rs:223:9 [INFO] [stderr] | [INFO] [stderr] 222 | pub struct BungieConstantString { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 223 | pub string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | pub const_string: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BungieConstantString` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/structs.rs:232:9 [INFO] [stderr] | [INFO] [stderr] 231 | pub struct DebugInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 232 | pub line_count: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 233 | pub locals_count: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 234 | pub upvalue_count_2: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 235 | pub line_begin: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 236 | pub line_end: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 237 | [INFO] [stderr] 238 | pub path_string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 239 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = path_string_size)] [INFO] [stderr] 240 | pub path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 241 | [INFO] [stderr] 242 | pub function_string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 243 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = function_string_size)] [INFO] [stderr] 244 | pub function_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | pub lines: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 250 | pub locals: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | pub upvalues: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DebugInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `string_size`, `local_name`, `start`, and `end` are never read [INFO] [stderr] --> src/structs.rs:259:9 [INFO] [stderr] | [INFO] [stderr] 258 | pub struct DebugLocal { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 259 | pub string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 260 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stderr] 261 | pub local_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 262 | pub start: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 263 | pub end: i32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DebugLocal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `string_size` and `string` are never read [INFO] [stderr] --> src/structs.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 268 | pub struct DebugUpvalue { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 269 | pub string_size: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 270 | #[br(map = |s: Vec| String::from_utf8_lossy(&s).trim_end_matches('\0').to_string(), count = string_size)] [INFO] [stderr] 271 | pub string: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DebugUpvalue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `bungie-lua-decompiler` (bin "bungie-lua-decompiler" test) generated 18 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bungie_lua_decompiler-aba46596813ff87d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4a4cb78b04654c13c719c5178c5e3a033e6cdeb3cdde9fe51788fccf77cb5f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4cb78b04654c13c719c5178c5e3a033e6cdeb3cdde9fe51788fccf77cb5f2b", kill_on_drop: false }` [INFO] [stdout] 4a4cb78b04654c13c719c5178c5e3a033e6cdeb3cdde9fe51788fccf77cb5f2b