[INFO] cloning repository https://github.com/SimonG85/composing_contract_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SimonG85/composing_contract_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonG85%2Fcomposing_contract_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonG85%2Fcomposing_contract_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee234138e2b9f9247c1a65eba8fee2f6a074b832
[INFO] checking SimonG85/composing_contract_rs against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonG85%2Fcomposing_contract_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SimonG85/composing_contract_rs
[INFO] finished tweaking git repo https://github.com/SimonG85/composing_contract_rs
[INFO] tweaked toml for git repo https://github.com/SimonG85/composing_contract_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SimonG85/composing_contract_rs on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SimonG85/composing_contract_rs 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.94
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.94
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.94
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.94
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.94
[INFO] [stderr]   Downloaded js-sys v0.3.71
[INFO] [stderr]   Downloaded cc v1.1.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d53336b3a42b605c51e69e5faab9c3dc056b2100c1cc64d42d145b54b9c107a5
[INFO] running `Command { std: "docker" "start" "-a" "d53336b3a42b605c51e69e5faab9c3dc056b2100c1cc64d42d145b54b9c107a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d53336b3a42b605c51e69e5faab9c3dc056b2100c1cc64d42d145b54b9c107a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d53336b3a42b605c51e69e5faab9c3dc056b2100c1cc64d42d145b54b9c107a5", kill_on_drop: false }`
[INFO] [stdout] d53336b3a42b605c51e69e5faab9c3dc056b2100c1cc64d42d145b54b9c107a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfcafc2e1ad2753cdda1a473af1b77a51ffa869cfb52a2b86e18c43e5798eb91
[INFO] running `Command { std: "docker" "start" "-a" "dfcafc2e1ad2753cdda1a473af1b77a51ffa869cfb52a2b86e18c43e5798eb91", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking composing_contract_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]  --> src/interest_rate.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn interest_rate(&self, date: NaiveDate) -> f64 {
[INFO] [stdout]   |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]  --> src/interest_rate.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn interest_rate(&self, date: NaiveDate) -> f64 {
[INFO] [stdout]   |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home_currency`
[INFO] [stdout]   --> src/valuation.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn exch(home_currency: Currency, foreign_currency: Currency) -> ValueProcess {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_home_currency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `foreign_currency`
[INFO] [stdout]   --> src/valuation.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn exch(home_currency: Currency, foreign_currency: Currency) -> ValueProcess {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_currency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home_currency`
[INFO] [stdout]   --> src/valuation.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn exch(home_currency: Currency, foreign_currency: Currency) -> ValueProcess {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_home_currency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/valuation.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]   --> src/valuation.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `foreign_currency`
[INFO] [stdout]   --> src/valuation.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn exch(home_currency: Currency, foreign_currency: Currency) -> ValueProcess {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_foreign_currency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/valuation.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]   --> src/valuation.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disc` is never used
[INFO] [stdout]   --> src/valuation.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[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 `eval` is never used
[INFO] [stdout]   --> src/valuation.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn eval(contract: &Contract, evaluation_date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disc` is never used
[INFO] [stdout]   --> src/valuation.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn disc(quantity: RandomVariable, date: NaiveDate) -> ValueProcess {
[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 `eval` is never used
[INFO] [stdout]   --> src/valuation.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn eval(contract: &Contract, evaluation_date: NaiveDate) -> ValueProcess {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zero_coupon_bond`
[INFO] [stdout]   --> tests/contract_tests.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let zero_coupon_bond = Contract::one(Currency::Usd)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_coupon_bond`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `evaluation_date`
[INFO] [stdout]   --> tests/contract_tests.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let evaluation_date = NaiveDate::from_ymd_opt(2031, 1, 1).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_evaluation_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zero_coupon_bond`
[INFO] [stdout]   --> tests/contract_tests.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let zero_coupon_bond = Contract::one(Currency::Usd)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zero_coupon_bond`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s
[INFO] running `Command { std: "docker" "inspect" "dfcafc2e1ad2753cdda1a473af1b77a51ffa869cfb52a2b86e18c43e5798eb91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfcafc2e1ad2753cdda1a473af1b77a51ffa869cfb52a2b86e18c43e5798eb91", kill_on_drop: false }`
[INFO] [stdout] dfcafc2e1ad2753cdda1a473af1b77a51ffa869cfb52a2b86e18c43e5798eb91
