[INFO] cloning repository https://github.com/DearVa/il_runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DearVa/il_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDearVa%2Fil_runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDearVa%2Fil_runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9675ddcbada0f63d21096760e3d21dbddef1673 [INFO] checking DearVa/il_runtime against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDearVa%2Fil_runtime" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DearVa/il_runtime on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DearVa/il_runtime [INFO] finished tweaking git repo https://github.com/DearVa/il_runtime [INFO] tweaked toml for git repo https://github.com/DearVa/il_runtime written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DearVa/il_runtime 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded likely_stable v0.1.2 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 524b44b29f7db0d9a0c7f0bf8a80f27c7fdc8e5229f7f17d5ac52dbaa03301a0 [INFO] running `Command { std: "docker" "start" "-a" "524b44b29f7db0d9a0c7f0bf8a80f27c7fdc8e5229f7f17d5ac52dbaa03301a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "524b44b29f7db0d9a0c7f0bf8a80f27c7fdc8e5229f7f17d5ac52dbaa03301a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524b44b29f7db0d9a0c7f0bf8a80f27c7fdc8e5229f7f17d5ac52dbaa03301a0", kill_on_drop: false }` [INFO] [stdout] 524b44b29f7db0d9a0c7f0bf8a80f27c7fdc8e5229f7f17d5ac52dbaa03301a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43ca2ec176d3960a961aeb0a76dd5c7ff435870aebb0d5c4d15074617e4d53e4 [INFO] running `Command { std: "docker" "start" "-a" "43ca2ec176d3960a961aeb0a76dd5c7ff435870aebb0d5c4d15074617e4d53e4", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling likely_stable v0.1.2 [INFO] [stderr] Checking il_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `type_sig::TypeSig` [INFO] [stdout] --> src/interpreter/method_spec.rs:3:125 [INFO] [stdout] | [INFO] [stdout] 3 | ...m::MDType}, calling_convention_sig::CallingConventionSig, type_sig::TypeSig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `type_sig::TypeSig` [INFO] [stdout] --> src/interpreter/method_spec.rs:3:125 [INFO] [stdout] | [INFO] [stdout] 3 | ...m::MDType}, calling_convention_sig::CallingConventionSig, type_sig::TypeSig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `index_get_mut`, and `remove` are never used [INFO] [stdout] --> src/hash_vec.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HashVec where K: Eq + Hash { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn index_get_mut(&mut self, index: usize) -> Option<&mut V> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve_cor_lib_type` is never used [INFO] [stdout] --> src/interpreter.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Assembly { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn resolve_cor_lib_type(&self, cor_lib_type: &CorLibType) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Usize` is never constructed [INFO] [stdout] --> src/interpreter/il_type.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ILValType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Usize(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ILValType` 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: associated items `is_ref` and `from_signatures` are never used [INFO] [stdout] --> src/interpreter/il_type.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ILType { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 158 | pub fn is_ref(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn from_signatures(sigs: Vec<&CallingConventionSig>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/interpreter/metadata.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PE { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 27 | nt_headers_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | num_of_sections: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pointer_to_symbol_table: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | num_of_symbols: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | size_of_optional_header: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PE` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_from_rids` is never used [INFO] [stdout] --> src/interpreter/metadata.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl RidList { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn create_from_rids(rids: Vec) -> RidList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IL`, `Native`, `OPTIL`, and `Runtime` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum CodeType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 145 | IL, [INFO] [stdout] | ^^ [INFO] [stdout] 146 | Native, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | OPTIL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Managed` and `Unmanaged` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Managed { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 152 | Managed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 153 | Unmanaged [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/interpreter/method.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum CommonImplAttrFlagInfo { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 157 | NoInlining = 0x0008, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | ForwardRef = 0x0010, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | Synchronized = 0x0020, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | NoOptimization = 0x0040, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | PreserveSig = 0x0080, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 162 | AggressiveInlining = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | AggressiveOptimization = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | SecurityMitigations = 0x0400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CodeType` and `Managed` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum ImplAttrFlagInfo { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 169 | CodeType(CodeType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | Managed(Managed), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeSig`, `LeafSig`, `TypeDefOrRefSig`, `GenericSig`, `NoLeafSig`, and `ModifierSig` are never constructed [INFO] [stdout] --> src/interpreter/type_sig.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TypeSig { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | TypeSig(TypeSigBase), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | LeafSig(LeafSig), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | TypeDefOrRefSig(TypeDefOrRefSig), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | GenericSig(GenericSig), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | NoLeafSig(NoLeafSig), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ModifierSig(ModifierSig), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_method_sig` is never used [INFO] [stdout] --> src/interpreter/calling_convention_sig.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl CallingConventionSig { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 46 | pub fn to_method_sig(&self) -> &MethodSig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_is_default`, `set_generic`, `get_has_this`, `set_has_this`, `get_explicit_this`, and `set_explicit_this` are never used [INFO] [stdout] --> src/interpreter/calling_convention_sig.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl CallingConventionSigBase { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn set_generic(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_has_this(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn set_has_this(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn get_explicit_this(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn set_explicit_this(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/interpreter/object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Object { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | /// 包括locked、pinned、gc_mark和代 [INFO] [stdout] 9 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_type_token`, `is_locked`, `is_pinned`, `get_generation`, `get_gc_mark`, and `set_gc_mark` are never used [INFO] [stdout] --> src/interpreter/object.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn parse_type_token(type_token: u32) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_locked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_pinned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_generation(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_gc_mark(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn set_gc_mark(&mut self, mark: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::checked_sub` that must be used [INFO] [stdout] --> src/interpreter/il_type.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | self.offset.checked_sub(off.wrapping_abs() as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = self.offset.checked_sub(off.wrapping_abs() as usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::checked_add` that must be used [INFO] [stdout] --> src/interpreter/il_type.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | self.offset.checked_add(off as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = self.offset.checked_add(off as usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextSig` should have a snake case name [INFO] [stdout] --> src/interpreter/type_sig.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | pub nextSig : Option>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `index_get_mut`, and `remove` are never used [INFO] [stdout] --> src/hash_vec.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HashVec where K: Eq + Hash { [INFO] [stdout] | ------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn index_get_mut(&mut self, index: usize) -> Option<&mut V> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve_cor_lib_type` is never used [INFO] [stdout] --> src/interpreter.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Assembly { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn resolve_cor_lib_type(&self, cor_lib_type: &CorLibType) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Usize` is never constructed [INFO] [stdout] --> src/interpreter/il_type.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ILValType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Usize(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ILValType` 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: associated items `is_ref` and `from_signatures` are never used [INFO] [stdout] --> src/interpreter/il_type.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl ILType { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 158 | pub fn is_ref(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn from_signatures(sigs: Vec<&CallingConventionSig>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/interpreter/metadata.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PE { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 27 | nt_headers_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | num_of_sections: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pointer_to_symbol_table: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | num_of_symbols: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | size_of_optional_header: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PE` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_from_rids` is never used [INFO] [stdout] --> src/interpreter/metadata.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl RidList { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn create_from_rids(rids: Vec) -> RidList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IL`, `Native`, `OPTIL`, and `Runtime` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum CodeType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 145 | IL, [INFO] [stdout] | ^^ [INFO] [stdout] 146 | Native, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | OPTIL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Managed` and `Unmanaged` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum Managed { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 152 | Managed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 153 | Unmanaged [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/interpreter/method.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum CommonImplAttrFlagInfo { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 157 | NoInlining = 0x0008, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | ForwardRef = 0x0010, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | Synchronized = 0x0020, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | NoOptimization = 0x0040, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | PreserveSig = 0x0080, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 162 | AggressiveInlining = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | AggressiveOptimization = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | SecurityMitigations = 0x0400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CodeType` and `Managed` are never constructed [INFO] [stdout] --> src/interpreter/method.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum ImplAttrFlagInfo { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 169 | CodeType(CodeType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | Managed(Managed), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeSig`, `LeafSig`, `TypeDefOrRefSig`, `GenericSig`, `NoLeafSig`, and `ModifierSig` are never constructed [INFO] [stdout] --> src/interpreter/type_sig.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TypeSig { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 10 | TypeSig(TypeSigBase), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | LeafSig(LeafSig), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | TypeDefOrRefSig(TypeDefOrRefSig), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | GenericSig(GenericSig), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | NoLeafSig(NoLeafSig), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ModifierSig(ModifierSig), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_method_sig` is never used [INFO] [stdout] --> src/interpreter/calling_convention_sig.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl CallingConventionSig { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 46 | pub fn to_method_sig(&self) -> &MethodSig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_is_default`, `set_generic`, `get_has_this`, `set_has_this`, `get_explicit_this`, and `set_explicit_this` are never used [INFO] [stdout] --> src/interpreter/calling_convention_sig.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl CallingConventionSigBase { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn set_generic(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_has_this(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn set_has_this(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn get_explicit_this(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn set_explicit_this(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/interpreter/object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Object { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | /// 包括locked、pinned、gc_mark和代 [INFO] [stdout] 9 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_type_token`, `is_locked`, `is_pinned`, `get_generation`, `get_gc_mark`, and `set_gc_mark` are never used [INFO] [stdout] --> src/interpreter/object.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn parse_type_token(type_token: u32) -> [u8; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_locked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_pinned(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_generation(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_gc_mark(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn set_gc_mark(&mut self, mark: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::checked_sub` that must be used [INFO] [stdout] --> src/interpreter/il_type.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | self.offset.checked_sub(off.wrapping_abs() as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = self.offset.checked_sub(off.wrapping_abs() as usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::checked_add` that must be used [INFO] [stdout] --> src/interpreter/il_type.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | self.offset.checked_add(off as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = self.offset.checked_add(off as usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nextSig` should have a snake case name [INFO] [stdout] --> src/interpreter/type_sig.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | pub nextSig : Option>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `next_sig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "43ca2ec176d3960a961aeb0a76dd5c7ff435870aebb0d5c4d15074617e4d53e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ca2ec176d3960a961aeb0a76dd5c7ff435870aebb0d5c4d15074617e4d53e4", kill_on_drop: false }` [INFO] [stdout] 43ca2ec176d3960a961aeb0a76dd5c7ff435870aebb0d5c4d15074617e4d53e4