[INFO] cloning repository https://github.com/Gifted-s/DSF
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gifted-s/DSF" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGifted-s%2FDSF", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGifted-s%2FDSF'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e02703f5bfd16f1d12d2f9950d82e07158fb816e
[INFO] checking Gifted-s/DSF against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGifted-s%2FDSF" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Gifted-s/DSF
[INFO] finished tweaking git repo https://github.com/Gifted-s/DSF
[INFO] tweaked toml for git repo https://github.com/Gifted-s/DSF written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gifted-s/DSF on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gifted-s/DSF 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c20ecdc528f7a9048653db62d348e74babb40f50fa2d63054d657341678834c
[INFO] running `Command { std: "docker" "start" "-a" "4c20ecdc528f7a9048653db62d348e74babb40f50fa2d63054d657341678834c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c20ecdc528f7a9048653db62d348e74babb40f50fa2d63054d657341678834c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c20ecdc528f7a9048653db62d348e74babb40f50fa2d63054d657341678834c", kill_on_drop: false }`
[INFO] [stdout] 4c20ecdc528f7a9048653db62d348e74babb40f50fa2d63054d657341678834c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05eebcb43998faf442ec1f3e3e2fe01a0bb48709dadb2692b6a3a432be8cb043
[INFO] running `Command { std: "docker" "start" "-a" "05eebcb43998faf442ec1f3e3e2fe01a0bb48709dadb2692b6a3a432be8cb043", kill_on_drop: false }`
[INFO] [stderr]     Checking drf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `update_max_dominant_share` and `increment_resource_usage` are never used
[INFO] [stdout]    --> src/lib.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl DRF {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn update_max_dominant_share(&mut self, job_dominant_share: &DominantShare) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     fn increment_resource_usage(&mut self, resource: Resource) {
[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 `job_id` and `resource_type` are never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct DominantShare {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 17 |     job_id: JobId,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 18 |     resource_type: ResourceType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DominantShare` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cpu` and `mem` are never read
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Resource {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 33 |     cpu: Core,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     mem: GB,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Resource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_dominant_share`, `allocate_resource_for_next_task`, `run_next_task`, and `get_next_task_resource_demand` are never used
[INFO] [stdout]    --> src/lib.rs:77:8
[INFO] [stdout]     |
[INFO] [stdout]  76 | impl Job {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  77 |     fn new(id: JobId, total_cpu: Core, total_memory: GB) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     fn get_dominant_share(&self) -> &DominantShare {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     fn allocate_resource_for_next_task(&mut self) -> Result<(), ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn run_next_task(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn get_next_task_resource_demand(&self) -> Option<Resource> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/lib.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DRF {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 145 |     total_cpu: Core,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 146 |     total_memory: GB,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 147 |     jobs: HashMap<JobId, Job>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 148 |     max_dominant_share: DominantShare,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 149 |     // least_dominant_share: DominantShare,
[INFO] [stdout] 150 |     cpu_usage: Core,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 151 |     ram_usage: GB,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 152 |     skip_jobs: HashSet<JobId>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update_max_dominant_share`, `increment_resource_usage`, `schedule`, and `least_dominant_fair_share` are never used
[INFO] [stdout]    --> src/lib.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl DRF {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 156 |     fn new(total_cpu: Core, total_memory: GB, jobs: HashMap<JobId, Job>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn update_max_dominant_share(&mut self, job_dominant_share: &DominantShare) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     fn increment_resource_usage(&mut self, resource: Resource) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn schedule(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     fn least_dominant_fair_share(&self) -> (JobId, bool) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "05eebcb43998faf442ec1f3e3e2fe01a0bb48709dadb2692b6a3a432be8cb043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05eebcb43998faf442ec1f3e3e2fe01a0bb48709dadb2692b6a3a432be8cb043", kill_on_drop: false }`
[INFO] [stdout] 05eebcb43998faf442ec1f3e3e2fe01a0bb48709dadb2692b6a3a432be8cb043
