[INFO] cloning repository https://github.com/Susch12/Network_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Susch12/Network_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSusch12%2FNetwork_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSusch12%2FNetwork_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c24f58b198d9e2dbb2fdc2ce0116d543518d90 [INFO] testing Susch12/Network_interpreter against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSusch12%2FNetwork_interpreter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Susch12/Network_interpreter [INFO] finished tweaking git repo https://github.com/Susch12/Network_interpreter [INFO] tweaked toml for git repo https://github.com/Susch12/Network_interpreter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Susch12/Network_interpreter on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Susch12/Network_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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46bdda0be0ef673d6338011b415b8c990753cdd4e617c89da31ce2a1fffc6aa2 [INFO] running `Command { std: "docker" "start" "-a" "46bdda0be0ef673d6338011b415b8c990753cdd4e617c89da31ce2a1fffc6aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46bdda0be0ef673d6338011b415b8c990753cdd4e617c89da31ce2a1fffc6aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46bdda0be0ef673d6338011b415b8c990753cdd4e617c89da31ce2a1fffc6aa2", kill_on_drop: false }` [INFO] [stdout] 46bdda0be0ef673d6338011b415b8c990753cdd4e617c89da31ce2a1fffc6aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 618b7e8c30a75928b2de275a682f9f5368cc0ad2ad00c53cc7b3250e2f3df93f [INFO] running `Command { std: "docker" "start" "-a" "618b7e8c30a75928b2de275a682f9f5368cc0ad2ad00c53cc7b3250e2f3df93f", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling immutable-chunkmap v2.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.9 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling network_interpreter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `is_negated` [INFO] [stdout] --> src/lexer_new/automaton.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let is_negated = inner.starts_with('^'); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> src/lexer_new/scanner.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_map` is never read [INFO] [stdout] --> src/lexer_new/automaton.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Automaton { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | state_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/generate_ll1_table.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `automaton::Automaton` [INFO] [stdout] --> src/lexer_new/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use automaton::Automaton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scanner::Scanner` [INFO] [stdout] --> src/lexer_new/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use scanner::Scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType` and `Token` [INFO] [stdout] --> src/lexer_new/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub use token::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LexicalError` [INFO] [stdout] --> src/lexer_new/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use error::LexicalError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FirstFollowSets`, `NonTerminal`, and `Symbol` [INFO] [stdout] --> src/parser_ll1/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub use first_follow::{FirstFollowSets, NonTerminal, Symbol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LL1Table`, `Production`, and `TokenClass` [INFO] [stdout] --> src/parser_ll1/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ll1_table::{LL1Table, Production, TokenClass}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | egui::Stroke::new(1.0, color) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | egui::Stroke::new(1.0, color) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | egui::Stroke::new(2.0, egui::Color32::from_rgba_premultiplied(255, 255, 255, 100)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:431:67 [INFO] [stdout] | [INFO] [stdout] 431 | painter.rect_stroke(port_rect, 1.0, egui::Stroke::new(1.0, egui::Color32::from_rgb(100, 100, 105))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_negated` [INFO] [stdout] --> src/lexer_new/automaton.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let is_negated = inner.starts_with('^'); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> src/lexer_new/scanner.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ui` [INFO] [stdout] --> src/visualizer.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | fn draw_network(&self, ui: &mut egui::Ui, painter: &egui::Painter, rect: egui::Rect) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Whitespace` is never constructed [INFO] [stdout] --> src/lexer.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexerError` is never constructed [INFO] [stdout] --> src/lexer.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_usize` is never used [INFO] [stdout] --> src/lexer_new/automaton.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl StateId { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn as_usize(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_map` is never read [INFO] [stdout] --> src/lexer_new/automaton.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Automaton { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | state_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/lexer_new/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LexicalError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexicalError` 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: associated functions `unterminated_string` and `invalid_number` are never used [INFO] [stdout] --> src/lexer_new/error.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl LexicalError { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn unterminated_string(line: usize, column: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn invalid_number(lexeme: String, line: usize, column: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/parser.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParseError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub message: String, [INFO] [stdout] 14 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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: function `report_parse_errors` is never used [INFO] [stdout] --> src/parser.rs:1067:8 [INFO] [stdout] | [INFO] [stdout] 1067 | pub fn report_parse_errors(errors: &[ParseError], source: &str, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FirstFollowSets` is never constructed [INFO] [stdout] --> src/parser_ll1/first_follow.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct FirstFollowSets { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser_ll1/first_follow.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl FirstFollowSets { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 125 | /// Crea los conjuntos FIRST y FOLLOW según la gramática [INFO] [stdout] 126 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn initialize_first_sets(first: &mut HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn initialize_follow_sets(follow: &mut HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn first(&self, nt: NonTerminal) -> Option<&HashSet> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn follow(&self, nt: NonTerminal) -> Option<&HashSet> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn is_in_first(&self, nt: NonTerminal, symbol: &Symbol) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn is_in_follow(&self, nt: NonTerminal, symbol: &Symbol) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Eof` is never constructed [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum TokenClass { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenClass` 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 `as_str` is never used [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl TokenClass { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_production`, `export_table`, `format_rhs`, and `format_terminal` are never used [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl LL1Table { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 956 | pub fn get_production(&self, id: usize) -> Option<&Production> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 961 | pub fn export_table(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1036 | fn format_rhs(rhs: &[Symbol]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | fn format_terminal(token: &Token) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_errors` is never used [INFO] [stdout] --> src/parser_ll1/predictive.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl PredictiveParser { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn get_errors(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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: field `location` is never read [INFO] [stdout] --> src/ast.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Definitions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definitions` 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: associated function `empty` is never used [INFO] [stdout] --> src/ast.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Definitions { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 61 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LexicalError`, `SyntaxError`, and `RuntimeError` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | LexicalError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | SemanticError, [INFO] [stdout] 12 | RuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` 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: associated items `lexical_error`, `syntax_error`, `runtime_error`, and `with_help` are never used [INFO] [stdout] --> src/error.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 26 | pub fn lexical_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn syntax_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn runtime_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_help(mut self, help: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/semantic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: fields `nombre` and `location` are never read [INFO] [stdout] --> src/semantic.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MaquinaSymbol { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub presente: bool, // Si fue colocada en pantalla [INFO] [stdout] 46 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaquinaSymbol` 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: fields `nombre`, `puertos_ocupados`, `coaxial_asignado`, and `location` are never read [INFO] [stdout] --> src/semantic.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ConcentradorSymbol { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 51 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub puertos_ocupados: Vec, // Estado de cada puerto (true = ocupado) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub disponibles: i32, // Puertos disponibles [INFO] [stdout] 56 | pub coaxial_asignado: Option, // Nombre del coaxial asignado [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stdout] 58 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcentradorSymbol` 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: methods `asignar_puerto` and `primer_puerto_disponible` are never used [INFO] [stdout] --> src/semantic.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConcentradorSymbol { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn asignar_puerto(&mut self, puerto: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn primer_puerto_disponible(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nombre`, `maquinas`, `posiciones`, and `location` are never read [INFO] [stdout] --> src/semantic.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct CoaxialSymbol { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub maquinas: Vec, // Nombres de máquinas [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | pub posiciones: Vec, // Posiciones de cada máquina [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stdout] 105 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoaxialSymbol` 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: methods `puede_agregar_maquina`, `agregar_maquina`, and `encontrar_posicion_disponible` are never used [INFO] [stdout] --> src/semantic.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl CoaxialSymbol { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn puede_agregar_maquina(&self, posicion: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn agregar_maquina(&mut self, nombre: String, posicion: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn encontrar_posicion_disponible(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_maquina_mut`, `obtener_concentrador_mut`, and `obtener_coaxial_mut` are never used [INFO] [stdout] --> src/semantic.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn obtener_maquina_mut(&mut self, nombre: &str) -> Option<&mut MaquinaSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn obtener_concentrador_mut(&mut self, nombre: &str) -> Option<&mut ConcentradorSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn obtener_coaxial_mut(&mut self, nombre: &str) -> Option<&mut CoaxialSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_module` is never used [INFO] [stdout] --> src/semantic.rs:399:8 [INFO] [stdout] | [INFO] [stdout] 322 | impl SemanticAnalyzer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | fn analyze_module(&mut self, modulo: &Modulo) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/interpreter.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `to_string` is never used [INFO] [stdout] --> src/interpreter.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RuntimeMaquina { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 61 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeMaquina` 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: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct RuntimeConcentrador { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 76 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeConcentrador` 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: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RuntimeCoaxial { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 124 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeCoaxial` 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: field `nombre` is never read [INFO] [stdout] --> src/visualizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Maquina { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Maquina` 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: fields `nombre` and `tiene_coaxial` are never read [INFO] [stdout] --> src/visualizer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Concentrador { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub tiene_coaxial: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Concentrador` 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: fields `nombre` and `maquinas` are never read [INFO] [stdout] --> src/visualizer.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Coaxial { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub maquinas: Vec<(String, usize)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coaxial` 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: constant `COLOR_GRID` is never used [INFO] [stdout] --> src/visualizer.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | const COLOR_GRID: egui::Color32 = egui::Color32::from_rgb(30, 30, 40); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "618b7e8c30a75928b2de275a682f9f5368cc0ad2ad00c53cc7b3250e2f3df93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618b7e8c30a75928b2de275a682f9f5368cc0ad2ad00c53cc7b3250e2f3df93f", kill_on_drop: false }` [INFO] [stdout] 618b7e8c30a75928b2de275a682f9f5368cc0ad2ad00c53cc7b3250e2f3df93f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b05b4b7ef35bbc3d37f95b56f09aa54529a61aa02aa99f4d6efd5cc8787a4e [INFO] running `Command { std: "docker" "start" "-a" "c2b05b4b7ef35bbc3d37f95b56f09aa54529a61aa02aa99f4d6efd5cc8787a4e", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling network_interpreter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `is_negated` [INFO] [stdout] --> src/lexer_new/automaton.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let is_negated = inner.starts_with('^'); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> src/lexer_new/scanner.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_map` is never read [INFO] [stdout] --> src/lexer_new/automaton.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Automaton { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | state_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/generate_ll1_table.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `automaton::Automaton` [INFO] [stdout] --> src/lexer_new/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use automaton::Automaton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scanner::Scanner` [INFO] [stdout] --> src/lexer_new/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use scanner::Scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType` and `Token` [INFO] [stdout] --> src/lexer_new/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub use token::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::LexicalError` [INFO] [stdout] --> src/lexer_new/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use error::LexicalError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FirstFollowSets`, `NonTerminal`, and `Symbol` [INFO] [stdout] --> src/parser_ll1/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub use first_follow::{FirstFollowSets, NonTerminal, Symbol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LL1Table`, `Production`, and `TokenClass` [INFO] [stdout] --> src/parser_ll1/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ll1_table::{LL1Table, Production, TokenClass}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_negated` [INFO] [stdout] --> src/lexer_new/automaton.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let is_negated = inner.starts_with('^'); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> src/lexer_new/scanner.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer_new/scanner.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut scanner = Scanner::new("", &TEST_AUTOMATON); [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: field `state_map` is never read [INFO] [stdout] --> src/lexer_new/automaton.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Automaton { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | state_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | egui::Stroke::new(1.0, color) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | egui::Stroke::new(1.0, color) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | egui::Stroke::new(2.0, egui::Color32::from_rgba_premultiplied(255, 255, 255, 100)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/visualizer.rs:431:67 [INFO] [stdout] | [INFO] [stdout] 431 | painter.rect_stroke(port_rect, 1.0, egui::Stroke::new(1.0, egui::Color32::from_rgb(100, 100, 105))); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_negated` [INFO] [stdout] --> src/lexer_new/automaton.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let is_negated = inner.starts_with('^'); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> src/lexer_new/scanner.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer_new/scanner.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut scanner = Scanner::new("", &TEST_AUTOMATON); [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: `ui` [INFO] [stdout] --> src/visualizer.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | fn draw_network(&self, ui: &mut egui::Ui, painter: &egui::Painter, rect: egui::Rect) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Whitespace` is never constructed [INFO] [stdout] --> src/lexer.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexerError` is never constructed [INFO] [stdout] --> src/lexer.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_map` is never read [INFO] [stdout] --> src/lexer_new/automaton.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Automaton { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | state_map: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/lexer_new/error.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LexicalError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexicalError` 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: associated function `invalid_number` is never used [INFO] [stdout] --> src/lexer_new/error.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl LexicalError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn invalid_number(lexeme: String, line: usize, column: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/parser.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParseError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub message: String, [INFO] [stdout] 14 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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: function `report_parse_errors` is never used [INFO] [stdout] --> src/parser.rs:1067:8 [INFO] [stdout] | [INFO] [stdout] 1067 | pub fn report_parse_errors(errors: &[ParseError], source: &str, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `follow` is never read [INFO] [stdout] --> src/parser_ll1/first_follow.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct FirstFollowSets { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 120 | first: HashMap>, [INFO] [stdout] 121 | follow: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `follow` and `is_in_follow` are never used [INFO] [stdout] --> src/parser_ll1/first_follow.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl FirstFollowSets { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn follow(&self, nt: NonTerminal) -> Option<&HashSet> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn is_in_follow(&self, nt: NonTerminal, symbol: &Symbol) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Eof` is never constructed [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum TokenClass { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenClass` 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 `as_str` is never used [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl TokenClass { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_production`, `export_table`, `format_rhs`, and `format_terminal` are never used [INFO] [stdout] --> src/parser_ll1/ll1_table.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl LL1Table { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 956 | pub fn get_production(&self, id: usize) -> Option<&Production> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 961 | pub fn export_table(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1036 | fn format_rhs(rhs: &[Symbol]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | fn format_terminal(token: &Token) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_errors` is never used [INFO] [stdout] --> src/parser_ll1/predictive.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl PredictiveParser { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn get_errors(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/ast.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` 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: field `location` is never read [INFO] [stdout] --> src/ast.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Definitions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definitions` 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: associated function `empty` is never used [INFO] [stdout] --> src/ast.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Definitions { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 61 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LexicalError`, `SyntaxError`, and `RuntimeError` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DiagnosticKind { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | LexicalError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | SemanticError, [INFO] [stdout] 12 | RuntimeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticKind` 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: associated items `lexical_error`, `syntax_error`, `runtime_error`, and `with_help` are never used [INFO] [stdout] --> src/error.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Diagnostic { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 26 | pub fn lexical_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn syntax_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn runtime_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_help(mut self, help: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/semantic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: fields `nombre` and `location` are never read [INFO] [stdout] --> src/semantic.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MaquinaSymbol { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub presente: bool, // Si fue colocada en pantalla [INFO] [stdout] 46 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaquinaSymbol` 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: fields `nombre`, `puertos_ocupados`, `coaxial_asignado`, and `location` are never read [INFO] [stdout] --> src/semantic.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ConcentradorSymbol { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 51 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub puertos_ocupados: Vec, // Estado de cada puerto (true = ocupado) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub disponibles: i32, // Puertos disponibles [INFO] [stdout] 56 | pub coaxial_asignado: Option, // Nombre del coaxial asignado [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stdout] 58 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcentradorSymbol` 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: methods `asignar_puerto` and `primer_puerto_disponible` are never used [INFO] [stdout] --> src/semantic.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl ConcentradorSymbol { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn asignar_puerto(&mut self, puerto: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn primer_puerto_disponible(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nombre`, `maquinas`, `posiciones`, and `location` are never read [INFO] [stdout] --> src/semantic.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct CoaxialSymbol { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub maquinas: Vec, // Nombres de máquinas [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | pub posiciones: Vec, // Posiciones de cada máquina [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stdout] 105 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoaxialSymbol` 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: methods `puede_agregar_maquina`, `agregar_maquina`, and `encontrar_posicion_disponible` are never used [INFO] [stdout] --> src/semantic.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl CoaxialSymbol { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn puede_agregar_maquina(&self, posicion: i32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn agregar_maquina(&mut self, nombre: String, posicion: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn encontrar_posicion_disponible(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_maquina_mut`, `obtener_concentrador_mut`, and `obtener_coaxial_mut` are never used [INFO] [stdout] --> src/semantic.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn obtener_maquina_mut(&mut self, nombre: &str) -> Option<&mut MaquinaSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn obtener_concentrador_mut(&mut self, nombre: &str) -> Option<&mut ConcentradorSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn obtener_coaxial_mut(&mut self, nombre: &str) -> Option<&mut CoaxialSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze_module` is never used [INFO] [stdout] --> src/semantic.rs:399:8 [INFO] [stdout] | [INFO] [stdout] 322 | impl SemanticAnalyzer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | fn analyze_module(&mut self, modulo: &Modulo) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> src/interpreter.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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 `to_string` is never used [INFO] [stdout] --> src/interpreter.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct RuntimeMaquina { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 61 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeMaquina` 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: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct RuntimeConcentrador { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 76 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeConcentrador` 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: field `nombre` is never read [INFO] [stdout] --> src/interpreter.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct RuntimeCoaxial { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 124 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeCoaxial` 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: field `nombre` is never read [INFO] [stdout] --> src/visualizer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Maquina { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Maquina` 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: fields `nombre` and `tiene_coaxial` are never read [INFO] [stdout] --> src/visualizer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Concentrador { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub tiene_coaxial: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Concentrador` 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: fields `nombre` and `maquinas` are never read [INFO] [stdout] --> src/visualizer.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Coaxial { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub nombre: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub maquinas: Vec<(String, usize)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coaxial` 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: constant `COLOR_GRID` is never used [INFO] [stdout] --> src/visualizer.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | const COLOR_GRID: egui::Color32 = egui::Color32::from_rgb(30, 30, 40); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "c2b05b4b7ef35bbc3d37f95b56f09aa54529a61aa02aa99f4d6efd5cc8787a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b05b4b7ef35bbc3d37f95b56f09aa54529a61aa02aa99f4d6efd5cc8787a4e", kill_on_drop: false }` [INFO] [stdout] c2b05b4b7ef35bbc3d37f95b56f09aa54529a61aa02aa99f4d6efd5cc8787a4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fb4989d464b32aa6831349528729ae9d1920f299b9cd31cd558381dba4523cc [INFO] running `Command { std: "docker" "start" "-a" "5fb4989d464b32aa6831349528729ae9d1920f299b9cd31cd558381dba4523cc", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `is_negated` [INFO] [stderr] --> src/lexer_new/automaton.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let is_negated = inner.starts_with('^'); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_negated` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_pos` [INFO] [stderr] --> src/lexer_new/scanner.rs:154:40 [INFO] [stderr] | [INFO] [stderr] 154 | fn update_position_from(&mut self, start_pos: usize) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stderr] [INFO] [stderr] warning: field `state_map` is never read [INFO] [stderr] --> src/lexer_new/automaton.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 170 | pub struct Automaton { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 184 | state_map: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `network_interpreter` (lib) generated 3 warnings (run `cargo fix --lib -p network_interpreter` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `automaton::Automaton` [INFO] [stderr] --> src/lexer_new/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use automaton::Automaton; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `scanner::Scanner` [INFO] [stderr] --> src/lexer_new/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use scanner::Scanner; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TokenType` and `Token` [INFO] [stderr] --> src/lexer_new/mod.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | pub use token::{Token, TokenType}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::LexicalError` [INFO] [stderr] --> src/lexer_new/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use error::LexicalError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FirstFollowSets`, `NonTerminal`, and `Symbol` [INFO] [stderr] --> src/parser_ll1/mod.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | pub use first_follow::{FirstFollowSets, NonTerminal, Symbol}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LL1Table`, `Production`, and `TokenClass` [INFO] [stderr] --> src/parser_ll1/mod.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | pub use ll1_table::{LL1Table, Production, TokenClass}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/visualizer.rs:195:35 [INFO] [stderr] | [INFO] [stderr] 195 | egui::Stroke::new(1.0, color) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/visualizer.rs:204:35 [INFO] [stderr] | [INFO] [stderr] 204 | egui::Stroke::new(1.0, color) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/visualizer.rs:240:31 [INFO] [stderr] | [INFO] [stderr] 240 | egui::Stroke::new(2.0, egui::Color32::from_rgba_premultiplied(255, 255, 255, 100)) [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/visualizer.rs:431:67 [INFO] [stderr] | [INFO] [stderr] 431 | painter.rect_stroke(port_rect, 1.0, egui::Stroke::new(1.0, egui::Color32::from_rgb(100, 100, 105))); [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lexer_new/scanner.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | let mut scanner = Scanner::new("", &TEST_AUTOMATON); [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: `ui` [INFO] [stderr] --> src/visualizer.rs:473:28 [INFO] [stderr] | [INFO] [stderr] 473 | fn draw_network(&self, ui: &mut egui::Ui, painter: &egui::Painter, rect: egui::Rect) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ui` [INFO] [stderr] [INFO] [stderr] warning: variant `Whitespace` is never constructed [INFO] [stderr] --> src/lexer.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Token { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 67 | Whitespace, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `LexerError` is never constructed [INFO] [stderr] --> src/lexer.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct LexerError { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `state_map` is never read [INFO] [stderr] --> src/lexer_new/automaton.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 170 | pub struct Automaton { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 184 | state_map: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `length` is never read [INFO] [stderr] --> src/lexer_new/error.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct LexicalError { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub length: usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LexicalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `invalid_number` is never used [INFO] [stderr] --> src/lexer_new/error.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl LexicalError { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn invalid_number(lexeme: String, line: usize, column: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/parser.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ParseError { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 13 | pub message: String, [INFO] [stderr] 14 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `report_parse_errors` is never used [INFO] [stderr] --> src/parser.rs:1067:8 [INFO] [stderr] | [INFO] [stderr] 1067 | pub fn report_parse_errors(errors: &[ParseError], source: &str, filename: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `follow` is never read [INFO] [stderr] --> src/parser_ll1/first_follow.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct FirstFollowSets { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 120 | first: HashMap>, [INFO] [stderr] 121 | follow: HashMap>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `follow` and `is_in_follow` are never used [INFO] [stderr] --> src/parser_ll1/first_follow.rs:468:12 [INFO] [stderr] | [INFO] [stderr] 124 | impl FirstFollowSets { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 468 | pub fn follow(&self, nt: NonTerminal) -> Option<&HashSet> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 480 | pub fn is_in_follow(&self, nt: NonTerminal, symbol: &Symbol) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Eof` is never constructed [INFO] [stderr] --> src/parser_ll1/ll1_table.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub enum TokenClass { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 68 | Eof, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/parser_ll1/ll1_table.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl TokenClass { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `get_production`, `export_table`, `format_rhs`, and `format_terminal` are never used [INFO] [stderr] --> src/parser_ll1/ll1_table.rs:956:12 [INFO] [stderr] | [INFO] [stderr] 170 | impl LL1Table { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 956 | pub fn get_production(&self, id: usize) -> Option<&Production> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 961 | pub fn export_table(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1036 | fn format_rhs(rhs: &[Symbol]) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1053 | fn format_terminal(token: &Token) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_errors` is never used [INFO] [stderr] --> src/parser_ll1/predictive.rs:223:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl PredictiveParser { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 223 | pub fn get_errors(&self) -> &[String] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/ast.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Program { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Program` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/ast.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 53 | pub struct Definitions { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 57 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Definitions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `empty` is never used [INFO] [stderr] --> src/ast.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl Definitions { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 61 | pub fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `LexicalError`, `SyntaxError`, and `RuntimeError` are never constructed [INFO] [stderr] --> src/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum DiagnosticKind { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 9 | LexicalError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 10 | SyntaxError, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 11 | SemanticError, [INFO] [stderr] 12 | RuntimeError, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DiagnosticKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `lexical_error`, `syntax_error`, `runtime_error`, and `with_help` are never used [INFO] [stderr] --> src/error.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Diagnostic { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 26 | pub fn lexical_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn syntax_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn runtime_error(line: usize, column: usize, length: usize, message: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn with_help(mut self, help: String) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Void` is never constructed [INFO] [stderr] --> src/semantic.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum Type { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 16 | Void, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `nombre` and `location` are never read [INFO] [stderr] --> src/semantic.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct MaquinaSymbol { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 44 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 45 | pub presente: bool, // Si fue colocada en pantalla [INFO] [stderr] 46 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MaquinaSymbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `nombre`, `puertos_ocupados`, `coaxial_asignado`, and `location` are never read [INFO] [stderr] --> src/semantic.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct ConcentradorSymbol { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 51 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub puertos_ocupados: Vec, // Estado de cada puerto (true = ocupado) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | pub disponibles: i32, // Puertos disponibles [INFO] [stderr] 56 | pub coaxial_asignado: Option, // Nombre del coaxial asignado [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 57 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stderr] 58 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConcentradorSymbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `asignar_puerto` and `primer_puerto_disponible` are never used [INFO] [stderr] --> src/semantic.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 61 | impl ConcentradorSymbol { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn asignar_puerto(&mut self, puerto: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn primer_puerto_disponible(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `nombre`, `maquinas`, `posiciones`, and `location` are never read [INFO] [stderr] --> src/semantic.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct CoaxialSymbol { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 98 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub maquinas: Vec, // Nombres de máquinas [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 103 | pub posiciones: Vec, // Posiciones de cada máquina [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 104 | pub presente: bool, // Si fue colocado en pantalla [INFO] [stderr] 105 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CoaxialSymbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `puede_agregar_maquina`, `agregar_maquina`, and `encontrar_posicion_disponible` are never used [INFO] [stderr] --> src/semantic.rs:122:12 [INFO] [stderr] | [INFO] [stderr] 108 | impl CoaxialSymbol { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 122 | pub fn puede_agregar_maquina(&self, posicion: i32) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn agregar_maquina(&mut self, nombre: String, posicion: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn encontrar_posicion_disponible(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `obtener_maquina_mut`, `obtener_concentrador_mut`, and `obtener_coaxial_mut` are never used [INFO] [stderr] --> src/semantic.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 177 | impl SymbolTable { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 212 | pub fn obtener_maquina_mut(&mut self, nombre: &str) -> Option<&mut MaquinaSymbol> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn obtener_concentrador_mut(&mut self, nombre: &str) -> Option<&mut ConcentradorSymbol> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 275 | pub fn obtener_coaxial_mut(&mut self, nombre: &str) -> Option<&mut CoaxialSymbol> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `analyze_module` is never used [INFO] [stderr] --> src/semantic.rs:399:8 [INFO] [stderr] | [INFO] [stderr] 322 | impl SemanticAnalyzer { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 399 | fn analyze_module(&mut self, modulo: &Modulo) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Void` is never constructed [INFO] [stderr] --> src/interpreter.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub enum Value { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 21 | Void, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/interpreter.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Value { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `nombre` is never read [INFO] [stderr] --> src/interpreter.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct RuntimeMaquina { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 61 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeMaquina` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `nombre` is never read [INFO] [stderr] --> src/interpreter.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct RuntimeConcentrador { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 76 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeConcentrador` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `nombre` is never read [INFO] [stderr] --> src/interpreter.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 123 | pub struct RuntimeCoaxial { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 124 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeCoaxial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `nombre` is never read [INFO] [stderr] --> src/visualizer.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Maquina { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 11 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Maquina` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `nombre` and `tiene_coaxial` are never read [INFO] [stderr] --> src/visualizer.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Concentrador { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 25 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub tiene_coaxial: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Concentrador` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `nombre` and `maquinas` are never read [INFO] [stderr] --> src/visualizer.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Coaxial { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 35 | pub nombre: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub maquinas: Vec<(String, usize)>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Coaxial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `COLOR_GRID` is never used [INFO] [stderr] --> src/visualizer.rs:154:7 [INFO] [stderr] | [INFO] [stderr] 154 | const COLOR_GRID: egui::Color32 = egui::Color32::from_rgb(30, 30, 40); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/bin/generate_ll1_table.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `network_interpreter` (bin "interprete" test) generated 49 warnings (2 duplicates) (run `cargo fix --bin "interprete" -p network_interpreter --tests` to apply 12 suggestions) [INFO] [stderr] warning: `network_interpreter` (bin "generate_ll1_table" test) generated 1 warning (run `cargo fix --bin "generate_ll1_table" -p network_interpreter --tests` to apply 1 suggestion) [INFO] [stderr] warning: `network_interpreter` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/interprete_topologias-09937425eb0dc6e5) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_parse_simple ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_transitions ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_any ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_exact ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse_predefined ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_range ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_parse_token_type ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_keyword_classification ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_state_id ... ok [INFO] [stdout] test lexer_new::error::tests::test_error_display ... ok [INFO] [stdout] test lexer_new::error::tests::test_invalid_char_error ... ok [INFO] [stdout] test lexer_new::error::tests::test_unterminated_string_error ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse_escaped ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_advance ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_empty_input ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_invalid_character ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_is_at_end ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_all_tokens ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_delimiter ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_identifier ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_keyword ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_keyword_case_insensitive ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_multiline ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_multiple_tokens ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_number ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_with_whitespace ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scanner_creation ... ok [INFO] [stdout] test lexer_new::token::tests::test_eof_token ... ok [INFO] [stdout] test lexer_new::token::tests::test_should_ignore ... ok [INFO] [stdout] test lexer_new::token::tests::test_token_creation ... ok [INFO] [stdout] test lexer_new::token::tests::test_token_type_display ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_first_contains_epsilon ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_first_sets_creation ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_token_class_conversion ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_table_lookup ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_table_creation ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_is_in_first ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_invalid_program ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_parser_creation ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_program_with_definitions ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_tokens_match ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_simple_program ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_load_from_file ... ok [INFO] [stdout] test config::loader::tests::test_load_automaton ... ok [INFO] [stdout] test config::loader::tests::test_automaton_singleton ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/generate_ll1_table.rs (/opt/rustwide/target/debug/deps/generate_ll1_table-cc100f7dd6eb91e4) [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/interprete-3e250a0c84e11b0d) [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_transitions ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_exact ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_any ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse_escaped ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_parse_predefined ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_load_from_file ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_char_class_range ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_keyword_classification ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_parse_token_type ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_state_id ... ok [INFO] [stdout] test lexer_new::error::tests::test_error_display ... ok [INFO] [stdout] test lexer_new::error::tests::test_invalid_char_error ... ok [INFO] [stdout] test lexer_new::error::tests::test_unterminated_string_error ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_advance ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_empty_input ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_all_tokens ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_identifier ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_keyword ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_keyword_case_insensitive ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_multiline ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_multiple_tokens ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_number ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_with_whitespace ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scanner_creation ... ok [INFO] [stdout] test lexer_new::token::tests::test_eof_token ... ok [INFO] [stdout] test lexer_new::token::tests::test_should_ignore ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_invalid_character ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_scan_delimiter ... ok [INFO] [stdout] test lexer_new::scanner::tests::test_is_at_end ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_is_in_first ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_first_sets_creation ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_table_creation ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_table_lookup ... ok [INFO] [stdout] test lexer_new::automaton::tests::test_automaton_parse_simple ... ok [INFO] [stdout] test parser_ll1::ll1_table::tests::test_token_class_conversion ... ok [INFO] [stdout] test parser_ll1::first_follow::tests::test_first_contains_epsilon ... ok [INFO] [stdout] test lexer_new::token::tests::test_token_creation ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_simple_program ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_invalid_program ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_parser_creation ... ok [INFO] [stdout] test lexer_new::token::tests::test_token_type_display ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_program_with_definitions ... ok [INFO] [stdout] test parser_ll1::predictive::tests::test_tokens_match ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests interprete_topologias [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" "5fb4989d464b32aa6831349528729ae9d1920f299b9cd31cd558381dba4523cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb4989d464b32aa6831349528729ae9d1920f299b9cd31cd558381dba4523cc", kill_on_drop: false }` [INFO] [stdout] 5fb4989d464b32aa6831349528729ae9d1920f299b9cd31cd558381dba4523cc