[INFO] cloning repository https://github.com/synerthink/dotlanth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synerthink/dotlanth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynerthink%2Fdotlanth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynerthink%2Fdotlanth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9521f0584dc21f2adea070ef052962bdeeb44933 [INFO] checking synerthink/dotlanth against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynerthink%2Fdotlanth" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/synerthink/dotlanth on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/synerthink/dotlanth [INFO] finished tweaking git repo https://github.com/synerthink/dotlanth [INFO] tweaked toml for git repo https://github.com/synerthink/dotlanth written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/synerthink/dotlanth already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80a78869e18602a7331d9f01e916efbc3bb131e8712cf261f03966ba9e40012e [INFO] running `Command { std: "docker" "start" "-a" "80a78869e18602a7331d9f01e916efbc3bb131e8712cf261f03966ba9e40012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80a78869e18602a7331d9f01e916efbc3bb131e8712cf261f03966ba9e40012e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a78869e18602a7331d9f01e916efbc3bb131e8712cf261f03966ba9e40012e", kill_on_drop: false }` [INFO] [stdout] 80a78869e18602a7331d9f01e916efbc3bb131e8712cf261f03966ba9e40012e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb7f3c273c00291d9b3efce970ba4da4a2297def85046f159bcfc8aabceae9b4 [INFO] running `Command { std: "docker" "start" "-a" "fb7f3c273c00291d9b3efce970ba4da4a2297def85046f159bcfc8aabceae9b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking raw-cpuid v11.3.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking proptest v1.6.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking pin-project v1.1.8 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking dotvm-common v0.1.0 (/opt/rustwide/workdir/crates/dotvm/common) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking dotvm-core v0.1.0 (/opt/rustwide/workdir/crates/dotvm/core) [INFO] [stderr] Checking dotvm-compiler v0.1.0 (/opt/rustwide/workdir/crates/dotvm/compiler) [INFO] [stdout] warning: unused variable: `previous_address` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | if let Some((&previous_address, previous_block)) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | asm!("wrpkru", in("eax") mpk, in("ecx") addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn set_memory_protection(addr: usize, mpk: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_mpk_protection(&self, addr: VirtualAddress, size: usize, mpk: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:233:58 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_mpk_protection(&self, addr: VirtualAddress, size: usize, mpk: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | asm!("syscall", in("rax") 0x123, in("rdi") addr, in("rsi") pkey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn set_protection_key(addr: usize, pkey: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:301:59 [INFO] [stdout] | [INFO] [stdout] 301 | fn check_pkey_protection(&self, addr: VirtualAddress, size: usize, pkey: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `any_unmapped` is assigned to, but never used [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut any_unmapped = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_any_unmapped` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `any_unmapped` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | Ok(()) => any_unmapped = true, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `any_unmapped` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | any_unmapped = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operand_to_f64` is never used [INFO] [stdout] --> crates/dotvm/core/src/instruction/control_flow.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn operand_to_f64(op: &Operand) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pools` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct MemoryManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling dotvm-runtime v0.1.0 (/opt/rustwide/workdir/crates/dotvm/runtime) [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking dotvm-tools v0.1.0 (/opt/rustwide/workdir/crates/dotvm/tools) [INFO] [stdout] warning: unused imports: `Allocator`, `Arch32`, `MemoryPool`, `PageTable`, `PhysicalAddress`, and `VirtualAddress` [INFO] [stdout] --> crates/dotvm/core/tests/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Allocator, Arch32, Arch64, Architecture, MemoryError, MemoryHandle, MemoryManagement, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 19 | MemoryManager, MemoryPool, PageTable, PhysicalAddress, Protection, VirtualAddress, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> crates/dotvm/core/tests/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_address` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | if let Some((&previous_address, previous_block)) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:373:42 [INFO] [stdout] | [INFO] [stdout] 373 | fn create_allocator(strategy: AllocationStrategy) -> Allocator { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | let handle2 = allocator.allocate(2048).expect("Second allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let handle3 = allocator.allocate(512).expect("Third allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle1` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | let handle1 = allocator.allocate(1024).expect("First allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | let handle3 = allocator.allocate(512).expect("Third allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle4` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let handle4 = allocator.allocate(504).expect("Fourth allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_handle` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | let new_handle = allocator.allocate(1024).expect("New allocation failed"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | let handle = allocator.allocate(1024).expect("Allocation failed"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> crates/dotvm/core/src/memory/allocator.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | let handle2 = allocator.allocate(2048).expect("Second allocation failed"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/dotvm/core/src/memory/pool.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | asm!("wrpkru", in("eax") mpk, in("ecx") addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe fn set_memory_protection(addr: usize, mpk: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_mpk_protection(&self, addr: VirtualAddress, size: usize, mpk: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:233:58 [INFO] [stdout] | [INFO] [stdout] 233 | fn check_mpk_protection(&self, addr: VirtualAddress, size: usize, mpk: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | asm!("syscall", in("rax") 0x123, in("rdi") addr, in("rsi") pkey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | unsafe fn set_protection_key(addr: usize, pkey: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> crates/dotvm/core/src/memory/protection.rs:301:59 [INFO] [stdout] | [INFO] [stdout] 301 | fn check_pkey_protection(&self, addr: VirtualAddress, size: usize, pkey: u32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `any_unmapped` is assigned to, but never used [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut any_unmapped = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_any_unmapped` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `any_unmapped` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | Ok(()) => any_unmapped = true, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `any_unmapped` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | any_unmapped = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let handle2 = mm [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operand_to_f64` is never used [INFO] [stdout] --> crates/dotvm/core/src/instruction/control_flow.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn operand_to_f64(op: &Operand) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pools` is never read [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct MemoryManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> crates/dotvm/core/src/memory/mod.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(handle.0 >= 0); // 0 is also acceptable [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking tonic-reflection v0.11.0 [INFO] [stdout] warning: unused import: `MemoryError` [INFO] [stdout] --> crates/dotvm/runtime/src/contracts/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use dotvm_core::memory::{MemoryError, MemoryHandle}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryError` [INFO] [stdout] --> crates/dotvm/runtime/src/contracts/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use dotvm_core::memory::{MemoryError, MemoryHandle}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "fb7f3c273c00291d9b3efce970ba4da4a2297def85046f159bcfc8aabceae9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7f3c273c00291d9b3efce970ba4da4a2297def85046f159bcfc8aabceae9b4", kill_on_drop: false }` [INFO] [stdout] fb7f3c273c00291d9b3efce970ba4da4a2297def85046f159bcfc8aabceae9b4