[INFO] cloning repository https://github.com/Anshorei/zeroblogmirrors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anshorei/zeroblogmirrors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnshorei%2Fzeroblogmirrors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnshorei%2Fzeroblogmirrors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6085d2fae8d6bc4b8cc11fc5f0edccfdb3da7f4 [INFO] checking Anshorei/zeroblogmirrors against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnshorei%2Fzeroblogmirrors" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anshorei/zeroblogmirrors on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Anshorei/zeroblogmirrors [INFO] finished tweaking git repo https://github.com/Anshorei/zeroblogmirrors [INFO] tweaked toml for git repo https://github.com/Anshorei/zeroblogmirrors written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Anshorei/zeroblogmirrors already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc79066cd92ebe901d15d6eaff7b21137491474223d2faf05747c0d92e4d5d5 [INFO] running `Command { std: "docker" "start" "-a" "edc79066cd92ebe901d15d6eaff7b21137491474223d2faf05747c0d92e4d5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc79066cd92ebe901d15d6eaff7b21137491474223d2faf05747c0d92e4d5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc79066cd92ebe901d15d6eaff7b21137491474223d2faf05747c0d92e4d5d5", kill_on_drop: false }` [INFO] [stdout] edc79066cd92ebe901d15d6eaff7b21137491474223d2faf05747c0d92e4d5d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991f7efa083fee43e3380179aa0a96c18c1604234ca52a52fb7eebce77b27ff1 [INFO] running `Command { std: "docker" "start" "-a" "991f7efa083fee43e3380179aa0a96c18c1604234ca52a52fb7eebce77b27ff1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling maud_htmlescape v0.17.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [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 form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling maud_macros v0.22.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.10 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Checking maud v0.22.2 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking ammonia v3.1.1 [INFO] [stderr] Checking zeroblogmirrors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PreEscaped`, `html` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use maud::{html, Markup, PreEscaped}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DebouncedEvent`, `RecursiveMode` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use notify::{Watcher, RecursiveMode, DebouncedEvent, watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/file_watcher.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/zero_site.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/zero_site.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkType` [INFO] [stdout] --> src/utils/mod.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use pulldown_cmark::{CowStr, Event, LinkType, Options, Parser, Tag, html}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/utils/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PreEscaped`, `html` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use maud::{html, Markup, PreEscaped}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DebouncedEvent`, `RecursiveMode` [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use notify::{Watcher, RecursiveMode, DebouncedEvent, watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/file_watcher.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/zero_site.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/zero_site.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkType` [INFO] [stdout] --> src/utils/mod.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use pulldown_cmark::{CowStr, Event, LinkType, Options, Parser, Tag, html}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/utils/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use notify::{Watcher, RecursiveMode, DebouncedEvent, watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/file_watcher.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | let contents = fs::read_to_string(path.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/utils/mod.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Event::Start(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/utils/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | Event::Start(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/utils/mod.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Event::End(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/utils/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | Event::End(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let mut watcher = watcher(sender, Duration::from_secs(10)).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/args.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | let mut app = app_from_crate!(); [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/file_watcher.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn watch(args: Args, mut watcher: INotifyWatcher, receiver: Receiver, sites: HashMap>>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use notify::{Watcher, RecursiveMode, DebouncedEvent, watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headline` [INFO] [stdout] --> src/schemas/blog.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | headline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/schemas/blog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_modified` [INFO] [stdout] --> src/schemas/blog.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | date_modified: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_published` [INFO] [stdout] --> src/schemas/blog.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | date_published: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keywords` [INFO] [stdout] --> src/schemas/blog.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | keywords: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headline` [INFO] [stdout] --> src/schemas/blog.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | headline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datePublished` [INFO] [stdout] --> src/schemas/blog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | datePublished: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `article_body` [INFO] [stdout] --> src/schemas/blog.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | article_body: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image` [INFO] [stdout] --> src/schemas/blog.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | image: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `word_count` [INFO] [stdout] --> src/schemas/blog.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | word_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `notify_watcher` [INFO] [stdout] --> src/file_watcher.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | notify_watcher: INotifyWatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_state` [INFO] [stdout] --> src/file_watcher.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn update_state(watcher: &mut INotifyWatcher, shared_state: Arc>, path: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `datePublished` should have a snake case name [INFO] [stdout] --> src/schemas/blog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | datePublished: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `date_published` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_watcher.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | watcher.watch(path, RecursiveMode::NonRecursive); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/file_watcher.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | let contents = fs::read_to_string(path.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/utils/mod.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Event::Start(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/utils/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | Event::Start(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/utils/mod.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Event::End(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/utils/mod.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | Event::End(Tag::Image(link, dest, title)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let mut watcher = watcher(sender, Duration::from_secs(10)).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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | let mut app = app_from_crate!(); [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/file_watcher.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn watch(args: Args, mut watcher: INotifyWatcher, receiver: Receiver, sites: HashMap>>) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headline` [INFO] [stdout] --> src/schemas/blog.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | headline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `description` [INFO] [stdout] --> src/schemas/blog.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_modified` [INFO] [stdout] --> src/schemas/blog.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | date_modified: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `date_published` [INFO] [stdout] --> src/schemas/blog.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | date_published: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keywords` [INFO] [stdout] --> src/schemas/blog.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | keywords: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headline` [INFO] [stdout] --> src/schemas/blog.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | headline: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datePublished` [INFO] [stdout] --> src/schemas/blog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | datePublished: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `article_body` [INFO] [stdout] --> src/schemas/blog.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | article_body: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image` [INFO] [stdout] --> src/schemas/blog.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | image: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `word_count` [INFO] [stdout] --> src/schemas/blog.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | word_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `notify_watcher` [INFO] [stdout] --> src/file_watcher.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | notify_watcher: INotifyWatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_state` [INFO] [stdout] --> src/file_watcher.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn update_state(watcher: &mut INotifyWatcher, shared_state: Arc>, path: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `datePublished` should have a snake case name [INFO] [stdout] --> src/schemas/blog.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | datePublished: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `date_published` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_watcher.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | watcher.watch(path, RecursiveMode::NonRecursive); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.03s [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "991f7efa083fee43e3380179aa0a96c18c1604234ca52a52fb7eebce77b27ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991f7efa083fee43e3380179aa0a96c18c1604234ca52a52fb7eebce77b27ff1", kill_on_drop: false }` [INFO] [stdout] 991f7efa083fee43e3380179aa0a96c18c1604234ca52a52fb7eebce77b27ff1