[INFO] cloning repository https://github.com/oobest/tera-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oobest/tera-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foobest%2Ftera-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foobest%2Ftera-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa39772a6cbd528beb16b6dd57189a2272a6d3ca [INFO] checking oobest/tera-demo against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foobest%2Ftera-demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oobest/tera-demo [INFO] finished tweaking git repo https://github.com/oobest/tera-demo [INFO] tweaked toml for git repo https://github.com/oobest/tera-demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oobest/tera-demo on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oobest/tera-demo 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0117f7f101e373a2bbcbf1dfab0fb88816435f4e769b97508b00102eb41146a2 [INFO] running `Command { std: "docker" "start" "-a" "0117f7f101e373a2bbcbf1dfab0fb88816435f4e769b97508b00102eb41146a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0117f7f101e373a2bbcbf1dfab0fb88816435f4e769b97508b00102eb41146a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0117f7f101e373a2bbcbf1dfab0fb88816435f4e769b97508b00102eb41146a2", kill_on_drop: false }` [INFO] [stdout] 0117f7f101e373a2bbcbf1dfab0fb88816435f4e769b97508b00102eb41146a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd089b570d5627f0890bee0b92e9cab87a4605f017e39150e7bd10d45a6053e5 [INFO] running `Command { std: "docker" "start" "-a" "fd089b570d5627f0890bee0b92e9cab87a4605f017e39150e7bd10d45a6053e5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: source [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling jetscii v0.5.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling hard-xml-derive v1.36.0 [INFO] [stderr] Checking hard-xml v1.36.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking docx-rust v0.1.8 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking tera_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | src_xml = re.replace_all(&src_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 25 | | let re = Regex::new(r".*?(|]*>)").unwrap(); [INFO] [stdout] 26 | | re.replace_all(&caps[0], "").into_owned() [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 36 | | let mut cell_xml = format!("{}{}", &caps[1], &caps[3]); [INFO] [stdout] 37 | | let re = Regex::new(r"](?:(?!]).)*.*?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | cell_xml = re.replace_all(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | cell_xml = re.replace(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 59 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 60 | | let mut cell_xml = format!("{}{}", &caps[1], &caps[3]); [INFO] [stdout] 61 | | let re = Regex::new(r"](?:(?!]).)*.*?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | cell_xml = re.replace_all(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | cell_xml = re.replace(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | _______________^ [INFO] [stdout] 82 | | let rep = format!(r#"{}{}"#, &caps[1],&caps[2]); [INFO] [stdout] 83 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | .parse() [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | _______________^ [INFO] [stdout] 90 | | let rep = format!(r#"{}"#, &caps[1]); [INFO] [stdout] 91 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 92 | | }) [INFO] [stdout] 93 | | .parse() [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | src_xml = re.replace_all(&src_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | src_xml = re.replace_all(&src_xml, "{%").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | src_xml = re.replace_all(&src_xml, "%}").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | let rep = format!("{}{}", &caps[1],&caps[2]); [INFO] [stdout] 112 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 113 | | }) [INFO] [stdout] 114 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 126 | | let rep = format!("{}{}", &caps[1],&caps[2]); [INFO] [stdout] 127 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 128 | | }) [INFO] [stdout] 129 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 135 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 136 | | let tags = &caps[0] [INFO] [stdout] 137 | | .replace(r"‘", "") [INFO] [stdout] ... | [INFO] [stdout] 145 | | }) [INFO] [stdout] 146 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 177 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 178 | | let re = Regex::new(r"(].*?)(.*?)(?:{%\s*selfvm_first\s*%})(.*?)()").unwrap(); [INFO] [stdout] 179 | | let c = re.replace_all(&caps[0], |child_caps: &Captures| { [INFO] [stdout] ... | [INFO] [stdout] 189 | | }) [INFO] [stdout] 190 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 194 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 195 | | let re = Regex::new(r"(].*?)(.*?)(?:{%\s*selfvm\s*%})(.*?)()").unwrap(); [INFO] [stdout] 196 | | re.replace_all(&caps[0], |child_caps: &Captures| { [INFO] [stdout] ... | [INFO] [stdout] 202 | | }) [INFO] [stdout] 203 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tera_demo` (bin "tera_demo") due to 17 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 25 | | let re = Regex::new(r".*?(|]*>)").unwrap(); [INFO] [stdout] 26 | | re.replace_all(&caps[0], "").into_owned() [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 36 | | let mut cell_xml = format!("{}{}", &caps[1], &caps[3]); [INFO] [stdout] 37 | | let re = Regex::new(r"](?:(?!]).)*.*?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | cell_xml = re.replace_all(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | cell_xml = re.replace(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 59 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 60 | | let mut cell_xml = format!("{}{}", &caps[1], &caps[3]); [INFO] [stdout] 61 | | let re = Regex::new(r"](?:(?!]).)*.*?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | cell_xml = re.replace_all(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | cell_xml = re.replace(&cell_xml, "").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | _______________^ [INFO] [stdout] 82 | | let rep = format!(r#"{}{}"#, &caps[1],&caps[2]); [INFO] [stdout] 83 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | .parse() [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | _______________^ [INFO] [stdout] 90 | | let rep = format!(r#"{}"#, &caps[1]); [INFO] [stdout] 91 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 92 | | }) [INFO] [stdout] 93 | | .parse() [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | src_xml = re.replace_all(&src_xml, "{%").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | src_xml = re.replace_all(&src_xml, "%}").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 111 | | let rep = format!("{}{}", &caps[1],&caps[2]); [INFO] [stdout] 112 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 113 | | }) [INFO] [stdout] 114 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | src_xml = re.replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 126 | | let rep = format!("{}{}", &caps[1],&caps[2]); [INFO] [stdout] 127 | | Cow::Owned(String::from(rep)) [INFO] [stdout] 128 | | }) [INFO] [stdout] 129 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 135 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 136 | | let tags = &caps[0] [INFO] [stdout] 137 | | .replace(r"‘", "") [INFO] [stdout] ... | [INFO] [stdout] 145 | | }) [INFO] [stdout] 146 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 177 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 178 | | let re = Regex::new(r"(].*?)(.*?)(?:{%\s*selfvm_first\s*%})(.*?)()").unwrap(); [INFO] [stdout] 179 | | let c = re.replace_all(&caps[0], |child_caps: &Captures| { [INFO] [stdout] ... | [INFO] [stdout] 189 | | }) [INFO] [stdout] 190 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | src_xml = re [INFO] [stdout] | _______________^ [INFO] [stdout] 194 | | .replace_all(&src_xml, |caps: &Captures| { [INFO] [stdout] 195 | | let re = Regex::new(r"(].*?)(.*?)(?:{%\s*selfvm\s*%})(.*?)()").unwrap(); [INFO] [stdout] 196 | | re.replace_all(&caps[0], |child_caps: &Captures| { [INFO] [stdout] ... | [INFO] [stdout] 202 | | }) [INFO] [stdout] 203 | | .parse() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tera_demo` (bin "tera_demo" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "fd089b570d5627f0890bee0b92e9cab87a4605f017e39150e7bd10d45a6053e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd089b570d5627f0890bee0b92e9cab87a4605f017e39150e7bd10d45a6053e5", kill_on_drop: false }` [INFO] [stdout] fd089b570d5627f0890bee0b92e9cab87a4605f017e39150e7bd10d45a6053e5