168 lines
272 KiB
JSON
168 lines
272 KiB
JSON
warning: /Users/didi/Desktop/vm/Cargo.toml: `panic` setting is ignored for `bench` profile
|
||
warning: /Users/didi/Desktop/vm/Cargo.toml: `panic` setting is ignored for `test` profile
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/proc-macro2-1.0.103/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/proc-macro2-1.0.103/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/proc-macro2-db8a745794fbaa7e/build-script-build","/Users/didi/Desktop/vm/target/debug/build/proc-macro2-db8a745794fbaa7e/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","linked_libs":[],"linked_paths":[],"cfgs":["wrap_proc_macro","proc_macro_span_location","proc_macro_span_file"],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/proc-macro2-8c85bb9420e9a09b/out"}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/quote-1.0.42/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/quote-1.0.42/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/quote-fb7a5b05332cfca5/build-script-build","/Users/didi/Desktop/vm/target/debug/build/quote-fb7a5b05332cfca5/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.22","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/unicode-ident-1.0.22/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unicode_ident","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/unicode-ident-1.0.22/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libunicode_ident-2b89aa21b616422e.rlib","/Users/didi/Desktop/vm/target/debug/deps/libunicode_ident-2b89aa21b616422e.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.21","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-utils-0.8.21/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-utils-0.8.21/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/crossbeam-utils-160829aa2238d8bf/build-script-build","/Users/didi/Desktop/vm/target/debug/build/crossbeam-utils-160829aa2238d8bf/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.178","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/libc-0.2.178/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/libc-0.2.178/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/libc-0b4437296c71efa8/build-script-build","/Users/didi/Desktop/vm/target/debug/build/libc-0b4437296c71efa8/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_core-1.0.228/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_core-1.0.228/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","result","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/serde_core-6e8d9ddc19570f04/build-script-build","/Users/didi/Desktop/vm/target/debug/build/serde_core-6e8d9ddc19570f04/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.4","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/cfg-if-1.0.4/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"cfg_if","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/cfg-if-1.0.4/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcfg_if-f9f1d933c315edfd.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.12","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot_core-0.9.12/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot_core-0.9.12/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/build/parking_lot_core-c414e680adeac983/build-script-build","/Users/didi/Desktop/vm/target/debug/build/parking_lot_core-c414e680adeac983/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde-1.0.228/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde-1.0.228/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","derive","serde_derive","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/serde-3e986e2c94534567/build-script-build","/Users/didi/Desktop/vm/target/debug/build/serde-3e986e2c94534567/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.3.4","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/getrandom-0.3.4/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/getrandom-0.3.4/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/build/getrandom-a179d9b25f512d76/build-script-build","/Users/didi/Desktop/vm/target/debug/build/getrandom-a179d9b25f512d76/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#scopeguard@1.2.0","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/scopeguard-1.2.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"scopeguard","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/scopeguard-1.2.0/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libscopeguard-4cd00171f10a488f.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#smallvec@1.15.1","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/smallvec-1.15.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"smallvec","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/smallvec-1.15.1/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libsmallvec-8aaa64e98468c580.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#virtue@0.0.18","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/virtue-0.0.18/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"virtue","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/virtue-0.0.18/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libvirtue-90fe7d564ecebc84.rlib","/Users/didi/Desktop/vm/target/debug/deps/libvirtue-90fe7d564ecebc84.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#foldhash@0.2.0","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/foldhash-0.2.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"foldhash","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/foldhash-0.2.0/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libfoldhash-809a573ccd08a27c.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/proc-macro2-1.0.103/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"proc_macro2","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/proc-macro2-1.0.103/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libproc_macro2-e5504ce7c56a5d49.rlib","/Users/didi/Desktop/vm/target/debug/deps/libproc_macro2-e5504ce7c56a5d49.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/quote-a0fe83adf40fb868/out"}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.178","linked_libs":[],"linked_paths":[],"cfgs":["freebsd12"],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/libc-36bc9c5eba43fd25/out"}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.21","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/crossbeam-utils-d84286784cec3300/out"}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/serde_core-f9832ba841b16e74/out"}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.12","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/parking_lot_core-1b2dfb12f6b4bb85/out"}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#lock_api@0.4.14","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/lock_api-0.4.14/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"lock_api","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/lock_api-0.4.14/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["atomic_usize","default"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/liblock_api-9d4b80f2fb41f048.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.3.4","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/getrandom-b99ca62f5907d99e/out"}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","linked_libs":[],"linked_paths":[],"cfgs":["if_docsrs_then_no_serde_core"],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/serde-0c24dad3c0a73d80/out"}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#bincode_derive@2.0.1","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/bincode_derive-2.0.1/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"bincode_derive","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/bincode_derive-2.0.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libbincode_derive-07cd61a8d850cf53.dylib","/Users/didi/Desktop/vm/target/debug/deps/libbincode_derive-07cd61a8d850cf53.dylib.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#unty@0.0.4","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/unty-0.0.4/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unty","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/unty-0.0.4/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libunty-fee007553986770e.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#equivalent@1.0.2","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/equivalent-1.0.2/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"equivalent","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/equivalent-1.0.2/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libequivalent-c8bff52141b921f5.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#allocator-api2@0.2.21","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/allocator-api2-0.2.21/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"allocator_api2","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/allocator-api2-0.2.21/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/liballocator_api2-667c0d8fba305116.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#thiserror@2.0.17","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-2.0.17/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-2.0.17/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/build/thiserror-76fe56e5bfb1c474/build-script-build","/Users/didi/Desktop/vm/target/debug/build/thiserror-76fe56e5bfb1c474/build-script-build.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/quote-1.0.42/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"quote","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/quote-1.0.42/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libquote-0adbdb948170a6e2.rlib","/Users/didi/Desktop/vm/target/debug/deps/libquote-0adbdb948170a6e2.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.21","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-utils-0.8.21/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam_utils","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-utils-0.8.21/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam_utils-d0f0da8f7ca34c78.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.178","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/libc-0.2.178/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"libc","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/libc-0.2.178/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/liblibc-1b90ca267a87e701.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_core-1.0.228/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"serde_core","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_core-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","result","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libserde_core-5d48e30f908d8abe.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#hashbrown@0.16.1","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/hashbrown-0.16.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hashbrown","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/hashbrown-0.16.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["allocator-api2","default","default-hasher","equivalent","inline-more","raw-entry"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libhashbrown-5fc827cbadeca877.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#thiserror@2.0.17","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/Users/didi/Desktop/vm/target/debug/build/thiserror-9f1f9dbdbbb75ab8/out"}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#log@0.4.29","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/log-0.4.29/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"log","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/log-0.4.29/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/liblog-db0c5e180daae442.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#hashbrown@0.14.5","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/hashbrown-0.14.5/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hashbrown","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/hashbrown-0.14.5/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["raw"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libhashbrown-bac168f9f151ece2.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: variable does not need to be mutable\n --> vm-common/src/lockfree/state_management.rs:283:55\n |\n283 | pub fn update_shard<F>(&self, shard_index: usize, mut updater: F) -> Option<StateSnapshot<T>>\n | ----^^^^^^^\n | |\n | help: remove this `mut`\n |\n = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"remove this `mut`","rendered":null,"spans":[{"byte_end":8088,"byte_start":8084,"column_end":59,"column_start":55,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":283,"line_start":283,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":59,"highlight_start":55,"text":" pub fn update_shard<F>(&self, shard_index: usize, mut updater: F) -> Option<StateSnapshot<T>>"}]}]}],"code":{"code":"unused_mut","explanation":null},"level":"warning","message":"variable does not need to be mutable","spans":[{"byte_end":8095,"byte_start":8084,"column_end":66,"column_start":55,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":283,"line_start":283,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":66,"highlight_start":55,"text":" pub fn update_shard<F>(&self, shard_index: usize, mut updater: F) -> Option<StateSnapshot<T>>"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `old_data`\n --> vm-common/src/lockfree/state_management.rs:469:54\n |\n469 | let new_snapshot = self.shared_state.update(|old_data| {\n | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_data`\n |\n = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":13238,"byte_start":13230,"column_end":62,"column_start":54,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":469,"line_start":469,"suggested_replacement":"_old_data","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":62,"highlight_start":54,"text":" let new_snapshot = self.shared_state.update(|old_data| {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `old_data`","spans":[{"byte_end":13238,"byte_start":13230,"column_end":62,"column_start":54,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":469,"line_start":469,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":62,"highlight_start":54,"text":" let new_snapshot = self.shared_state.update(|old_data| {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `old_data`\n --> vm-common/src/lockfree/state_management.rs:500:58\n |\n500 | let new_snapshot = self.shared_state.update(|old_data| {\n | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_data`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":14211,"byte_start":14203,"column_end":66,"column_start":58,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":500,"line_start":500,"suggested_replacement":"_old_data","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":66,"highlight_start":58,"text":" let new_snapshot = self.shared_state.update(|old_data| {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `old_data`","spans":[{"byte_end":14211,"byte_start":14203,"column_end":66,"column_start":58,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":500,"line_start":500,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":66,"highlight_start":58,"text":" let new_snapshot = self.shared_state.update(|old_data| {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: field `worker_id` is never read\n --> vm-common/src/lockfree/queue.rs:428:5\n |\n422 | pub struct WorkStealingQueue<T> {\n | ----------------- field in this struct\n...\n428 | worker_id: usize,\n | ^^^^^^^^^\n |\n = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"code":{"code":"dead_code","explanation":null},"level":"warning","message":"field `worker_id` is never read","spans":[{"byte_end":10985,"byte_start":10968,"column_end":29,"column_start":12,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":false,"label":"field in this struct","line_end":422,"line_start":422,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":12,"text":"pub struct WorkStealingQueue<T> {"}]},{"byte_end":11133,"byte_start":11124,"column_end":14,"column_start":5,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":true,"label":null,"line_end":428,"line_start":428,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":14,"highlight_start":5,"text":" worker_id: usize,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: field `version` is never read\n --> vm-common/src/lockfree/state_management.rs:92:5\n |\n88 | pub struct LockFreeSharedState<T: Send + Sync> {\n | ------------------- field in this struct\n...\n92 | version: AtomicU64,\n | ^^^^^^^\n\n","$message_type":"diagnostic","children":[],"code":{"code":"dead_code","explanation":null},"level":"warning","message":"field `version` is never read","spans":[{"byte_end":2024,"byte_start":2005,"column_end":31,"column_start":12,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":false,"label":"field in this struct","line_end":88,"line_start":88,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":12,"text":"pub struct LockFreeSharedState<T: Send + Sync> {"}]},{"byte_end":2135,"byte_start":2128,"column_end":12,"column_start":5,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":92,"line_start":92,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":12,"highlight_start":5,"text":" version: AtomicU64,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/queue.rs:126:29\n |\n126 | ... Box::from_raw(head);\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\n = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default\nhelp: use `let _ = ...` to ignore the resulting value\n |\n126 | let _ = Box::from_raw(head);\n | +++++++\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"note","message":"`#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":4141,"byte_start":4141,"column_end":29,"column_start":29,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":true,"label":null,"line_end":126,"line_start":126,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":29,"highlight_start":29,"text":" Box::from_raw(head);"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":4160,"byte_start":4141,"column_end":48,"column_start":29,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":true,"label":null,"line_end":126,"line_start":126,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":29,"text":" Box::from_raw(head);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/queue.rs:179:17\n |\n179 | Box::from_raw(head);\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n179 | let _ = Box::from_raw(head);\n | +++++++\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":5395,"byte_start":5395,"column_end":17,"column_start":17,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":true,"label":null,"line_end":179,"line_start":179,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":17,"highlight_start":17,"text":" Box::from_raw(head);"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":5414,"byte_start":5395,"column_end":36,"column_start":17,"expansion":null,"file_name":"vm-common/src/lockfree/queue.rs","is_primary":true,"label":null,"line_end":179,"line_start":179,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":36,"highlight_start":17,"text":" Box::from_raw(head);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/hash_table.rs:114:22\n |\n114 | unsafe { Box::from_raw(new_node) };\n | ^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n114 | unsafe { let _ = Box::from_raw(new_node); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":3350,"byte_start":3350,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":114,"line_start":114,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" unsafe { Box::from_raw(new_node) };"}]},{"byte_end":3373,"byte_start":3373,"column_end":45,"column_start":45,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":114,"line_start":114,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":45,"highlight_start":45,"text":" unsafe { Box::from_raw(new_node) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":3373,"byte_start":3350,"column_end":45,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":114,"line_start":114,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":22,"text":" unsafe { Box::from_raw(new_node) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/hash_table.rs:168:30\n |\n168 | unsafe { Box::from_raw(target) };\n | ^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n168 | unsafe { let _ = Box::from_raw(target); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":5104,"byte_start":5104,"column_end":30,"column_start":30,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":168,"line_start":168,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":30,"highlight_start":30,"text":" unsafe { Box::from_raw(target) };"}]},{"byte_end":5125,"byte_start":5125,"column_end":51,"column_start":51,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":168,"line_start":168,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":51,"highlight_start":51,"text":" unsafe { Box::from_raw(target) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":5125,"byte_start":5104,"column_end":51,"column_start":30,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":168,"line_start":168,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":30,"text":" unsafe { Box::from_raw(target) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/hash_table.rs:181:30\n |\n181 | unsafe { Box::from_raw(target) };\n | ^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n181 | unsafe { let _ = Box::from_raw(target); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":5645,"byte_start":5645,"column_end":30,"column_start":30,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":181,"line_start":181,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":30,"highlight_start":30,"text":" unsafe { Box::from_raw(target) };"}]},{"byte_end":5666,"byte_start":5666,"column_end":51,"column_start":51,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":181,"line_start":181,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":51,"highlight_start":51,"text":" unsafe { Box::from_raw(target) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":5666,"byte_start":5645,"column_end":51,"column_start":30,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":181,"line_start":181,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":30,"text":" unsafe { Box::from_raw(target) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/hash_table.rs:217:26\n |\n217 | unsafe { Box::from_raw(head) };\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n217 | unsafe { let _ = Box::from_raw(head); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":6544,"byte_start":6544,"column_end":26,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":217,"line_start":217,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":26,"highlight_start":26,"text":" unsafe { Box::from_raw(head) };"}]},{"byte_end":6563,"byte_start":6563,"column_end":45,"column_start":45,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":217,"line_start":217,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":45,"highlight_start":45,"text":" unsafe { Box::from_raw(head) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":6563,"byte_start":6544,"column_end":45,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":217,"line_start":217,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":26,"text":" unsafe { Box::from_raw(head) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/hash_table.rs:310:26\n |\n310 | unsafe { Box::from_raw(head) };\n | ^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n310 | unsafe { let _ = Box::from_raw(head); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":9502,"byte_start":9502,"column_end":26,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":310,"line_start":310,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":26,"highlight_start":26,"text":" unsafe { Box::from_raw(head) };"}]},{"byte_end":9521,"byte_start":9521,"column_end":45,"column_start":45,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":310,"line_start":310,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":45,"highlight_start":45,"text":" unsafe { Box::from_raw(head) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":9521,"byte_start":9502,"column_end":45,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/hash_table.rs","is_primary":true,"label":null,"line_end":310,"line_start":310,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":26,"text":" unsafe { Box::from_raw(head) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:155:26\n |\n155 | unsafe { Box::from_raw(old_ptr) };\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n155 | unsafe { let _ = Box::from_raw(old_ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":4237,"byte_start":4237,"column_end":26,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":155,"line_start":155,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":26,"highlight_start":26,"text":" unsafe { Box::from_raw(old_ptr) };"}]},{"byte_end":4259,"byte_start":4259,"column_end":48,"column_start":48,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":155,"line_start":155,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":48,"highlight_start":48,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":4259,"byte_start":4237,"column_end":48,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":155,"line_start":155,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":26,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:161:22\n |\n161 | unsafe { Box::from_raw(new_ptr) };\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n161 | unsafe { let _ = Box::from_raw(new_ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":4434,"byte_start":4434,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":161,"line_start":161,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" unsafe { Box::from_raw(new_ptr) };"}]},{"byte_end":4456,"byte_start":4456,"column_end":44,"column_start":44,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":161,"line_start":161,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":44,"highlight_start":44,"text":" unsafe { Box::from_raw(new_ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":4456,"byte_start":4434,"column_end":44,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":161,"line_start":161,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":22,"text":" unsafe { Box::from_raw(new_ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:198:26\n |\n198 | unsafe { Box::from_raw(old_ptr) };\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n198 | unsafe { let _ = Box::from_raw(old_ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":5675,"byte_start":5675,"column_end":26,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":198,"line_start":198,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":26,"highlight_start":26,"text":" unsafe { Box::from_raw(old_ptr) };"}]},{"byte_end":5697,"byte_start":5697,"column_end":48,"column_start":48,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":198,"line_start":198,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":48,"highlight_start":48,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":5697,"byte_start":5675,"column_end":48,"column_start":26,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":198,"line_start":198,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":26,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:204:22\n |\n204 | unsafe { Box::from_raw(new_ptr) };\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n204 | unsafe { let _ = Box::from_raw(new_ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":5878,"byte_start":5878,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":204,"line_start":204,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" unsafe { Box::from_raw(new_ptr) };"}]},{"byte_end":5900,"byte_start":5900,"column_end":44,"column_start":44,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":204,"line_start":204,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":44,"highlight_start":44,"text":" unsafe { Box::from_raw(new_ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":5900,"byte_start":5878,"column_end":44,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":204,"line_start":204,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":22,"text":" unsafe { Box::from_raw(new_ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:222:22\n |\n222 | unsafe { Box::from_raw(ptr) };\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n222 | unsafe { let _ = Box::from_raw(ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":6452,"byte_start":6452,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":222,"line_start":222,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" unsafe { Box::from_raw(ptr) };"}]},{"byte_end":6470,"byte_start":6470,"column_end":40,"column_start":40,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":222,"line_start":222,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":40,"highlight_start":40,"text":" unsafe { Box::from_raw(ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":6470,"byte_start":6452,"column_end":40,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":222,"line_start":222,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":40,"highlight_start":22,"text":" unsafe { Box::from_raw(ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:384:18\n |\n384 | unsafe { Box::from_raw(old_ptr) };\n | ^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n384 | unsafe { let _ = Box::from_raw(old_ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":10927,"byte_start":10927,"column_end":18,"column_start":18,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":384,"line_start":384,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":18,"highlight_start":18,"text":" unsafe { Box::from_raw(old_ptr) };"}]},{"byte_end":10949,"byte_start":10949,"column_end":40,"column_start":40,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":384,"line_start":384,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":40,"highlight_start":40,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":10949,"byte_start":10927,"column_end":40,"column_start":18,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":384,"line_start":384,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":40,"highlight_start":18,"text":" unsafe { Box::from_raw(old_ptr) };"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused return value of `Box::<T>::from_raw` that must be used\n --> vm-common/src/lockfree/state_management.rs:394:22\n |\n394 | unsafe { Box::from_raw(ptr) };\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`\nhelp: use `let _ = ...` to ignore the resulting value\n |\n394 | unsafe { let _ = Box::from_raw(ptr); };\n | +++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"use `let _ = ...` to ignore the resulting value","rendered":null,"spans":[{"byte_end":11165,"byte_start":11165,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":394,"line_start":394,"suggested_replacement":"let _ = ","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" unsafe { Box::from_raw(ptr) };"}]},{"byte_end":11183,"byte_start":11183,"column_end":40,"column_start":40,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":394,"line_start":394,"suggested_replacement":";","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":40,"highlight_start":40,"text":" unsafe { Box::from_raw(ptr) };"}]}]}],"code":{"code":"unused_must_use","explanation":null},"level":"warning","message":"unused return value of `Box::<T>::from_raw` that must be used","spans":[{"byte_end":11183,"byte_start":11165,"column_end":40,"column_start":22,"expansion":null,"file_name":"vm-common/src/lockfree/state_management.rs","is_primary":true,"label":null,"line_end":394,"line_start":394,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":40,"highlight_start":22,"text":" unsafe { Box::from_raw(ptr) };"}]}]}}
|
||
{"reason":"compiler-artifact","package_id":"path+file:///Users/didi/Desktop/vm/vm-common#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-common/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_common","src_path":"/Users/didi/Desktop/vm/vm-common/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libvm_common-73730d76b1d94960.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.3","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/once_cell-1.21.3/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"once_cell","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/once_cell-1.21.3/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","race","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libonce_cell-caa2839678906dd7.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#syn@2.0.111","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/syn-2.0.111/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"syn","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/syn-2.0.111/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["clone-impls","default","derive","parsing","printing","proc-macro"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libsyn-86077fb0046a9688.rlib","/Users/didi/Desktop/vm/target/debug/deps/libsyn-86077fb0046a9688.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot_core@0.9.12","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot_core-0.9.12/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"parking_lot_core","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot_core-0.9.12/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libparking_lot_core-fce5c9f10b1303c3.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-epoch@0.9.18","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-epoch-0.9.18/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam_epoch","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-epoch-0.9.18/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam_epoch-caa9708079fd0ddd.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#getrandom@0.3.4","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/getrandom-0.3.4/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"getrandom","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/getrandom-0.3.4/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libgetrandom-2da8c3bf1714a9b3.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-queue@0.3.12","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-queue-0.3.12/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam_queue","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-queue-0.3.12/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam_queue-86c4e91f5cfde748.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-channel@0.5.15","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-channel-0.5.15/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam_channel","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-channel-0.5.15/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam_channel-cd9ecb674625eef9.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#lru@0.16.2","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/lru-0.16.2/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"lru","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/lru-0.16.2/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","hashbrown"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/liblru-d519b8fcff2b0881.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_derive@1.0.228","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_derive-1.0.228/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"serde_derive","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde_derive-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libserde_derive-36a17cb3c33c0c85.dylib","/Users/didi/Desktop/vm/target/debug/deps/libserde_derive-36a17cb3c33c0c85.dylib.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#parking_lot@0.12.5","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot-0.12.5/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"parking_lot","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/parking_lot-0.12.5/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libparking_lot-a63847e0c4f11237.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#thiserror-impl@2.0.17","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-impl-2.0.17/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"thiserror_impl","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-impl-2.0.17/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libthiserror_impl-d7e53ab53e1126ee.dylib","/Users/didi/Desktop/vm/target/debug/deps/libthiserror_impl-d7e53ab53e1126ee.dylib.dSYM"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam-deque@0.8.6","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-deque-0.8.6/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam_deque","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-deque-0.8.6/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam_deque-325250d0c7232c83.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#uuid@1.19.0","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/uuid-1.19.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"uuid","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/uuid-1.19.0/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","rng","serde","std","v4"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libuuid-427e7e12b9266925.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#dashmap@6.1.0","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/dashmap-6.1.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"dashmap","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/dashmap-6.1.0/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libdashmap-77eadc6ed0c98d81.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde-1.0.228/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"serde","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/serde-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","derive","serde_derive","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libserde-a66e41590776cf67.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#thiserror@2.0.17","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-2.0.17/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"thiserror","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/thiserror-2.0.17/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libthiserror-8bcbba1ea62b8d9d.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#crossbeam@0.8.4","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-0.8.4/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"crossbeam","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/crossbeam-0.8.4/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","crossbeam-channel","crossbeam-deque","crossbeam-epoch","crossbeam-queue","default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libcrossbeam-32213e45ebe92aea.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#bincode@2.0.1","manifest_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/bincode-2.0.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"bincode","src_path":"/Users/didi/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-4dc01642fd091eda/bincode-2.0.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","bincode_derive","default","derive","serde","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libbincode-2b37299f9024af1b.rmeta"],"executable":null,"fresh":true}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-core#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-core/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_core","src_path":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `addr`\n --> vm-core/src/lib.rs:346:42\n |\n346 | fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {\n | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`\n |\n = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":8391,"byte_start":8387,"column_end":46,"column_start":42,"expansion":null,"file_name":"vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":346,"line_start":346,"suggested_replacement":"_addr","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":46,"highlight_start":42,"text":" fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `addr`","spans":[{"byte_end":8391,"byte_start":8387,"column_end":46,"column_start":42,"expansion":null,"file_name":"vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":346,"line_start":346,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":46,"highlight_start":42,"text":" fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-core#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-core/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_core","src_path":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `size`\n --> vm-core/src/lib.rs:346:59\n |\n346 | fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {\n | ^^^^ help: if this is intentional, prefix it with an underscore: `_size`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":8408,"byte_start":8404,"column_end":63,"column_start":59,"expansion":null,"file_name":"vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":346,"line_start":346,"suggested_replacement":"_size","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":63,"highlight_start":59,"text":" fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `size`","spans":[{"byte_end":8408,"byte_start":8404,"column_end":63,"column_start":59,"expansion":null,"file_name":"vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":346,"line_start":346,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":63,"highlight_start":59,"text":" fn invalidate_reservation(&mut self, addr: GuestAddr, size: u8) {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-core#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-core/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_core","src_path":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: field `buffer` is never read\n --> vm-core/src/gdb.rs:74:5\n |\n72 | pub struct GdbConnection {\n | ------------- field in this struct\n73 | stream: TcpStream,\n74 | buffer: Vec<u8>,\n | ^^^^^^\n |\n = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"code":{"code":"dead_code","explanation":null},"level":"warning","message":"field `buffer` is never read","spans":[{"byte_end":2005,"byte_start":1992,"column_end":25,"column_start":12,"expansion":null,"file_name":"vm-core/src/gdb.rs","is_primary":false,"label":"field in this struct","line_end":72,"line_start":72,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":12,"text":"pub struct GdbConnection {"}]},{"byte_end":2041,"byte_start":2035,"column_end":11,"column_start":5,"expansion":null,"file_name":"vm-core/src/gdb.rs","is_primary":true,"label":null,"line_end":74,"line_start":74,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":11,"highlight_start":5,"text":" buffer: Vec<u8>,"}]}]}}
|
||
{"reason":"compiler-artifact","package_id":"path+file:///Users/didi/Desktop/vm/vm-core#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-core/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_core","src_path":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/Users/didi/Desktop/vm/target/debug/deps/libvm_core-41a28fe194746d91.rmeta"],"executable":null,"fresh":true}
|
||
Checking vm-mem v0.1.0 (/Users/didi/Desktop/vm/vm-mem)
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `std::collections::VecDeque`\n --> vm-mem/src/lib.rs:7:5\n |\n7 | use std::collections::VecDeque;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":204,"byte_start":172,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":8,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":1,"text":"use std::collections::VecDeque;"},{"highlight_end":1,"highlight_start":1,"text":"use lru::LruCache;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `std::collections::VecDeque`","spans":[{"byte_end":202,"byte_start":176,"column_end":31,"column_start":5,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":5,"text":"use std::collections::VecDeque;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `ExecutionError`\n --> vm-mem/src/lib.rs:14:27\n |\n14 | use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, \n | ^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":413,"byte_start":397,"column_end":41,"column_start":25,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":41,"highlight_start":25,"text":"use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, "}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `ExecutionError`","spans":[{"byte_end":413,"byte_start":399,"column_end":41,"column_start":27,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":41,"highlight_start":27,"text":"use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, "}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: private item shadows public glob re-export\n --> vm-mem/src/lib.rs:14:93\n |\n14 | use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, \n | ^^^^^^^^\n |\nnote: the name `TlbEntry` in the type namespace is supposed to be publicly re-exported here\n --> vm-mem/src/lib.rs:37:5\n |\n37 | asm_opt::*,\n | ^^^^^^^^^^\nnote: but the private item here shadows it\n --> vm-mem/src/lib.rs:14:93\n |\n14 | use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, \n | ^^^^^^^^\n = note: `#[warn(hidden_glob_reexports)]` on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"the name `TlbEntry` in the type namespace is supposed to be publicly re-exported here","rendered":null,"spans":[{"byte_end":1055,"byte_start":1045,"column_end":15,"column_start":5,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":37,"line_start":37,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":15,"highlight_start":5,"text":" asm_opt::*,"}]}]},{"children":[],"code":null,"level":"note","message":"but the private item here shadows it","rendered":null,"spans":[{"byte_end":473,"byte_start":465,"column_end":101,"column_start":93,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":101,"highlight_start":93,"text":"use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, "}]}]},{"children":[],"code":null,"level":"note","message":"`#[warn(hidden_glob_reexports)]` on by default","rendered":null,"spans":[]}],"code":{"code":"hidden_glob_reexports","explanation":null},"level":"warning","message":"private item shadows public glob re-export","spans":[{"byte_end":473,"byte_start":465,"column_end":101,"column_start":93,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":101,"highlight_start":93,"text":"use vm_core::{AccessType, ExecutionError, Fault, GuestAddr, GuestPhysAddr, MMU, MmioDevice, TlbEntry, VmError, "}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `AtomicBool`\n --> vm-mem/src/optimization/lockless_optimizations.rs:7:25\n |\n7 | use std::sync::atomic::{AtomicBool, AtomicPtr, AtomicU64, AtomicUsize, Ordering};\n | ^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":206,"byte_start":194,"column_end":37,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/lockless_optimizations.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":37,"highlight_start":25,"text":"use std::sync::atomic::{AtomicBool, AtomicPtr, AtomicU64, AtomicUsize, Ordering};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `AtomicBool`","spans":[{"byte_end":204,"byte_start":194,"column_end":35,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/lockless_optimizations.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":35,"highlight_start":25,"text":"use std::sync::atomic::{AtomicBool, AtomicPtr, AtomicU64, AtomicUsize, Ordering};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `HostAddr`\n --> vm-mem/src/optimization/advanced/prefetch.rs:5:24\n |\n5 | use crate::{GuestAddr, HostAddr, VmError};\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":118,"byte_start":108,"column_end":32,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":22,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `HostAddr`","spans":[{"byte_end":118,"byte_start":110,"column_end":32,"column_start":24,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":24,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `Fault`\n --> vm-mem/src/optimization/advanced/prefetch.rs:7:27\n |\n7 | use vm_core::{AccessType, Fault};\n | ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":211,"byte_start":204,"column_end":32,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":25,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":194,"byte_start":193,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":15,"highlight_start":14,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":212,"byte_start":211,"column_end":33,"column_start":32,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":32,"text":"use vm_core::{AccessType, Fault};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `Fault`","spans":[{"byte_end":211,"byte_start":206,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `HostAddr`\n --> vm-mem/src/optimization/advanced/batch.rs:5:24\n |\n5 | use crate::{GuestAddr, HostAddr, VmError};\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":127,"byte_start":117,"column_end":32,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":22,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `HostAddr`","spans":[{"byte_end":127,"byte_start":119,"column_end":32,"column_start":24,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":24,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AccessType` and `Fault`\n --> vm-mem/src/optimization/advanced/batch.rs:6:15\n |\n6 | use vm_core::{AccessType, Fault};\n | ^^^^^^^^^^ ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":173,"byte_start":139,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":7,"line_start":6,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":34,"highlight_start":1,"text":"use vm_core::{AccessType, Fault};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::error::MemoryError;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AccessType` and `Fault`","spans":[{"byte_end":163,"byte_start":153,"column_end":25,"column_start":15,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":15,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":170,"byte_start":165,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `vm_core::error::MemoryError`\n --> vm-mem/src/optimization/advanced/batch.rs:7:5\n |\n7 | use vm_core::error::MemoryError;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":206,"byte_start":173,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":8,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":1,"text":"use vm_core::error::MemoryError;"},{"highlight_end":1,"highlight_start":1,"text":"use std::collections::HashMap;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `vm_core::error::MemoryError`","spans":[{"byte_end":204,"byte_start":177,"column_end":32,"column_start":5,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":5,"text":"use vm_core::error::MemoryError;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `HostAddr`\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:5:24\n |\n5 | use crate::{GuestAddr, HostAddr, VmError};\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":136,"byte_start":126,"column_end":32,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":22,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `HostAddr`","spans":[{"byte_end":136,"byte_start":128,"column_end":32,"column_start":24,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":24,"text":"use crate::{GuestAddr, HostAddr, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AccessType` and `Fault`\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:6:15\n |\n6 | use vm_core::{AccessType, Fault};\n | ^^^^^^^^^^ ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":182,"byte_start":148,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":7,"line_start":6,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":34,"highlight_start":1,"text":"use vm_core::{AccessType, Fault};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::error::MemoryError;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AccessType` and `Fault`","spans":[{"byte_end":172,"byte_start":162,"column_end":25,"column_start":15,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":15,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":179,"byte_start":174,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `std::arch::aarch64::*`\n --> vm-mem/src/optimization/advanced/simd_opt.rs:9:5\n |\n9 | use std::arch::aarch64::*;\n | ^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":182,"byte_start":123,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/simd_opt.rs","is_primary":true,"label":null,"line_end":10,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":1,"text":"#[cfg(target_arch = \"aarch64\")]"},{"highlight_end":27,"highlight_start":1,"text":"use std::arch::aarch64::*;"},{"highlight_end":1,"highlight_start":1,"text":""}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `std::arch::aarch64::*`","spans":[{"byte_end":180,"byte_start":159,"column_end":26,"column_start":5,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/simd_opt.rs","is_primary":true,"label":null,"line_end":9,"line_start":9,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":26,"highlight_start":5,"text":"use std::arch::aarch64::*;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `HostAddr`\n --> vm-mem/src/tlb/tlb.rs:8:24\n |\n8 | use crate::{GuestAddr, HostAddr};\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":185,"byte_start":175,"column_end":32,"column_start":22,"expansion":null,"file_name":"vm-mem/src/tlb/tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":22,"text":"use crate::{GuestAddr, HostAddr};"}]},{"byte_end":166,"byte_start":165,"column_end":13,"column_start":12,"expansion":null,"file_name":"vm-mem/src/tlb/tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":13,"highlight_start":12,"text":"use crate::{GuestAddr, HostAddr};"}]},{"byte_end":186,"byte_start":185,"column_end":33,"column_start":32,"expansion":null,"file_name":"vm-mem/src/tlb/tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":32,"text":"use crate::{GuestAddr, HostAddr};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `HostAddr`","spans":[{"byte_end":185,"byte_start":177,"column_end":32,"column_start":24,"expansion":null,"file_name":"vm-mem/src/tlb/tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":24,"text":"use crate::{GuestAddr, HostAddr};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `std::collections::HashMap`\n --> vm-mem/src/tlb/tlb_concurrent.rs:22:5\n |\n22 | use std::collections::HashMap;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":884,"byte_start":853,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":23,"line_start":22,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":31,"highlight_start":1,"text":"use std::collections::HashMap;"},{"highlight_end":1,"highlight_start":1,"text":"use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `std::collections::HashMap`","spans":[{"byte_end":882,"byte_start":857,"column_end":30,"column_start":5,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":22,"line_start":22,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":30,"highlight_start":5,"text":"use std::collections::HashMap;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `AtomicUsize`\n --> vm-mem/src/tlb/tlb_concurrent.rs:23:36\n |\n23 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};\n | ^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":930,"byte_start":917,"column_end":47,"column_start":34,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":23,"line_start":23,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":47,"highlight_start":34,"text":"use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `AtomicUsize`","spans":[{"byte_end":930,"byte_start":919,"column_end":47,"column_start":36,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":23,"line_start":23,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":47,"highlight_start":36,"text":"use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `Mutex` and `RwLock`\n --> vm-mem/src/tlb/tlb_concurrent.rs:24:22\n |\n24 | use std::sync::{Arc, Mutex, RwLock};\n | ^^^^^ ^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused imports","rendered":null,"spans":[{"byte_end":977,"byte_start":962,"column_end":35,"column_start":20,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":24,"line_start":24,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":35,"highlight_start":20,"text":"use std::sync::{Arc, Mutex, RwLock};"}]},{"byte_end":959,"byte_start":958,"column_end":17,"column_start":16,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":24,"line_start":24,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":17,"highlight_start":16,"text":"use std::sync::{Arc, Mutex, RwLock};"}]},{"byte_end":978,"byte_start":977,"column_end":36,"column_start":35,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":24,"line_start":24,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":36,"highlight_start":35,"text":"use std::sync::{Arc, Mutex, RwLock};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `Mutex` and `RwLock`","spans":[{"byte_end":969,"byte_start":964,"column_end":27,"column_start":22,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":24,"line_start":24,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":27,"highlight_start":22,"text":"use std::sync::{Arc, Mutex, RwLock};"}]},{"byte_end":977,"byte_start":971,"column_end":35,"column_start":29,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":24,"line_start":24,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":35,"highlight_start":29,"text":"use std::sync::{Arc, Mutex, RwLock};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `Duration` and `Instant`\n --> vm-mem/src/tlb/tlb_concurrent.rs:25:17\n |\n25 | use std::time::{Duration, Instant};\n | ^^^^^^^^ ^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":1016,"byte_start":980,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":26,"line_start":25,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":36,"highlight_start":1,"text":"use std::time::{Duration, Instant};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `Duration` and `Instant`","spans":[{"byte_end":1004,"byte_start":996,"column_end":25,"column_start":17,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":25,"line_start":25,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":17,"text":"use std::time::{Duration, Instant};"}]},{"byte_end":1013,"byte_start":1006,"column_end":34,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":25,"line_start":25,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":34,"highlight_start":27,"text":"use std::time::{Duration, Instant};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `GuestAddr` and `GuestPhysAddr`\n --> vm-mem/src/tlb/tlb_concurrent.rs:26:27\n |\n26 | use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};\n | ^^^^^^^^^ ^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused imports","rendered":null,"spans":[{"byte_end":1066,"byte_start":1040,"column_end":51,"column_start":25,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":26,"line_start":26,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":51,"highlight_start":25,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `GuestAddr` and `GuestPhysAddr`","spans":[{"byte_end":1051,"byte_start":1042,"column_end":36,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":26,"line_start":26,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":36,"highlight_start":27,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]},{"byte_end":1066,"byte_start":1053,"column_end":51,"column_start":38,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_concurrent.rs","is_primary":true,"label":null,"line_end":26,"line_start":26,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":38,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `GuestPhysAddr`\n --> vm-mem/src/tlb/tlb_manager.rs:6:38\n |\n6 | use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry};\n | ^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":183,"byte_start":168,"column_end":51,"column_start":36,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_manager.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":51,"highlight_start":36,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `GuestPhysAddr`","spans":[{"byte_end":183,"byte_start":170,"column_end":51,"column_start":38,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_manager.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":38,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `GuestAddr` and `GuestPhysAddr`\n --> vm-mem/src/tlb/tlb_optimized.rs:30:27\n |\n30 | use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};\n | ^^^^^^^^^ ^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused imports","rendered":null,"spans":[{"byte_end":1167,"byte_start":1141,"column_end":51,"column_start":25,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_optimized.rs","is_primary":true,"label":null,"line_end":30,"line_start":30,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":51,"highlight_start":25,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `GuestAddr` and `GuestPhysAddr`","spans":[{"byte_end":1152,"byte_start":1143,"column_end":36,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_optimized.rs","is_primary":true,"label":null,"line_end":30,"line_start":30,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":36,"highlight_start":27,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]},{"byte_end":1167,"byte_start":1154,"column_end":51,"column_start":38,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_optimized.rs","is_primary":true,"label":null,"line_end":30,"line_start":30,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":38,"text":"use vm_core::{AccessType, GuestAddr, GuestPhysAddr, TlbEntry, TlbManager};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `VmError`\n --> vm-mem/src/tlb/per_cpu_tlb.rs:5:24\n |\n5 | use crate::{GuestAddr, VmError};\n | ^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":131,"byte_start":122,"column_end":31,"column_start":22,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":31,"highlight_start":22,"text":"use crate::{GuestAddr, VmError};"}]},{"byte_end":113,"byte_start":112,"column_end":13,"column_start":12,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":13,"highlight_start":12,"text":"use crate::{GuestAddr, VmError};"}]},{"byte_end":132,"byte_start":131,"column_end":32,"column_start":31,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":31,"text":"use crate::{GuestAddr, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `VmError`","spans":[{"byte_end":131,"byte_start":124,"column_end":31,"column_start":24,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":24,"text":"use crate::{GuestAddr, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AccessType` and `Fault`\n --> vm-mem/src/tlb/per_cpu_tlb.rs:7:15\n |\n7 | use vm_core::{AccessType, Fault};\n | ^^^^^^^^^^ ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":218,"byte_start":184,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":34,"highlight_start":1,"text":"use vm_core::{AccessType, Fault};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::error::MemoryError;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AccessType` and `Fault`","spans":[{"byte_end":208,"byte_start":198,"column_end":25,"column_start":15,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":15,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":215,"byte_start":210,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `vm_core::error::MemoryError`\n --> vm-mem/src/tlb/per_cpu_tlb.rs:8:5\n |\n8 | use vm_core::error::MemoryError;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":251,"byte_start":218,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":9,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":1,"text":"use vm_core::error::MemoryError;"},{"highlight_end":1,"highlight_start":1,"text":"use std::collections::HashMap;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `vm_core::error::MemoryError`","spans":[{"byte_end":249,"byte_start":222,"column_end":32,"column_start":5,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":5,"text":"use vm_core::error::MemoryError;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `std::sync::Arc`\n --> vm-mem/src/tlb/per_cpu_tlb.rs:10:5\n |\n10 | use std::sync::Arc;\n | ^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":302,"byte_start":282,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":11,"line_start":10,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":20,"highlight_start":1,"text":"use std::sync::Arc;"},{"highlight_end":1,"highlight_start":1,"text":"use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `std::sync::Arc`","spans":[{"byte_end":300,"byte_start":286,"column_end":19,"column_start":5,"expansion":null,"file_name":"vm-mem/src/tlb/per_cpu_tlb.rs","is_primary":true,"label":null,"line_end":10,"line_start":10,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":19,"highlight_start":5,"text":"use std::sync::Arc;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `PageTableFlags` and `PageWalkResult`\n --> vm-mem/src/tlb/tlb_sync.rs:7:18\n |\n7 | use crate::mmu::{PageWalkResult, PageTableFlags};\n | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":195,"byte_start":145,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":50,"highlight_start":1,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"},{"highlight_end":1,"highlight_start":1,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `PageTableFlags` and `PageWalkResult`","spans":[{"byte_end":176,"byte_start":162,"column_end":32,"column_start":18,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":18,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"}]},{"byte_end":192,"byte_start":178,"column_end":48,"column_start":34,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":34,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `PerCpuTlbEntry` and `PerCpuTlbStatsSnapshot`\n --> vm-mem/src/tlb/tlb_sync.rs:8:49\n |\n8 | use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};\n | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused imports","rendered":null,"spans":[{"byte_end":281,"byte_start":241,"column_end":87,"column_start":47,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":87,"highlight_start":47,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":225,"byte_start":224,"column_end":31,"column_start":30,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":31,"highlight_start":30,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":282,"byte_start":281,"column_end":88,"column_start":87,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":88,"highlight_start":87,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `PerCpuTlbEntry` and `PerCpuTlbStatsSnapshot`","spans":[{"byte_end":257,"byte_start":243,"column_end":63,"column_start":49,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":63,"highlight_start":49,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":281,"byte_start":259,"column_end":87,"column_start":65,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":87,"highlight_start":65,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AccessType` and `Fault`\n --> vm-mem/src/tlb/tlb_sync.rs:9:15\n |\n9 | use vm_core::{AccessType, Fault};\n | ^^^^^^^^^^ ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":318,"byte_start":284,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":10,"line_start":9,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":34,"highlight_start":1,"text":"use vm_core::{AccessType, Fault};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::error::MemoryError;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AccessType` and `Fault`","spans":[{"byte_end":308,"byte_start":298,"column_end":25,"column_start":15,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":9,"line_start":9,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":15,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":315,"byte_start":310,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":9,"line_start":9,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `vm_core::error::MemoryError`\n --> vm-mem/src/tlb/tlb_sync.rs:10:5\n |\n10 | use vm_core::error::MemoryError;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":351,"byte_start":318,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":11,"line_start":10,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":1,"text":"use vm_core::error::MemoryError;"},{"highlight_end":1,"highlight_start":1,"text":"use std::collections::{HashMap, HashSet};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `vm_core::error::MemoryError`","spans":[{"byte_end":349,"byte_start":322,"column_end":32,"column_start":5,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_sync.rs","is_primary":true,"label":null,"line_end":10,"line_start":10,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":5,"text":"use vm_core::error::MemoryError;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `PageTableFlags` and `PageWalkResult`\n --> vm-mem/src/tlb/tlb_flush.rs:6:18\n |\n6 | use crate::mmu::{PageWalkResult, PageTableFlags};\n | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":182,"byte_start":132,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":6,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":50,"highlight_start":1,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"},{"highlight_end":1,"highlight_start":1,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `PageTableFlags` and `PageWalkResult`","spans":[{"byte_end":163,"byte_start":149,"column_end":32,"column_start":18,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":18,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"}]},{"byte_end":179,"byte_start":165,"column_end":48,"column_start":34,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":6,"line_start":6,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":34,"text":"use crate::mmu::{PageWalkResult, PageTableFlags};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `PerCpuTlbEntry` and `PerCpuTlbStatsSnapshot`\n --> vm-mem/src/tlb/tlb_flush.rs:7:49\n |\n7 | use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};\n | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused imports","rendered":null,"spans":[{"byte_end":268,"byte_start":228,"column_end":87,"column_start":47,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":87,"highlight_start":47,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":212,"byte_start":211,"column_end":31,"column_start":30,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":31,"highlight_start":30,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":269,"byte_start":268,"column_end":88,"column_start":87,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":88,"highlight_start":87,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `PerCpuTlbEntry` and `PerCpuTlbStatsSnapshot`","spans":[{"byte_end":244,"byte_start":230,"column_end":63,"column_start":49,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":63,"highlight_start":49,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]},{"byte_end":268,"byte_start":246,"column_end":87,"column_start":65,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":87,"highlight_start":65,"text":"use crate::tlb::per_cpu_tlb::{PerCpuTlbManager, PerCpuTlbEntry, PerCpuTlbStatsSnapshot};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AccessType` and `Fault`\n --> vm-mem/src/tlb/tlb_flush.rs:8:15\n |\n8 | use vm_core::{AccessType, Fault};\n | ^^^^^^^^^^ ^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":305,"byte_start":271,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":9,"line_start":8,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":34,"highlight_start":1,"text":"use vm_core::{AccessType, Fault};"},{"highlight_end":1,"highlight_start":1,"text":"use vm_core::error::MemoryError;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AccessType` and `Fault`","spans":[{"byte_end":295,"byte_start":285,"column_end":25,"column_start":15,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":15,"text":"use vm_core::{AccessType, Fault};"}]},{"byte_end":302,"byte_start":297,"column_end":32,"column_start":27,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":27,"text":"use vm_core::{AccessType, Fault};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `vm_core::error::MemoryError`\n --> vm-mem/src/tlb/tlb_flush.rs:9:5\n |\n9 | use vm_core::error::MemoryError;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":338,"byte_start":305,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":10,"line_start":9,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":1,"text":"use vm_core::error::MemoryError;"},{"highlight_end":1,"highlight_start":1,"text":"use std::collections::{HashMap, HashSet, VecDeque};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `vm_core::error::MemoryError`","spans":[{"byte_end":336,"byte_start":309,"column_end":32,"column_start":5,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":9,"line_start":9,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":5,"text":"use vm_core::error::MemoryError;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused imports: `AtomicU64` and `Ordering`\n --> vm-mem/src/tlb/unified_tlb.rs:29:25\n |\n29 | use std::sync::atomic::{AtomicU64, Ordering};\n | ^^^^^^^^^ ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":750,"byte_start":704,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/tlb/unified_tlb.rs","is_primary":true,"label":null,"line_end":30,"line_start":29,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":46,"highlight_start":1,"text":"use std::sync::atomic::{AtomicU64, Ordering};"},{"highlight_end":1,"highlight_start":1,"text":"use std::sync::{Arc, RwLock};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused imports: `AtomicU64` and `Ordering`","spans":[{"byte_end":737,"byte_start":728,"column_end":34,"column_start":25,"expansion":null,"file_name":"vm-mem/src/tlb/unified_tlb.rs","is_primary":true,"label":null,"line_end":29,"line_start":29,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":34,"highlight_start":25,"text":"use std::sync::atomic::{AtomicU64, Ordering};"}]},{"byte_end":747,"byte_start":739,"column_end":44,"column_start":36,"expansion":null,"file_name":"vm-mem/src/tlb/unified_tlb.rs","is_primary":true,"label":null,"line_end":29,"line_start":29,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":36,"text":"use std::sync::atomic::{AtomicU64, Ordering};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `ConcurrentTlbManager`\n --> vm-mem/src/unified_mmu.rs:7:26\n |\n7 | ConcurrentTlbConfig, ConcurrentTlbManager, ConcurrentTlbManagerAdapter,\n | ^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":269,"byte_start":247,"column_end":46,"column_start":24,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":46,"highlight_start":24,"text":" ConcurrentTlbConfig, ConcurrentTlbManager, ConcurrentTlbManagerAdapter,"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `ConcurrentTlbManager`","spans":[{"byte_end":269,"byte_start":249,"column_end":46,"column_start":26,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":46,"highlight_start":26,"text":" ConcurrentTlbConfig, ConcurrentTlbManager, ConcurrentTlbManagerAdapter,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `MemoryError as CoreMemoryError`\n --> vm-mem/src/unified_mmu.rs:19:22\n |\n19 | use vm_core::error::{MemoryError as CoreMemoryError, VmError};\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":755,"byte_start":723,"column_end":54,"column_start":22,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":19,"line_start":19,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":54,"highlight_start":22,"text":"use vm_core::error::{MemoryError as CoreMemoryError, VmError};"}]},{"byte_end":723,"byte_start":722,"column_end":22,"column_start":21,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":19,"line_start":19,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":22,"highlight_start":21,"text":"use vm_core::error::{MemoryError as CoreMemoryError, VmError};"}]},{"byte_end":763,"byte_start":762,"column_end":62,"column_start":61,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":19,"line_start":19,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":62,"highlight_start":61,"text":"use vm_core::error::{MemoryError as CoreMemoryError, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `MemoryError as CoreMemoryError`","spans":[{"byte_end":753,"byte_start":723,"column_end":52,"column_start":22,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":19,"line_start":19,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":52,"highlight_start":22,"text":"use vm_core::error::{MemoryError as CoreMemoryError, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `HostAddr`\n --> vm-mem/src/mmu.rs:5:24\n |\n5 | use crate::{GuestAddr, HostAddr};\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":109,"byte_start":99,"column_end":32,"column_start":22,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":32,"highlight_start":22,"text":"use crate::{GuestAddr, HostAddr};"}]},{"byte_end":90,"byte_start":89,"column_end":13,"column_start":12,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":13,"highlight_start":12,"text":"use crate::{GuestAddr, HostAddr};"}]},{"byte_end":110,"byte_start":109,"column_end":33,"column_start":32,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":32,"text":"use crate::{GuestAddr, HostAddr};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `HostAddr`","spans":[{"byte_end":109,"byte_start":101,"column_end":32,"column_start":24,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":5,"line_start":5,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":24,"text":"use crate::{GuestAddr, HostAddr};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `MemoryError`\n --> vm-mem/src/mmu.rs:7:22\n |\n7 | use vm_core::error::{MemoryError, VmError};\n | ^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the unused import","rendered":null,"spans":[{"byte_end":180,"byte_start":167,"column_end":35,"column_start":22,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":35,"highlight_start":22,"text":"use vm_core::error::{MemoryError, VmError};"}]},{"byte_end":167,"byte_start":166,"column_end":22,"column_start":21,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":22,"highlight_start":21,"text":"use vm_core::error::{MemoryError, VmError};"}]},{"byte_end":188,"byte_start":187,"column_end":43,"column_start":42,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":43,"highlight_start":42,"text":"use vm_core::error::{MemoryError, VmError};"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `MemoryError`","spans":[{"byte_end":178,"byte_start":167,"column_end":33,"column_start":22,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":7,"line_start":7,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":33,"highlight_start":22,"text":"use vm_core::error::{MemoryError, VmError};"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `super::*`\n --> vm-mem/src/mmu.rs:11:9\n |\n11 | use super::*;\n | ^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":244,"byte_start":231,"column_end":18,"column_start":5,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":11,"line_start":11,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":18,"highlight_start":5,"text":" use super::*;"}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `super::*`","spans":[{"byte_end":243,"byte_start":235,"column_end":17,"column_start":9,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":11,"line_start":11,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":17,"highlight_start":9,"text":" use super::*;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused import: `std::collections::HashMap`\n --> vm-mem/src/mmu.rs:95:5\n |\n95 | use std::collections::HashMap;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove the whole `use` item","rendered":null,"spans":[{"byte_end":2664,"byte_start":2633,"column_end":1,"column_start":1,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":96,"line_start":95,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":31,"highlight_start":1,"text":"use std::collections::HashMap;"},{"highlight_end":1,"highlight_start":1,"text":""}]}]}],"code":{"code":"unused_imports","explanation":null},"level":"warning","message":"unused import: `std::collections::HashMap`","spans":[{"byte_end":2662,"byte_start":2637,"column_end":30,"column_start":5,"expansion":null,"file_name":"vm-mem/src/mmu.rs","is_primary":true,"label":null,"line_end":95,"line_start":95,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":30,"highlight_start":5,"text":"use std::collections::HashMap;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/optimization/advanced/prefetch.rs:391:32\n |\n391 | gva: GuestAddr(page_base),\n | --------- ^^^^^^^^^ expected `u64`, found `GuestAddr`\n | |\n | arguments to this struct are incorrect\n |\nnote: tuple struct defined here\n --> /Users/didi/Desktop/vm/vm-core/src/lib.rs:56:12\n |\n 56 | pub struct GuestAddr(pub u64);\n | ^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"tuple struct defined here","rendered":null,"spans":[{"byte_end":1730,"byte_start":1721,"column_end":21,"column_start":12,"expansion":null,"file_name":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":56,"line_start":56,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":21,"highlight_start":12,"text":"pub struct GuestAddr(pub u64);"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":12494,"byte_start":12485,"column_end":41,"column_start":32,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":"expected `u64`, found `GuestAddr`","line_end":391,"line_start":391,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":41,"highlight_start":32,"text":" gva: GuestAddr(page_base),"}]},{"byte_end":12484,"byte_start":12475,"column_end":31,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":false,"label":"arguments to this struct are incorrect","line_end":391,"line_start":391,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":22,"text":" gva: GuestAddr(page_base),"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/optimization/advanced/prefetch.rs:392:22\n |\n392 | gpa: page_walk_result.gpa & !(4096 - 1),\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GuestAddr`, found `u64`\n |\nhelp: try wrapping the expression in `vm_core::GuestAddr`\n |\n392 | gpa: vm_core::GuestAddr(page_walk_result.gpa & !(4096 - 1)),\n | +++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestAddr`","rendered":null,"spans":[{"byte_end":12518,"byte_start":12518,"column_end":22,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":392,"line_start":392,"suggested_replacement":"vm_core::GuestAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":22,"highlight_start":22,"text":" gpa: page_walk_result.gpa & !(4096 - 1),"}]},{"byte_end":12552,"byte_start":12552,"column_end":56,"column_start":56,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":null,"line_end":392,"line_start":392,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":56,"highlight_start":56,"text":" gpa: page_walk_result.gpa & !(4096 - 1),"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":12552,"byte_start":12518,"column_end":56,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":"expected `GuestAddr`, found `u64`","line_end":392,"line_start":392,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":56,"highlight_start":22,"text":" gpa: page_walk_result.gpa & !(4096 - 1),"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/optimization/advanced/prefetch.rs:594:36\n |\n594 | gva: GuestAddr(page_base),\n | --------- ^^^^^^^^^ expected `u64`, found `GuestAddr`\n | |\n | arguments to this struct are incorrect\n |\nnote: tuple struct defined here\n --> /Users/didi/Desktop/vm/vm-core/src/lib.rs:56:12\n |\n 56 | pub struct GuestAddr(pub u64);\n | ^^^^^^^^^\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"tuple struct defined here","rendered":null,"spans":[{"byte_end":1730,"byte_start":1721,"column_end":21,"column_start":12,"expansion":null,"file_name":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":56,"line_start":56,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":21,"highlight_start":12,"text":"pub struct GuestAddr(pub u64);"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":20438,"byte_start":20429,"column_end":45,"column_start":36,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":true,"label":"expected `u64`, found `GuestAddr`","line_end":594,"line_start":594,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":36,"text":" gva: GuestAddr(page_base),"}]},{"byte_end":20428,"byte_start":20419,"column_end":35,"column_start":26,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/prefetch.rs","is_primary":false,"label":"arguments to this struct are incorrect","line_end":594,"line_start":594,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":35,"highlight_start":26,"text":" gva: GuestAddr(page_base),"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unreachable expression\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:91:13\n |\n87 | return CopyStrategy::Simd128;\n | ---------------------------- any code following this expression is unreachable\n...\n91 | CopyStrategy::WordByWord\n | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression\n |\n = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"code":{"code":"unreachable_code","explanation":null},"level":"warning","message":"unreachable expression","spans":[{"byte_end":2664,"byte_start":2640,"column_end":37,"column_start":13,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":"unreachable expression","line_end":91,"line_start":91,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":37,"highlight_start":13,"text":" CopyStrategy::WordByWord"}]},{"byte_end":2562,"byte_start":2534,"column_end":45,"column_start":17,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":false,"label":"any code following this expression is unreachable","line_end":87,"line_start":87,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":17,"text":" return CopyStrategy::Simd128;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unreachable expression\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:415:9\n |\n411 | unsafe { return self.copy_simd128_arm(src, dst, size); }\n | -------------------------------------------- any code following this expression is unreachable\n...\n415 | unsafe { self.copy_word_by_word(src, dst, size); }\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression\n\n","$message_type":"diagnostic","children":[],"code":{"code":"unreachable_code","explanation":null},"level":"warning","message":"unreachable expression","spans":[{"byte_end":13761,"byte_start":13711,"column_end":59,"column_start":9,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":"unreachable expression","line_end":415,"line_start":415,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":59,"highlight_start":9,"text":" unsafe { self.copy_word_by_word(src, dst, size); }"}]},{"byte_end":13658,"byte_start":13614,"column_end":66,"column_start":22,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":false,"label":"any code following this expression is unreachable","line_end":411,"line_start":411,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":66,"highlight_start":22,"text":" unsafe { return self.copy_simd128_arm(src, dst, size); }"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0599]: no method named `wrapping_sub` found for struct `GuestAddr` in the current scope\n --> vm-mem/src/unified_mmu.rs:197:33\n |\n197 | let step = current_addr.wrapping_sub(last_addr);\n | ^^^^^^^^^^^^ method not found in `GuestAddr`\n |\nhelp: one of the expressions' fields has a method of the same name\n |\n197 | let step = current_addr.0.wrapping_sub(last_addr);\n | ++\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"one of the expressions' fields has a method of the same name","rendered":null,"spans":[{"byte_end":5991,"byte_start":5991,"column_end":33,"column_start":33,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":197,"line_start":197,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":33,"highlight_start":33,"text":" let step = current_addr.wrapping_sub(last_addr);"}]}]}],"code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","message":"no method named `wrapping_sub` found for struct `GuestAddr` in the current scope","spans":[{"byte_end":6003,"byte_start":5991,"column_end":45,"column_start":33,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"method not found in `GuestAddr`","line_end":197,"line_start":197,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":33,"text":" let step = current_addr.wrapping_sub(last_addr);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0599]: no method named `wrapping_add` found for struct `GuestAddr` in the current scope\n --> vm-mem/src/unified_mmu.rs:201:47\n |\n201 | let predicted_addr = current_addr.wrapping_add(step);\n | ^^^^^^^^^^^^ method not found in `GuestAddr`\n |\nhelp: one of the expressions' fields has a method of the same name\n |\n201 | let predicted_addr = current_addr.0.wrapping_add(step);\n | ++\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"one of the expressions' fields has a method of the same name","rendered":null,"spans":[{"byte_end":6194,"byte_start":6194,"column_end":47,"column_start":47,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":201,"line_start":201,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":47,"highlight_start":47,"text":" let predicted_addr = current_addr.wrapping_add(step);"}]}]}],"code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","message":"no method named `wrapping_add` found for struct `GuestAddr` in the current scope","spans":[{"byte_end":6206,"byte_start":6194,"column_end":59,"column_start":47,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"method not found in `GuestAddr`","line_end":201,"line_start":201,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":59,"highlight_start":47,"text":" let predicted_addr = current_addr.wrapping_add(step);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: use of deprecated field `unified_mmu::UnifiedMmuConfig::multilevel_tlb_config`: 使用unified_tlb_config替代\n --> vm-mem/src/unified_mmu.rs:383:13\n |\n383 | multilevel_tlb_config: MultiLevelTlbConfig::default(),\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(deprecated)]` on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(deprecated)]` on by default","rendered":null,"spans":[]}],"code":{"code":"deprecated","explanation":null},"level":"warning","message":"use of deprecated field `unified_mmu::UnifiedMmuConfig::multilevel_tlb_config`: 使用unified_tlb_config替代","spans":[{"byte_end":11890,"byte_start":11837,"column_end":66,"column_start":13,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":383,"line_start":383,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":66,"highlight_start":13,"text":" multilevel_tlb_config: MultiLevelTlbConfig::default(),"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: use of deprecated field `unified_mmu::UnifiedMmuConfig::concurrent_tlb_config`: 使用unified_tlb_config替代\n --> vm-mem/src/unified_mmu.rs:384:13\n |\n384 | concurrent_tlb_config: ConcurrentTlbConfig::default(),\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n","$message_type":"diagnostic","children":[],"code":{"code":"deprecated","explanation":null},"level":"warning","message":"use of deprecated field `unified_mmu::UnifiedMmuConfig::concurrent_tlb_config`: 使用unified_tlb_config替代","spans":[{"byte_end":11957,"byte_start":11904,"column_end":66,"column_start":13,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":384,"line_start":384,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":66,"highlight_start":13,"text":" concurrent_tlb_config: ConcurrentTlbConfig::default(),"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:579:30\n |\n579 | page_table_base: 0,\n | ^ expected `GuestPhysAddr`, found integer\n |\nhelp: try wrapping the expression in `vm_core::GuestPhysAddr`\n |\n579 | page_table_base: vm_core::GuestPhysAddr(0),\n | +++++++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestPhysAddr`","rendered":null,"spans":[{"byte_end":18865,"byte_start":18865,"column_end":30,"column_start":30,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":579,"line_start":579,"suggested_replacement":"vm_core::GuestPhysAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":30,"highlight_start":30,"text":" page_table_base: 0,"}]},{"byte_end":18866,"byte_start":18866,"column_end":31,"column_start":31,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":579,"line_start":579,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":31,"highlight_start":31,"text":" page_table_base: 0,"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":18866,"byte_start":18865,"column_end":31,"column_start":30,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestPhysAddr`, found integer","line_end":579,"line_start":579,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":30,"text":" page_table_base: 0,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:617:32\n |\n617 | self.page_table_base = ppn << PAGE_SHIFT;\n | -------------------- ^^^^^^^^^^^^^^^^^ expected `GuestPhysAddr`, found `u64`\n | |\n | expected due to the type of this binding\n |\nhelp: try wrapping the expression in `vm_core::GuestPhysAddr`\n |\n617 | self.page_table_base = vm_core::GuestPhysAddr(ppn << PAGE_SHIFT);\n | +++++++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestPhysAddr`","rendered":null,"spans":[{"byte_end":20012,"byte_start":20012,"column_end":32,"column_start":32,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":617,"line_start":617,"suggested_replacement":"vm_core::GuestPhysAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":32,"highlight_start":32,"text":" self.page_table_base = ppn << PAGE_SHIFT;"}]},{"byte_end":20029,"byte_start":20029,"column_end":49,"column_start":49,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":617,"line_start":617,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":49,"highlight_start":49,"text":" self.page_table_base = ppn << PAGE_SHIFT;"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":20029,"byte_start":20012,"column_end":49,"column_start":32,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestPhysAddr`, found `u64`","line_end":617,"line_start":617,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":49,"highlight_start":32,"text":" self.page_table_base = ppn << PAGE_SHIFT;"}]},{"byte_end":20009,"byte_start":19989,"column_end":29,"column_start":9,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"expected due to the type of this binding","line_end":617,"line_start":617,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":9,"text":" self.page_table_base = ppn << PAGE_SHIFT;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:679:25\n |\n679 | let vpn = va >> PAGE_SHIFT;\n | ^^^^^^^^^^ expected `u32`, found `u64`\n |\nhelp: you can convert `va` from `u32` to `u64`, matching the type of `PAGE_SHIFT`\n |\n679 | let vpn = u64::from(va) >> PAGE_SHIFT;\n | ++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"you can convert `va` from `u32` to `u64`, matching the type of `PAGE_SHIFT`","rendered":null,"spans":[{"byte_end":21798,"byte_start":21798,"column_end":19,"column_start":19,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":679,"line_start":679,"suggested_replacement":"u64::from(","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":19,"highlight_start":19,"text":" let vpn = va >> PAGE_SHIFT;"}]},{"byte_end":21800,"byte_start":21800,"column_end":21,"column_start":21,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":679,"line_start":679,"suggested_replacement":")","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":21,"highlight_start":21,"text":" let vpn = va >> PAGE_SHIFT;"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":21814,"byte_start":21804,"column_end":35,"column_start":25,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `u32`, found `u64`","line_end":679,"line_start":679,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":35,"highlight_start":25,"text":" let vpn = va >> PAGE_SHIFT;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0609]: no field `phys_addr` on type `vm_core::TlbEntry`\n --> vm-mem/src/unified_mmu.rs:706:29\n |\n706 | let ppn = entry.phys_addr >> PAGE_SHIFT;\n | ^^^^^^^^^ unknown field\n |\n = note: available fields are: `vpn`, `ppn`, `flags`, `asid`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"available fields are: `vpn`, `ppn`, `flags`, `asid`","rendered":null,"spans":[]}],"code":{"code":"E0609","explanation":"Attempted to access a nonexistent field in a struct.\n\nErroneous code example:\n\n```compile_fail,E0609\nstruct StructWithFields {\n x: u32,\n}\n\nlet s = StructWithFields { x: 0 };\nprintln!(\"{}\", s.foo); // error: no field `foo` on type `StructWithFields`\n```\n\nTo fix this error, check that you didn't misspell the field's name or that the\nfield actually exists. Example:\n\n```\nstruct StructWithFields {\n x: u32,\n}\n\nlet s = StructWithFields { x: 0 };\nprintln!(\"{}\", s.x); // ok!\n```\n"},"level":"error","message":"no field `phys_addr` on type `vm_core::TlbEntry`","spans":[{"byte_end":22843,"byte_start":22834,"column_end":38,"column_start":29,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"unknown field","line_end":706,"line_start":706,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":38,"highlight_start":29,"text":" let ppn = entry.phys_addr >> PAGE_SHIFT;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0599]: no variant or associated item named `Exec` found for enum `AccessType` in the current scope\n --> vm-mem/src/unified_mmu.rs:713:29\n |\n713 | AccessType::Exec => pte_flags::X,\n | ^^^^ variant or associated item not found in `AccessType`\n\n","$message_type":"diagnostic","children":[],"code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","message":"no variant or associated item named `Exec` found for enum `AccessType` in the current scope","spans":[{"byte_end":23137,"byte_start":23133,"column_end":33,"column_start":29,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"variant or associated item not found in `AccessType`","line_end":713,"line_start":713,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":33,"highlight_start":29,"text":" AccessType::Exec => pte_flags::X,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0559]: variant `vm_core::Fault::PageFault` has no field named `access`\n --> vm-mem/src/unified_mmu.rs:720:21\n |\n720 | access,\n | ^^^^^^ `vm_core::Fault::PageFault` does not have this field\n |\n = note: available fields are: `access_type`, `is_write`, `is_user`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"available fields are: `access_type`, `is_write`, `is_user`","rendered":null,"spans":[]}],"code":{"code":"E0559","explanation":"An unknown field was specified into an enum's structure variant.\n\nErroneous code example:\n\n```compile_fail,E0559\nenum Field {\n Fool { x: u32 },\n}\n\nlet s = Field::Fool { joke: 0 };\n// error: struct variant `Field::Fool` has no field named `joke`\n```\n\nVerify you didn't misspell the field's name or that the field exists. Example:\n\n```\nenum Field {\n Fool { joke: u32 },\n}\n\nlet s = Field::Fool { joke: 0 }; // ok!\n```\n"},"level":"error","message":"variant `vm_core::Fault::PageFault` has no field named `access`","spans":[{"byte_end":23446,"byte_start":23440,"column_end":27,"column_start":21,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"`vm_core::Fault::PageFault` does not have this field","line_end":720,"line_start":720,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":27,"highlight_start":21,"text":" access,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0061]: this method takes 3 arguments but 4 arguments were supplied\n --> vm-mem/src/unified_mmu.rs:752:37\n |\n752 | let result = walker.walk(va, access, asid, self as &mut dyn MMU);\n | ^^^^ -- -------------------- unexpected argument #4 of type `&mut dyn vm_core::MMU`\n | |\n | expected `GuestAddr`, found `u64`\n |\nnote: method defined here\n --> /Users/didi/Desktop/vm/vm-core/src/lib.rs:408:8\n |\n408 | fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError>;\n | ^^^^\nhelp: try wrapping the expression in `vm_core::GuestAddr`\n |\n752 | let result = walker.walk(vm_core::GuestAddr(va), access, asid, self as &mut dyn MMU);\n | +++++++++++++++++++ +\nhelp: remove the extra argument\n |\n752 - let result = walker.walk(va, access, asid, self as &mut dyn MMU);\n752 + let result = walker.walk(/* GuestAddr */, access, asid);\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":9693,"byte_start":9689,"column_end":12,"column_start":8,"expansion":null,"file_name":"/Users/didi/Desktop/vm/vm-core/src/lib.rs","is_primary":true,"label":null,"line_end":408,"line_start":408,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":12,"highlight_start":8,"text":" fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError>;"}]}]},{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestAddr`","rendered":null,"spans":[{"byte_end":24519,"byte_start":24519,"column_end":42,"column_start":42,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":752,"line_start":752,"suggested_replacement":"vm_core::GuestAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":42,"highlight_start":42,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]},{"byte_end":24521,"byte_start":24521,"column_end":44,"column_start":44,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":752,"line_start":752,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":44,"highlight_start":44,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]}]},{"children":[],"code":null,"level":"help","message":"remove the extra argument","rendered":null,"spans":[{"byte_end":24557,"byte_start":24535,"column_end":80,"column_start":58,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":752,"line_start":752,"suggested_replacement":"","suggestion_applicability":"HasPlaceholders","text":[{"highlight_end":80,"highlight_start":58,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]},{"byte_end":24521,"byte_start":24519,"column_end":44,"column_start":42,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":752,"line_start":752,"suggested_replacement":"/* GuestAddr */","suggestion_applicability":"HasPlaceholders","text":[{"highlight_end":44,"highlight_start":42,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]}]}],"code":{"code":"E0061","explanation":"An invalid number of arguments was passed when calling a function.\n\nErroneous code example:\n\n```compile_fail,E0061\nfn f(u: i32) {}\n\nf(); // error!\n```\n\nThe number of arguments passed to a function must match the number of arguments\nspecified in the function signature.\n\nFor example, a function like:\n\n```\nfn f(a: u16, b: &str) {}\n```\n\nMust always be called with exactly two arguments, e.g., `f(2, \"test\")`.\n\nNote that Rust does not have a notion of optional function arguments or\nvariadic functions (except for its C-FFI).\n"},"level":"error","message":"this method takes 3 arguments but 4 arguments were supplied","spans":[{"byte_end":24521,"byte_start":24519,"column_end":44,"column_start":42,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"expected `GuestAddr`, found `u64`","line_end":752,"line_start":752,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":42,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]},{"byte_end":24557,"byte_start":24537,"column_end":80,"column_start":60,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"unexpected argument #4 of type `&mut dyn vm_core::MMU`","line_end":752,"line_start":752,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":80,"highlight_start":60,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]},{"byte_end":24518,"byte_start":24514,"column_end":41,"column_start":37,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":752,"line_start":752,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":41,"highlight_start":37,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:759:58\n |\n759 | let pa = self.page_table_walk_with_cache(va, access)?;\n | -------------------------- ^^ expected `GuestAddr`, found `u64`\n | |\n | arguments to this method are incorrect\n |\nnote: method defined here\n --> vm-mem/src/unified_mmu.rs:905:8\n |\n905 | fn page_table_walk_with_cache(\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n906 | &self,\n907 | va: GuestAddr,\n | -------------\nhelp: try wrapping the expression in `vm_core::GuestAddr`\n |\n759 | let pa = self.page_table_walk_with_cache(vm_core::GuestAddr(va), access)?;\n | +++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":29765,"byte_start":29752,"column_end":22,"column_start":9,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"","line_end":907,"line_start":907,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":22,"highlight_start":9,"text":" va: GuestAddr,"}]},{"byte_end":29727,"byte_start":29701,"column_end":34,"column_start":8,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":905,"line_start":905,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":34,"highlight_start":8,"text":" fn page_table_walk_with_cache("}]}]},{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestAddr`","rendered":null,"spans":[{"byte_end":24822,"byte_start":24822,"column_end":58,"column_start":58,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":759,"line_start":759,"suggested_replacement":"vm_core::GuestAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":58,"highlight_start":58,"text":" let pa = self.page_table_walk_with_cache(va, access)?;"}]},{"byte_end":24824,"byte_start":24824,"column_end":60,"column_start":60,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":759,"line_start":759,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":60,"highlight_start":60,"text":" let pa = self.page_table_walk_with_cache(va, access)?;"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":24824,"byte_start":24822,"column_end":60,"column_start":58,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestAddr`, found `u64`","line_end":759,"line_start":759,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":60,"highlight_start":58,"text":" let pa = self.page_table_walk_with_cache(va, access)?;"}]},{"byte_end":24821,"byte_start":24795,"column_end":57,"column_start":31,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"arguments to this method are incorrect","line_end":759,"line_start":759,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":57,"highlight_start":31,"text":" let pa = self.page_table_walk_with_cache(va, access)?;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: `match` arms have incompatible types\n --> vm-mem/src/unified_mmu.rs:760:17\n |\n749 | let (pa, flags) = match self.page_table_walker.take() {\n | ___________________________-\n750 | | Some(mut walker) => {\n751 | | // 临时移出walker,避免双重借用\n752 | | let result = walker.walk(va, access, asid, self as &mut dyn MMU);\n... |\n755 | | result\n | | ------ this is found to be of type `Result<GuestPhysAddr, CoreVmError>`\n... |\n760 | | Ok((pa, pte_flags::R | pte_flags::W | pte_flags::X))\n | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<GuestPhysAddr, CoreVmError>`, found `Result<(GuestPhysAddr, u64), _>`\n761 | | }\n762 | | }?;\n | |_________- `match` arms have incompatible types\n |\n = note: expected enum `Result<GuestPhysAddr, CoreVmError>`\n found enum `Result<(GuestPhysAddr, u64), _>`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"expected enum `Result<GuestPhysAddr, CoreVmError>`\n found enum `Result<(GuestPhysAddr, u64), _>`","rendered":null,"spans":[]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"`match` arms have incompatible types","spans":[{"byte_end":24904,"byte_start":24852,"column_end":69,"column_start":17,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `Result<GuestPhysAddr, CoreVmError>`, found `Result<(GuestPhysAddr, u64), _>`","line_end":760,"line_start":760,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":69,"highlight_start":17,"text":" Ok((pa, pte_flags::R | pte_flags::W | pte_flags::X))"}]},{"byte_end":24675,"byte_start":24669,"column_end":23,"column_start":17,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"this is found to be of type `Result<GuestPhysAddr, CoreVmError>`","line_end":755,"line_start":755,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":17,"text":" result"}]},{"byte_end":24928,"byte_start":24347,"column_end":10,"column_start":27,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"`match` arms have incompatible types","line_end":762,"line_start":749,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":64,"highlight_start":27,"text":" let (pa, flags) = match self.page_table_walker.take() {"},{"highlight_end":34,"highlight_start":1,"text":" Some(mut walker) => {"},{"highlight_end":37,"highlight_start":1,"text":" // 临时移出walker,避免双重借用"},{"highlight_end":82,"highlight_start":1,"text":" let result = walker.walk(va, access, asid, self as &mut dyn MMU);"},{"highlight_end":30,"highlight_start":1,"text":" // 将walker放回去"},{"highlight_end":55,"highlight_start":1,"text":" self.page_table_walker = Some(walker);"},{"highlight_end":23,"highlight_start":1,"text":" result"},{"highlight_end":14,"highlight_start":1,"text":" }"},{"highlight_end":22,"highlight_start":1,"text":" None => {"},{"highlight_end":31,"highlight_start":1,"text":" // 使用页表缓存或恒等映射"},{"highlight_end":71,"highlight_start":1,"text":" let pa = self.page_table_walk_with_cache(va, access)?;"},{"highlight_end":69,"highlight_start":1,"text":" Ok((pa, pte_flags::R | pte_flags::W | pte_flags::X))"},{"highlight_end":14,"highlight_start":1,"text":" }"},{"highlight_end":10,"highlight_start":1,"text":" }?;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0599]: no variant or associated item named `Exec` found for enum `AccessType` in the current scope\n --> vm-mem/src/unified_mmu.rs:777:25\n |\n777 | AccessType::Exec => pte_flags::X,\n | ^^^^ variant or associated item not found in `AccessType`\n\n","$message_type":"diagnostic","children":[],"code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","message":"no variant or associated item named `Exec` found for enum `AccessType` in the current scope","spans":[{"byte_end":25341,"byte_start":25337,"column_end":29,"column_start":25,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"variant or associated item not found in `AccessType`","line_end":777,"line_start":777,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":25,"text":" AccessType::Exec => pte_flags::X,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:783:23\n |\n783 | addr: va,\n | ^^ expected `GuestAddr`, found `u64`\n |\nhelp: try wrapping the expression in `vm_core::GuestAddr`\n |\n783 | addr: vm_core::GuestAddr(va),\n | +++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestAddr`","rendered":null,"spans":[{"byte_end":25600,"byte_start":25600,"column_end":23,"column_start":23,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":783,"line_start":783,"suggested_replacement":"vm_core::GuestAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":23,"highlight_start":23,"text":" addr: va,"}]},{"byte_end":25602,"byte_start":25602,"column_end":25,"column_start":25,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":783,"line_start":783,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":25,"highlight_start":25,"text":" addr: va,"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":25602,"byte_start":25600,"column_end":25,"column_start":23,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestAddr`, found `u64`","line_end":783,"line_start":783,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":23,"text":" addr: va,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0559]: variant `vm_core::Fault::PageFault` has no field named `access`\n --> vm-mem/src/unified_mmu.rs:784:17\n |\n784 | access,\n | ^^^^^^ `vm_core::Fault::PageFault` does not have this field\n |\n = note: available fields are: `access_type`, `is_write`, `is_user`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"available fields are: `access_type`, `is_write`, `is_user`","rendered":null,"spans":[]}],"code":{"code":"E0559","explanation":"An unknown field was specified into an enum's structure variant.\n\nErroneous code example:\n\n```compile_fail,E0559\nenum Field {\n Fool { x: u32 },\n}\n\nlet s = Field::Fool { joke: 0 };\n// error: struct variant `Field::Fool` has no field named `joke`\n```\n\nVerify you didn't misspell the field's name or that the field exists. Example:\n\n```\nenum Field {\n Fool { joke: u32 },\n}\n\nlet s = Field::Fool { joke: 0 }; // ok!\n```\n"},"level":"error","message":"variant `vm_core::Fault::PageFault` has no field named `access`","spans":[{"byte_end":25626,"byte_start":25620,"column_end":23,"column_start":17,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"`vm_core::Fault::PageFault` does not have this field","line_end":784,"line_start":784,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":17,"text":" access,"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:799:46\n |\n799 | prefetcher.write().record_access(va);\n | ------------- ^^ expected `GuestAddr`, found `u64`\n | |\n | arguments to this method are incorrect\n |\nnote: method defined here\n --> vm-mem/src/unified_mmu.rs:178:12\n |\n178 | pub fn record_access(&mut self, addr: GuestAddr) {\n | ^^^^^^^^^^^^^ ---------------\nhelp: try wrapping the expression in `vm_core::GuestAddr`\n |\n799 | prefetcher.write().record_access(vm_core::GuestAddr(va));\n | +++++++++++++++++++ +\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":5342,"byte_start":5327,"column_end":52,"column_start":37,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"","line_end":178,"line_start":178,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":52,"highlight_start":37,"text":" pub fn record_access(&mut self, addr: GuestAddr) {"}]},{"byte_end":5315,"byte_start":5302,"column_end":25,"column_start":12,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":178,"line_start":178,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":25,"highlight_start":12,"text":" pub fn record_access(&mut self, addr: GuestAddr) {"}]}]},{"children":[],"code":null,"level":"help","message":"try wrapping the expression in `vm_core::GuestAddr`","rendered":null,"spans":[{"byte_end":26100,"byte_start":26100,"column_end":46,"column_start":46,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":799,"line_start":799,"suggested_replacement":"vm_core::GuestAddr(","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":46,"highlight_start":46,"text":" prefetcher.write().record_access(va);"}]},{"byte_end":26102,"byte_start":26102,"column_end":48,"column_start":48,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":799,"line_start":799,"suggested_replacement":")","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":48,"highlight_start":48,"text":" prefetcher.write().record_access(va);"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":26102,"byte_start":26100,"column_end":48,"column_start":46,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestAddr`, found `u64`","line_end":799,"line_start":799,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":48,"highlight_start":46,"text":" prefetcher.write().record_access(va);"}]},{"byte_end":26099,"byte_start":26086,"column_end":45,"column_start":32,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"arguments to this method are incorrect","line_end":799,"line_start":799,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":45,"highlight_start":32,"text":" prefetcher.write().record_access(va);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/unified_mmu.rs:1034:30\n |\n1034 | self.check_alignment(pa, size)?;\n | --------------- ^^ expected `GuestAddr`, found `GuestPhysAddr`\n | |\n | arguments to this method are incorrect\n |\nnote: method defined here\n --> vm-mem/src/unified_mmu.rs:978:8\n |\n 978 | fn check_alignment(&self, pa: GuestAddr, size: u8) -> Result<(), VmError> {\n | ^^^^^^^^^^^^^^^ -------------\nhelp: call `Into::into` on this expression to convert `GuestPhysAddr` into `GuestAddr`\n |\n1034 | self.check_alignment(pa.into(), size)?;\n | +++++++\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":32331,"byte_start":32318,"column_end":44,"column_start":31,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"","line_end":978,"line_start":978,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":31,"text":" fn check_alignment(&self, pa: GuestAddr, size: u8) -> Result<(), VmError> {"}]},{"byte_end":32310,"byte_start":32295,"column_end":23,"column_start":8,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":978,"line_start":978,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":8,"text":" fn check_alignment(&self, pa: GuestAddr, size: u8) -> Result<(), VmError> {"}]}]},{"children":[],"code":null,"level":"help","message":"call `Into::into` on this expression to convert `GuestPhysAddr` into `GuestAddr`","rendered":null,"spans":[{"byte_end":34304,"byte_start":34304,"column_end":32,"column_start":32,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":1034,"line_start":1034,"suggested_replacement":".into()","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":32,"highlight_start":32,"text":" self.check_alignment(pa, size)?;"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":34304,"byte_start":34302,"column_end":32,"column_start":30,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"expected `GuestAddr`, found `GuestPhysAddr`","line_end":1034,"line_start":1034,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":30,"text":" self.check_alignment(pa, size)?;"}]},{"byte_end":34301,"byte_start":34286,"column_end":29,"column_start":14,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":false,"label":"arguments to this method are incorrect","line_end":1034,"line_start":1034,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":14,"text":" self.check_alignment(pa, size)?;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0605]: non-primitive cast: `GuestPhysAddr` as `usize`\n --> vm-mem/src/unified_mmu.rs:1033:20\n |\n1033 | let addr = pa as usize;\n | ^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object\n\n","$message_type":"diagnostic","children":[],"code":{"code":"E0605","explanation":"An invalid cast was attempted.\n\nErroneous code examples:\n\n```compile_fail,E0605\nlet x = 0u8;\nx as Vec<u8>; // error: non-primitive cast: `u8` as `std::vec::Vec<u8>`\n\n// Another example\n\nlet v = core::ptr::null::<u8>(); // So here, `v` is a `*const u8`.\nv as &u8; // error: non-primitive cast: `*const u8` as `&u8`\n```\n\nOnly primitive types can be cast into each other. Examples:\n\n```\nlet x = 0u8;\nx as u32; // ok!\n\nlet v = core::ptr::null::<u8>();\nv as *const i8; // ok!\n```\n\nFor more information about casts, take a look at the Type cast section in\n[The Reference Book][1].\n\n[1]: https://doc.rust-lang.org/reference/expressions/operator-expr.html#type-cast-expressions\n"},"level":"error","message":"non-primitive cast: `GuestPhysAddr` as `usize`","spans":[{"byte_end":34271,"byte_start":34260,"column_end":31,"column_start":20,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":"an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object","line_end":1033,"line_start":1033,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":31,"highlight_start":20,"text":" let addr = pa as usize;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/lib.rs:864:30\n |\n864 | self.itlb.flush_page(va);\n | ---------- ^^ expected `u64`, found `GuestAddr`\n | |\n | arguments to this method are incorrect\n |\nnote: method defined here\n --> vm-mem/src/lib.rs:185:8\n |\n185 | fn flush_page(&mut self, vpn: u64) {\n | ^^^^^^^^^^ --------\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":5468,"byte_start":5460,"column_end":38,"column_start":30,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":false,"label":"","line_end":185,"line_start":185,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":38,"highlight_start":30,"text":" fn flush_page(&mut self, vpn: u64) {"}]},{"byte_end":5448,"byte_start":5438,"column_end":18,"column_start":8,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":185,"line_start":185,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":18,"highlight_start":8,"text":" fn flush_page(&mut self, vpn: u64) {"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":27476,"byte_start":27474,"column_end":32,"column_start":30,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":"expected `u64`, found `GuestAddr`","line_end":864,"line_start":864,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":30,"text":" self.itlb.flush_page(va);"}]},{"byte_end":27473,"byte_start":27463,"column_end":29,"column_start":19,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":false,"label":"arguments to this method are incorrect","line_end":864,"line_start":864,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":19,"text":" self.itlb.flush_page(va);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0308]: mismatched types\n --> vm-mem/src/lib.rs:865:30\n |\n865 | self.dtlb.flush_page(va);\n | ---------- ^^ expected `u64`, found `GuestAddr`\n | |\n | arguments to this method are incorrect\n |\nnote: method defined here\n --> vm-mem/src/lib.rs:185:8\n |\n185 | fn flush_page(&mut self, vpn: u64) {\n | ^^^^^^^^^^ --------\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"method defined here","rendered":null,"spans":[{"byte_end":5468,"byte_start":5460,"column_end":38,"column_start":30,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":false,"label":"","line_end":185,"line_start":185,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":38,"highlight_start":30,"text":" fn flush_page(&mut self, vpn: u64) {"}]},{"byte_end":5448,"byte_start":5438,"column_end":18,"column_start":8,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":185,"line_start":185,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":18,"highlight_start":8,"text":" fn flush_page(&mut self, vpn: u64) {"}]}]}],"code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","message":"mismatched types","spans":[{"byte_end":27510,"byte_start":27508,"column_end":32,"column_start":30,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":"expected `u64`, found `GuestAddr`","line_end":865,"line_start":865,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":32,"highlight_start":30,"text":" self.dtlb.flush_page(va);"}]},{"byte_end":27507,"byte_start":27497,"column_end":29,"column_start":19,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":false,"label":"arguments to this method are incorrect","line_end":865,"line_start":865,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":29,"highlight_start":19,"text":" self.dtlb.flush_page(va);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `i`\n --> vm-mem/src/memory/memory_pool.rs:381:14\n |\n381 | for (i, pool) in self.tlb_pools.iter().enumerate() {\n | ^\n |\n = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default\nhelp: if this is intentional, prefix it with an underscore\n |\n381 | for (_i, pool) in self.tlb_pools.iter().enumerate() {\n | +\nhelp: you might have meant to pattern match on the similarly named constant `SHARD_COUNT`\n |\n381 - for (i, pool) in self.tlb_pools.iter().enumerate() {\n381 + for (SHARD_COUNT, pool) in self.tlb_pools.iter().enumerate() {\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":10883,"byte_start":10882,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":381,"line_start":381,"suggested_replacement":"_i","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.tlb_pools.iter().enumerate() {"}]}]},{"children":[],"code":null,"level":"help","message":"you might have meant to pattern match on the similarly named constant `SHARD_COUNT`","rendered":null,"spans":[{"byte_end":10883,"byte_start":10882,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":381,"line_start":381,"suggested_replacement":"SHARD_COUNT","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.tlb_pools.iter().enumerate() {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `i`","spans":[{"byte_end":10883,"byte_start":10882,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":381,"line_start":381,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.tlb_pools.iter().enumerate() {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `i`\n --> vm-mem/src/memory/memory_pool.rs:385:14\n |\n385 | for (i, pool) in self.pte_pools.iter().enumerate() {\n | ^\n |\nhelp: if this is intentional, prefix it with an underscore\n |\n385 | for (_i, pool) in self.pte_pools.iter().enumerate() {\n | +\nhelp: you might have meant to pattern match on the similarly named constant `SHARD_COUNT`\n |\n385 - for (i, pool) in self.pte_pools.iter().enumerate() {\n385 + for (SHARD_COUNT, pool) in self.pte_pools.iter().enumerate() {\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":11015,"byte_start":11014,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":385,"line_start":385,"suggested_replacement":"_i","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.pte_pools.iter().enumerate() {"}]}]},{"children":[],"code":null,"level":"help","message":"you might have meant to pattern match on the similarly named constant `SHARD_COUNT`","rendered":null,"spans":[{"byte_end":11015,"byte_start":11014,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":385,"line_start":385,"suggested_replacement":"SHARD_COUNT","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.pte_pools.iter().enumerate() {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `i`","spans":[{"byte_end":11015,"byte_start":11014,"column_end":15,"column_start":14,"expansion":null,"file_name":"vm-mem/src/memory/memory_pool.rs","is_primary":true,"label":null,"line_end":385,"line_start":385,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":15,"highlight_start":14,"text":" for (i, pool) in self.pte_pools.iter().enumerate() {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `offset`\n --> vm-mem/src/memory/page_table_walker.rs:82:13\n |\n82 | let offset = addr & (PAGE_SIZE - 1);\n | ^^^^^^\n |\nhelp: if this is intentional, prefix it with an underscore\n |\n82 | let _offset = addr & (PAGE_SIZE - 1);\n | +\nhelp: you might have meant to pattern match on the similarly named constant `PAGE_SIZE_1G`\n |\n82 - let offset = addr & (PAGE_SIZE - 1);\n82 + let mmu::PAGE_SIZE_1G = addr & (PAGE_SIZE - 1);\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":2392,"byte_start":2386,"column_end":19,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":82,"line_start":82,"suggested_replacement":"_offset","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":19,"highlight_start":13,"text":" let offset = addr & (PAGE_SIZE - 1);"}]}]},{"children":[],"code":null,"level":"help","message":"you might have meant to pattern match on the similarly named constant `PAGE_SIZE_1G`","rendered":null,"spans":[{"byte_end":2392,"byte_start":2386,"column_end":19,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":82,"line_start":82,"suggested_replacement":"mmu::PAGE_SIZE_1G","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":19,"highlight_start":13,"text":" let offset = addr & (PAGE_SIZE - 1);"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `offset`","spans":[{"byte_end":2392,"byte_start":2386,"column_end":19,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":82,"line_start":82,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":19,"highlight_start":13,"text":" let offset = addr & (PAGE_SIZE - 1);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: value assigned to `pte_addr` is never read\n --> vm-mem/src/memory/page_table_walker.rs:88:13\n |\n88 | pte_addr = pte_addr + vpn[level as usize] * PTE_SIZE;\n | ^^^^^^^^\n |\n = help: maybe it is overwritten before being read?\n = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"maybe it is overwritten before being read?","rendered":null,"spans":[]},{"children":[],"code":null,"level":"note","message":"`#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"code":{"code":"unused_assignments","explanation":null},"level":"warning","message":"value assigned to `pte_addr` is never read","spans":[{"byte_end":2535,"byte_start":2527,"column_end":21,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":88,"line_start":88,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":21,"highlight_start":13,"text":" pte_addr = pte_addr + vpn[level as usize] * PTE_SIZE;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `access`\n --> vm-mem/src/memory/page_table_walker.rs:64:37\n |\n64 | fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {\n | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":1818,"byte_start":1812,"column_end":43,"column_start":37,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":64,"line_start":64,"suggested_replacement":"_access","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":43,"highlight_start":37,"text":" fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `access`","spans":[{"byte_end":1818,"byte_start":1812,"column_end":43,"column_start":37,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":64,"line_start":64,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":43,"highlight_start":37,"text":" fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `asid`\n --> vm-mem/src/memory/page_table_walker.rs:64:57\n |\n64 | fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {\n | ^^^^ help: if this is intentional, prefix it with an underscore: `_asid`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":1836,"byte_start":1832,"column_end":61,"column_start":57,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":64,"line_start":64,"suggested_replacement":"_asid","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":61,"highlight_start":57,"text":" fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `asid`","spans":[{"byte_end":1836,"byte_start":1832,"column_end":61,"column_start":57,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":64,"line_start":64,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":61,"highlight_start":57,"text":" fn walk(&self, addr: GuestAddr, access: AccessType, asid: u16) -> Result<GuestPhysAddr, VmError> {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: variable does not need to be mutable\n --> vm-mem/src/memory/page_table_walker.rs:85:13\n |\n85 | let mut level = 3i32;\n | ----^^^^^\n | |\n | help: remove this `mut`\n |\n = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"remove this `mut`","rendered":null,"spans":[{"byte_end":2485,"byte_start":2481,"column_end":17,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":85,"line_start":85,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":17,"highlight_start":13,"text":" let mut level = 3i32;"}]}]}],"code":{"code":"unused_mut","explanation":null},"level":"warning","message":"variable does not need to be mutable","spans":[{"byte_end":2490,"byte_start":2481,"column_end":22,"column_start":13,"expansion":null,"file_name":"vm-mem/src/memory/page_table_walker.rs","is_primary":true,"label":null,"line_end":85,"line_start":85,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":22,"highlight_start":13,"text":" let mut level = 3i32;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `second_size`\n --> vm-mem/src/optimization/advanced/batch.rs:333:25\n |\n333 | let second_size = size - first_size;\n | ^^^^^^^^^^^\n |\nhelp: if this is intentional, prefix it with an underscore\n |\n333 | let _second_size = size - first_size;\n | +\nhelp: you might have meant to pattern match on the similarly named constant `SHARD_COUNT`\n |\n333 - let second_size = size - first_size;\n333 + let SHARD_COUNT = size - first_size;\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":10851,"byte_start":10840,"column_end":36,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":333,"line_start":333,"suggested_replacement":"_second_size","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":36,"highlight_start":25,"text":" let second_size = size - first_size;"}]}]},{"children":[],"code":null,"level":"help","message":"you might have meant to pattern match on the similarly named constant `SHARD_COUNT`","rendered":null,"spans":[{"byte_end":10851,"byte_start":10840,"column_end":36,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":333,"line_start":333,"suggested_replacement":"SHARD_COUNT","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":36,"highlight_start":25,"text":" let second_size = size - first_size;"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `second_size`","spans":[{"byte_end":10851,"byte_start":10840,"column_end":36,"column_start":25,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/batch.rs","is_primary":true,"label":null,"line_end":333,"line_start":333,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":36,"highlight_start":25,"text":" let second_size = size - first_size;"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"error[E0004]: non-exhaustive patterns: `CopyStrategy::Adaptive` not covered\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:304:15\n |\n304 | match strategy {\n | ^^^^^^^^ pattern `CopyStrategy::Adaptive` not covered\n |\nnote: `CopyStrategy` defined here\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:13:10\n |\n 13 | pub enum CopyStrategy {\n | ^^^^^^^^^^^^\n...\n 25 | Adaptive,\n | -------- not covered\n = note: the matched value is of type `CopyStrategy`\nhelp: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown\n |\n324 ~ },\n325 + CopyStrategy::Adaptive => todo!()\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`CopyStrategy` defined here","rendered":null,"spans":[{"byte_end":371,"byte_start":359,"column_end":22,"column_start":10,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":"","line_end":13,"line_start":13,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":22,"highlight_start":10,"text":"pub enum CopyStrategy {"}]},{"byte_end":651,"byte_start":643,"column_end":13,"column_start":5,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":false,"label":"not covered","line_end":25,"line_start":25,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":13,"highlight_start":5,"text":" Adaptive,"}]}]},{"children":[],"code":null,"level":"note","message":"the matched value is of type `CopyStrategy`","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown","rendered":null,"spans":[{"byte_end":10723,"byte_start":10723,"column_end":14,"column_start":14,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":324,"line_start":324,"suggested_replacement":",\n CopyStrategy::Adaptive => todo!()","suggestion_applicability":"HasPlaceholders","text":[{"highlight_end":14,"highlight_start":14,"text":" }"}]}]}],"code":{"code":"E0004","explanation":"This error indicates that the compiler cannot guarantee a matching pattern for\none or more possible inputs to a match expression. Guaranteed matches are\nrequired in order to assign values to match expressions, or alternatively,\ndetermine the flow of execution.\n\nErroneous code example:\n\n```compile_fail,E0004\nenum Terminator {\n HastaLaVistaBaby,\n TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x { // error: non-exhaustive patterns: `HastaLaVistaBaby` not covered\n Terminator::TalkToMyHand => {}\n}\n```\n\nIf you encounter this error you must alter your patterns so that every possible\nvalue of the input type is matched. For types with a small number of variants\n(like enums) you should probably cover all cases explicitly. Alternatively, the\nunderscore `_` wildcard pattern can be added after all other patterns to match\n\"anything else\". Example:\n\n```\nenum Terminator {\n HastaLaVistaBaby,\n TalkToMyHand,\n}\n\nlet x = Terminator::HastaLaVistaBaby;\n\nmatch x {\n Terminator::TalkToMyHand => {}\n Terminator::HastaLaVistaBaby => {}\n}\n\n// or:\n\nmatch x {\n Terminator::TalkToMyHand => {}\n _ => {}\n}\n```\n"},"level":"error","message":"non-exhaustive patterns: `CopyStrategy::Adaptive` not covered","spans":[{"byte_end":9772,"byte_start":9764,"column_end":23,"column_start":15,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":"pattern `CopyStrategy::Adaptive` not covered","line_end":304,"line_start":304,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":15,"text":" match strategy {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning[E0133]: call to unsafe function `optimization::advanced::cache_friendly::FastMemoryCopier::copy_byte_by_byte` is unsafe and requires unsafe block\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:307:17\n |\n307 | self.copy_byte_by_byte(src, dst, size);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function\n |\n = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>\n = note: consult the function's documentation for information on how to avoid undefined behavior\nnote: an unsafe function restricts its caller, but its body is safe by default\n --> vm-mem/src/optimization/advanced/cache_friendly.rs:279:5\n |\n279 | pub unsafe fn copy_memory(&self, src: *const u8, dst: *mut u8, size: usize) -> Result<(), VmError> {\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>","rendered":null,"spans":[]},{"children":[],"code":null,"level":"note","message":"consult the function's documentation for information on how to avoid undefined behavior","rendered":null,"spans":[]},{"children":[],"code":null,"level":"note","message":"an unsafe function restricts its caller, but its body is safe by default","rendered":null,"spans":[{"byte_end":8970,"byte_start":8872,"column_end":103,"column_start":5,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":279,"line_start":279,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":103,"highlight_start":5,"text":" pub unsafe fn copy_memory(&self, src: *const u8, dst: *mut u8, size: usize) -> Result<(), VmError> {"}]}]},{"children":[],"code":null,"level":"note","message":"`#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"consider wrapping the function body in an unsafe block","rendered":null,"spans":[{"byte_end":8971,"byte_start":8971,"column_end":104,"column_start":104,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":279,"line_start":279,"suggested_replacement":"{ unsafe ","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":104,"highlight_start":104,"text":" pub unsafe fn copy_memory(&self, src: *const u8, dst: *mut u8, size: usize) -> Result<(), VmError> {"}]},{"byte_end":10755,"byte_start":10755,"column_end":6,"column_start":6,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":null,"line_end":328,"line_start":328,"suggested_replacement":"}","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":6,"highlight_start":6,"text":" }"}]}]}],"code":{"code":"E0133","explanation":"Unsafe code was used outside of an unsafe block.\n\nErroneous code example:\n\n```compile_fail,E0133\nunsafe fn f() { return; } // This is the unsafe code\n\nfn main() {\n f(); // error: call to unsafe function requires unsafe function or block\n}\n```\n\nUsing unsafe functionality is potentially dangerous and disallowed by safety\nchecks. Examples:\n\n* Dereferencing raw pointers\n* Calling functions via FFI\n* Calling functions marked unsafe\n\nThese safety checks can be relaxed for a section of the code by wrapping the\nunsafe instructions with an `unsafe` block. For instance:\n\n```\nunsafe fn f() { return; }\n\nfn main() {\n unsafe { f(); } // ok!\n}\n```\n\nSee the [unsafe section][unsafe-section] of the Book for more details.\n\n#### Unsafe code in functions\n\nUnsafe code is currently accepted in unsafe functions, but that is being phased\nout in favor of requiring unsafe blocks here too.\n\n```\nunsafe fn f() { return; }\n\nunsafe fn g() {\n f(); // Is accepted, but no longer recommended\n unsafe { f(); } // Recommended way to write this\n}\n```\n\nLinting against this is controlled via the `unsafe_op_in_unsafe_fn` lint, which\nis `warn` by default in the 2024 edition and `allow` by default in earlier\neditions.\n\n[unsafe-section]: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html\n"},"level":"warning","message":"call to unsafe function `optimization::advanced::cache_friendly::FastMemoryCopier::copy_byte_by_byte` is unsafe and requires unsafe block","spans":[{"byte_end":9943,"byte_start":9905,"column_end":55,"column_start":17,"expansion":null,"file_name":"vm-mem/src/optimization/advanced/cache_friendly.rs","is_primary":true,"label":"call to unsafe function","line_end":307,"line_start":307,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":55,"highlight_start":17,"text":" self.copy_byte_by_byte(src, dst, size);"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `cutoff_time`\n --> vm-mem/src/tlb/tlb_flush.rs:247:13\n |\n247 | let cutoff_time = oldest_time + Duration::from_secs(60); // 1分钟\n | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutoff_time`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":6976,"byte_start":6965,"column_end":24,"column_start":13,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":247,"line_start":247,"suggested_replacement":"_cutoff_time","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":24,"highlight_start":13,"text":" let cutoff_time = oldest_time + Duration::from_secs(60); // 1分钟"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `cutoff_time`","spans":[{"byte_end":6976,"byte_start":6965,"column_end":24,"column_start":13,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":247,"line_start":247,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":24,"highlight_start":13,"text":" let cutoff_time = oldest_time + Duration::from_secs(60); // 1分钟"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `stride`\n --> vm-mem/src/tlb/tlb_flush.rs:729:38\n |\n729 | AccessPattern::Strided { stride } => {\n | ^^^^^^ help: try ignoring the field: `stride: _`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"try ignoring the field","rendered":null,"spans":[{"byte_end":23642,"byte_start":23636,"column_end":44,"column_start":38,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":729,"line_start":729,"suggested_replacement":"stride: _","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":44,"highlight_start":38,"text":" AccessPattern::Strided { stride } => {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `stride`","spans":[{"byte_end":23642,"byte_start":23636,"column_end":44,"column_start":38,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":729,"line_start":729,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":44,"highlight_start":38,"text":" AccessPattern::Strided { stride } => {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `hot_pages`\n --> vm-mem/src/tlb/tlb_flush.rs:714:9\n |\n714 | hot_pages: &[(GuestAddr, u16, u64)],\n | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hot_pages`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":23100,"byte_start":23091,"column_end":18,"column_start":9,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":714,"line_start":714,"suggested_replacement":"_hot_pages","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":18,"highlight_start":9,"text":" hot_pages: &[(GuestAddr, u16, u64)],"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `hot_pages`","spans":[{"byte_end":23100,"byte_start":23091,"column_end":18,"column_start":9,"expansion":null,"file_name":"vm-mem/src/tlb/tlb_flush.rs","is_primary":true,"label":null,"line_end":714,"line_start":714,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":18,"highlight_start":9,"text":" hot_pages: &[(GuestAddr, u16, u64)],"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `asid`\n --> vm-mem/src/unified_mmu.rs:639:35\n |\n639 | fn flush_asid_tlbs(&mut self, asid: u16) {\n | ^^^^ help: if this is intentional, prefix it with an underscore: `_asid`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":20560,"byte_start":20556,"column_end":39,"column_start":35,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":639,"line_start":639,"suggested_replacement":"_asid","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":39,"highlight_start":35,"text":" fn flush_asid_tlbs(&mut self, asid: u16) {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `asid`","spans":[{"byte_end":20560,"byte_start":20556,"column_end":39,"column_start":35,"expansion":null,"file_name":"vm-mem/src/unified_mmu.rs","is_primary":true,"label":null,"line_end":639,"line_start":639,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":39,"highlight_start":35,"text":" fn flush_asid_tlbs(&mut self, asid: u16) {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: unused variable: `size`\n --> vm-mem/src/lib.rs:876:47\n |\n876 | fn is_accessible(&self, vaddr: GuestAddr, size: usize) -> bool {\n | ^^^^\n |\nhelp: if this is intentional, prefix it with an underscore\n |\n876 | fn is_accessible(&self, vaddr: GuestAddr, _size: usize) -> bool {\n | +\nhelp: you might have meant to pattern match on the similarly named constant `SHARD_COUNT`\n |\n876 - fn is_accessible(&self, vaddr: GuestAddr, size: usize) -> bool {\n876 + fn is_accessible(&self, vaddr: GuestAddr, SHARD_COUNT: usize) -> bool {\n |\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"if this is intentional, prefix it with an underscore","rendered":null,"spans":[{"byte_end":27825,"byte_start":27821,"column_end":51,"column_start":47,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":876,"line_start":876,"suggested_replacement":"_size","suggestion_applicability":"MaybeIncorrect","text":[{"highlight_end":51,"highlight_start":47,"text":" fn is_accessible(&self, vaddr: GuestAddr, size: usize) -> bool {"}]}]},{"children":[],"code":null,"level":"help","message":"you might have meant to pattern match on the similarly named constant `SHARD_COUNT`","rendered":null,"spans":[{"byte_end":27825,"byte_start":27821,"column_end":51,"column_start":47,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":876,"line_start":876,"suggested_replacement":"SHARD_COUNT","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":51,"highlight_start":47,"text":" fn is_accessible(&self, vaddr: GuestAddr, size: usize) -> bool {"}]}]}],"code":{"code":"unused_variables","explanation":null},"level":"warning","message":"unused variable: `size`","spans":[{"byte_end":27825,"byte_start":27821,"column_end":51,"column_start":47,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":876,"line_start":876,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":51,"highlight_start":47,"text":" fn is_accessible(&self, vaddr: GuestAddr, size: usize) -> bool {"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: variable does not need to be mutable\n --> vm-mem/src/lib.rs:933:29\n |\n933 | let mut temp_buf = [0u8; 1];\n | ----^^^^^^^^\n | |\n | help: remove this `mut`\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"help","message":"remove this `mut`","rendered":null,"spans":[{"byte_end":30036,"byte_start":30032,"column_end":33,"column_start":29,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":933,"line_start":933,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":33,"highlight_start":29,"text":" let mut temp_buf = [0u8; 1];"}]}]}],"code":{"code":"unused_mut","explanation":null},"level":"warning","message":"variable does not need to be mutable","spans":[{"byte_end":30044,"byte_start":30032,"column_end":41,"column_start":29,"expansion":null,"file_name":"vm-mem/src/lib.rs","is_primary":true,"label":null,"line_end":933,"line_start":933,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":41,"highlight_start":29,"text":" let mut temp_buf = [0u8; 1];"}]}]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"Some errors have detailed explanations: E0004, E0061, E0133, E0308, E0559, E0599, E0605, E0609.\n","$message_type":"diagnostic","children":[],"code":null,"level":"failure-note","message":"Some errors have detailed explanations: E0004, E0061, E0133, E0308, E0559, E0599, E0605, E0609.","spans":[]}}
|
||
{"reason":"compiler-message","package_id":"path+file:///Users/didi/Desktop/vm/vm-mem#0.1.0","manifest_path":"/Users/didi/Desktop/vm/vm-mem/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"vm_mem","src_path":"/Users/didi/Desktop/vm/vm-mem/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"For more information about an error, try `rustc --explain E0004`.\n","$message_type":"diagnostic","children":[],"code":null,"level":"failure-note","message":"For more information about an error, try `rustc --explain E0004`.","spans":[]}}
|
||
error: could not compile `vm-mem` (lib) due to 23 previous errors; 58 warnings emitted
|
||
{"reason":"build-finished","success":false}
|