[INFO] cloning repository https://github.com/0xKMG/interest-rate-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xKMG/interest-rate-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xKMG%2Finterest-rate-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xKMG%2Finterest-rate-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8baf3f789549686a3d9495ac117057d08f0b9b7e [INFO] testing 0xKMG/interest-rate-calculator against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xKMG%2Finterest-rate-calculator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xKMG/interest-rate-calculator [INFO] finished tweaking git repo https://github.com/0xKMG/interest-rate-calculator [INFO] tweaked toml for git repo https://github.com/0xKMG/interest-rate-calculator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xKMG/interest-rate-calculator on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xKMG/interest-rate-calculator 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3aa44dbacb231e00053ab1e5999301905c90ba5955bcaa0368cb089bd0767a8 [INFO] running `Command { std: "docker" "start" "-a" "a3aa44dbacb231e00053ab1e5999301905c90ba5955bcaa0368cb089bd0767a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3aa44dbacb231e00053ab1e5999301905c90ba5955bcaa0368cb089bd0767a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3aa44dbacb231e00053ab1e5999301905c90ba5955bcaa0368cb089bd0767a8", kill_on_drop: false }` [INFO] [stdout] a3aa44dbacb231e00053ab1e5999301905c90ba5955bcaa0368cb089bd0767a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ab04df7e3bb6bb46c030b71099c3dd6721b8ac08d8f3eeadddbcb2371e4c595 [INFO] running `Command { std: "docker" "start" "-a" "9ab04df7e3bb6bb46c030b71099c3dd6721b8ac08d8f3eeadddbcb2371e4c595", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling fixed v1.28.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling fixed-macro-impl v1.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling fixed-macro-types v1.2.0 [INFO] [stderr] Compiling fixed-macro v1.2.0 [INFO] [stderr] Compiling interest_rate_calculator_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `end_rate_at_target` [INFO] [stdout] --> src/main.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 174 | let (avg_rate_at_target, _end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CURVE_STEEPNESS` [INFO] [stdout] | [INFO] [stdout] 174 - let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] 174 + let (avg_rate_at_target, constants::CURVE_STEEPNESS) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURVE_STEEPNESS` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CURVE_STEEPNESS: I80F48 = I80F48!(4); // Curve steepness = 4 [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 `initial_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn initial_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adjustment_speed` is never used [INFO] [stdout] --> src/constants.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn adjustment_speed() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target_utilization` is never used [INFO] [stdout] --> src/constants.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn target_utilization() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn min_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn max_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "9ab04df7e3bb6bb46c030b71099c3dd6721b8ac08d8f3eeadddbcb2371e4c595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab04df7e3bb6bb46c030b71099c3dd6721b8ac08d8f3eeadddbcb2371e4c595", kill_on_drop: false }` [INFO] [stdout] 9ab04df7e3bb6bb46c030b71099c3dd6721b8ac08d8f3eeadddbcb2371e4c595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5c63421c42b2f58379b88688e3d11367f1fcbe2c08690b967ec614a24d899e8 [INFO] running `Command { std: "docker" "start" "-a" "f5c63421c42b2f58379b88688e3d11367f1fcbe2c08690b967ec614a24d899e8", kill_on_drop: false }` [INFO] [stderr] Compiling interest_rate_calculator_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `end_rate_at_target` [INFO] [stdout] --> src/main.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 174 | let (avg_rate_at_target, _end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CURVE_STEEPNESS` [INFO] [stdout] | [INFO] [stdout] 174 - let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] 174 + let (avg_rate_at_target, constants::CURVE_STEEPNESS) = if start_rate_at_target == I80F48::ZERO { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURVE_STEEPNESS` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CURVE_STEEPNESS: I80F48 = I80F48!(4); // Curve steepness = 4 [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 `initial_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn initial_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adjustment_speed` is never used [INFO] [stdout] --> src/constants.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn adjustment_speed() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `target_utilization` is never used [INFO] [stdout] --> src/constants.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn target_utilization() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn min_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_rate_at_target` is never used [INFO] [stdout] --> src/constants.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn max_rate_at_target() -> I80F48 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "f5c63421c42b2f58379b88688e3d11367f1fcbe2c08690b967ec614a24d899e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c63421c42b2f58379b88688e3d11367f1fcbe2c08690b967ec614a24d899e8", kill_on_drop: false }` [INFO] [stdout] f5c63421c42b2f58379b88688e3d11367f1fcbe2c08690b967ec614a24d899e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54561cf8025f3500db9dc537866ff737f1872282a3639465e0df468116f01d4c [INFO] running `Command { std: "docker" "start" "-a" "54561cf8025f3500db9dc537866ff737f1872282a3639465e0df468116f01d4c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `end_rate_at_target` [INFO] [stderr] --> src/main.rs:174:30 [INFO] [stderr] | [INFO] [stderr] 174 | let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 174 | let (avg_rate_at_target, _end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `CURVE_STEEPNESS` [INFO] [stderr] | [INFO] [stderr] 174 - let (avg_rate_at_target, end_rate_at_target) = if start_rate_at_target == I80F48::ZERO { [INFO] [stderr] 174 + let (avg_rate_at_target, constants::CURVE_STEEPNESS) = if start_rate_at_target == I80F48::ZERO { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `CURVE_STEEPNESS` is never used [INFO] [stderr] --> src/constants.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const CURVE_STEEPNESS: I80F48 = I80F48!(4); // Curve steepness = 4 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `initial_rate_at_target` is never used [INFO] [stderr] --> src/constants.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn initial_rate_at_target() -> I80F48 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `adjustment_speed` is never used [INFO] [stderr] --> src/constants.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn adjustment_speed() -> I80F48 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `target_utilization` is never used [INFO] [stderr] --> src/constants.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn target_utilization() -> I80F48 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `min_rate_at_target` is never used [INFO] [stderr] --> src/constants.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn min_rate_at_target() -> I80F48 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `max_rate_at_target` is never used [INFO] [stderr] --> src/constants.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn max_rate_at_target() -> I80F48 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `interest_rate_calculator_cli` (bin "interest_rate_calculator_cli" test) generated 7 warnings (run `cargo fix --bin "interest_rate_calculator_cli" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/interest_rate_calculator_cli-aa4c64d943b52d07) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54561cf8025f3500db9dc537866ff737f1872282a3639465e0df468116f01d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54561cf8025f3500db9dc537866ff737f1872282a3639465e0df468116f01d4c", kill_on_drop: false }` [INFO] [stdout] 54561cf8025f3500db9dc537866ff737f1872282a3639465e0df468116f01d4c