[INFO] cloning repository https://github.com/simon-siggaard/montt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simon-siggaard/montt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-siggaard%2Fmontt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-siggaard%2Fmontt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7b92f740c9a1edfd651004f2668d0e42f34cbe7 [INFO] checking simon-siggaard/montt against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-siggaard%2Fmontt" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/simon-siggaard/montt [INFO] finished tweaking git repo https://github.com/simon-siggaard/montt [INFO] tweaked toml for git repo https://github.com/simon-siggaard/montt written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/simon-siggaard/montt on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/simon-siggaard/montt 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f536b4c2aee6a23b518c18b7f3b2c996145e5a6294adfb069a42e3de192d1b34 [INFO] running `Command { std: "docker" "start" "-a" "f536b4c2aee6a23b518c18b7f3b2c996145e5a6294adfb069a42e3de192d1b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f536b4c2aee6a23b518c18b7f3b2c996145e5a6294adfb069a42e3de192d1b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f536b4c2aee6a23b518c18b7f3b2c996145e5a6294adfb069a42e3de192d1b34", kill_on_drop: false }` [INFO] [stdout] f536b4c2aee6a23b518c18b7f3b2c996145e5a6294adfb069a42e3de192d1b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f5c0f93837297c83c6aeb3591a8b0707d9636a2050b2ef02caaba264d78c83 [INFO] running `Command { std: "docker" "start" "-a" "02f5c0f93837297c83c6aeb3591a8b0707d9636a2050b2ef02caaba264d78c83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking puruspe v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking clap_builder v4.3.3 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking clap v4.3.3 [INFO] [stderr] Checking montt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cli::TaskCriticalPathArgs` [INFO] [stdout] --> src/montt.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cli::TaskCriticalPathArgs, statistics::log_normal_from_estimates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::TaskCriticalPathArgs` [INFO] [stdout] --> src/montt.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cli::TaskCriticalPathArgs, statistics::log_normal_from_estimates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_duration` [INFO] [stdout] --> src/montt.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let (last, total_duration) = distance [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_duration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `most_likely` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | most_likely, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `most_likely: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantile` [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | quantile, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantile: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | commands, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `commands: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_duration` [INFO] [stdout] --> src/montt.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let (last, total_duration) = distance [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_duration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LogNormalMontt` is more private than the item `Montt::log_normal` [INFO] [stdout] --> src/montt.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn log_normal(&self) -> LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Montt::log_normal` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LogNormalMontt` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/montt.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_normal` is never used [INFO] [stdout] --> src/montt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Montt { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 25 | pub fn log_normal(&self) -> LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogNormalMontt` is never constructed [INFO] [stdout] --> src/montt.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | struct LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_normal` is never used [INFO] [stdout] --> src/montt.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl Task { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 130 | fn log_normal(&self) -> LogNormal { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `capacity` are never read [INFO] [stdout] --> src/montt.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct ParsedResource { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 158 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | capacity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_normal_from_estimates` is never used [INFO] [stdout] --> src/statistics.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_normal_from_estimates(q50: f64, q95: f64) -> LogNormal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `most_likely` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | most_likely, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `most_likely: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantile` [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | quantile, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantile: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | commands, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `commands: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LogNormalMontt` is more private than the item `Montt::log_normal` [INFO] [stdout] --> src/montt.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn log_normal(&self) -> LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Montt::log_normal` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LogNormalMontt` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/montt.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | struct LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_normal` is never used [INFO] [stdout] --> src/montt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Montt { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 25 | pub fn log_normal(&self) -> LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogNormalMontt` is never constructed [INFO] [stdout] --> src/montt.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | struct LogNormalMontt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_normal` is never used [INFO] [stdout] --> src/montt.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl Task { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 130 | fn log_normal(&self) -> LogNormal { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `capacity` are never read [INFO] [stdout] --> src/montt.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct ParsedResource { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 158 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | capacity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedResource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_normal_from_estimates` is never used [INFO] [stdout] --> src/statistics.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn log_normal_from_estimates(q50: f64, q95: f64) -> LogNormal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s [INFO] running `Command { std: "docker" "inspect" "02f5c0f93837297c83c6aeb3591a8b0707d9636a2050b2ef02caaba264d78c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f5c0f93837297c83c6aeb3591a8b0707d9636a2050b2ef02caaba264d78c83", kill_on_drop: false }` [INFO] [stdout] 02f5c0f93837297c83c6aeb3591a8b0707d9636a2050b2ef02caaba264d78c83