[INFO] cloning repository https://github.com/mochidaz/emping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mochidaz/emping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Femping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Femping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d16736ba8aff126f44c1d9c61bc493410a0cc740 [INFO] checking mochidaz/emping against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Femping" "/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/mochidaz/emping on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mochidaz/emping [INFO] finished tweaking git repo https://github.com/mochidaz/emping [INFO] tweaked toml for git repo https://github.com/mochidaz/emping written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mochidaz/emping 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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 mochidaz/emping against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochidaz%2Femping" "/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/mochidaz/emping on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mochidaz/emping [INFO] finished tweaking git repo https://github.com/mochidaz/emping [INFO] tweaked toml for git repo https://github.com/mochidaz/emping written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mochidaz/emping 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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 extract-frontmatter v2.1.0 [INFO] [stderr] Downloaded syn v1.0.77 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb724600ac6fddc405594dcf79f31452152a8b9df48a7e164104f1b2a512efdb [INFO] running `Command { std: "docker" "start" "-a" "eb724600ac6fddc405594dcf79f31452152a8b9df48a7e164104f1b2a512efdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb724600ac6fddc405594dcf79f31452152a8b9df48a7e164104f1b2a512efdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb724600ac6fddc405594dcf79f31452152a8b9df48a7e164104f1b2a512efdb", kill_on_drop: false }` [INFO] [stdout] eb724600ac6fddc405594dcf79f31452152a8b9df48a7e164104f1b2a512efdb [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5820d62b6f6c56b800b8a083608fe81917edf83da061387cd99098f9c19d326d [INFO] running `Command { std: "docker" "start" "-a" "5820d62b6f6c56b800b8a083608fe81917edf83da061387cd99098f9c19d326d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking extract-frontmatter v2.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking yew-router-route-parser v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling yew-router-macro v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking yew-router v0.15.0 [INFO] [stderr] Checking emping-ssg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::post::Post` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::config` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/post.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentLink`, `Component`, `Html`, `ShouldRender`, and `html` [INFO] [stdout] --> src/post.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{Component, ComponentLink, Html, html, ShouldRender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::vec_of_posts` [INFO] [stdout] --> src/post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::generator::vec_of_posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser` [INFO] [stdout] --> src/post.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config` and `get_files` [INFO] [stdout] --> src/post.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{config, get_files}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/parser.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Local, NaiveDate, NaiveDateTime, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::ParseError` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::format::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::post::Post` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::config` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::post::Post` [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_lines` [INFO] [stdout] --> src/parser.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::{read_file, read_lines}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/post.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/routers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_router::prelude::*` [INFO] [stdout] --> src/routers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew_router::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentLink`, `Component`, `Html`, `ShouldRender`, and `html` [INFO] [stdout] --> src/post.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{Component, ComponentLink, Html, html, ShouldRender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::vec_of_posts` [INFO] [stdout] --> src/post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::generator::vec_of_posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/utils.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{File, read_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser` [INFO] [stdout] --> src/post.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `YamlEmitter` [INFO] [stdout] --> src/utils.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use yaml_rust::{Yaml, YamlEmitter, YamlLoader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config` and `get_files` [INFO] [stdout] --> src/post.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{config, get_files}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/parser.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Local, NaiveDate, NaiveDateTime, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::ParseError` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::format::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::post::Post` [INFO] [stdout] --> src/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::generate_html` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::generator::generate_html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_lines` [INFO] [stdout] --> src/parser.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::{read_file, read_lines}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/routers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::vec_of_posts` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::generator::vec_of_posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_router::prelude::*` [INFO] [stdout] --> src/routers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew_router::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/utils.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{File, read_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `YamlEmitter` [INFO] [stdout] --> src/utils.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use yaml_rust::{Yaml, YamlEmitter, YamlLoader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_frontmatter`, `md_to_html`, `parse_and_find_content`, `parse_filename`, `parse_time`, `parse`, and `remove` [INFO] [stdout] --> src/tests.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::parser::{get_frontmatter, md_to_html, parse, parse_and_find_content, parse_filename, parse_time, remove}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Layout` and `Post` [INFO] [stdout] --> src/tests.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::post::{Layout, Post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `config`, `get_files`, `is_project`, `read_file`, `read_lines`, and `write_to_file` [INFO] [stdout] --> src/tests.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{config, get_files, is_project, read_file, read_lines, write_to_file}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_files` [INFO] [stdout] --> src/generator.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{config, get_files, read_file, write_to_file}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_frontmatter`, `md_to_html`, `parse_and_find_content`, `parse_filename`, `parse_time`, `parse`, and `remove` [INFO] [stdout] --> src/tests.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::parser::{get_frontmatter, md_to_html, parse, parse_and_find_content, parse_filename, parse_time, remove}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Layout` and `Post` [INFO] [stdout] --> src/tests.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::post::{Layout, Post}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_project`, `read_file`, `read_lines`, and `write_to_file` [INFO] [stdout] --> src/tests.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::{config, get_files, is_project, read_file, read_lines, write_to_file}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_files` [INFO] [stdout] --> src/generator.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{config, get_files, read_file, write_to_file}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut read = read_file(file).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut read = read_file(file).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut read = read_file(file).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut read = read_file(file).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Layout` is never used [INFO] [stdout] --> src/post.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layout` 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: enum `Msg` is never used [INFO] [stdout] --> src/post.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Msg { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Post` is never constructed [INFO] [stdout] --> src/post.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` 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 `new` is never used [INFO] [stdout] --> src/post.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Post { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_time` is never used [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_time(time: &String) -> NaiveDateTime { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_yaml_block` is never used [INFO] [stdout] --> src/parser.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn find_yaml_block(text: &str) -> Option<(usize, usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_and_find_content` is never used [INFO] [stdout] --> src/parser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_and_find_content(text: &str) -> Result<(Option, &str), ScanError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse(text: &str) -> Result, ScanError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_frontmatter` is never used [INFO] [stdout] --> src/parser.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_frontmatter(file: &PathBuf) -> Yaml { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/parser.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn remove(file: &PathBuf) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `md_to_html` is never used [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn md_to_html(content: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_filename` is never used [INFO] [stdout] --> src/parser.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn parse_filename(filename: &PathBuf) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn config() -> Yaml { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read_lines(file: impl AsRef) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/utils.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_file(file: &PathBuf) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_project` is never used [INFO] [stdout] --> src/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_project(dir: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_files` is never used [INFO] [stdout] --> src/utils.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_files(path: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/utils.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write_to_file(html: &String, filename: &String, dir: PathBuf) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_of_posts` is never used [INFO] [stdout] --> src/generator.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn vec_of_posts(paths: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_html` is never used [INFO] [stdout] --> src/generator.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn generate_html(x: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Msg` is never used [INFO] [stdout] --> src/post.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Msg { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `layout`, `permalink`, and `date` are never read [INFO] [stdout] --> src/post.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub layout: Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub permalink: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub date: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse(text: &str) -> Result, ScanError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/parser.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn remove(file: &PathBuf) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read_lines(file: impl AsRef) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_project` is never used [INFO] [stdout] --> src/utils.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_project(dir: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generator.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / write_to_file(&md_to_html(&p.content), [INFO] [stdout] 48 | | &p.title, [INFO] [stdout] 49 | | PathBuf::from( [INFO] [stdout] 50 | | match conf["production_dir"].as_str() { [INFO] [stdout] 51 | | Some(d) => d, [INFO] [stdout] 52 | | None => "./web" [INFO] [stdout] 53 | | })); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = write_to_file(&md_to_html(&p.content), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generator.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / write_to_file(&md_to_html(&p.content), [INFO] [stdout] 48 | | &p.title, [INFO] [stdout] 49 | | PathBuf::from( [INFO] [stdout] 50 | | match conf["production_dir"].as_str() { [INFO] [stdout] 51 | | Some(d) => d, [INFO] [stdout] 52 | | None => "./web" [INFO] [stdout] 53 | | })); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = write_to_file(&md_to_html(&p.content), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wasm-bindgen v0.2.78 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5820d62b6f6c56b800b8a083608fe81917edf83da061387cd99098f9c19d326d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5820d62b6f6c56b800b8a083608fe81917edf83da061387cd99098f9c19d326d", kill_on_drop: false }` [INFO] [stdout] 5820d62b6f6c56b800b8a083608fe81917edf83da061387cd99098f9c19d326d