[INFO] fetching crate panrelease 0.12.4... [INFO] testing panrelease-0.12.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate panrelease 0.12.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate panrelease 0.12.4 [INFO] finished tweaking crates.io crate panrelease 0.12.4 [INFO] tweaked toml for crates.io crate panrelease 0.12.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate panrelease 0.12.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate panrelease 0.12.4 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9657048be69d7dbba7c6ff2281516466c18f3bf4bc72c089af6cd1cef1a3b0b3 [INFO] running `Command { std: "docker" "start" "-a" "9657048be69d7dbba7c6ff2281516466c18f3bf4bc72c089af6cd1cef1a3b0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9657048be69d7dbba7c6ff2281516466c18f3bf4bc72c089af6cd1cef1a3b0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9657048be69d7dbba7c6ff2281516466c18f3bf4bc72c089af6cd1cef1a3b0b3", kill_on_drop: false }` [INFO] [stdout] 9657048be69d7dbba7c6ff2281516466c18f3bf4bc72c089af6cd1cef1a3b0b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a85f3881d763de872b299839182fcc1f2e4f98cd591b565d1176035e802cbe8 [INFO] running `Command { std: "docker" "start" "-a" "8a85f3881d763de872b299839182fcc1f2e4f98cd591b565d1176035e802cbe8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Compiling ureq v2.10.0 [INFO] [stderr] Compiling update-informer v1.1.0 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling panrelease v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [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: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: 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: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - StringOwned(String), [INFO] [stdout] 15 + StringOwned(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonPositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct NonPositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonNegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NonNegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct NegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalizedString` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct NormalizedString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeError` is never constructed [INFO] [stdout] --> src/parser/xml/xdmerror.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | /// XPST0003 [INFO] [stdout] 11 | TypeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` 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: field `kind` is never read [INFO] [stdout] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/xml/xdmerror.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(kind: ErrorKind, message: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct XMLDocument<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub prologue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub content: Vec>, [INFO] [stdout] 50 | pub epilogue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub xmldecl: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 - Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] 89 + Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - Attribute(QualifiedName, Value<'a>), [INFO] [stdout] 90 + Attribute(QualifiedName, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 - PI(String, Value<'a>), [INFO] [stdout] 92 + PI((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 - Comment(Value<'a>), // Comment value is a string [INFO] [stdout] 93 + Comment(()), // Comment value is a string [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 - Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] 94 + Dtd(()), // These only occur in the prologue [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 - Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] 95 + Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue<'a>), E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> src/parser/xml/qname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] 33 | | result.push_str(p.as_str()); [INFO] [stdout] 34 | | result.push(':'); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:489:20 [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:493:26 [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:500:28 [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "8a85f3881d763de872b299839182fcc1f2e4f98cd591b565d1176035e802cbe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a85f3881d763de872b299839182fcc1f2e4f98cd591b565d1176035e802cbe8", kill_on_drop: false }` [INFO] [stdout] 8a85f3881d763de872b299839182fcc1f2e4f98cd591b565d1176035e802cbe8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f5ce4e1d421c4a473bbb92a1e8db1c0229242d1ce6d6a4b92cca6b42e74ee2b [INFO] running `Command { std: "docker" "start" "-a" "9f5ce4e1d421c4a473bbb92a1e8db1c0229242d1ce6d6a4b92cca6b42e74ee2b", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [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: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: 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: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - StringOwned(String), [INFO] [stdout] 15 + StringOwned(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonPositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct NonPositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonNegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NonNegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct NegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalizedString` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct NormalizedString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeError` is never constructed [INFO] [stdout] --> src/parser/xml/xdmerror.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | /// XPST0003 [INFO] [stdout] 11 | TypeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` 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: field `kind` is never read [INFO] [stdout] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/xml/xdmerror.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(kind: ErrorKind, message: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct XMLDocument<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub prologue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub content: Vec>, [INFO] [stdout] 50 | pub epilogue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub xmldecl: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 - Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] 89 + Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - Attribute(QualifiedName, Value<'a>), [INFO] [stdout] 90 + Attribute(QualifiedName, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 - PI(String, Value<'a>), [INFO] [stdout] 92 + PI((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 - Comment(Value<'a>), // Comment value is a string [INFO] [stdout] 93 + Comment(()), // Comment value is a string [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 - Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] 94 + Dtd(()), // These only occur in the prologue [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 - Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] 95 + Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue<'a>), E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> src/parser/xml/qname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] 33 | | result.push_str(p.as_str()); [INFO] [stdout] 34 | | result.push(':'); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:489:20 [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:493:26 [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:500:28 [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.42 [INFO] [stderr] Compiling panrelease v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [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: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::BuildMetadata` [INFO] [stdout] --> src/args.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use semver::BuildMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: 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: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - StringOwned(String), [INFO] [stdout] 15 + StringOwned(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonPositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct NonPositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PositiveInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonNegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct NonNegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NegativeInteger` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct NegativeInteger(i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NormalizedString` is never constructed [INFO] [stdout] --> src/parser/xml/value.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct NormalizedString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TypeError` is never constructed [INFO] [stdout] --> src/parser/xml/xdmerror.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | /// XPST0003 [INFO] [stdout] 11 | TypeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` 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: field `kind` is never read [INFO] [stdout] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/xml/xdmerror.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(kind: ErrorKind, message: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct XMLDocument<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub prologue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | pub content: Vec>, [INFO] [stdout] 50 | pub epilogue: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub xmldecl: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 - Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stdout] 89 + Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - Attribute(QualifiedName, Value<'a>), [INFO] [stdout] 90 + Attribute(QualifiedName, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 - PI(String, Value<'a>), [INFO] [stdout] 92 + PI((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 - Comment(Value<'a>), // Comment value is a string [INFO] [stdout] 93 + Comment(()), // Comment value is a string [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 - Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] 94 + Dtd(()), // These only occur in the prologue [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 - Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] 95 + Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue<'a>), E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/json.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stdout] --> src/parser/xml/qname.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] 33 | | result.push_str(p.as_str()); [INFO] [stdout] 34 | | result.push(':'); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec)> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:481:16 [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:489:20 [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:493:26 [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:500:28 [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/xml/parsexml.rs:530:28 [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "9f5ce4e1d421c4a473bbb92a1e8db1c0229242d1ce6d6a4b92cca6b42e74ee2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5ce4e1d421c4a473bbb92a1e8db1c0229242d1ce6d6a4b92cca6b42e74ee2b", kill_on_drop: false }` [INFO] [stdout] 9f5ce4e1d421c4a473bbb92a1e8db1c0229242d1ce6d6a4b92cca6b42e74ee2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a738c49cfa0e18026e036eced2bd6a67278b4720ac5c05a1b8e53a2684e5795d [INFO] running `Command { std: "docker" "start" "-a" "a738c49cfa0e18026e036eced2bd6a67278b4720ac5c05a1b8e53a2684e5795d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `clap::error::ErrorKind` [INFO] [stderr] --> src/engine.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use clap::error::ErrorKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::executor::block_on` [INFO] [stderr] --> src/engine.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/runner.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExitStatus` and `Output` [INFO] [stderr] --> src/runner.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow` [INFO] [stderr] --> src/runner.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use anyhow::{anyhow, Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/runner.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stderr] --> src/runner.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use wasm_bindgen::JsValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::wasm_utils::exec` [INFO] [stderr] --> src/runner.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::wasm_utils::exec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/package/cargo.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | doc: toml_edit::Document, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/package/cargo.rs:22:47 [INFO] [stderr] | [INFO] [stderr] 22 | doc: cargo_str.parse::()?, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stderr] --> src/system/nodejs_system.rs:12:74 [INFO] [stderr] | [INFO] [stderr] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/project/module.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct PanModule { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 16 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/xml/value.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | StringOwned(String), [INFO] [stderr] | ----------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - StringOwned(String), [INFO] [stderr] 15 + StringOwned(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `NonPositiveInteger` is never constructed [INFO] [stderr] --> src/parser/xml/value.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct NonPositiveInteger(i64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PositiveInteger` is never constructed [INFO] [stderr] --> src/parser/xml/value.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct PositiveInteger(i64); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NonNegativeInteger` is never constructed [INFO] [stderr] --> src/parser/xml/value.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct NonNegativeInteger(i64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NegativeInteger` is never constructed [INFO] [stderr] --> src/parser/xml/value.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct NegativeInteger(i64); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NormalizedString` is never constructed [INFO] [stderr] --> src/parser/xml/value.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct NormalizedString(String); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `TypeError` is never constructed [INFO] [stderr] --> src/parser/xml/xdmerror.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum ErrorKind { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 10 | /// XPST0003 [INFO] [stderr] 11 | TypeError, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `kind` is never read [INFO] [stderr] --> src/parser/xml/xdmerror.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Error { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 18 | pub kind: ErrorKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/parser/xml/xdmerror.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Error { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 25 | pub fn new(kind: ErrorKind, message: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `prologue`, `epilogue`, and `xmldecl` are never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct XMLDocument<'a> { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 48 | pub prologue: Vec>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 49 | pub content: Vec>, [INFO] [stderr] 50 | pub epilogue: Vec>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 51 | pub xmldecl: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:89:28 [INFO] [stderr] | [INFO] [stderr] 89 | Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 89 - Element(QualifiedName, Vec>, Vec>), // Element name, attributes, content [INFO] [stderr] 89 + Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stderr] | [INFO] [stderr] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stderr] | --------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 90 - Attribute(QualifiedName, Value<'a>), [INFO] [stderr] 90 + Attribute(QualifiedName, ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | PI(String, Value<'a>), [INFO] [stderr] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 92 - PI(String, Value<'a>), [INFO] [stderr] 92 + PI((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stderr] | ------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 93 - Comment(Value<'a>), // Comment value is a string [INFO] [stderr] 93 + Comment(()), // Comment value is a string [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stderr] | --- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 94 - Dtd(DtdDecl), // These only occur in the prologue [INFO] [stderr] 94 + Dtd(()), // These only occur in the prologue [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stderr] | [INFO] [stderr] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stderr] | --------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 95 - Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stderr] 95 + Reference(()), // General entity reference. These need to be resolved before presentation to the application [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/json.rs:112:27 [INFO] [stderr] | [INFO] [stderr] 111 | i: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stderr] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/json.rs:127:33 [INFO] [stderr] | [INFO] [stderr] 126 | i: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stderr] | -- -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 127 | ) -> IResult<&'a str, (&'a str, JsonValue<'a>), E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/json.rs:137:39 [INFO] [stderr] | [INFO] [stderr] 136 | i: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stderr] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/json.rs:160:23 [INFO] [stderr] | [INFO] [stderr] 159 | i: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stderr] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/json.rs:176:23 [INFO] [stderr] | [INFO] [stderr] 175 | i: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stderr] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 176 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::Option::::map_or` that must be used [INFO] [stderr] --> src/parser/xml/qname.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | / self.prefix.as_ref().map_or((), |p| { [INFO] [stderr] 33 | | result.push_str(p.as_str()); [INFO] [stderr] 34 | | result.push(':'); [INFO] [stderr] 35 | | }); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the returned value, use `if let` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 32 | let _ = self.prefix.as_ref().map_or((), |p| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:114:20 [INFO] [stderr] | [INFO] [stderr] 114 | fn document(input: &str) -> IResult<&str, XMLDocument> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:128:18 [INFO] [stderr] | [INFO] [stderr] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:182:23 [INFO] [stderr] | [INFO] [stderr] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:213:21 [INFO] [stderr] | [INFO] [stderr] 213 | fn intsubset(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:219:22 [INFO] [stderr] | [INFO] [stderr] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:266:22 [INFO] [stderr] | [INFO] [stderr] 266 | fn externalid(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:275:19 [INFO] [stderr] | [INFO] [stderr] 275 | fn element(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:285:22 [INFO] [stderr] | [INFO] [stderr] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:308:21 [INFO] [stderr] | [INFO] [stderr] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:321:22 [INFO] [stderr] | [INFO] [stderr] 321 | fn attributes(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:338:21 [INFO] [stderr] | [INFO] [stderr] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:372:19 [INFO] [stderr] | [INFO] [stderr] 372 | fn content(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:412:21 [INFO] [stderr] | [INFO] [stderr] 412 | fn reference(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:415:21 [INFO] [stderr] | [INFO] [stderr] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:420:19 [INFO] [stderr] | [INFO] [stderr] 420 | fn charref(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:423:25 [INFO] [stderr] | [INFO] [stderr] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:441:23 [INFO] [stderr] | [INFO] [stderr] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:461:34 [INFO] [stderr] | [INFO] [stderr] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:473:19 [INFO] [stderr] | [INFO] [stderr] 473 | fn comment(input: &str) -> IResult<&str, XMLNode> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:481:16 [INFO] [stderr] | [INFO] [stderr] 481 | fn misc(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:489:20 [INFO] [stderr] | [INFO] [stderr] 489 | fn chardata(input: &str) -> IResult<&str, Vec> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:493:26 [INFO] [stderr] | [INFO] [stderr] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:500:28 [INFO] [stderr] | [INFO] [stderr] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/xml/parsexml.rs:530:28 [INFO] [stderr] | [INFO] [stderr] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `panrelease` (lib) generated 58 warnings (run `cargo fix --lib -p panrelease` to apply 37 suggestions) [INFO] [stderr] warning: unused import: `semver::BuildMetadata` [INFO] [stderr] --> src/args.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | use semver::BuildMetadata; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `panrelease` (lib test) generated 59 warnings (58 duplicates) (run `cargo fix --lib -p panrelease --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/panrelease-3cd2bf6e6a73d4a6) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test args::test::increment_major ... ok [INFO] [stdout] test args::test::increment_minor ... ok [INFO] [stdout] test parser::json::test::test_json_extraction ... ok [INFO] [stdout] test parser::xml::parsecommon::tests::test_ncnamechar ... ok [INFO] [stdout] test parser::xml::parsecommon::tests::test_name ... ok [INFO] [stdout] test args::test::increment_patch ... ok [INFO] [stdout] test args::test::parse_invalid_post_release ... ok [INFO] [stdout] test args::test::increment_postrel ... ok [INFO] [stdout] test args::test::parse_complex_post_release ... ok [INFO] [stdout] test args::test::parse_simple_post_release ... ok [INFO] [stdout] test args::test::parse_no_ver_post_release ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/panrelease.rs (/opt/rustwide/target/debug/deps/panrelease-dbccaf0c5e3d307a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests panrelease [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a738c49cfa0e18026e036eced2bd6a67278b4720ac5c05a1b8e53a2684e5795d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a738c49cfa0e18026e036eced2bd6a67278b4720ac5c05a1b8e53a2684e5795d", kill_on_drop: false }` [INFO] [stdout] a738c49cfa0e18026e036eced2bd6a67278b4720ac5c05a1b8e53a2684e5795d