[INFO] fetching crate temple 0.0.0... [INFO] checking temple-0.0.0 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] extracting crate temple 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate temple 0.0.0 on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate temple 0.0.0 [INFO] finished tweaking crates.io crate temple 0.0.0 [INFO] tweaked toml for crates.io crate temple 0.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding logos v0.11.4 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b80e53a8bc0c529c8b9eb373531924830c4f764e5fc54a19d16bb2beb2d1a83d [INFO] running `Command { std: "docker" "start" "-a" "b80e53a8bc0c529c8b9eb373531924830c4f764e5fc54a19d16bb2beb2d1a83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b80e53a8bc0c529c8b9eb373531924830c4f764e5fc54a19d16bb2beb2d1a83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80e53a8bc0c529c8b9eb373531924830c4f764e5fc54a19d16bb2beb2d1a83d", kill_on_drop: false }` [INFO] [stdout] b80e53a8bc0c529c8b9eb373531924830c4f764e5fc54a19d16bb2beb2d1a83d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fec606c9e7aa4e0db5c71fd108c3f320243380e3a2aa5812e8e304e0dc5d86c [INFO] running `Command { std: "docker" "start" "-a" "0fec606c9e7aa4e0db5c71fd108c3f320243380e3a2aa5812e8e304e0dc5d86c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking temple v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lexer.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/template_env.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/template_env.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/template_env.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn remove_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/template_env.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn remove_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_char_pos` [INFO] [stdout] --> src/template_parser.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | fn strip_block_left(&self, ctrl_char_pos: usize, end_offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_char_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/template_env.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/template_env.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/template_env.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn remove_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/template_env.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn remove_global(&mut self, name: String, val: Value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/keyword.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 49 | LogicalOr => "or", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | LogicalAnd => "and", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | LogicalNot => "!", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | True => "true", [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | False => "false", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | None => "None", [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | In => "in", [INFO] [stdout] | ^^ [INFO] [stdout] 56 | Is => "is", [INFO] [stdout] | ^^ [INFO] [stdout] 57 | For => "fpr", [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | Endfor => "endfor", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | If => "if", [INFO] [stdout] | ^^ [INFO] [stdout] 60 | Else => "else", [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | ElIf => "elif", [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | EndIf => "endif", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | Block => "block", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | EndBlock => "endblock", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | Extends => "extends", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Macro => "macro", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | EndMacro => "endmacro", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Call => "call", [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | EndCall => "endcall", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | Filter => "filter", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | EndFilter => "endfilter", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | Set => "set", [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | EndSet => "endset", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Include => "include", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | Import => "import", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Recursive => "recursive", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | Scoped => "scoped", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | With => "with", [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | EndWith => "endwith", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | Without => "without", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | Ignore => "ignore", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | Missing => "missing", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | Context => "context", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | From => "from", [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | As => "as", [INFO] [stdout] | ^^ [INFO] [stdout] 86 | Do => "do", [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_enum_regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PlusPlus` is never constructed [INFO] [stdout] --> src/lexer.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | PlusPlus, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Version2_10` is never constructed [INFO] [stdout] --> src/template_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Jinja2CompatMode { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 5 | None, [INFO] [stdout] 6 | Version2_10, // Fix in jinja2cpp [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jinja2CompatMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env` and `keywords` are never read [INFO] [stdout] --> src/template_parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TemplateParser<'a, 'b> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 11 | template_body: RwLock<&'a str>, [INFO] [stdout] 12 | env: RwLock<&'b TemplateEnv>, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | rough_tokenizer: Regex, [INFO] [stdout] 14 | keywords: Regex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expression`, `Statement`, and `LineStatement` are never constructed [INFO] [stdout] --> src/template_parser.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 290 | enum TextBlockType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 291 | RawText, [INFO] [stdout] 292 | Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 293 | Statement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 294 | Comment, [INFO] [stdout] 295 | LineStatement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextBlockType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `compositions`, `token`, and `renderer` are never read [INFO] [stdout] --> src/template_parser.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct StatementInfo<'a, 'b> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 315 | mode: StatementInfoType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 316 | current_composition: &'a ComposedRenderer<'b>, [INFO] [stdout] 317 | compositions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | token: Token<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 319 | renderer: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/template_parser.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 322 | enum StatementInfoType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 323 | TemplateRoot, [INFO] [stdout] 324 | IfStatement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 325 | ElseIfStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | ForStatement, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 327 | SetStatement, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 328 | ExtendsStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | BlockStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 330 | ParentBlockStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 331 | MacroStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 332 | MacroCallStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 333 | WithStatement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 334 | FilterStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_char_pos` [INFO] [stdout] --> src/template_parser.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | fn strip_block_left(&self, ctrl_char_pos: usize, end_offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_char_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/renderer.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | out.write(self.content.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = out.write(self.content.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/keyword.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 49 | LogicalOr => "or", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | LogicalAnd => "and", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | LogicalNot => "!", [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | True => "true", [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | False => "false", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | None => "None", [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | In => "in", [INFO] [stdout] | ^^ [INFO] [stdout] 56 | Is => "is", [INFO] [stdout] | ^^ [INFO] [stdout] 57 | For => "fpr", [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | Endfor => "endfor", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | If => "if", [INFO] [stdout] | ^^ [INFO] [stdout] 60 | Else => "else", [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | ElIf => "elif", [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | EndIf => "endif", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | Block => "block", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | EndBlock => "endblock", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | Extends => "extends", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Macro => "macro", [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | EndMacro => "endmacro", [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | Call => "call", [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | EndCall => "endcall", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | Filter => "filter", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | EndFilter => "endfilter", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | Set => "set", [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | EndSet => "endset", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Include => "include", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | Import => "import", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Recursive => "recursive", [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | Scoped => "scoped", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | With => "with", [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | EndWith => "endwith", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | Without => "without", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | Ignore => "ignore", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | Missing => "missing", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | Context => "context", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | From => "from", [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | As => "as", [INFO] [stdout] | ^^ [INFO] [stdout] 86 | Do => "do", [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_enum_regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PlusPlus` is never constructed [INFO] [stdout] --> src/lexer.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 61 | PlusPlus, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Version2_10` is never constructed [INFO] [stdout] --> src/template_env.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Jinja2CompatMode { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 5 | None, [INFO] [stdout] 6 | Version2_10, // Fix in jinja2cpp [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jinja2CompatMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env` and `keywords` are never read [INFO] [stdout] --> src/template_parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TemplateParser<'a, 'b> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 11 | template_body: RwLock<&'a str>, [INFO] [stdout] 12 | env: RwLock<&'b TemplateEnv>, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | rough_tokenizer: Regex, [INFO] [stdout] 14 | keywords: Regex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expression`, `Statement`, and `LineStatement` are never constructed [INFO] [stdout] --> src/template_parser.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 290 | enum TextBlockType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 291 | RawText, [INFO] [stdout] 292 | Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 293 | Statement, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 294 | Comment, [INFO] [stdout] 295 | LineStatement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextBlockType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `compositions`, `token`, and `renderer` are never read [INFO] [stdout] --> src/template_parser.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct StatementInfo<'a, 'b> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 315 | mode: StatementInfoType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 316 | current_composition: &'a ComposedRenderer<'b>, [INFO] [stdout] 317 | compositions: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 318 | token: Token<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 319 | renderer: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/template_parser.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 322 | enum StatementInfoType { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 323 | TemplateRoot, [INFO] [stdout] 324 | IfStatement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 325 | ElseIfStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 326 | ForStatement, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 327 | SetStatement, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 328 | ExtendsStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | BlockStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 330 | ParentBlockStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 331 | MacroStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 332 | MacroCallStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 333 | WithStatement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 334 | FilterStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/renderer.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | out.write(self.content.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = out.write(self.content.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.51s [INFO] running `Command { std: "docker" "inspect" "0fec606c9e7aa4e0db5c71fd108c3f320243380e3a2aa5812e8e304e0dc5d86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fec606c9e7aa4e0db5c71fd108c3f320243380e3a2aa5812e8e304e0dc5d86c", kill_on_drop: false }` [INFO] [stdout] 0fec606c9e7aa4e0db5c71fd108c3f320243380e3a2aa5812e8e304e0dc5d86c