[INFO] fetching crate panrelease 0.12.4... [INFO] checking panrelease-0.12.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate panrelease 0.12.4 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panrelease 0.12.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded update-informer v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 685df45f8e9ded2122c199f1caee78aaa48d6789575bd234c5aefb391f82e67c [INFO] running `Command { std: "docker" "start" "-a" "685df45f8e9ded2122c199f1caee78aaa48d6789575bd234c5aefb391f82e67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "685df45f8e9ded2122c199f1caee78aaa48d6789575bd234c5aefb391f82e67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685df45f8e9ded2122c199f1caee78aaa48d6789575bd234c5aefb391f82e67c", kill_on_drop: false }` [INFO] [stdout] 685df45f8e9ded2122c199f1caee78aaa48d6789575bd234c5aefb391f82e67c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025552c7e60d51126850e9fca08c9b87ee330eaf0e5ec8bd2a367d57ae76ba3e [INFO] running `Command { std: "docker" "start" "-a" "025552c7e60d51126850e9fca08c9b87ee330eaf0e5ec8bd2a367d57ae76ba3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [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 wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking update-informer v1.1.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking 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)]` 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: 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)]` 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)]` 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:111:9 [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:126:9 [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:136:9 [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:159:9 [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:175:9 [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)]` 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] [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)]` 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:111:9 [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:126:9 [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:136:9 [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:159:9 [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:175:9 [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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.02s [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] running `Command { std: "docker" "inspect" "025552c7e60d51126850e9fca08c9b87ee330eaf0e5ec8bd2a367d57ae76ba3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025552c7e60d51126850e9fca08c9b87ee330eaf0e5ec8bd2a367d57ae76ba3e", kill_on_drop: false }` [INFO] [stdout] 025552c7e60d51126850e9fca08c9b87ee330eaf0e5ec8bd2a367d57ae76ba3e