[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnode194%2Frss_gen" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Anode194/rss_gen on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f94938e3b629aa25e7cfa6a424a7bfaf1e28fee9942ecb8546d864ab746aed8f [INFO] running `Command { std: "docker" "start" "-a" "f94938e3b629aa25e7cfa6a424a7bfaf1e28fee9942ecb8546d864ab746aed8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f94938e3b629aa25e7cfa6a424a7bfaf1e28fee9942ecb8546d864ab746aed8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94938e3b629aa25e7cfa6a424a7bfaf1e28fee9942ecb8546d864ab746aed8f", kill_on_drop: false }` [INFO] [stdout] f94938e3b629aa25e7cfa6a424a7bfaf1e28fee9942ecb8546d864ab746aed8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43b1d2b8216b9d36936ff4b6a2ba7f6615f59220269304cec7eeaa11c38d2fe3 [INFO] running `Command { std: "docker" "start" "-a" "43b1d2b8216b9d36936ff4b6a2ba7f6615f59220269304cec7eeaa11c38d2fe3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.83s [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 4` [INFO] running `Command { std: "docker" "inspect" "43b1d2b8216b9d36936ff4b6a2ba7f6615f59220269304cec7eeaa11c38d2fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b1d2b8216b9d36936ff4b6a2ba7f6615f59220269304cec7eeaa11c38d2fe3", kill_on_drop: false }` [INFO] [stdout] 43b1d2b8216b9d36936ff4b6a2ba7f6615f59220269304cec7eeaa11c38d2fe3