[INFO] cloning repository https://github.com/theoOdendaal/dpm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theoOdendaal/dpm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheoOdendaal%2Fdpm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheoOdendaal%2Fdpm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 487f86f09336842d3a0ecb9a8e73e67b5207dbd8
[INFO] checking theoOdendaal/dpm against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheoOdendaal%2Fdpm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theoOdendaal/dpm
[INFO] finished tweaking git repo https://github.com/theoOdendaal/dpm
[INFO] tweaked toml for git repo https://github.com/theoOdendaal/dpm written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theoOdendaal/dpm 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/theoOdendaal/dpm 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6a8656bc74938ca6ce6a2fca9b226cdb7f5e3b98a8384aefc985a00160565ab8
[INFO] running `Command { std: "docker" "start" "-a" "6a8656bc74938ca6ce6a2fca9b226cdb7f5e3b98a8384aefc985a00160565ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a8656bc74938ca6ce6a2fca9b226cdb7f5e3b98a8384aefc985a00160565ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a8656bc74938ca6ce6a2fca9b226cdb7f5e3b98a8384aefc985a00160565ab8", kill_on_drop: false }`
[INFO] [stdout] 6a8656bc74938ca6ce6a2fca9b226cdb7f5e3b98a8384aefc985a00160565ab8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] daea186b607c58e079df48141bb715d94d1201a2b35001142d46f1870e815f92
[INFO] running `Command { std: "docker" "start" "-a" "daea186b607c58e079df48141bb715d94d1201a2b35001142d46f1870e815f92", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling cc v1.1.13
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking ipnet v2.10.0
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.8
[INFO] [stderr]     Checking dpm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TermStructure`
[INFO] [stdout]   --> src/interest/types.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | use super::term_structure::{Term, TermStructure};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDate`
[INFO] [stdout]  --> src/country/holidays.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::NaiveDate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]   --> src/resources/holidays/mod.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::fs::{self, read_to_string};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var`
[INFO] [stdout]   --> src/math/solver.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn backward(var: &f64, closure: &Box<dyn Fn() -> f64>) -> f64 {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_var`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spot_to_discount` is never used
[INFO] [stdout]    --> src/interest/types.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn spot_to_discount(convention: &InterestConventions, point: &Point) -> f64 {
[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 `forward_to_short_spot` is never used
[INFO] [stdout]    --> src/interest/types.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn forward_to_short_spot(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_to_long_spot` is never used
[INFO] [stdout]    --> src/interest/types.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn forward_to_long_spot(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_and_spot_check` is never used
[INFO] [stdout]    --> src/interest/types.rs:239:4
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn forward_and_spot_check(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Holidays` is never constructed
[INFO] [stdout]   --> src/country/holidays.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Holidays<A>(HashMap<String, Vec<A>>);
[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] warning: constant `RESOURCE_DIR` is never used
[INFO] [stdout]  --> src/country/holidays.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const RESOURCE_DIR: &str = "src/resources/holidays";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `identifiers`, and `urls` are never read
[INFO] [stdout]   --> src/country/holidays.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HolidaysRequest {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 26 |     client: Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     identifiers: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 28 |     urls: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/country/holidays.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Holidays<A>(HashMap<String, Vec<A>>);
[INFO] [stdout]    |            --------    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/country/holidays.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl HolidaysBuilder<NoCountryCodes, NoPeriods> {
[INFO] [stdout]    | ----------------------------------------------- associated function in this implementation
[INFO] [stdout] 33 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CubicPoints` is never used
[INFO] [stdout]   --> src/math/interpolation/mod.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | type CubicPoints<'a> = (&'a f64, &'a f64, &'a f64, &'a f64);
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TermStructure`
[INFO] [stdout]   --> src/interest/types.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | use super::term_structure::{Term, TermStructure};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDate`
[INFO] [stdout]  --> src/country/holidays.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::NaiveDate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]   --> src/resources/holidays/mod.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::fs::{self, read_to_string};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dpm` (lib) due to 1 previous error; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `var`
[INFO] [stdout]   --> src/math/solver.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn backward(var: &f64, closure: &Box<dyn Fn() -> f64>) -> f64 {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_var`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spot_to_discount` is never used
[INFO] [stdout]    --> src/interest/types.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn spot_to_discount(convention: &InterestConventions, point: &Point) -> f64 {
[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 `forward_to_short_spot` is never used
[INFO] [stdout]    --> src/interest/types.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn forward_to_short_spot(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_to_long_spot` is never used
[INFO] [stdout]    --> src/interest/types.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn forward_to_long_spot(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_and_spot_check` is never used
[INFO] [stdout]    --> src/interest/types.rs:239:4
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn forward_and_spot_check(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Holidays` is never constructed
[INFO] [stdout]   --> src/country/holidays.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Holidays<A>(HashMap<String, Vec<A>>);
[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] warning: constant `RESOURCE_DIR` is never used
[INFO] [stdout]  --> src/country/holidays.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const RESOURCE_DIR: &str = "src/resources/holidays";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `identifiers`, and `urls` are never read
[INFO] [stdout]   --> src/country/holidays.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HolidaysRequest {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 26 |     client: Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 27 |     identifiers: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 28 |     urls: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/country/holidays.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Holidays<A>(HashMap<String, Vec<A>>);
[INFO] [stdout]    |            --------    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/country/holidays.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl HolidaysBuilder<NoCountryCodes, NoPeriods> {
[INFO] [stdout]    | ----------------------------------------------- associated function in this implementation
[INFO] [stdout] 33 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CubicPoints` is never used
[INFO] [stdout]   --> src/math/interpolation/mod.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | type CubicPoints<'a> = (&'a f64, &'a f64, &'a f64, &'a f64);
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dpm` (lib test) due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "daea186b607c58e079df48141bb715d94d1201a2b35001142d46f1870e815f92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daea186b607c58e079df48141bb715d94d1201a2b35001142d46f1870e815f92", kill_on_drop: false }`
[INFO] [stdout] daea186b607c58e079df48141bb715d94d1201a2b35001142d46f1870e815f92
