[INFO] cloning repository https://github.com/dzodkin33/rust-md [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dzodkin33/rust-md" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzodkin33%2Frust-md", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzodkin33%2Frust-md'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa3baaf1cf4eb84c3570a44b47c35f3c2f615170 [INFO] checking dzodkin33/rust-md against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzodkin33%2Frust-md" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzodkin33/rust-md on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dzodkin33/rust-md [INFO] finished tweaking git repo https://github.com/dzodkin33/rust-md [INFO] tweaked toml for git repo https://github.com/dzodkin33/rust-md written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dzodkin33/rust-md 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "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 dzodkin33/rust-md against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzodkin33%2Frust-md" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzodkin33/rust-md on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dzodkin33/rust-md [INFO] finished tweaking git repo https://github.com/dzodkin33/rust-md [INFO] tweaked toml for git repo https://github.com/dzodkin33/rust-md written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dzodkin33/rust-md 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dzodkin33/rust-md against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzodkin33%2Frust-md" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzodkin33/rust-md on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dzodkin33/rust-md [INFO] finished tweaking git repo https://github.com/dzodkin33/rust-md [INFO] tweaked toml for git repo https://github.com/dzodkin33/rust-md written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dzodkin33/rust-md 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sana v0.1.1 [INFO] [stderr] Downloaded sana_derive v0.1.1 [INFO] [stderr] Downloaded sana_core v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac4da3303578971f67c0f67ddaad0ef727148a6767eccab898e1601822a72e2 [INFO] running `Command { std: "docker" "start" "-a" "1ac4da3303578971f67c0f67ddaad0ef727148a6767eccab898e1601822a72e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac4da3303578971f67c0f67ddaad0ef727148a6767eccab898e1601822a72e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac4da3303578971f67c0f67ddaad0ef727148a6767eccab898e1601822a72e2", kill_on_drop: false }` [INFO] [stdout] 1ac4da3303578971f67c0f67ddaad0ef727148a6767eccab898e1601822a72e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c5e9c2af0c26583c9f4d4e26294b786d89b19cce4cb5e0d718f1889361745c7 [INFO] running `Command { std: "docker" "start" "-a" "8c5e9c2af0c26583c9f4d4e26294b786d89b19cce4cb5e0d718f1889361745c7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking sana_core v0.1.1 [INFO] [stderr] Compiling sana_derive v0.1.1 [INFO] [stderr] Checking sana v0.1.1 [INFO] [stderr] Checking rust-md v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `parser` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct parser { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::row::Row` [INFO] [stdout] --> src/parser_legacy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::row::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser_legacy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `parser` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct parser { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parser_legacy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::row::Row` [INFO] [stdout] --> src/parser_legacy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::row::Row; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/parser_legacy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser_legacy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parser_legacy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/parser_legacy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write` [INFO] [stdout] --> src/document.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/row.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write` [INFO] [stdout] --> src/document.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/row.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oldWord` [INFO] [stdout] --> src/parser_legacy.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let oldWord = word; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldWord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oldWord` [INFO] [stdout] --> src/parser_legacy.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let oldWord = word; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldWord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `parser` is never constructed [INFO] [stdout] --> src/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_file` is never read [INFO] [stdout] --> src/parser_legacy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | input_file: Document, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser_legacy.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 22 | [INFO] [stdout] 23 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn parse_row(&self ,index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn parse_header(&self, row: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn parse_horizontal_rules(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn contains_only(&self, row: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn is_horizontal_rules(&self, row: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn remove_whiespace(&self, row: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn prase_emphasis(&self, word: &String) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn is_bold(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn is_italic(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn is_italic_bold(&self, word: & String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn is_triple_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_double_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn is_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_html_wrapper(&self, row: &String, tag: &str, tag_start: usize, tag_end: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/renderer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn render(token: Token) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `parser` is never constructed [INFO] [stdout] --> src/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/token.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_file` is never read [INFO] [stdout] --> src/parser_legacy.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | input_file: Document, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_html_tag` and `get_content` are never used [INFO] [stdout] --> src/token.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 14 | pub fn get_html_tag(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> src/document.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Document { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_file` and `get_row` are never used [INFO] [stdout] --> src/document.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn read_file(filename:&str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_row(&self, index: usize) -> Option<&Row> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string` and `len` are never read [INFO] [stdout] --> src/row.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Row { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_string`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/row.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Row { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 22 | pub fn get_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldWord` should have a snake case name [INFO] [stdout] --> src/parser_legacy.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let oldWord = word; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `old_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newWord` should have a snake case name [INFO] [stdout] --> src/parser_legacy.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let newWord = self.prase_emphasis(&word.to_string()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser_legacy.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 22 | [INFO] [stdout] 23 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn parse_row(&self ,index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn parse_header(&self, row: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn parse_horizontal_rules(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn contains_only(&self, row: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn is_horizontal_rules(&self, row: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn remove_whiespace(&self, row: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn prase_emphasis(&self, word: &String) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn is_bold(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn is_italic(&self, word: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn is_italic_bold(&self, word: & String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn is_triple_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn is_double_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn is_wrapped(&self, word: &String, symbol: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn add_html_wrapper(&self, row: &String, tag: &str, tag_start: usize, tag_end: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/renderer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn render(token: Token) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/token.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_html_tag` and `get_content` are never used [INFO] [stdout] --> src/token.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 14 | pub fn get_html_tag(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_content(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> src/document.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Document { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | rows: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_file` and `get_row` are never used [INFO] [stdout] --> src/document.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 14 | pub fn read_file(filename:&str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_row(&self, index: usize) -> Option<&Row> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string` and `len` are never read [INFO] [stdout] --> src/row.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Row { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | string: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_string`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/row.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Row { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 22 | pub fn get_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldWord` should have a snake case name [INFO] [stdout] --> src/parser_legacy.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let oldWord = word; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `old_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newWord` should have a snake case name [INFO] [stdout] --> src/parser_legacy.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let newWord = self.prase_emphasis(&word.to_string()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::replace` that must be used [INFO] [stdout] --> src/parser_legacy.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | row.replace(word, &newWord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the replaced string as a new allocation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = row.replace(word, &newWord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::replace` that must be used [INFO] [stdout] --> src/parser_legacy.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | row.replace(word, &newWord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the replaced string as a new allocation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = row.replace(word, &newWord); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `Command { std: "docker" "inspect" "8c5e9c2af0c26583c9f4d4e26294b786d89b19cce4cb5e0d718f1889361745c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5e9c2af0c26583c9f4d4e26294b786d89b19cce4cb5e0d718f1889361745c7", kill_on_drop: false }` [INFO] [stdout] 8c5e9c2af0c26583c9f4d4e26294b786d89b19cce4cb5e0d718f1889361745c7