[INFO] cloning repository https://github.com/BeenAxis/rust-tokenizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BeenAxis/rust-tokenizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeenAxis%2Frust-tokenizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeenAxis%2Frust-tokenizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c9a88b537135015ca1096b7470002961eee05d0 [INFO] checking BeenAxis/rust-tokenizer/3c9a88b537135015ca1096b7470002961eee05d0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeenAxis%2Frust-tokenizer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BeenAxis/rust-tokenizer on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BeenAxis/rust-tokenizer [INFO] finished tweaking git repo https://github.com/BeenAxis/rust-tokenizer [INFO] tweaked toml for git repo https://github.com/BeenAxis/rust-tokenizer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BeenAxis/rust-tokenizer 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d9fb2bc79862a3ceb5b2b53a9087ef3bf4c3be3c6142be86b9527a818db2940 [INFO] running `Command { std: "docker" "start" "-a" "6d9fb2bc79862a3ceb5b2b53a9087ef3bf4c3be3c6142be86b9527a818db2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9fb2bc79862a3ceb5b2b53a9087ef3bf4c3be3c6142be86b9527a818db2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9fb2bc79862a3ceb5b2b53a9087ef3bf4c3be3c6142be86b9527a818db2940", kill_on_drop: false }` [INFO] [stdout] 6d9fb2bc79862a3ceb5b2b53a9087ef3bf4c3be3c6142be86b9527a818db2940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3439303406a204506f3611531df1d7ab7f947cd0d532b22e50cd81d81ff5ca25 [INFO] running `Command { std: "docker" "start" "-a" "3439303406a204506f3611531df1d7ab7f947cd0d532b22e50cd81d81ff5ca25", kill_on_drop: false }` [INFO] [stderr] Checking stacktoken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | tkb.replace(range.as_slice(), |mut list| { [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: field `prev` is never read [INFO] [stdout] --> src/utils/linkedlist.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | prev: Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/linkedlist.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(t: T) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tail`, `im_map`, and `len` are never read [INFO] [stdout] --> src/utils/linkedlist.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LinkedHashList { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 38 | start: Link, [INFO] [stdout] 39 | tail: Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | im_map: ImaginaryHashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | len: usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `indexes` and `index_void` are never read [INFO] [stdout] --> src/utils/linkedlist.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ImaginaryHashMap { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 45 | indexes: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | index_void: IndexVoid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `clear`, `len`, `add_void`, and `get` are never used [INFO] [stdout] --> src/utils/linkedlist.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ImaginaryHashMap { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> ImaginaryHashMap { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn insert(&mut self, key: usize, value: Link) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn add_void(&mut self, gap: Void) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&self, im_idx: &usize) -> Option<&Link> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `reindex`, `replace`, and `push` are never used [INFO] [stdout] --> src/utils/linkedlist.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl LinkedHashList { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new() -> LinkedHashList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn reindex(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn replace(&mut self, range: Range, element: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/utils/voids.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Void { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | from: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | to: usize [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Void` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/utils/voids.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Void { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn from(range: Range) -> Void { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gaps` is never read [INFO] [stdout] --> src/utils/voids.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IndexVoid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 19 | gaps: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `del_gap`, `clear`, `real_index`, and `insert` are never used [INFO] [stdout] --> src/utils/voids.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl IndexVoid { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> IndexVoid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn del_gap(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn real_index(&self, im_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn insert(&mut self, gap: Void) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_custom`, `from_string`, and `debug` are never used [INFO] [stdout] --> src/stacktoken/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl TokenBuilder { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn push_custom(&mut self, tok: HOLDER) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_string(&mut self, str: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartParen` and `EndParen` are never constructed [INFO] [stdout] --> src/stacktoken/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum TestCustomTokens { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 203 | StartParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | EndParen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestCustomTokens` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `String`, and `IntLit` are never constructed [INFO] [stdout] --> src/stacktoken/mod.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 264 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | IntLit(i32), [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] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | tkb.replace(range.as_slice(), |mut list| { [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: field `prev` is never read [INFO] [stdout] --> src/utils/linkedlist.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | prev: Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/linkedlist.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(t: T) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tail`, `im_map`, and `len` are never read [INFO] [stdout] --> src/utils/linkedlist.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LinkedHashList { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 38 | start: Link, [INFO] [stdout] 39 | tail: Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | im_map: ImaginaryHashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | len: usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `indexes` and `index_void` are never read [INFO] [stdout] --> src/utils/linkedlist.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ImaginaryHashMap { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 45 | indexes: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | index_void: IndexVoid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `clear`, `len`, `add_void`, and `get` are never used [INFO] [stdout] --> src/utils/linkedlist.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ImaginaryHashMap { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> ImaginaryHashMap { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn insert(&mut self, key: usize, value: Link) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn add_void(&mut self, gap: Void) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&self, im_idx: &usize) -> Option<&Link> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `reindex`, `replace`, and `push` are never used [INFO] [stdout] --> src/utils/linkedlist.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl LinkedHashList { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new() -> LinkedHashList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn reindex(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn replace(&mut self, range: Range, element: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/utils/voids.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Void { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | from: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | to: usize [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Void` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/utils/voids.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Void { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn from(range: Range) -> Void { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gaps` is never read [INFO] [stdout] --> src/utils/voids.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IndexVoid { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 19 | gaps: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `del_gap`, `clear`, `real_index`, and `insert` are never used [INFO] [stdout] --> src/utils/voids.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl IndexVoid { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> IndexVoid { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn del_gap(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn real_index(&self, im_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn insert(&mut self, gap: Void) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_custom`, `from_string`, and `debug` are never used [INFO] [stdout] --> src/stacktoken/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl TokenBuilder { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn push_custom(&mut self, tok: HOLDER) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_string(&mut self, str: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartParen` and `EndParen` are never constructed [INFO] [stdout] --> src/stacktoken/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub enum TestCustomTokens { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 203 | StartParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | EndParen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestCustomTokens` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `String`, and `IntLit` are never constructed [INFO] [stdout] --> src/stacktoken/mod.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 264 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | IntLit(i32), [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] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "3439303406a204506f3611531df1d7ab7f947cd0d532b22e50cd81d81ff5ca25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3439303406a204506f3611531df1d7ab7f947cd0d532b22e50cd81d81ff5ca25", kill_on_drop: false }` [INFO] [stdout] 3439303406a204506f3611531df1d7ab7f947cd0d532b22e50cd81d81ff5ca25