[INFO] cloning repository https://github.com/Elekrisk/alwim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elekrisk/alwim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElekrisk%2Falwim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElekrisk%2Falwim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59d6e267a480f7578864a14e24fd0c138c1ccfc7 [INFO] checking Elekrisk/alwim against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElekrisk%2Falwim" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Elekrisk/alwim on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Elekrisk/alwim [INFO] finished tweaking git repo https://github.com/Elekrisk/alwim [INFO] tweaked toml for git repo https://github.com/Elekrisk/alwim written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Elekrisk/alwim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e00169f46270c7a8803f828d73bff10b7926094dc406a0f06848c1d4a670a4c2 [INFO] running `Command { std: "docker" "start" "-a" "e00169f46270c7a8803f828d73bff10b7926094dc406a0f06848c1d4a670a4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00169f46270c7a8803f828d73bff10b7926094dc406a0f06848c1d4a670a4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00169f46270c7a8803f828d73bff10b7926094dc406a0f06848c1d4a670a4c2", kill_on_drop: false }` [INFO] [stdout] e00169f46270c7a8803f828d73bff10b7926094dc406a0f06848c1d4a670a4c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd207642ce8bebb9e3076a574d4adc02a639da4621872745111536b5116eaca4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd207642ce8bebb9e3076a574d4adc02a639da4621872745111536b5116eaca4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking alwim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/lexer.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::Chars, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/lexer.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::Chars, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/utils.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/utils.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, collections::HashMap, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/ast.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | inner: HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set(&mut self, item: T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_or_add_default` [INFO] [stdout] --> src/utils.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_or_add_default(&mut self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_or_add_default` [INFO] [stdout] --> src/utils.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_mut_or_add_default(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Storage` [INFO] [stdout] --> src/utils.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Id` [INFO] [stdout] --> src/utils.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Id { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/utils.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn add(&mut self, item: T) -> Id { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn remove(&mut self, id: Id) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get(&self, id: Id) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_mut(&mut self, id: Id) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Keeper` [INFO] [stdout] --> src/utils.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Keeper> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(iter: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_loc` [INFO] [stdout] --> src/utils.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn save_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_loc` [INFO] [stdout] --> src/utils.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn load_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard_loc` [INFO] [stdout] --> src/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn discard_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/utils.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn next(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/utils.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get(&mut self, i: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_mut(&mut self, i: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(code: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CodeStorage` [INFO] [stdout] --> src/lexer.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct CodeStorage<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(code: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/lexer.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/lexer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn back(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if i < 0 { return None; } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | if i < 0 { return None; } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/ast.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | inner: HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set(&mut self, item: T) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_or_add_default` [INFO] [stdout] --> src/utils.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_or_add_default(&mut self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_or_add_default` [INFO] [stdout] --> src/utils.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_mut_or_add_default(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Storage` [INFO] [stdout] --> src/utils.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Id` [INFO] [stdout] --> src/utils.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Id { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(id: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/utils.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn add(&mut self, item: T) -> Id { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn remove(&mut self, id: Id) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get(&self, id: Id) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_mut(&mut self, id: Id) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Keeper` [INFO] [stdout] --> src/utils.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Keeper> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new(iter: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_loc` [INFO] [stdout] --> src/utils.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn save_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_loc` [INFO] [stdout] --> src/utils.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn load_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `discard_loc` [INFO] [stdout] --> src/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn discard_loc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/utils.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn next(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/utils.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/utils.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get(&mut self, i: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/utils.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_mut(&mut self, i: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(code: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CodeStorage` [INFO] [stdout] --> src/lexer.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct CodeStorage<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(code: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/lexer.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/lexer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn back(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Token` [INFO] [stdout] --> src/token.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if i < 0 { return None; } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | if i < 0 { return None; } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.77s [INFO] running `Command { std: "docker" "inspect" "cd207642ce8bebb9e3076a574d4adc02a639da4621872745111536b5116eaca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd207642ce8bebb9e3076a574d4adc02a639da4621872745111536b5116eaca4", kill_on_drop: false }` [INFO] [stdout] cd207642ce8bebb9e3076a574d4adc02a639da4621872745111536b5116eaca4