[INFO] fetching crate hxml 0.3.3... [INFO] checking hxml-0.3.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hxml 0.3.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate hxml 0.3.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hxml 0.3.3 [INFO] finished tweaking crates.io crate hxml 0.3.3 [INFO] tweaked toml for crates.io crate hxml 0.3.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd72f20d5398e8abbf4ebb005fa4bf1e26d1e31f577ab41993058e8ac57b4acc [INFO] running `Command { std: "docker" "start" "-a" "cd72f20d5398e8abbf4ebb005fa4bf1e26d1e31f577ab41993058e8ac57b4acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd72f20d5398e8abbf4ebb005fa4bf1e26d1e31f577ab41993058e8ac57b4acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd72f20d5398e8abbf4ebb005fa4bf1e26d1e31f577ab41993058e8ac57b4acc", kill_on_drop: false }` [INFO] [stdout] cd72f20d5398e8abbf4ebb005fa4bf1e26d1e31f577ab41993058e8ac57b4acc [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31b9c10a6434fa9caa3549e51cdebab000b0124f639eddf96b0894489d429b2c [INFO] running `Command { std: "docker" "start" "-a" "31b9c10a6434fa9caa3549e51cdebab000b0124f639eddf96b0894489d429b2c", kill_on_drop: false }` [INFO] [stderr] Checking hxml v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/dom.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | match &PROLOG { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 203 | match addr_of!(PROLOG) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/dom.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | match &PROLOG { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 203 | match addr_of!(PROLOG) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_subset_end_index` [INFO] [stdout] --> src/parse/prolog.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let internal_subset_end_index = match get_internal_subset_end_index(document, name_end_index + 2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_subset_end_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parse/prolog.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/prolog.rs:340:60 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/prolog.rs:340:56 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parse/prolog.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn parse_xml_decl(document: &[u16], index: usize) -> XMLDecl { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/prolog.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn parse_xml_decl(document: &[u16], index: usize) -> XMLDecl { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/parse/mod.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/mod.rs:71:47 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_slice`, `len`, `g_len`, `index`, and `slice` are never used [INFO] [stdout] --> src/gstring.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl GString { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_slice(&self) -> &[u16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn g_len(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn index(&self, index: usize) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn slice(&self, start: usize, end: usize) -> GString { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_content_end_index` is never used [INFO] [stdout] --> src/parse/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_element_end_index` is never used [INFO] [stdout] --> src/parse/tag.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_element_end_index(document: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_subset_end_index` [INFO] [stdout] --> src/parse/prolog.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | let internal_subset_end_index = match get_internal_subset_end_index(document, name_end_index + 2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_subset_end_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parse/prolog.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/prolog.rs:340:60 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse/prolog.rs:340:56 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_internal_subset_end_index(document: &[u16], mut index: usize) -> Option { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parse/prolog.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn parse_xml_decl(document: &[u16], index: usize) -> XMLDecl { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/prolog.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn parse_xml_decl(document: &[u16], index: usize) -> XMLDecl { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/parse/mod.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/parse/mod.rs:71:47 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_slice`, `len`, `g_len`, `index`, and `slice` are never used [INFO] [stdout] --> src/gstring.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl GString { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn to_slice(&self) -> &[u16] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn g_len(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn index(&self, index: usize) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn slice(&self, start: usize, end: usize) -> GString { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_content_end_index` is never used [INFO] [stdout] --> src/parse/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_content_end_index(content: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_element_end_index` is never used [INFO] [stdout] --> src/parse/tag.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_element_end_index(document: &[u16], index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "31b9c10a6434fa9caa3549e51cdebab000b0124f639eddf96b0894489d429b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b9c10a6434fa9caa3549e51cdebab000b0124f639eddf96b0894489d429b2c", kill_on_drop: false }` [INFO] [stdout] 31b9c10a6434fa9caa3549e51cdebab000b0124f639eddf96b0894489d429b2c