[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 try#0611f7de057c584b8771102fde7aed6c70c71d3b 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/phillyfan1138/ml_monitoring on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] df24c7a23ea126ef09af662e3ecf3b31029f617e276914abfaa5c5b794c9d35c
[INFO] running `Command { std: "docker" "start" "-a" "df24c7a23ea126ef09af662e3ecf3b31029f617e276914abfaa5c5b794c9d35c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df24c7a23ea126ef09af662e3ecf3b31029f617e276914abfaa5c5b794c9d35c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df24c7a23ea126ef09af662e3ecf3b31029f617e276914abfaa5c5b794c9d35c", kill_on_drop: false }`
[INFO] [stdout] df24c7a23ea126ef09af662e3ecf3b31029f617e276914abfaa5c5b794c9d35c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d482df0c6b7d16101fb4bccf573f85b173016d8dcfa725b5552649bc982efea
[INFO] running `Command { std: "docker" "start" "-a" "7d482df0c6b7d16101fb4bccf573f85b173016d8dcfa725b5552649bc982efea", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling num-traits v0.2.6
[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] error: struct `MonitoringInstructions` is never constructed
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct MonitoringInstructions{
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `HoldInputData` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct HoldInputData{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Outcome` is never constructed
[INFO] [stdout]   --> src/lib.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Outcome<T>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ConfusionMatrix` is never constructed
[INFO] [stdout]   --> src/lib.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct ConfusionMatrix{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `HoldOutputDataUsize` is never constructed
[INFO] [stdout]   --> src/lib.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct HoldOutputDataUsize{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `HoldOutputDataF64` is never constructed
[INFO] [stdout]    --> src/lib.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct HoldOutputDataF64{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[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] error: could not compile `ml_monitoring` (lib) due to 6 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7d482df0c6b7d16101fb4bccf573f85b173016d8dcfa725b5552649bc982efea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d482df0c6b7d16101fb4bccf573f85b173016d8dcfa725b5552649bc982efea", kill_on_drop: false }`
[INFO] [stdout] 7d482df0c6b7d16101fb4bccf573f85b173016d8dcfa725b5552649bc982efea
