[INFO] cloning repository https://github.com/linruohan/vm_xml_tool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linruohan/vm_xml_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinruohan%2Fvm_xml_tool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinruohan%2Fvm_xml_tool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bfc4f8304c77b486ac4cd9407f6235cc53649936
[INFO] checking linruohan/vm_xml_tool/bfc4f8304c77b486ac4cd9407f6235cc53649936 against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinruohan%2Fvm_xml_tool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linruohan/vm_xml_tool
[INFO] finished tweaking git repo https://github.com/linruohan/vm_xml_tool
[INFO] tweaked toml for git repo https://github.com/linruohan/vm_xml_tool written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linruohan/vm_xml_tool on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linruohan/vm_xml_tool 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16a98fa742a13f0865f9b8a3a7a708514cfb2f8087d9da0f2431d5ec550361f0
[INFO] running `Command { std: "docker" "start" "-a" "16a98fa742a13f0865f9b8a3a7a708514cfb2f8087d9da0f2431d5ec550361f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16a98fa742a13f0865f9b8a3a7a708514cfb2f8087d9da0f2431d5ec550361f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16a98fa742a13f0865f9b8a3a7a708514cfb2f8087d9da0f2431d5ec550361f0", kill_on_drop: false }`
[INFO] [stdout] 16a98fa742a13f0865f9b8a3a7a708514cfb2f8087d9da0f2431d5ec550361f0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac418bb5150c582096d75f67a8fd4f3be293714b31e03ffbcad1fbfdfa249051
[INFO] running `Command { std: "docker" "start" "-a" "ac418bb5150c582096d75f67a8fd4f3be293714b31e03ffbcad1fbfdfa249051", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking xml v1.2.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde-xml-rs v0.8.2
[INFO] [stderr]     Checking quick-xml v0.38.4
[INFO] [stderr]     Checking vm_xml_tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]    --> src/vm_info/memory_backing/mod.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn run() -> Result<(), String> {
[INFO] [stdout]     |    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `contains`, and `add` are never used
[INFO] [stdout]    --> src/vm_info/memory_backing/hugepage.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl NumaNodeSet {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 107 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn contains(&self, node: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn add(&mut self, node: u32) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PowerManagementManager` is never constructed
[INFO] [stdout]  --> src/vm_info/pm/power_management_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PowerManagementManager {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/vm_info/pm/power_management_manager.rs:14:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl PowerManagementManager {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  13 |     /// 创建新的电源管理管理器
[INFO] [stdout]  14 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  22 |     pub fn is_driver_supported(&self, driver: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  29 |     pub fn validate_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn record_config(&mut self, config: PowerManagement) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn get_history_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_driver_info(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_state_transition_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceManager` is never constructed
[INFO] [stdout]  --> src/vm_info/resource/resource_manager.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ResourceManager {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/vm_info/resource/resource_manager.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl ResourceManager {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout]  19 |     /// 创建新的资源管理器
[INFO] [stdout]  20 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  29 |     pub fn with_default_partition<P: AsRef<Path>>(mut self, path: P) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn add_partition<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Vec<String>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn partition_exists<P: AsRef<Path>>(&self, path: P) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn validate_domain_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_partition_hierarchy(&self) -> Vec<PartitionPath> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_cgroup_mapping(&self, partition: &PartitionPath) -> HashMap<String, PathBuf> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FwcfgSysinfo` is never constructed
[INFO] [stdout]  --> src/vm_info/sysinfo/fwcfg.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FwcfgSysinfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmbiosSysinfo` is never constructed
[INFO] [stdout]  --> src/vm_info/sysinfo/smbios.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SmbiosSysinfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]    --> src/vm_info/memory_backing/mod.rs:128:4
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn run() -> Result<(), String> {
[INFO] [stdout]     |    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `contains`, and `add` are never used
[INFO] [stdout]    --> src/vm_info/memory_backing/hugepage.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl NumaNodeSet {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 107 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn contains(&self, node: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn add(&mut self, node: u32) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PowerManagementManager` is never constructed
[INFO] [stdout]  --> src/vm_info/pm/power_management_manager.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct PowerManagementManager {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/vm_info/pm/power_management_manager.rs:14:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl PowerManagementManager {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout]  13 |     /// 创建新的电源管理管理器
[INFO] [stdout]  14 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  22 |     pub fn is_driver_supported(&self, driver: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  29 |     pub fn validate_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn record_config(&mut self, config: PowerManagement) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn get_history_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_driver_info(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_state_transition_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceManager` is never constructed
[INFO] [stdout]  --> src/vm_info/resource/resource_manager.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ResourceManager {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/vm_info/resource/resource_manager.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl ResourceManager {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout]  19 |     /// 创建新的资源管理器
[INFO] [stdout]  20 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  29 |     pub fn with_default_partition<P: AsRef<Path>>(mut self, path: P) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn add_partition<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Vec<String>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     pub fn partition_exists<P: AsRef<Path>>(&self, path: P) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn validate_domain_config(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_partition_hierarchy(&self) -> Vec<PartitionPath> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_cgroup_mapping(&self, partition: &PartitionPath) -> HashMap<String, PathBuf> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FwcfgSysinfo` is never constructed
[INFO] [stdout]  --> src/vm_info/sysinfo/fwcfg.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FwcfgSysinfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmbiosSysinfo` is never constructed
[INFO] [stdout]  --> src/vm_info/sysinfo/smbios.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SmbiosSysinfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.19s
[INFO] running `Command { std: "docker" "inspect" "ac418bb5150c582096d75f67a8fd4f3be293714b31e03ffbcad1fbfdfa249051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac418bb5150c582096d75f67a8fd4f3be293714b31e03ffbcad1fbfdfa249051", kill_on_drop: false }`
[INFO] [stdout] ac418bb5150c582096d75f67a8fd4f3be293714b31e03ffbcad1fbfdfa249051
