[INFO] fetching crate panrelease 0.12.4... [INFO] testing panrelease-0.12.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate panrelease 0.12.4 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panrelease 0.12.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded update-informer v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f845ed93b61f038a77f4bf165c50eebc521a714e5458f4c1214558e3fdc1aca [INFO] running `Command { std: "docker" "start" "-a" "4f845ed93b61f038a77f4bf165c50eebc521a714e5458f4c1214558e3fdc1aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f845ed93b61f038a77f4bf165c50eebc521a714e5458f4c1214558e3fdc1aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f845ed93b61f038a77f4bf165c50eebc521a714e5458f4c1214558e3fdc1aca", kill_on_drop: false }` [INFO] [stdout] 4f845ed93b61f038a77f4bf165c50eebc521a714e5458f4c1214558e3fdc1aca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c5343dcaa9739be990550d1d9c714fa9f55ed530dba2229720aefc5ec77a45f6 [INFO] running `Command { std: "docker" "start" "-a" "c5343dcaa9739be990550d1d9c714fa9f55ed530dba2229720aefc5ec77a45f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling chrono v0.4.38 [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 wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [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 js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling update-informer v1.1.0 [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: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: `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 `Clone` and `Debug`, 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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 50.43s [INFO] running `Command { std: "docker" "inspect" "c5343dcaa9739be990550d1d9c714fa9f55ed530dba2229720aefc5ec77a45f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5343dcaa9739be990550d1d9c714fa9f55ed530dba2229720aefc5ec77a45f6", kill_on_drop: false }` [INFO] [stdout] c5343dcaa9739be990550d1d9c714fa9f55ed530dba2229720aefc5ec77a45f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b6b15270dffc6ebc2e8bae3fe1f4220c5f503e452a54207f366322e7c7e0dfed [INFO] running `Command { std: "docker" "start" "-a" "b6b15270dffc6ebc2e8bae3fe1f4220c5f503e452a54207f366322e7c7e0dfed", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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: `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 `Clone` and `Debug`, 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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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 `Clone` and `Debug`, 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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stdout] | -- -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/json.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | i: &'a str, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stdout] | -- --------- the lifetimes get resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 3.14s [INFO] running `Command { std: "docker" "inspect" "b6b15270dffc6ebc2e8bae3fe1f4220c5f503e452a54207f366322e7c7e0dfed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b15270dffc6ebc2e8bae3fe1f4220c5f503e452a54207f366322e7c7e0dfed", kill_on_drop: false }` [INFO] [stdout] b6b15270dffc6ebc2e8bae3fe1f4220c5f503e452a54207f366322e7c7e0dfed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4bf44bf2e6c9588165243be4a0e002ec8cb872394fdde3a6c8056d2589f296e8 [INFO] running `Command { std: "docker" "start" "-a" "4bf44bf2e6c9588165243be4a0e002ec8cb872394fdde3a6c8056d2589f296e8", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [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)]` 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)]` 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 `Clone` and `Debug`, 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: 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/json.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | i: &'a str, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 112 | ) -> IResult<&'a str, Vec, E> { [INFO] [stderr] | -- --------- the lifetimes get resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 112 | ) -> IResult<&'a str, Vec>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/json.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | i: &'a str, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 127 | ) -> IResult<&'a str, (&'a str, JsonValue), E> { [INFO] [stderr] | -- -- --------- the lifetimes get resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'a` [INFO] [stderr] | the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 127 | ) -> IResult<&'a str, (&'a str, JsonValue<'a>), E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/json.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | i: &'a str, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 137 | ) -> IResult<&'a str, HashMap, E> { [INFO] [stderr] | -- --------- the lifetimes get resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 137 | ) -> IResult<&'a str, HashMap>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/json.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | i: &'a str, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 160 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stderr] | -- --------- the lifetimes get resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 160 | ) -> IResult<&'a str, JsonValue<'a>, E> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/json.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | i: &'a str, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 176 | ) -> IResult<&'a str, JsonValue, E> { [INFO] [stderr] | -- --------- the lifetimes get resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 114 | fn document(input: &str) -> IResult<&str, XMLDocument<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 128 | fn prolog(input: &str) -> IResult<&str, (Option, Vec>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 182 | fn doctypedecl(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 213 | fn intsubset(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 219 | fn entitydecl(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 266 | fn externalid(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 275 | fn element(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 285 | fn taggedelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 308 | fn emptyelem(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 321 | fn attributes(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 338 | fn attribute(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 372 | fn content(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 412 | fn reference(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 415 | fn entityref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 420 | fn charref(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 423 | fn charref_octal(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 441 | fn charref_hex(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 461 | fn processing_instruction(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 473 | fn comment(input: &str) -> IResult<&str, XMLNode<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 481 | fn misc(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 489 | fn chardata(input: &str) -> IResult<&str, Vec>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 493 | fn chardata_cdata(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 500 | fn chardata_escapes(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 530 | fn chardata_literal(input: &str) -> IResult<&str, StringRepr<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `panrelease` (lib) generated 52 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 52 warnings (51 duplicates) (run `cargo fix --lib -p panrelease --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/panrelease-1a6565bb285d265a) [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 args::test::increment_patch ... ok [INFO] [stdout] test parser::xml::parsecommon::tests::test_name ... ok [INFO] [stdout] test parser::xml::parsecommon::tests::test_ncnamechar ... ok [INFO] [stdout] test parser::json::test::test_json_extraction ... ok [INFO] [stdout] test args::test::increment_postrel ... ok [INFO] [stdout] test args::test::parse_invalid_post_release ... ok [INFO] [stdout] test args::test::parse_complex_post_release ... ok [INFO] [stdout] test args::test::parse_no_ver_post_release ... ok [INFO] [stdout] test args::test::parse_simple_post_release ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/panrelease.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/panrelease-877722f0df6e5449) [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" "4bf44bf2e6c9588165243be4a0e002ec8cb872394fdde3a6c8056d2589f296e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf44bf2e6c9588165243be4a0e002ec8cb872394fdde3a6c8056d2589f296e8", kill_on_drop: false }` [INFO] [stdout] 4bf44bf2e6c9588165243be4a0e002ec8cb872394fdde3a6c8056d2589f296e8