[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] building nblockbuster/bungie-lua-decompiler against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnblockbuster%2Fbungie-lua-decompiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nblockbuster/bungie-lua-decompiler on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5deea24dabc720f5827593815539d163a55c0052084c2be6226fccb72de9212c [INFO] running `Command { std: "docker" "start" "-a" "5deea24dabc720f5827593815539d163a55c0052084c2be6226fccb72de9212c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5deea24dabc720f5827593815539d163a55c0052084c2be6226fccb72de9212c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5deea24dabc720f5827593815539d163a55c0052084c2be6226fccb72de9212c", kill_on_drop: false }` [INFO] [stdout] 5deea24dabc720f5827593815539d163a55c0052084c2be6226fccb72de9212c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7221510f07b39b3439ae4369836d31067d1d6a3ca906004a824115671bb1354c [INFO] running `Command { std: "docker" "start" "-a" "7221510f07b39b3439ae4369836d31067d1d6a3ca906004a824115671bb1354c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [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 owo-colors v3.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [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.77s [INFO] running `Command { std: "docker" "inspect" "7221510f07b39b3439ae4369836d31067d1d6a3ca906004a824115671bb1354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7221510f07b39b3439ae4369836d31067d1d6a3ca906004a824115671bb1354c", kill_on_drop: false }` [INFO] [stdout] 7221510f07b39b3439ae4369836d31067d1d6a3ca906004a824115671bb1354c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4da596ec4410069b2d60b96ab8f45fa87a87e3633dc13cec6ba2b4149ccd26fe [INFO] running `Command { std: "docker" "start" "-a" "4da596ec4410069b2d60b96ab8f45fa87a87e3633dc13cec6ba2b4149ccd26fe", 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.78s [INFO] running `Command { std: "docker" "inspect" "4da596ec4410069b2d60b96ab8f45fa87a87e3633dc13cec6ba2b4149ccd26fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da596ec4410069b2d60b96ab8f45fa87a87e3633dc13cec6ba2b4149ccd26fe", kill_on_drop: false }` [INFO] [stdout] 4da596ec4410069b2d60b96ab8f45fa87a87e3633dc13cec6ba2b4149ccd26fe