[INFO] cloning repository https://github.com/Johannes990/DGB_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Johannes990/DGB_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannes990%2FDGB_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannes990%2FDGB_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44eb269b374f0a17cb5e97d9a5423262d1d557e1 [INFO] building Johannes990/DGB_rust against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannes990%2FDGB_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Johannes990/DGB_rust [INFO] finished tweaking git repo https://github.com/Johannes990/DGB_rust [INFO] tweaked toml for git repo https://github.com/Johannes990/DGB_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Johannes990/DGB_rust on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Johannes990/DGB_rust 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded random v0.13.2 [INFO] [stderr] Downloaded probability v0.20.3 [INFO] [stderr] Downloaded special v0.10.3 [INFO] [stderr] Downloaded memchr v2.7.3 [INFO] [stderr] Downloaded miniquad v0.4.2 [INFO] [stderr] Downloaded macroquad v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0b20e88ab817088f84e92078aebc25bc4fd355279a7be194e41b96065569465 [INFO] running `Command { std: "docker" "start" "-a" "b0b20e88ab817088f84e92078aebc25bc4fd355279a7be194e41b96065569465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0b20e88ab817088f84e92078aebc25bc4fd355279a7be194e41b96065569465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b20e88ab817088f84e92078aebc25bc4fd355279a7be194e41b96065569465", kill_on_drop: false }` [INFO] [stdout] b0b20e88ab817088f84e92078aebc25bc4fd355279a7be194e41b96065569465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7299ef9018e0bfedc0881227d356e82c5a28b3f76682e276b59b0533d75566c8 [INFO] running `Command { std: "docker" "start" "-a" "7299ef9018e0bfedc0881227d356e82c5a28b3f76682e276b59b0533d75566c8", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memchr v2.7.3 [INFO] [stderr] Compiling miniquad v0.4.2 [INFO] [stderr] Compiling random v0.13.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling objects v0.1.0 (/opt/rustwide/workdir/objects) [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stdout] warning: fields `x_center`, `y_center`, `width`, and `height` are never read [INFO] [stdout] --> objects/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | x_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | y_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling probability v0.20.3 [INFO] [stderr] Compiling distributions v0.1.0 (/opt/rustwide/workdir/distributions) [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stdout] warning: fields `alpha`, `beta`, `a`, and `b` are never read [INFO] [stdout] --> distributions/src/functions/beta_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BetaDistribution { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 4 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 7 | b: 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: fields `x_0` and `gamma` are never read [INFO] [stdout] --> distributions/src/functions/cauchy_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CauchyDistribution { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 4 | x_0: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lambda` is never read [INFO] [stdout] --> distributions/src/functions/exponential_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ExponentialDistribution { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 4 | lambda: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `k` and `theta` are never read [INFO] [stdout] --> distributions/src/functions/gamma_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GammaDistribution { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | k: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean` and `std_dev` are never read [INFO] [stdout] --> distributions/src/functions/gaussian_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GaussianDistribution { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 4 | mean: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | std_dev: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mu` and `sigma` are never read [INFO] [stdout] --> distributions/src/functions/log_normal_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LogNormalDistribution { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 4 | mu: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | sigma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> distributions/src/functions/uniform_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UniformDistribution { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 4 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling settings v0.1.0 (/opt/rustwide/workdir/settings) [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.8 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling utilities v0.1.0 (/opt/rustwide/workdir/utilities) [INFO] [stderr] Compiling display v0.1.0 (/opt/rustwide/workdir/display) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> display/src/widgets/slider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut context_button_display_params = ContextButtonDisplayParams::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/widgets/distribution_selection_widget.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | for mut slider in &mut self.parameter_sliders { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hist_x_end` is never read [INFO] [stdout] --> display/src/widgets/histogram.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Histogram { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | hist_x_end: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut distribution_loader = DistributionLoader::new(&app_state); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_ax_dist` [INFO] [stdout] --> app/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let x_ax_dist = distribution_loader.get_x_axis_distribution(&app_state); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ax_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_ax_dist` [INFO] [stdout] --> app/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let y_ax_dist = distribution_loader.get_y_axis_distribution(&app_state); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_ax_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "7299ef9018e0bfedc0881227d356e82c5a28b3f76682e276b59b0533d75566c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7299ef9018e0bfedc0881227d356e82c5a28b3f76682e276b59b0533d75566c8", kill_on_drop: false }` [INFO] [stdout] 7299ef9018e0bfedc0881227d356e82c5a28b3f76682e276b59b0533d75566c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 108494cac3c3b3ff0060021688b0db36d9ad96831c5d77023e17ea2745c7f7b5 [INFO] running `Command { std: "docker" "start" "-a" "108494cac3c3b3ff0060021688b0db36d9ad96831c5d77023e17ea2745c7f7b5", kill_on_drop: false }` [INFO] [stdout] warning: fields `x_center`, `y_center`, `width`, and `height` are never read [INFO] [stdout] --> objects/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | x_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | y_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distributions v0.1.0 (/opt/rustwide/workdir/distributions) [INFO] [stdout] warning: fields `alpha`, `beta`, `a`, and `b` are never read [INFO] [stdout] --> distributions/src/functions/beta_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BetaDistribution { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 4 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 7 | b: 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: fields `x_0` and `gamma` are never read [INFO] [stdout] --> distributions/src/functions/cauchy_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CauchyDistribution { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 4 | x_0: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lambda` is never read [INFO] [stdout] --> distributions/src/functions/exponential_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ExponentialDistribution { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 4 | lambda: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `k` and `theta` are never read [INFO] [stdout] --> distributions/src/functions/gamma_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GammaDistribution { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | k: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean` and `std_dev` are never read [INFO] [stdout] --> distributions/src/functions/gaussian_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GaussianDistribution { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 4 | mean: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | std_dev: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mu` and `sigma` are never read [INFO] [stdout] --> distributions/src/functions/log_normal_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LogNormalDistribution { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 4 | mu: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | sigma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> distributions/src/functions/uniform_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UniformDistribution { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 4 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling settings v0.1.0 (/opt/rustwide/workdir/settings) [INFO] [stderr] Compiling objects v0.1.0 (/opt/rustwide/workdir/objects) [INFO] [stderr] Compiling utilities v0.1.0 (/opt/rustwide/workdir/utilities) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> display/src/widgets/slider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut context_button_display_params = ContextButtonDisplayParams::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/widgets/distribution_selection_widget.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | for mut slider in &mut self.parameter_sliders { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hist_x_end` is never read [INFO] [stdout] --> display/src/widgets/histogram.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Histogram { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | hist_x_end: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling display v0.1.0 (/opt/rustwide/workdir/display) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: fields `x_center`, `y_center`, `width`, and `height` are never read [INFO] [stdout] --> objects/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | x_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | y_center: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: 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: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut distribution_loader = DistributionLoader::new(&app_state); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_ax_dist` [INFO] [stdout] --> app/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let x_ax_dist = distribution_loader.get_x_axis_distribution(&app_state); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ax_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_ax_dist` [INFO] [stdout] --> app/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let y_ax_dist = distribution_loader.get_y_axis_distribution(&app_state); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_ax_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> display/src/widgets/slider.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpha`, `beta`, `a`, and `b` are never read [INFO] [stdout] --> distributions/src/functions/beta_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BetaDistribution { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 4 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 7 | b: 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: fields `x_0` and `gamma` are never read [INFO] [stdout] --> distributions/src/functions/cauchy_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CauchyDistribution { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 4 | x_0: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | gamma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lambda` is never read [INFO] [stdout] --> distributions/src/functions/exponential_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ExponentialDistribution { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 4 | lambda: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `k` and `theta` are never read [INFO] [stdout] --> distributions/src/functions/gamma_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GammaDistribution { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | k: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean` and `std_dev` are never read [INFO] [stdout] --> distributions/src/functions/gaussian_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GaussianDistribution { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 4 | mean: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | std_dev: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mu` and `sigma` are never read [INFO] [stdout] --> distributions/src/functions/log_normal_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LogNormalDistribution { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 4 | mu: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | sigma: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> distributions/src/functions/uniform_distribution.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UniformDistribution { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 4 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut context_button_display_params = ContextButtonDisplayParams::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> display/src/widgets/distribution_selection_widget.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | for mut slider in &mut self.parameter_sliders { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hist_x_end` is never read [INFO] [stdout] --> display/src/widgets/histogram.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Histogram { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | hist_x_end: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = &app_state.x_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &app_state.y_axis_distribution_selector.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = &app_state.x_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> display/src/pages/options_page.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = &app_state.y_axis_distribution_selector.handle_input(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "108494cac3c3b3ff0060021688b0db36d9ad96831c5d77023e17ea2745c7f7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108494cac3c3b3ff0060021688b0db36d9ad96831c5d77023e17ea2745c7f7b5", kill_on_drop: false }` [INFO] [stdout] 108494cac3c3b3ff0060021688b0db36d9ad96831c5d77023e17ea2745c7f7b5