[INFO] cloning repository https://github.com/Kapponohacco/Rust-Calculator-Interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kapponohacco/Rust-Calculator-Interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapponohacco%2FRust-Calculator-Interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapponohacco%2FRust-Calculator-Interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3dbb7435e32773e23d99e0fc4873cd524bceb9d [INFO] testing Kapponohacco/Rust-Calculator-Interpreter against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapponohacco%2FRust-Calculator-Interpreter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kapponohacco/Rust-Calculator-Interpreter [INFO] finished tweaking git repo https://github.com/Kapponohacco/Rust-Calculator-Interpreter [INFO] tweaked toml for git repo https://github.com/Kapponohacco/Rust-Calculator-Interpreter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kapponohacco/Rust-Calculator-Interpreter on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kapponohacco/Rust-Calculator-Interpreter 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f194715a31801f6f43ea3d77f7427a336267462d5b5fe4c1eff6ea587e1e53e [INFO] running `Command { std: "docker" "start" "-a" "4f194715a31801f6f43ea3d77f7427a336267462d5b5fe4c1eff6ea587e1e53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f194715a31801f6f43ea3d77f7427a336267462d5b5fe4c1eff6ea587e1e53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f194715a31801f6f43ea3d77f7427a336267462d5b5fe4c1eff6ea587e1e53e", kill_on_drop: false }` [INFO] [stdout] 4f194715a31801f6f43ea3d77f7427a336267462d5b5fe4c1eff6ea587e1e53e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e664141a2eb3cd1ff7fffeedcd6df1835765e0b0a550ac97d76a060bd8c192b [INFO] running `Command { std: "docker" "start" "-a" "4e664141a2eb3cd1ff7fffeedcd6df1835765e0b0a550ac97d76a060bd8c192b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling accesskit_consumer v0.31.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling epaint_default_fonts v0.33.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.33.3 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling ecolor v0.33.3 [INFO] [stderr] Compiling epaint v0.33.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling egui v0.33.3 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling zbus_xml v5.1.0 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Compiling egui_glow v0.33.3 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Compiling zbus v5.13.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.10 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.2 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.2 [INFO] [stderr] Compiling accesskit_winit v0.29.2 [INFO] [stderr] Compiling egui-winit v0.33.3 [INFO] [stderr] Compiling eframe v0.33.3 [INFO] [stderr] Compiling Rust-Calculator-Interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine::Value` [INFO] [stdout] --> src/engine/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `op_pos` is never read [INFO] [stdout] --> src/engine/engine.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let mut op_pos: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/gui/app.rs:125:47 [INFO] [stdout] | [INFO] [stdout] 125 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = CalculatorApp::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: unused variable: `app` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history` is never read [INFO] [stdout] --> src/engine/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CalculatorEngine { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | variables: HashMap, [INFO] [stdout] 18 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] 4 + HowDidWeGetHere(()), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] 5 + InvalidExpression(()), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stdout] 7 + InvalidToken(()), // Getting this error should not be possible and that's why it exists [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotImplemented` and `TooManyOperands` are never constructed [INFO] [stdout] --> src/engine/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CalcError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | NotImplemented, // not implemented [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | TooManyOperands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "4e664141a2eb3cd1ff7fffeedcd6df1835765e0b0a550ac97d76a060bd8c192b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e664141a2eb3cd1ff7fffeedcd6df1835765e0b0a550ac97d76a060bd8c192b", kill_on_drop: false }` [INFO] [stdout] 4e664141a2eb3cd1ff7fffeedcd6df1835765e0b0a550ac97d76a060bd8c192b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab77332bb81de9e1831cc1f6fd2e1d9238ebd9c5faa731f144e26e9ffe905faa [INFO] running `Command { std: "docker" "start" "-a" "ab77332bb81de9e1831cc1f6fd2e1d9238ebd9c5faa731f144e26e9ffe905faa", kill_on_drop: false }` [INFO] [stderr] Compiling Rust-Calculator-Interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine::Value` [INFO] [stdout] --> src/engine/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use engine::Value; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `op_pos` is never read [INFO] [stdout] --> src/engine/engine.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let mut op_pos: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/gui/app.rs:125:47 [INFO] [stdout] | [INFO] [stdout] 125 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = CalculatorApp::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: unused variable: `app` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn test_add(){ let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn test_add(){ let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut app = CalculatorApp::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history` is never read [INFO] [stdout] --> src/engine/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CalculatorEngine { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 17 | variables: HashMap, [INFO] [stdout] 18 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] 4 + HowDidWeGetHere(()), // for situations that make no sense, mostly an inside joke from another project [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] 5 + InvalidExpression(()), // for invalid expressions like "!" in the base input during tokenization [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/errors.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stdout] 7 + InvalidToken(()), // Getting this error should not be possible and that's why it exists [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotImplemented` and `TooManyOperands` are never constructed [INFO] [stdout] --> src/engine/errors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CalcError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | NotImplemented, // not implemented [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | TooManyOperands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "ab77332bb81de9e1831cc1f6fd2e1d9238ebd9c5faa731f144e26e9ffe905faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab77332bb81de9e1831cc1f6fd2e1d9238ebd9c5faa731f144e26e9ffe905faa", kill_on_drop: false }` [INFO] [stdout] ab77332bb81de9e1831cc1f6fd2e1d9238ebd9c5faa731f144e26e9ffe905faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 618b7229cfc532e966bca5295b62b92786f7c6cf6034fe767a37727e61db691c [INFO] running `Command { std: "docker" "start" "-a" "618b7229cfc532e966bca5295b62b92786f7c6cf6034fe767a37727e61db691c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `engine::Value` [INFO] [stderr] --> src/engine/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use engine::Value; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `op_pos` is never read [INFO] [stderr] --> src/engine/engine.rs:58:41 [INFO] [stderr] | [INFO] [stderr] 58 | let mut op_pos: Option = None; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/gui/app.rs:125:47 [INFO] [stderr] | [INFO] [stderr] 125 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | fn test_add(){ let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | fn test_add(){ let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/main.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let mut app = CalculatorApp::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: field `history` is never read [INFO] [stderr] --> src/engine/engine.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct CalculatorEngine { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 17 | variables: HashMap, [INFO] [stderr] 18 | history: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/engine/errors.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stderr] | --------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 4 - HowDidWeGetHere(String), // for situations that make no sense, mostly an inside joke from another project [INFO] [stderr] 4 + HowDidWeGetHere(()), // for situations that make no sense, mostly an inside joke from another project [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/engine/errors.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stderr] | ----------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 - InvalidExpression(String), // for invalid expressions like "!" in the base input during tokenization [INFO] [stderr] 5 + InvalidExpression(()), // for invalid expressions like "!" in the base input during tokenization [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/engine/errors.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stderr] | ------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 - InvalidToken(String), // Getting this error should not be possible and that's why it exists [INFO] [stderr] 7 + InvalidToken(()), // Getting this error should not be possible and that's why it exists [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `NotImplemented` and `TooManyOperands` are never constructed [INFO] [stderr] --> src/engine/errors.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum CalcError { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 3 | NotImplemented, // not implemented [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | TooManyOperands, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CalcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `Rust-Calculator-Interpreter` (bin "Rust-Calculator-Interpreter" test) generated 26 warnings (run `cargo fix --bin "Rust-Calculator-Interpreter" -p Rust-Calculator-Interpreter --tests` to apply 20 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Rust_Calculator_Interpreter-48fd0f295b25d7a1) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_basic::test_div_by_zero ... ok [INFO] [stdout] test test_basic::test_div ... ok [INFO] [stdout] test test_basic::test_add ... ok [INFO] [stdout] test test_basic::test_mul ... ok [INFO] [stdout] test test_varables::test_declare_variable_lazy_evaluation ... ok [INFO] [stdout] test test_basic::test_sub ... ok [INFO] [stdout] test test_basic::test_invalid_input ... ok [INFO] [stdout] test test_varables::test_declare_variable_using_declared_variable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "618b7229cfc532e966bca5295b62b92786f7c6cf6034fe767a37727e61db691c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618b7229cfc532e966bca5295b62b92786f7c6cf6034fe767a37727e61db691c", kill_on_drop: false }` [INFO] [stdout] 618b7229cfc532e966bca5295b62b92786f7c6cf6034fe767a37727e61db691c