[INFO] fetching crate hml-rs 0.3.1... [INFO] checking hml-rs-0.3.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate hml-rs 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate hml-rs 0.3.1 [INFO] finished tweaking crates.io crate hml-rs 0.3.1 [INFO] tweaked toml for crates.io crate hml-rs 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hml-rs 0.3.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hml-rs 0.3.1 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-read v0.4.0 [INFO] [stderr] Downloaded lexer-rs v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149d2a82365a2b74d4c21f2b4a662fdec4457a851a6cb01eeefee81cf2818def [INFO] running `Command { std: "docker" "start" "-a" "149d2a82365a2b74d4c21f2b4a662fdec4457a851a6cb01eeefee81cf2818def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149d2a82365a2b74d4c21f2b4a662fdec4457a851a6cb01eeefee81cf2818def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149d2a82365a2b74d4c21f2b4a662fdec4457a851a6cb01eeefee81cf2818def", kill_on_drop: false }` [INFO] [stdout] 149d2a82365a2b74d4c21f2b4a662fdec4457a851a6cb01eeefee81cf2818def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca24f35cc36a5cd06c92bd106a8cb93f05e3dfe4f4931e7bfc925a259019ed06 [INFO] running `Command { std: "docker" "start" "-a" "ca24f35cc36a5cd06c92bd106a8cb93f05e3dfe4f4931e7bfc925a259019ed06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking utf8-read v0.4.0 [INFO] [stderr] Checking xml-rs v0.8.25 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking lexer-rs v0.0.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking hml-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `BadEscape`, `BadHexDigit`, `BadHexEscape`, `BadUnicode`, and `EndOfStringInEscape` are never constructed [INFO] [stdout] --> src/hml/escape.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | /// An illegal escape sequence [INFO] [stdout] 10 | BadEscape(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | /// A bad hex digit [INFO] [stdout] 12 | BadHexDigit(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// An illegal hex esacape [INFO] [stdout] 14 | BadHexEscape(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | /// An illegal unicode specified in an escape sequence [INFO] [stdout] 16 | BadUnicode(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | /// End of string during an escape sequence [INFO] [stdout] 18 | EndOfStringInEscape(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `bad_escape`, `bad_hex_digit`, `bad_hex_escape`, `bad_unicode`, and `end_of_string_in_escape` are never used [INFO] [stdout] --> src/hml/escape.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Error { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | fn bad_escape(reason: &str, byte: u8, _bytes: &[u8], _offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn bad_hex_digit(reason: &str, _byte: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn bad_hex_escape(reason: &str, _bytes: &[u8], _offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn bad_unicode(reason: &str, _bytes: &[u8], _offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn end_of_string_in_escape(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/hml/escape.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_of_byte` is never used [INFO] [stdout] --> src/hml/escape.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn hex_of_byte(reason: &str, b: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Escapable` is never constructed [INFO] [stdout] --> src/hml/escape.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Escapable<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EscapeState` is never used [INFO] [stdout] --> src/hml/escape.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | enum EscapeState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `unescape`, and `opt_unescape` are never used [INFO] [stdout] --> src/hml/escape.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a> Escapable<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn new(s: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn unescape(bytes: &[u8], mut i: usize, n: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn opt_unescape(s: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra` is never read [INFO] [stdout] --> src/hml_reader/builder.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CloseTag [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub extra: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CloseTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/names/namespace_stack.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn iter_mappings(&self) -> NamespaceStackFrameIter { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | fn iter_mappings(&self) -> NamespaceStackFrameIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hml/escape.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | BadEscape(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] 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] 10 - BadEscape(String), [INFO] [stdout] 10 + BadEscape(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hml/escape.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BadHexDigit(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] 12 - BadHexDigit(String), [INFO] [stdout] 12 + BadHexDigit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hml/escape.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | BadHexEscape(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] 14 - BadHexEscape(String), [INFO] [stdout] 14 + BadHexEscape(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hml/escape.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | BadUnicode(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] 16 - BadUnicode(String), [INFO] [stdout] 16 + BadUnicode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hml/escape.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | EndOfStringInEscape(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is 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] 18 - EndOfStringInEscape(String), [INFO] [stdout] 18 + EndOfStringInEscape(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra` is never read [INFO] [stdout] --> src/hml_reader/builder.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CloseTag [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | pub extra: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CloseTag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/names/namespace_stack.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | fn iter_mappings(&self) -> NamespaceStackFrameIter { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | fn iter_mappings(&self) -> NamespaceStackFrameIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.22s [INFO] running `Command { std: "docker" "inspect" "ca24f35cc36a5cd06c92bd106a8cb93f05e3dfe4f4931e7bfc925a259019ed06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca24f35cc36a5cd06c92bd106a8cb93f05e3dfe4f4931e7bfc925a259019ed06", kill_on_drop: false }` [INFO] [stdout] ca24f35cc36a5cd06c92bd106a8cb93f05e3dfe4f4931e7bfc925a259019ed06