[INFO] cloning repository https://github.com/Blondai/Stochastic-Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blondai/Stochastic-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlondai%2FStochastic-Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlondai%2FStochastic-Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69be32e942d00ea583ce92a888f9a95717c54b17 [INFO] checking Blondai/Stochastic-Simulation/69be32e942d00ea583ce92a888f9a95717c54b17 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlondai%2FStochastic-Simulation" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blondai/Stochastic-Simulation on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Blondai/Stochastic-Simulation [INFO] finished tweaking git repo https://github.com/Blondai/Stochastic-Simulation [INFO] tweaked toml for git repo https://github.com/Blondai/Stochastic-Simulation written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding nalgebra v0.32.6 (latest: v0.33.0) [INFO] [stderr] Adding simba v0.8.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c1d8c8138b8b8cca288a3111c40cc80a76e0fbdb261c520a16ff49a4342819f [INFO] running `Command { std: "docker" "start" "-a" "3c1d8c8138b8b8cca288a3111c40cc80a76e0fbdb261c520a16ff49a4342819f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c1d8c8138b8b8cca288a3111c40cc80a76e0fbdb261c520a16ff49a4342819f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1d8c8138b8b8cca288a3111c40cc80a76e0fbdb261c520a16ff49a4342819f", kill_on_drop: false }` [INFO] [stdout] 3c1d8c8138b8b8cca288a3111c40cc80a76e0fbdb261c520a16ff49a4342819f [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cc6663b3f09d1557cd4d0f465ac1a9766056a3b044642a74aff55a81f6cdee9 [INFO] running `Command { std: "docker" "start" "-a" "5cc6663b3f09d1557cd4d0f465ac1a9766056a3b044642a74aff55a81f6cdee9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking statrs v0.17.1 [INFO] [stderr] Checking StochasticSimulation v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::density_function::DensityFunction` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::density_function::DensityFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::distribution_function::DistributionFunction` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::distribution_function::DistributionFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormalDistribution` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::normal_distribution::{NormalDistribution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::density_function::DensityFunction` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::density_function::DensityFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::distribution_function::DistributionFunction` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::distribution_function::DistributionFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormalDistribution` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::normal_distribution::{NormalDistribution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_values` [INFO] [stdout] --> src/density_function.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | fn _test_sorted(x_values: &Vec, y_values: &Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_values` [INFO] [stdout] --> src/density_function.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | fn _test_sorted(x_values: &Vec, y_values: &Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_values` [INFO] [stdout] --> src/distribution_function.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | fn _test_sorted(x_values: &Vec, y_values: &Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_values` [INFO] [stdout] --> src/distribution_function.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | fn _test_sorted(x_values: &Vec, y_values: &Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DensityFunction` is never constructed [INFO] [stdout] --> src/density_function.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DensityFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DensityFunction` is never constructed [INFO] [stdout] --> src/density_function.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DensityFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/density_function.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DensityFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(x_values: Vec, y_values: Vec) -> DensityFunction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `integrate` is never used [INFO] [stdout] --> src/density_function.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 54 | fn integrate(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/density_function.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DensityFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(x_values: Vec, y_values: Vec) -> DensityFunction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distribution` is never used [INFO] [stdout] --> src/density_function.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 70 | pub fn distribution(&self) -> DistributionFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `integrate` is never used [INFO] [stdout] --> src/density_function.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 54 | fn integrate(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gens` are never used [INFO] [stdout] --> src/density_function.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl DensityFunction { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 80 | pub fn gen(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn gens(&self, number: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/density_function.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 91 | pub fn export(self, file_name: &str, number: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distribution` is never used [INFO] [stdout] --> src/density_function.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 70 | pub fn distribution(&self) -> DistributionFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributionFunction` is never constructed [INFO] [stdout] --> src/distribution_function.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DistributionFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gens` are never used [INFO] [stdout] --> src/density_function.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl DensityFunction { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 80 | pub fn gen(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn gens(&self, number: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distribution_function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DistributionFunction { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(x_values: Vec, y_values: Vec) -> DistributionFunction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/density_function.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl DensityFunction { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 91 | pub fn export(self, file_name: &str, number: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DistributionFunction` is never constructed [INFO] [stdout] --> src/distribution_function.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DistributionFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval` and `evals` are never used [INFO] [stdout] --> src/distribution_function.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DistributionFunction { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn eval(self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn evals(self, input_values: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distribution_function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl DistributionFunction { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(x_values: Vec, y_values: Vec) -> DistributionFunction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve` is never used [INFO] [stdout] --> src/distribution_function.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl DistributionFunction { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 120 | fn solve(&self, output_value: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gens` are never used [INFO] [stdout] --> src/distribution_function.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl DistributionFunction { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 178 | pub fn gen(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn gens(&self, number: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval` and `evals` are never used [INFO] [stdout] --> src/distribution_function.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DistributionFunction { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn eval(self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn evals(self, input_values: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/distribution_function.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl DistributionFunction { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 189 | pub fn export(self, file_name: &str, number: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalDistribution` is never constructed [INFO] [stdout] --> src/normal_distribution.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NormalDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve` is never used [INFO] [stdout] --> src/distribution_function.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl DistributionFunction { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 120 | fn solve(&self, output_value: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/normal_distribution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NormalDistribution { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(mu: f64, sigma: f64) -> NormalDistribution { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen` and `gens` are never used [INFO] [stdout] --> src/distribution_function.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl DistributionFunction { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 178 | pub fn gen(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn gens(&self, number: usize) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/distribution_function.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl DistributionFunction { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 189 | pub fn export(self, file_name: &str, number: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `SQRT_2`, `density`, and `distribution` are never used [INFO] [stdout] --> src/normal_distribution.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl NormalDistribution { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | const SQRT_2: f64 = std::f64::consts::SQRT_2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn density(&self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn distribution(&self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalDistribution` is never constructed [INFO] [stdout] --> src/normal_distribution.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NormalDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distribution_function` and `density_function` are never used [INFO] [stdout] --> src/normal_distribution.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl NormalDistribution { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 31 | pub fn distribution_function(&self, number: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn density_function(&self, number: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/normal_distribution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NormalDistribution { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(mu: f64, sigma: f64) -> NormalDistribution { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/distribution_function.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut file = File::create(file_name).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | file.write_all(string.as_bytes()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `SQRT_2`, `density`, and `distribution` are never used [INFO] [stdout] --> src/normal_distribution.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | impl NormalDistribution { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | const SQRT_2: f64 = std::f64::consts::SQRT_2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | fn density(&self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn distribution(&self, input_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distribution_function` and `density_function` are never used [INFO] [stdout] --> src/normal_distribution.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl NormalDistribution { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 31 | pub fn distribution_function(&self, number: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn density_function(&self, number: usize) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/distribution_function.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut file = File::create(file_name).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | file.write_all(string.as_bytes()).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `StochasticSimulation` (bin "StochasticSimulation" test) due to 2 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `StochasticSimulation` (bin "StochasticSimulation") due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5cc6663b3f09d1557cd4d0f465ac1a9766056a3b044642a74aff55a81f6cdee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc6663b3f09d1557cd4d0f465ac1a9766056a3b044642a74aff55a81f6cdee9", kill_on_drop: false }` [INFO] [stdout] 5cc6663b3f09d1557cd4d0f465ac1a9766056a3b044642a74aff55a81f6cdee9