[INFO] cloning repository https://github.com/phillyfan1138/ml_monitoring
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phillyfan1138/ml_monitoring" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillyfan1138%2Fml_monitoring", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillyfan1138%2Fml_monitoring'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3cf4dc0a0988825daf19a8c20f3cae64138fa5a
[INFO] checking phillyfan1138/ml_monitoring against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillyfan1138%2Fml_monitoring" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/phillyfan1138/ml_monitoring
[INFO] finished tweaking git repo https://github.com/phillyfan1138/ml_monitoring
[INFO] tweaked toml for git repo https://github.com/phillyfan1138/ml_monitoring written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/phillyfan1138/ml_monitoring 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/phillyfan1138/ml_monitoring 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] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded approx v0.3.1
[INFO] [stderr]   Downloaded kolmogorov_smirnov v1.1.0
[INFO] [stderr]   Downloaded libc v0.2.50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9b6613aec1f1771b36ef1c5e9320bcb84982667e55e606699c7c2296775da0a5
[INFO] running `Command { std: "docker" "start" "-a" "9b6613aec1f1771b36ef1c5e9320bcb84982667e55e606699c7c2296775da0a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b6613aec1f1771b36ef1c5e9320bcb84982667e55e606699c7c2296775da0a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b6613aec1f1771b36ef1c5e9320bcb84982667e55e606699c7c2296775da0a5", kill_on_drop: false }`
[INFO] [stdout] 9b6613aec1f1771b36ef1c5e9320bcb84982667e55e606699c7c2296775da0a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b339000ea9e360d2f8aab7daee6d6195bc139cc8a8f8d8d9cc7326a173a9fce4
[INFO] running `Command { std: "docker" "start" "-a" "b339000ea9e360d2f8aab7daee6d6195bc139cc8a8f8d8d9cc7326a173a9fce4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]     Checking approx v0.3.1
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking slice-deque v0.1.16
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking kolmogorov_smirnov v1.1.0
[INFO] [stderr]     Checking ml_monitoring v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `num_new_elements` is never read
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct MonitoringInstructions{
[INFO] [stdout]   |            ---------------------- field in this struct
[INFO] [stdout] 3 |     num_new_elements:usize
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `push_fixed_length` is never used
[INFO] [stdout]  --> src/lib.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn push_fixed_length<T>(data:&mut SliceDeque<T>, new_element:T, max_num:usize){
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct HoldInputData{
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 15 |     data:SliceDeque<f64>
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `compute_drift` are never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl HoldInputData{
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 18 |     fn new()->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn push(&mut self, new_element:f64, instructions:&MonitoringInstructions){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn compute_drift(&self, original_data:&[f64])->f64{
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `predicted` and `actual` are never read
[INFO] [stdout]   --> src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Outcome<T>{
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     predicted:T,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 39 |     actual:T
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `specificity` is never used
[INFO] [stdout]   --> src/lib.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn specificity(t_n:f64, f_p:f64)->f64{
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sensitivity` is never used
[INFO] [stdout]   --> src/lib.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn sensitivity(t_p:f64, f_n:f64)->f64{
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `precision` is never used
[INFO] [stdout]   --> src/lib.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn precision(t_p:f64, f_p:f64)->f64{
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accuracy` is never used
[INFO] [stdout]   --> src/lib.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn accuracy(t_p:f64, t_n:f64, f_p:f64, f_n:f64)->f64{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `true_positive`, `true_negative`, `false_positive`, and `false_negative` are never read
[INFO] [stdout]   --> src/lib.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct ConfusionMatrix{
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 54 |     true_positive:usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 55 |     true_negative:usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 56 |     false_positive:usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     false_negative:usize
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `specificity`, `sensitivity`, `precision`, and `accuracy` are never used
[INFO] [stdout]   --> src/lib.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl ConfusionMatrix{
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 60 |     fn create(data:&[Outcome<usize>])-> Self{
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn specificity(&self)->f64{
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn sensitivity(&self)->f64{
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn precision(&self)->f64{
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn accuracy(&self)->f64{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_mse` is never used
[INFO] [stdout]   --> src/lib.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn compute_mse(values: &SliceDeque<Outcome<f64>>)->f64{
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct HoldOutputDataUsize{
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 93 |     data:SliceDeque<Outcome<usize>>
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `compute_confusion_matrix` are never used
[INFO] [stdout]    --> src/lib.rs:97:8
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl HoldOutputDataUsize{
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout]  97 |     fn new()->Self{
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn push(&mut self, predicted:usize, actual:usize, instructions:&MonitoringInstructions){
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn compute_confusion_matrix(&self)->ConfusionMatrix{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct HoldOutputDataF64{
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 111 |     data:SliceDeque<Outcome<f64>>
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `compute_mse` are never used
[INFO] [stdout]    --> src/lib.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl HoldOutputDataF64{
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 115 |     fn new()->Self{
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn push(&mut self, predicted:f64, actual:f64, instructions:&MonitoringInstructions){
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn compute_mse(&self)->f64{
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s
[INFO] running `Command { std: "docker" "inspect" "b339000ea9e360d2f8aab7daee6d6195bc139cc8a8f8d8d9cc7326a173a9fce4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b339000ea9e360d2f8aab7daee6d6195bc139cc8a8f8d8d9cc7326a173a9fce4", kill_on_drop: false }`
[INFO] [stdout] b339000ea9e360d2f8aab7daee6d6195bc139cc8a8f8d8d9cc7326a173a9fce4
