[INFO] cloning repository https://github.com/Gopiandcode/html_gen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gopiandcode/html_gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGopiandcode%2Fhtml_gen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGopiandcode%2Fhtml_gen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4ffcaa19854b1c29cc15d5b6df15bf99d3dee5c1
[INFO] checking Gopiandcode/html_gen/4ffcaa19854b1c29cc15d5b6df15bf99d3dee5c1 against master#53509ca37e3b507887607c2f4a7f23bd4838f099 for pr-156027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGopiandcode%2Fhtml_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/Gopiandcode/html_gen
[INFO] finished tweaking git repo https://github.com/Gopiandcode/html_gen
[INFO] tweaked toml for git repo https://github.com/Gopiandcode/html_gen written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gopiandcode/html_gen on toolchain 53509ca37e3b507887607c2f4a7f23bd4838f099
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gopiandcode/html_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" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `html_gen` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding aho-corasick v1.1.4
[INFO] [stderr]       Adding memchr v2.8.1
[INFO] [stderr]       Adding regex v1.12.3
[INFO] [stderr]       Adding regex-automata v0.4.14
[INFO] [stderr]       Adding regex-syntax v0.8.10
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded argparse v0.2.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f7fb89a4d5ed2f35b21341682044b5aae541a001875fc680e7cfb4c4bf915db
[INFO] running `Command { std: "docker" "start" "-a" "0f7fb89a4d5ed2f35b21341682044b5aae541a001875fc680e7cfb4c4bf915db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f7fb89a4d5ed2f35b21341682044b5aae541a001875fc680e7cfb4c4bf915db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f7fb89a4d5ed2f35b21341682044b5aae541a001875fc680e7cfb4c4bf915db", kill_on_drop: false }`
[INFO] [stdout] 0f7fb89a4d5ed2f35b21341682044b5aae541a001875fc680e7cfb4c4bf915db
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cffee33474d77e8524cdfcaff574fd82b8f7d2fa90f26902819b10bb5ae015e2
[INFO] running `Command { std: "docker" "start" "-a" "cffee33474d77e8524cdfcaff574fd82b8f7d2fa90f26902819b10bb5ae015e2", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `html_gen` (manifest) generated 1 warning
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking argparse v0.2.2
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking html_gen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::path;
[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::Write`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::path;
[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::Write`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]   --> src/parser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | if !source.trim_left().starts_with("#+template:") {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 42 - if !source.trim_left().starts_with("#+template:") {
[INFO] [stdout] 42 + if !source.trim_start().starts_with("#+template:") {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]   --> src/parser.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | let source = source.trim_left().split_at(11).1;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 45 - let source = source.trim_left().split_at(11).1;
[INFO] [stdout] 45 + let source = source.trim_start().split_at(11).1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | let mut data : HashMap<String, String> = HashMap::new();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/parser.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | let mut completed = false;
[INFO] [stdout]    |     ----^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/generator.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             x => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/generator.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |  let new_string = parameter_regex.replace_all(&input, |caps: &Captures| {
[INFO] [stdout]    |                                                              -        - return type of closure is &'2 str
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 63 |                      &caps[0]
[INFO] [stdout]    |                      ^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/generator.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |  let new_string = parameter_regex.replace_all(&input, |caps: &Captures| {
[INFO] [stdout]    |                                                        ----           - return type of closure is &'2 str
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        has type `&regex::Captures<'3>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |                      &caps[0]
[INFO] [stdout]    |                      ^^^^^^^^ returning this value requires that `'3` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 95 |  let mut output_path = if output_path.is_empty() { None } else { Some(output_path) };
[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/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 |  let mut template_path = if template_path.is_empty() { None } else { Some(template_path) };
[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/main.rs:97:6
[INFO] [stdout]    |
[INFO] [stdout] 97 |  let mut input_path = if input_path.is_empty() { None } else { Some(input_path) };
[INFO] [stdout]    |      ----^^^^^^^^^^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |          Some((name, map)) => 
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]   --> src/parser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | if !source.trim_left().starts_with("#+template:") {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 42 - if !source.trim_left().starts_with("#+template:") {
[INFO] [stdout] 42 + if !source.trim_start().starts_with("#+template:") {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]   --> src/parser.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | let source = source.trim_left().split_at(11).1;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 45 - let source = source.trim_left().split_at(11).1;
[INFO] [stdout] 45 + let source = source.trim_start().split_at(11).1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `html_gen` (bin "html_gen") due to 2 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/parser.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | let mut data : HashMap<String, String> = HashMap::new();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/parser.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | let mut completed = false;
[INFO] [stdout]    |     ----^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/generator.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             x => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/generator.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |  let new_string = parameter_regex.replace_all(&input, |caps: &Captures| {
[INFO] [stdout]    |                                                              -        - return type of closure is &'2 str
[INFO] [stdout]    |                                                              |
[INFO] [stdout]    |                                                              let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 63 |                      &caps[0]
[INFO] [stdout]    |                      ^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/generator.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |  let new_string = parameter_regex.replace_all(&input, |caps: &Captures| {
[INFO] [stdout]    |                                                        ----           - return type of closure is &'2 str
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        has type `&regex::Captures<'3>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |                      &caps[0]
[INFO] [stdout]    |                      ^^^^^^^^ returning this value requires that `'3` must outlive `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 95 |  let mut output_path = if output_path.is_empty() { None } else { Some(output_path) };
[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/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 |  let mut template_path = if template_path.is_empty() { None } else { Some(template_path) };
[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/main.rs:97:6
[INFO] [stdout]    |
[INFO] [stdout] 97 |  let mut input_path = if input_path.is_empty() { None } else { Some(input_path) };
[INFO] [stdout]    |      ----^^^^^^^^^^
[INFO] [stdout]    |      |
[INFO] [stdout]    |      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |          Some((name, map)) => 
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `html_gen` (bin "html_gen" test) due to 2 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cffee33474d77e8524cdfcaff574fd82b8f7d2fa90f26902819b10bb5ae015e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cffee33474d77e8524cdfcaff574fd82b8f7d2fa90f26902819b10bb5ae015e2", kill_on_drop: false }`
[INFO] [stdout] cffee33474d77e8524cdfcaff574fd82b8f7d2fa90f26902819b10bb5ae015e2
