[INFO] fetching crate ml_monitoring 0.1.0...
[INFO] checking ml_monitoring-0.1.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate ml_monitoring 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate ml_monitoring 0.1.0
[INFO] finished tweaking crates.io crate ml_monitoring 0.1.0
[INFO] tweaked toml for crates.io crate ml_monitoring 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ml_monitoring 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 16 packages to latest compatible versions
[INFO] [stderr]       Adding approx v0.3.2 (available: v0.5.1)
[INFO] [stderr]       Adding slice-deque v0.1.16 (available: v0.3.0)
[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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9b922cbe916b901b2e28eb47fc025dd6197341abfef7f4e96da327dcc17ec892
[INFO] running `Command { std: "docker" "start" "-a" "9b922cbe916b901b2e28eb47fc025dd6197341abfef7f4e96da327dcc17ec892", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b922cbe916b901b2e28eb47fc025dd6197341abfef7f4e96da327dcc17ec892", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b922cbe916b901b2e28eb47fc025dd6197341abfef7f4e96da327dcc17ec892", kill_on_drop: false }`
[INFO] [stdout] 9b922cbe916b901b2e28eb47fc025dd6197341abfef7f4e96da327dcc17ec892
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] dbbf70c0b5e9f17f28a8ea021867e27c1558c526c4bbfcdec32a9df090091154
[INFO] running `Command { std: "docker" "start" "-a" "dbbf70c0b5e9f17f28a8ea021867e27c1558c526c4bbfcdec32a9df090091154", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking approx v0.3.2
[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" "dbbf70c0b5e9f17f28a8ea021867e27c1558c526c4bbfcdec32a9df090091154", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbbf70c0b5e9f17f28a8ea021867e27c1558c526c4bbfcdec32a9df090091154", kill_on_drop: false }`
[INFO] [stdout] dbbf70c0b5e9f17f28a8ea021867e27c1558c526c4bbfcdec32a9df090091154
