[INFO] cloning repository https://github.com/segfo/page_allocator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfo/page_allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fpage_allocator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fpage_allocator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51b9c6b06bfac95754c995e4f43cbcc566dc2736 [INFO] checking segfo/page_allocator against try#378b6a8a384b3bd0818af5f1745e5747a98bff7b for pr-95819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fpage_allocator" "/workspace/builds/worker-32/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-32/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segfo/page_allocator on toolchain 378b6a8a384b3bd0818af5f1745e5747a98bff7b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/segfo/page_allocator [INFO] finished tweaking git repo https://github.com/segfo/page_allocator [INFO] tweaked toml for git repo https://github.com/segfo/page_allocator written to /workspace/builds/worker-32/source/Cargo.toml [INFO] crate git repo https://github.com/segfo/page_allocator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "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-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411925c0a1bac4bc7fddf59807e004c440dd15b1f3af57e1d540343610bb7d3d [INFO] running `Command { std: "docker" "start" "-a" "411925c0a1bac4bc7fddf59807e004c440dd15b1f3af57e1d540343610bb7d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411925c0a1bac4bc7fddf59807e004c440dd15b1f3af57e1d540343610bb7d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411925c0a1bac4bc7fddf59807e004c440dd15b1f3af57e1d540343610bb7d3d", kill_on_drop: false }` [INFO] [stdout] 411925c0a1bac4bc7fddf59807e004c440dd15b1f3af57e1d540343610bb7d3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dfc1b85859adc6d422b53e5558cb89c153eece3810001c664cdb83ed57614f1 [INFO] running `Command { std: "docker" "start" "-a" "7dfc1b85859adc6d422b53e5558cb89c153eece3810001c664cdb83ed57614f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking page_memory_allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `show_available_memory` [INFO] [stdout] --> src/main.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use memory::PageAllocator::{show_available_memory,memtranse,PageMemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_available_memory` [INFO] [stdout] --> src/main.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use memory::PageAllocator::{show_available_memory,memtranse,PageMemoryManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory/PageAllocator.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub unsafe fn get_instance()->&'static mut Self{ [INFO] [stdout] | ----------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 74 | let entity = unsafe{MEM_MANAGER.get_entity()}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem_total` [INFO] [stdout] --> src/memory/PageAllocator.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | mem_total:usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PageMemoryManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/memory/PageAllocator.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_area` [INFO] [stdout] --> src/memory/PageAllocator.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn show_area(area:MemoryArea)->String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_list` [INFO] [stdout] --> src/memory/PageAllocator.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn show_list(mlist:MemoryAreaPtr){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_available_memory` [INFO] [stdout] --> src/memory/PageAllocator.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn show_available_memory(manager:&PageMemoryManager){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PageAllocator` should have a snake case name [INFO] [stdout] --> src/memory/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod PageAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `page_allocator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory/PageAllocator.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub unsafe fn get_instance()->&'static mut Self{ [INFO] [stdout] | ----------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 74 | let entity = unsafe{MEM_MANAGER.get_entity()}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem_total` [INFO] [stdout] --> src/memory/PageAllocator.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | mem_total:usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PageMemoryManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/memory/PageAllocator.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_area` [INFO] [stdout] --> src/memory/PageAllocator.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn show_area(area:MemoryArea)->String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_list` [INFO] [stdout] --> src/memory/PageAllocator.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn show_list(mlist:MemoryAreaPtr){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_available_memory` [INFO] [stdout] --> src/memory/PageAllocator.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn show_available_memory(manager:&PageMemoryManager){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PageAllocator` should have a snake case name [INFO] [stdout] --> src/memory/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod PageAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `page_allocator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.94s [INFO] running `Command { std: "docker" "inspect" "7dfc1b85859adc6d422b53e5558cb89c153eece3810001c664cdb83ed57614f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfc1b85859adc6d422b53e5558cb89c153eece3810001c664cdb83ed57614f1", kill_on_drop: false }` [INFO] [stdout] 7dfc1b85859adc6d422b53e5558cb89c153eece3810001c664cdb83ed57614f1