[INFO] cloning repository https://github.com/S1RANN/rcool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S1RANN/rcool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6feca2b3a57c1dca3e28b79c25bd5bb332f9d315 [INFO] checking S1RANN/rcool against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S1RANN/rcool on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S1RANN/rcool [INFO] finished tweaking git repo https://github.com/S1RANN/rcool [INFO] tweaked toml for git repo https://github.com/S1RANN/rcool written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/S1RANN/rcool 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking S1RANN/rcool against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S1RANN/rcool on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S1RANN/rcool [INFO] finished tweaking git repo https://github.com/S1RANN/rcool [INFO] tweaked toml for git repo https://github.com/S1RANN/rcool written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/S1RANN/rcool 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking S1RANN/rcool against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS1RANN%2Frcool" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S1RANN/rcool on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S1RANN/rcool [INFO] finished tweaking git repo https://github.com/S1RANN/rcool [INFO] tweaked toml for git repo https://github.com/S1RANN/rcool written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/S1RANN/rcool 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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aa58b292a790b62c3e8eff945ff4bae6ed6a256478c3e04ea895c74adee268b [INFO] running `Command { std: "docker" "start" "-a" "5aa58b292a790b62c3e8eff945ff4bae6ed6a256478c3e04ea895c74adee268b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aa58b292a790b62c3e8eff945ff4bae6ed6a256478c3e04ea895c74adee268b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa58b292a790b62c3e8eff945ff4bae6ed6a256478c3e04ea895c74adee268b", kill_on_drop: false }` [INFO] [stdout] 5aa58b292a790b62c3e8eff945ff4bae6ed6a256478c3e04ea895c74adee268b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ff7512212d07d3a215f085ff68692f52354694f84c173cc2e61c7bf6f90b15 [INFO] running `Command { std: "docker" "start" "-a" "e7ff7512212d07d3a215f085ff68692f52354694f84c173cc2e61c7bf6f90b15", kill_on_drop: false }` [INFO] [stderr] Checking rcool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufWriter`, `File`, `Write` [INFO] [stdout] --> src/lexer.rs:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | fs::{read_to_string, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 533 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut strings: Vec = expr [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let line_number = match self.eat_token(Token::Fi) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | let line_number = match self.eat_token(Token::Pool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let line_number = match self.eat_token(Token::RBrace) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:961:14 [INFO] [stdout] | [INFO] [stdout] 961 | let (line_number, ident) = match self.eat_type_ident() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut strings: Vec = expr [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoExpr` is never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | NoExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_eat_token` is never used [INFO] [stdout] --> src/parser.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1013 | fn try_eat_token(&mut self, token: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/semant.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Analyzer<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> src/semant.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNode` is never constructed [INFO] [stdout] --> src/semant.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClassNode<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalyticalError` is never used [INFO] [stdout] --> src/semant.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | enum AnalyticalError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ClassNode<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 54 | fn new(ref_ast: &'a Class) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Primitive { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 63 | fn new(str_table: &mut StrTable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_primitive`, `build_inheritance`, `check_inheritance`, `has_cycle`, and `analyze` are never used [INFO] [stdout] --> src/semant.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 90 | pub(crate) fn new(ast: &'a Program, primitive: Primitive) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_primitive(ast: &mut Program, primitive: &Primitive) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn build_inheritance(&mut self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn check_inheritance(&self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn has_cycle( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn analyze(ast: &mut Program, str_table: &mut StrTable) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/string_table.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl StrTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn get(&self, s: &str) -> Option{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:582:25 [INFO] [stdout] | [INFO] [stdout] 582 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | let line_number = match self.eat_token(Token::Fi) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | let line_number = match self.eat_token(Token::Pool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | let line_number = match self.eat_token(Token::RBrace) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_number` [INFO] [stdout] --> src/parser.rs:961:14 [INFO] [stdout] | [INFO] [stdout] 961 | let (line_number, ident) = match self.eat_type_ident() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoExpr` is never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | NoExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_eat_token` is never used [INFO] [stdout] --> src/parser.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1013 | fn try_eat_token(&mut self, token: Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Analyzer` is never constructed [INFO] [stdout] --> src/semant.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Analyzer<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> src/semant.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassNode` is never constructed [INFO] [stdout] --> src/semant.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct ClassNode<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalyticalError` is never used [INFO] [stdout] --> src/semant.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | enum AnalyticalError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ClassNode<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 54 | fn new(ref_ast: &'a Class) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/semant.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Primitive { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 63 | fn new(str_table: &mut StrTable) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_primitive`, `build_inheritance`, `check_inheritance`, `has_cycle`, and `analyze` are never used [INFO] [stdout] --> src/semant.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 90 | pub(crate) fn new(ast: &'a Program, primitive: Primitive) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_primitive(ast: &mut Program, primitive: &Primitive) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn build_inheritance(&mut self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn check_inheritance(&self) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn has_cycle( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn analyze(ast: &mut Program, str_table: &mut StrTable) -> Result<(), AnalyticalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/string_table.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 60 | impl StrTable { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn get(&self, s: &str) -> Option{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "e7ff7512212d07d3a215f085ff68692f52354694f84c173cc2e61c7bf6f90b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ff7512212d07d3a215f085ff68692f52354694f84c173cc2e61c7bf6f90b15", kill_on_drop: false }` [INFO] [stdout] e7ff7512212d07d3a215f085ff68692f52354694f84c173cc2e61c7bf6f90b15