[INFO] cloning repository https://github.com/ds1sqe/abstraction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ds1sqe/abstraction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds1sqe%2Fabstraction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds1sqe%2Fabstraction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8d5a3eedfa59420e008358ca8f89acdb7f21cf4 [INFO] testing ds1sqe/abstraction/f8d5a3eedfa59420e008358ca8f89acdb7f21cf4 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds1sqe%2Fabstraction" "/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/ds1sqe/abstraction on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ds1sqe/abstraction [INFO] finished tweaking git repo https://github.com/ds1sqe/abstraction [INFO] tweaked toml for git repo https://github.com/ds1sqe/abstraction written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ds1sqe/abstraction 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" "+f23b22458132fb20faeb8a915b1c252478696f25" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a0d2c4ad6caed3742fbb08fcc7ae384475472b731f920c43ff265087045a61 [INFO] running `Command { std: "docker" "start" "-a" "f6a0d2c4ad6caed3742fbb08fcc7ae384475472b731f920c43ff265087045a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a0d2c4ad6caed3742fbb08fcc7ae384475472b731f920c43ff265087045a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a0d2c4ad6caed3742fbb08fcc7ae384475472b731f920c43ff265087045a61", kill_on_drop: false }` [INFO] [stdout] f6a0d2c4ad6caed3742fbb08fcc7ae384475472b731f920c43ff265087045a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f573ee83f286e4af89aab1da0d81a7f74b844f357d25968cad9987101b6ce69 [INFO] running `Command { std: "docker" "start" "-a" "6f573ee83f286e4af89aab1da0d81a7f74b844f357d25968cad9987101b6ce69", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ab_glyph v0.2.26 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling polling v3.7.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling xdg-home v1.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.9 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.3 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling emath v0.27.2 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling ecolor v0.27.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling epaint v0.27.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling egui v0.27.2 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling async-once-cell v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling smithay-clipboard v0.7.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling egui_plot v0.27.2 [INFO] [stderr] Compiling egui_glow v0.27.2 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling arboard v3.4.0 [INFO] [stderr] Compiling accesskit_winit v0.16.1 [INFO] [stderr] Compiling egui-winit v0.27.2 [INFO] [stderr] Compiling eframe v0.27.2 [INFO] [stderr] Compiling abstaction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color32` and `Stroke` [INFO] [stdout] --> src/ui/manager.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | egui::{self, Color32, Stroke}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `PlotPoint`, `PlotPoints`, `Points`, `Polygon`, and `VLine` [INFO] [stdout] --> src/ui/manager.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlotItem` [INFO] [stdout] --> src/ui/manager.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/ui/manager.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ui/manager.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | for (id, sc_vec) in self.model.single.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LinearRelation` is never constructed [INFO] [stdout] --> src/core/constraints/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DoubleConstrain [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | LinearRelation(Linear), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleConstrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 86 | / impl SingleConstrain [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- method in this implementation [INFO] [stdout] 89 | { [INFO] [stdout] 90 | pub fn check(&self, value: &T) -> SingleConstrainCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 142 | / impl DoubleConstrain [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | M: Mul + Copy, [INFO] [stdout] 145 | | O: Add + Copy, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] 146 | { [INFO] [stdout] 147 | pub fn check(&self, left: &T, right: &T) -> DoubleConstrainCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TooLow`, `TooHigh`, and `CannotCmp` are never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum BoundaryCheckError [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | TooLow { value: T, bottom: Bottom }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | TooHigh { value: T, top: Top }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | CannotCmp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum BoundaryCheckResult [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Boundary [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Boundary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `set_top`, `set_bot`, and `is_in` are never used [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 117 | / impl Boundary [INFO] [stdout] 118 | | where [INFO] [stdout] 119 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- associated items in this implementation [INFO] [stdout] 120 | { [INFO] [stdout] 121 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn update(&mut self, top: Limit, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_top(&mut self, top: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn set_bot(&mut self, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_in(&self, value: T) -> BoundaryCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidLimits { top: Limit, bottom: Limit }, [INFO] [stdout] | ------------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | CannotCmp { top: Limit, bottom: Limit }, [INFO] [stdout] | --------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LT`, `LTE`, `GT`, `GTE`, and `EQ` are never constructed [INFO] [stdout] --> src/core/constraints/compare.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Compare { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | /// Less then ( < ) [INFO] [stdout] 6 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | /// Less or equal ( <= ) [INFO] [stdout] 8 | LTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// Greater then ( > ) [INFO] [stdout] 10 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | /// Greater or equal ( >= ) [INFO] [stdout] 12 | GTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | /// Equal ( = ) [INFO] [stdout] 14 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compare` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/compare.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Compare { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 18 | pub fn is_in(&self, cmp: Ordering) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Fixed { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fixed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotEqual` is never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FixedCheckError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 10 | NotEqual { fixed: Fixed, value: V }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok` and `Err` are never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FixedCheckResult { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | Err(FixedCheckError), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Fixed { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_in(&self, val: &V) -> FixedCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, `cmp`, `mul`, and `off` are never read [INFO] [stdout] --> src/core/constraints/relation/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Linear [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | left: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// id of right one [INFO] [stdout] 16 | right: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// comparison [INFO] [stdout] 18 | cmp: Compare, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | /// multiplier [INFO] [stdout] 20 | mul: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | /// offset [INFO] [stdout] 22 | off: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Linear` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotIn` and `CannotCompare` are never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum LinearCheckError [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | NotIn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CannotCompare { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum LinearCheckResult [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_in` are never used [INFO] [stdout] --> src/core/constraints/relation/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Linear [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | M: Mul + Copy, [INFO] [stdout] 71 | | O: Add + Copy, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 72 | { [INFO] [stdout] 73 | pub fn new(left: usize, right: usize, mul: Option, off: Option, cmp: Compare) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_in(&self, left: &T, right: &T) -> LinearCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `double` is never read [INFO] [stdout] --> src/core/model/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub single: HashMap>>, [INFO] [stdout] 20 | pub double: HashMap<(usize, usize), Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_linear`, `check_single`, and `check_double` are never used [INFO] [stdout] --> src/core/model/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_linear( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn check_single( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn check_double( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/manager.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / model.add_boundary( [INFO] [stdout] 20 | | 0, [INFO] [stdout] 21 | | Some(Limit { [INFO] [stdout] 22 | | point: 20, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = model.add_boundary( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.81s [INFO] running `Command { std: "docker" "inspect" "6f573ee83f286e4af89aab1da0d81a7f74b844f357d25968cad9987101b6ce69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f573ee83f286e4af89aab1da0d81a7f74b844f357d25968cad9987101b6ce69", kill_on_drop: false }` [INFO] [stdout] 6f573ee83f286e4af89aab1da0d81a7f74b844f357d25968cad9987101b6ce69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8597f98e99652eead38938536e87972c288f1d1179be7cd950aad11b8c23d0e3 [INFO] running `Command { std: "docker" "start" "-a" "8597f98e99652eead38938536e87972c288f1d1179be7cd950aad11b8c23d0e3", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Color32` and `Stroke` [INFO] [stdout] --> src/ui/manager.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | egui::{self, Color32, Stroke}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `PlotPoint`, `PlotPoints`, `Points`, `Polygon`, and `VLine` [INFO] [stdout] --> src/ui/manager.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlotItem` [INFO] [stdout] --> src/ui/manager.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/ui/manager.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ui/manager.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | for (id, sc_vec) in self.model.single.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LinearRelation` is never constructed [INFO] [stdout] --> src/core/constraints/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DoubleConstrain [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | LinearRelation(Linear), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleConstrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 86 | / impl SingleConstrain [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- method in this implementation [INFO] [stdout] 89 | { [INFO] [stdout] 90 | pub fn check(&self, value: &T) -> SingleConstrainCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 142 | / impl DoubleConstrain [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | M: Mul + Copy, [INFO] [stdout] 145 | | O: Add + Copy, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] 146 | { [INFO] [stdout] 147 | pub fn check(&self, left: &T, right: &T) -> DoubleConstrainCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TooLow`, `TooHigh`, and `CannotCmp` are never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum BoundaryCheckError [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | TooLow { value: T, bottom: Bottom }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | TooHigh { value: T, top: Top }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | CannotCmp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum BoundaryCheckResult [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Boundary [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Boundary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `set_top`, `set_bot`, and `is_in` are never used [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 117 | / impl Boundary [INFO] [stdout] 118 | | where [INFO] [stdout] 119 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- associated items in this implementation [INFO] [stdout] 120 | { [INFO] [stdout] 121 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn update(&mut self, top: Limit, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_top(&mut self, top: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn set_bot(&mut self, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_in(&self, value: T) -> BoundaryCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidLimits { top: Limit, bottom: Limit }, [INFO] [stdout] | ------------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | CannotCmp { top: Limit, bottom: Limit }, [INFO] [stdout] | --------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LT`, `LTE`, `GT`, `GTE`, and `EQ` are never constructed [INFO] [stdout] --> src/core/constraints/compare.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Compare { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | /// Less then ( < ) [INFO] [stdout] 6 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | /// Less or equal ( <= ) [INFO] [stdout] 8 | LTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// Greater then ( > ) [INFO] [stdout] 10 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | /// Greater or equal ( >= ) [INFO] [stdout] 12 | GTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | /// Equal ( = ) [INFO] [stdout] 14 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compare` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/compare.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Compare { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 18 | pub fn is_in(&self, cmp: Ordering) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Fixed { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fixed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotEqual` is never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FixedCheckError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 10 | NotEqual { fixed: Fixed, value: V }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok` and `Err` are never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FixedCheckResult { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | Err(FixedCheckError), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Fixed { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_in(&self, val: &V) -> FixedCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, `cmp`, `mul`, and `off` are never read [INFO] [stdout] --> src/core/constraints/relation/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Linear [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | left: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// id of right one [INFO] [stdout] 16 | right: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// comparison [INFO] [stdout] 18 | cmp: Compare, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | /// multiplier [INFO] [stdout] 20 | mul: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | /// offset [INFO] [stdout] 22 | off: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Linear` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotIn` and `CannotCompare` are never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum LinearCheckError [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | NotIn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CannotCompare { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum LinearCheckResult [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_in` are never used [INFO] [stdout] --> src/core/constraints/relation/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Linear [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | M: Mul + Copy, [INFO] [stdout] 71 | | O: Add + Copy, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 72 | { [INFO] [stdout] 73 | pub fn new(left: usize, right: usize, mul: Option, off: Option, cmp: Compare) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_in(&self, left: &T, right: &T) -> LinearCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `double` is never read [INFO] [stdout] --> src/core/model/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub single: HashMap>>, [INFO] [stdout] 20 | pub double: HashMap<(usize, usize), Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_linear`, `check_single`, and `check_double` are never used [INFO] [stdout] --> src/core/model/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_linear( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn check_single( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn check_double( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/manager.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / model.add_boundary( [INFO] [stdout] 20 | | 0, [INFO] [stdout] 21 | | Some(Limit { [INFO] [stdout] 22 | | point: 20, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = model.add_boundary( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling abstaction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color32` and `Stroke` [INFO] [stdout] --> src/ui/manager.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | egui::{self, Color32, Stroke}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Line`, `PlotPoint`, `PlotPoints`, `Points`, `Polygon`, and `VLine` [INFO] [stdout] --> src/ui/manager.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlotItem` [INFO] [stdout] --> src/ui/manager.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/ui/manager.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ui/manager.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | for (id, sc_vec) in self.model.single.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LinearRelation` is never constructed [INFO] [stdout] --> src/core/constraints/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum DoubleConstrain [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | LinearRelation(Linear), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleConstrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 86 | / impl SingleConstrain [INFO] [stdout] 87 | | where [INFO] [stdout] 88 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- method in this implementation [INFO] [stdout] 89 | { [INFO] [stdout] 90 | pub fn check(&self, value: &T) -> SingleConstrainCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/core/constraints/mod.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 142 | / impl DoubleConstrain [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | M: Mul + Copy, [INFO] [stdout] 145 | | O: Add + Copy, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] 146 | { [INFO] [stdout] 147 | pub fn check(&self, left: &T, right: &T) -> DoubleConstrainCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TooLow`, `TooHigh`, and `CannotCmp` are never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum BoundaryCheckError [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | TooLow { value: T, bottom: Bottom }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | TooHigh { value: T, top: Top }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | CannotCmp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum BoundaryCheckResult [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Boundary [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Boundary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `set_top`, `set_bot`, and `is_in` are never used [INFO] [stdout] --> src/core/constraints/boundary/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 117 | / impl Boundary [INFO] [stdout] 118 | | where [INFO] [stdout] 119 | | T: MinMax + PartialOrd + Copy, [INFO] [stdout] | |__________________________________- associated items in this implementation [INFO] [stdout] 120 | { [INFO] [stdout] 121 | pub fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn update(&mut self, top: Limit, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_top(&mut self, top: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn set_bot(&mut self, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_in(&self, value: T) -> BoundaryCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidLimits { top: Limit, bottom: Limit }, [INFO] [stdout] | ------------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top` and `bottom` are never read [INFO] [stdout] --> src/core/constraints/boundary/errors.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | CannotCmp { top: Limit, bottom: Limit }, [INFO] [stdout] | --------- ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LT`, `LTE`, `GT`, `GTE`, and `EQ` are never constructed [INFO] [stdout] --> src/core/constraints/compare.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Compare { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | /// Less then ( < ) [INFO] [stdout] 6 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | /// Less or equal ( <= ) [INFO] [stdout] 8 | LTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// Greater then ( > ) [INFO] [stdout] 10 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | /// Greater or equal ( >= ) [INFO] [stdout] 12 | GTE, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | /// Equal ( = ) [INFO] [stdout] 14 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compare` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/compare.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Compare { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 18 | pub fn is_in(&self, cmp: Ordering) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Fixed { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fixed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotEqual` is never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FixedCheckError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 10 | NotEqual { fixed: Fixed, value: V }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok` and `Err` are never constructed [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FixedCheckResult { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | Err(FixedCheckError), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in` is never used [INFO] [stdout] --> src/core/constraints/fixed/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Fixed { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn is_in(&self, val: &V) -> FixedCheckResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `right`, `cmp`, `mul`, and `off` are never read [INFO] [stdout] --> src/core/constraints/relation/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Linear [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | left: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | /// id of right one [INFO] [stdout] 16 | right: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// comparison [INFO] [stdout] 18 | cmp: Compare, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | /// multiplier [INFO] [stdout] 20 | mul: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | /// offset [INFO] [stdout] 22 | off: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Linear` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotIn` and `CannotCompare` are never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum LinearCheckError [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | NotIn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | CannotCompare { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ok` is never constructed [INFO] [stdout] --> src/core/constraints/relation/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum LinearCheckResult [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_in` are never used [INFO] [stdout] --> src/core/constraints/relation/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Linear [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | M: Mul + Copy, [INFO] [stdout] 71 | | O: Add + Copy, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 72 | { [INFO] [stdout] 73 | pub fn new(left: usize, right: usize, mul: Option, off: Option, cmp: Compare) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_in(&self, left: &T, right: &T) -> LinearCheckResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `double` is never read [INFO] [stdout] --> src/core/model/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub single: HashMap>>, [INFO] [stdout] 20 | pub double: HashMap<(usize, usize), Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_linear`, `check_single`, and `check_double` are never used [INFO] [stdout] --> src/core/model/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_linear( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn check_single( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn check_double( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/manager.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / model.add_boundary( [INFO] [stdout] 20 | | 0, [INFO] [stdout] 21 | | Some(Limit { [INFO] [stdout] 22 | | point: 20, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = model.add_boundary( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "8597f98e99652eead38938536e87972c288f1d1179be7cd950aad11b8c23d0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8597f98e99652eead38938536e87972c288f1d1179be7cd950aad11b8c23d0e3", kill_on_drop: false }` [INFO] [stdout] 8597f98e99652eead38938536e87972c288f1d1179be7cd950aad11b8c23d0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49341bcae169cd1d9db29e84e6455c0f21cc811a6a87ced5bd71fd301b0af7fb [INFO] running `Command { std: "docker" "start" "-a" "49341bcae169cd1d9db29e84e6455c0f21cc811a6a87ced5bd71fd301b0af7fb", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Color32` and `Stroke` [INFO] [stderr] --> src/ui/manager.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | egui::{self, Color32, Stroke}, [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Line`, `PlotPoint`, `PlotPoints`, `Points`, `Polygon`, and `VLine` [INFO] [stderr] --> src/ui/manager.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PlotItem` [INFO] [stderr] --> src/ui/manager.rs:6:37 [INFO] [stderr] | [INFO] [stderr] 6 | HLine, Legend, Line, LineStyle, PlotItem, PlotPoint, PlotPoints, Points, Polygon, VLine, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/ui/manager.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/ui/manager.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | for (id, sc_vec) in self.model.single.iter() { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: variant `LinearRelation` is never constructed [INFO] [stderr] --> src/core/constraints/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum DoubleConstrain [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 34 | LinearRelation(Linear), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DoubleConstrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `check` is never used [INFO] [stderr] --> src/core/constraints/mod.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 86 | / impl SingleConstrain [INFO] [stderr] 87 | | where [INFO] [stderr] 88 | | T: MinMax + PartialOrd + Copy, [INFO] [stderr] | |__________________________________- method in this implementation [INFO] [stderr] 89 | { [INFO] [stderr] 90 | pub fn check(&self, value: &T) -> SingleConstrainCheckResult { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `check` is never used [INFO] [stderr] --> src/core/constraints/mod.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 142 | / impl DoubleConstrain [INFO] [stderr] 143 | | where [INFO] [stderr] 144 | | M: Mul + Copy, [INFO] [stderr] 145 | | O: Add + Copy, [INFO] [stderr] | |__________________- method in this implementation [INFO] [stderr] 146 | { [INFO] [stderr] 147 | pub fn check(&self, left: &T, right: &T) -> DoubleConstrainCheckResult [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `TooLow`, `TooHigh`, and `CannotCmp` are never constructed [INFO] [stderr] --> src/core/constraints/boundary/mod.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub enum BoundaryCheckError [INFO] [stderr] | ------------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 85 | TooLow { value: T, bottom: Bottom }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 86 | TooHigh { value: T, top: Top }, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 87 | CannotCmp, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Ok` is never constructed [INFO] [stderr] --> src/core/constraints/boundary/mod.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub enum BoundaryCheckResult [INFO] [stderr] | ------------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 94 | Ok, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/core/constraints/boundary/mod.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 108 | pub struct Boundary [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 112 | id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Boundary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `update`, `set_top`, `set_bot`, and `is_in` are never used [INFO] [stderr] --> src/core/constraints/boundary/mod.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 117 | / impl Boundary [INFO] [stderr] 118 | | where [INFO] [stderr] 119 | | T: MinMax + PartialOrd + Copy, [INFO] [stderr] | |__________________________________- associated items in this implementation [INFO] [stderr] 120 | { [INFO] [stderr] 121 | pub fn new(id: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | pub fn update(&mut self, top: Limit, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub fn set_top(&mut self, top: Limit) -> Result<(), BoundaryError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | pub fn set_bot(&mut self, bot: Limit) -> Result<(), BoundaryError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 195 | pub fn is_in(&self, value: T) -> BoundaryCheckResult { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `top` and `bottom` are never read [INFO] [stderr] --> src/core/constraints/boundary/errors.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | InvalidLimits { top: Limit, bottom: Limit }, [INFO] [stderr] | ------------- ^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `top` and `bottom` are never read [INFO] [stderr] --> src/core/constraints/boundary/errors.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | CannotCmp { top: Limit, bottom: Limit }, [INFO] [stderr] | --------- ^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BoundaryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `LT`, `LTE`, `GT`, `GTE`, and `EQ` are never constructed [INFO] [stderr] --> src/core/constraints/compare.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Compare { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 5 | /// Less then ( < ) [INFO] [stderr] 6 | LT, [INFO] [stderr] | ^^ [INFO] [stderr] 7 | /// Less or equal ( <= ) [INFO] [stderr] 8 | LTE, [INFO] [stderr] | ^^^ [INFO] [stderr] 9 | /// Greater then ( > ) [INFO] [stderr] 10 | GT, [INFO] [stderr] | ^^ [INFO] [stderr] 11 | /// Greater or equal ( >= ) [INFO] [stderr] 12 | GTE, [INFO] [stderr] | ^^^ [INFO] [stderr] 13 | /// Equal ( = ) [INFO] [stderr] 14 | EQ, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Compare` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `is_in` is never used [INFO] [stderr] --> src/core/constraints/compare.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Compare { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 18 | pub fn is_in(&self, cmp: Ordering) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/core/constraints/fixed/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Fixed { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 5 | pub id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Fixed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `NotEqual` is never constructed [INFO] [stderr] --> src/core/constraints/fixed/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum FixedCheckError { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 10 | NotEqual { fixed: Fixed, value: V }, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Ok` and `Err` are never constructed [INFO] [stderr] --> src/core/constraints/fixed/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum FixedCheckResult { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 13 | Ok, [INFO] [stderr] | ^^ [INFO] [stderr] 14 | Err(FixedCheckError), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_in` is never used [INFO] [stderr] --> src/core/constraints/fixed/mod.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Fixed { [INFO] [stderr] | ---------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn is_in(&self, val: &V) -> FixedCheckResult { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `left`, `right`, `cmp`, `mul`, and `off` are never read [INFO] [stderr] --> src/core/constraints/relation/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Linear [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | left: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | /// id of right one [INFO] [stderr] 16 | right: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 17 | /// comparison [INFO] [stderr] 18 | cmp: Compare, [INFO] [stderr] | ^^^ [INFO] [stderr] 19 | /// multiplier [INFO] [stderr] 20 | mul: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 21 | /// offset [INFO] [stderr] 22 | off: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Linear` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `NotIn` and `CannotCompare` are never constructed [INFO] [stderr] --> src/core/constraints/relation/mod.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub enum LinearCheckError [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 31 | NotIn { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | CannotCompare { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Ok` is never constructed [INFO] [stderr] --> src/core/constraints/relation/mod.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 47 | pub enum LinearCheckResult [INFO] [stderr] | ----------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 53 | Ok, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `is_in` are never used [INFO] [stderr] --> src/core/constraints/relation/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 68 | / impl Linear [INFO] [stderr] 69 | | where [INFO] [stderr] 70 | | M: Mul + Copy, [INFO] [stderr] 71 | | O: Add + Copy, [INFO] [stderr] | |__________________- associated items in this implementation [INFO] [stderr] 72 | { [INFO] [stderr] 73 | pub fn new(left: usize, right: usize, mul: Option, off: Option, cmp: Compare) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn is_in(&self, left: &T, right: &T) -> LinearCheckResult [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `double` is never read [INFO] [stderr] --> src/core/model/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Model { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 19 | pub single: HashMap>>, [INFO] [stderr] 20 | pub double: HashMap<(usize, usize), Vec>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `add_linear`, `check_single`, and `check_double` are never used [INFO] [stderr] --> src/core/model/mod.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Model { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn add_linear( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn check_single( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn check_double( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ui/manager.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | / model.add_boundary( [INFO] [stderr] 20 | | 0, [INFO] [stderr] 21 | | Some(Limit { [INFO] [stderr] 22 | | point: 20, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }), [INFO] [stderr] 29 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 19 | let _ = model.add_boundary( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `abstaction` (lib) generated 27 warnings (run `cargo fix --lib -p abstaction` to apply 2 suggestions) [INFO] [stderr] warning: `abstaction` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/abstaction-3aa8819e122f7a1d) [INFO] [stdout] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/abstaction-fc24ffe81bc19d39) [INFO] [stdout] [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] [stderr] Doc-tests abstaction [INFO] [stdout] [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" "49341bcae169cd1d9db29e84e6455c0f21cc811a6a87ced5bd71fd301b0af7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49341bcae169cd1d9db29e84e6455c0f21cc811a6a87ced5bd71fd301b0af7fb", kill_on_drop: false }` [INFO] [stdout] 49341bcae169cd1d9db29e84e6455c0f21cc811a6a87ced5bd71fd301b0af7fb