[INFO] cloning repository https://github.com/raja-dettex/vm-pager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raja-dettex/vm-pager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fvm-pager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fvm-pager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a08dd5cac5cc64967ec9061034b201cd8458ddc7
[INFO] checking raja-dettex/vm-pager against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fvm-pager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raja-dettex/vm-pager
[INFO] finished tweaking git repo https://github.com/raja-dettex/vm-pager
[INFO] tweaked toml for git repo https://github.com/raja-dettex/vm-pager written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raja-dettex/vm-pager on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raja-dettex/vm-pager 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9
[INFO] running `Command { std: "docker" "start" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking vm-pager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if(frame.is_free) {
[INFO] [stdout]    |               ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -             if(frame.is_free) {
[INFO] [stdout] 72 +             if frame.is_free {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if(frame.is_free) {
[INFO] [stdout]    |               ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -             if(frame.is_free) {
[INFO] [stdout] 72 +             if frame.is_free {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:144:35
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   if(evict_entry.dirty) { 
[INFO] [stdout]     |                         ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 144 -                                 if(evict_entry.dirty) { 
[INFO] [stdout] 144 +                                 if evict_entry.dirty { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:144:35
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   if(evict_entry.dirty) { 
[INFO] [stdout]     |                         ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 144 -                                 if(evict_entry.dirty) { 
[INFO] [stdout] 144 +                                 if evict_entry.dirty { 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut page_table = PageTable::new();
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut page_table = PageTable::new();
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut frame_table = FrameTable::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let mut frame_table = FrameTable::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut disk = Disk::new(10);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut disk = Disk::new(10);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_table_entry`
[INFO] [stdout]    --> src/main.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   let page_table_entry = pager_state.page_table.insert(page_num, page);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_table_entry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_table_entry`
[INFO] [stdout]    --> src/main.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   let page_table_entry = pager_state.page_table.insert(page_num, page);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_table_entry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTUAL_PAGES` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const VIRTUAL_PAGES: usize = 64;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VIRTUAL_PAGES` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const VIRTUAL_PAGES: usize = 64;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `accessed` and `pinned` are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct PageTableEntry { 
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 16 |     frame_number: Option<FrameNum>,
[INFO] [stdout] 17 |     accessed: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     pinned: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PageTableEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `accessed` and `pinned` are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct PageTableEntry { 
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 16 |     frame_number: Option<FrameNum>,
[INFO] [stdout] 17 |     accessed: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     pinned: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PageTableEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_page` is never used
[INFO] [stdout]   --> src/main.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl PageTable { 
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn get_page(&self , page_num : PageNum) -> Option<&PageTableEntry> { 
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_page` is never used
[INFO] [stdout]   --> src/main.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl PageTable { 
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn get_page(&self , page_num : PageNum) -> Option<&PageTableEntry> { 
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_pages` is never read
[INFO] [stdout]    --> src/main.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct PagerState { 
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     max_pages: usize
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_pages` is never read
[INFO] [stdout]    --> src/main.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct PagerState { 
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     max_pages: usize
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s
[INFO] running `Command { std: "docker" "inspect" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9", kill_on_drop: false }`
[INFO] [stdout] 4660df4e242e19845d7a0aad3bb43b49ee8c57a812c18218cd6a360081c737c9
