[INFO] cloning repository https://github.com/Anode194/rss_gen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anode194/rss_gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnode194%2Frss_gen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnode194%2Frss_gen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8c5aa6ed7088696513571c89d776f81375120dd
[INFO] checking Anode194/rss_gen against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnode194%2Frss_gen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Anode194/rss_gen
[INFO] finished tweaking git repo https://github.com/Anode194/rss_gen
[INFO] tweaked toml for git repo https://github.com/Anode194/rss_gen written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anode194/rss_gen on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anode194/rss_gen 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded os_str_bytes v2.4.0
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded nom v5.1.2
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6efa2aa0f6417ab79095f49a5ff1c0fe6df3b573c35d8b878834754aa0b042e
[INFO] running `Command { std: "docker" "start" "-a" "d6efa2aa0f6417ab79095f49a5ff1c0fe6df3b573c35d8b878834754aa0b042e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6efa2aa0f6417ab79095f49a5ff1c0fe6df3b573c35d8b878834754aa0b042e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6efa2aa0f6417ab79095f49a5ff1c0fe6df3b573c35d8b878834754aa0b042e", kill_on_drop: false }`
[INFO] [stdout] d6efa2aa0f6417ab79095f49a5ff1c0fe6df3b573c35d8b878834754aa0b042e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1df17feca6cfd4fa899a6b26b6e7277164a01e5b837da3eb20edb252aba6189e
[INFO] running `Command { std: "docker" "start" "-a" "1df17feca6cfd4fa899a6b26b6e7277164a01e5b837da3eb20edb252aba6189e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking rss_gen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::config::ConfigData`
[INFO] [stdout]  --> src/input.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::ConfigData;
[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/input.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::input::enclose_nl`
[INFO] [stdout]  --> src/output.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::input::enclose_nl;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::ConfigData`
[INFO] [stdout]  --> src/input.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::ConfigData;
[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/input.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::input::enclose_nl`
[INFO] [stdout]  --> src/output.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::input::enclose_nl;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_contents`
[INFO] [stdout]   --> src/output.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let file_contents = BufReader::new(file);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_contents`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_contents`
[INFO] [stdout]   --> src/output.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let file_contents = BufReader::new(file);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_contents`
[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/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut conf = config::read_config();
[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: function `enclose_nl` is never used
[INFO] [stdout]   --> src/input.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn enclose_nl(content: &str, tag_type: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut conf = config::read_config();
[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: function `enclose_nl` is never used
[INFO] [stdout]   --> src/input.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn enclose_nl(content: &str, tag_type: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/input.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         for entry in fs::read_dir(dir) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 69 -         for entry in fs::read_dir(dir) {
[INFO] [stdout] 69 +         while let Ok(entry) = fs::read_dir(dir) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 69 -         for entry in fs::read_dir(dir) {
[INFO] [stdout] 69 +         if let Ok(entry) = fs::read_dir(dir) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/input.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         for entry in fs::read_dir(dir) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 69 -         for entry in fs::read_dir(dir) {
[INFO] [stdout] 69 +         while let Ok(entry) = fs::read_dir(dir) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 69 -         for entry in fs::read_dir(dir) {
[INFO] [stdout] 69 +         if let Ok(entry) = fs::read_dir(dir) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.74s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "1df17feca6cfd4fa899a6b26b6e7277164a01e5b837da3eb20edb252aba6189e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1df17feca6cfd4fa899a6b26b6e7277164a01e5b837da3eb20edb252aba6189e", kill_on_drop: false }`
[INFO] [stdout] 1df17feca6cfd4fa899a6b26b6e7277164a01e5b837da3eb20edb252aba6189e
