[INFO] fetching crate panrelease 0.12.4... [INFO] checking panrelease-0.12.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate panrelease 0.12.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate panrelease 0.12.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.22.15 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded update-informer v1.1.0 [INFO] [stderr] Downloaded cc v1.1.0 [INFO] [stderr] Downloaded ureq v2.10.0 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded rustls v0.23.11 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa9a8dac6c3cdc2617aff351a9743151c5e98d08416c8d9f7160bf16886dea19 [INFO] running `Command { std: "docker" "start" "-a" "fa9a8dac6c3cdc2617aff351a9743151c5e98d08416c8d9f7160bf16886dea19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa9a8dac6c3cdc2617aff351a9743151c5e98d08416c8d9f7160bf16886dea19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa9a8dac6c3cdc2617aff351a9743151c5e98d08416c8d9f7160bf16886dea19", kill_on_drop: false }` [INFO] [stdout] fa9a8dac6c3cdc2617aff351a9743151c5e98d08416c8d9f7160bf16886dea19 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fec684fb9eb360fe6a3e3664cd8ac418be974ae6a37ac1db2674a23dd2c5d84e [INFO] running `Command { std: "docker" "start" "-a" "fec684fb9eb360fe6a3e3664cd8ac418be974ae6a37ac1db2674a23dd2c5d84e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.22 [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 wasm-bindgen v0.2.92 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking directories v5.0.1 [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-test-macro v0.3.42 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking update-informer v1.1.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking panrelease v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::ErrorKind` [INFO] [stdout] --> src/engine.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semver::BuildMetadata` [INFO] [stdout] --> src/args.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use semver::BuildMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/runner.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus` and `Output` [INFO] [stdout] --> src/runner.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::{Command, ExitStatus, Output, Stdio}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/runner.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/runner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsValue` [INFO] [stdout] --> src/runner.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::wasm_utils::exec` [INFO] [stdout] --> src/runner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wasm_utils::exec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | doc: toml_edit::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/package/cargo.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | doc: cargo_str.parse::()?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/system/nodejs_system.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | let full_env: HashMap = wasm_utils::process::ENV.into_serde()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(()), [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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 | PI((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 | Comment(()), // Comment value is a string [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(()), // These only occur in the prologue [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | Reference(()), // General entity reference. These need to be resolved before presentation to the application [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/project/module.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PanModule { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/value.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | StringOwned(()), [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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Element(QualifiedName, (), Vec>), // Element name, attributes, content [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, Value<'a>), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 | Attribute(QualifiedName, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | PI(String, Value<'a>), [INFO] [stdout] | -- ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 92 | PI((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Comment(Value<'a>), // Comment value is a string [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 93 | Comment(()), // Comment value is a string [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(DtdDecl), // These only occur in the prologue [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 94 | Dtd(()), // These only occur in the prologue [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/xml/parsexml.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | Reference(QualifiedName), // General entity reference. These need to be resolved before presentation to the application [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XMLNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | Reference(()), // General entity reference. These need to be resolved before presentation to the application [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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.75s [INFO] running `Command { std: "docker" "inspect" "fec684fb9eb360fe6a3e3664cd8ac418be974ae6a37ac1db2674a23dd2c5d84e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec684fb9eb360fe6a3e3664cd8ac418be974ae6a37ac1db2674a23dd2c5d84e", kill_on_drop: false }` [INFO] [stdout] fec684fb9eb360fe6a3e3664cd8ac418be974ae6a37ac1db2674a23dd2c5d84e