[INFO] cloning repository https://github.com/valarauca/xmltool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/valarauca/xmltool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalarauca%2Fxmltool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalarauca%2Fxmltool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b18f3998024f2380d186c95ba7bd56818f221919 [INFO] building valarauca/xmltool against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalarauca%2Fxmltool" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/valarauca/xmltool on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/valarauca/xmltool [INFO] finished tweaking git repo https://github.com/valarauca/xmltool [INFO] tweaked toml for git repo https://github.com/valarauca/xmltool written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/valarauca/xmltool 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d3a8268c7d010b1459088ca9276d04991bae531b55b4dc8afb6656211a458c5 [INFO] running `Command { std: "docker" "start" "-a" "3d3a8268c7d010b1459088ca9276d04991bae531b55b4dc8afb6656211a458c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d3a8268c7d010b1459088ca9276d04991bae531b55b4dc8afb6656211a458c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3a8268c7d010b1459088ca9276d04991bae531b55b4dc8afb6656211a458c5", kill_on_drop: false }` [INFO] [stdout] 3d3a8268c7d010b1459088ca9276d04991bae531b55b4dc8afb6656211a458c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b28a036e429d6b101a06af2313375fab68a8b7b5de3df65fc449d3066ff19c58 [INFO] running `Command { std: "docker" "start" "-a" "b28a036e429d6b101a06af2313375fab68a8b7b5de3df65fc449d3066ff19c58", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling xmltool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cli/formatter/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | Option::Some("CRLF") => Cow::Borrowed("\x0D\x0A"), [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 14 | Option::Some("CRLF") | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reformat` is never used [INFO] [stdout] --> src/cli/formatter/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn do_reformat(arg: &ArgMatches) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_format` is never used [INFO] [stdout] --> src/cli/formatter/formatter_cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn declare_format<'a,'b>() -> App<'a,'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_parser_config` is never used [INFO] [stdout] --> src/cli/formatter/reader.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn build_parser_config(arg: &ArgMatches) -> ParserConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_line_sep` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn to_line_sep(arg: &ArgMatches) -> Cow<'static, str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_indent` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_indent(arg: &ArgMatches) -> Cow<'static, str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_indents` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn perform_indents(arg: &ArgMatches) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_emitter_config` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn build_emitter_config(arg: &ArgMatches) -> EmitterConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileR` and `StdIn` are never constructed [INFO] [stdout] --> src/cli/formatter/fsutil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GenReader { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | FileR(BufReader), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | StdIn(BufReader) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/formatter/fsutil.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GenReader { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(arg: &ArgMatches) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileW` and `StdOut` are never constructed [INFO] [stdout] --> src/cli/formatter/fsutil.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum GenWriter { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 38 | FileW(BufWriter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | StdOut(BufWriter) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/formatter/fsutil.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl GenWriter { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(arg: &ArgMatches) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "b28a036e429d6b101a06af2313375fab68a8b7b5de3df65fc449d3066ff19c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28a036e429d6b101a06af2313375fab68a8b7b5de3df65fc449d3066ff19c58", kill_on_drop: false }` [INFO] [stdout] b28a036e429d6b101a06af2313375fab68a8b7b5de3df65fc449d3066ff19c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbce568833b3c64ec0cea3d85ae89cb4df7fea1d803d6d808563fbd158d919e8 [INFO] running `Command { std: "docker" "start" "-a" "dbce568833b3c64ec0cea3d85ae89cb4df7fea1d803d6d808563fbd158d919e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling xmltool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cli/formatter/writer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | Option::Some("CRLF") => Cow::Borrowed("\x0D\x0A"), [INFO] [stdout] | -------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 14 | Option::Some("CRLF") | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reformat` is never used [INFO] [stdout] --> src/cli/formatter/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn do_reformat(arg: &ArgMatches) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `declare_format` is never used [INFO] [stdout] --> src/cli/formatter/formatter_cli.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn declare_format<'a,'b>() -> App<'a,'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_parser_config` is never used [INFO] [stdout] --> src/cli/formatter/reader.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn build_parser_config(arg: &ArgMatches) -> ParserConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_line_sep` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn to_line_sep(arg: &ArgMatches) -> Cow<'static, str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_indent` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_indent(arg: &ArgMatches) -> Cow<'static, str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perform_indents` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn perform_indents(arg: &ArgMatches) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_emitter_config` is never used [INFO] [stdout] --> src/cli/formatter/writer.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn build_emitter_config(arg: &ArgMatches) -> EmitterConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileR` and `StdIn` are never constructed [INFO] [stdout] --> src/cli/formatter/fsutil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GenReader { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | FileR(BufReader), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | StdIn(BufReader) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/formatter/fsutil.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GenReader { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(arg: &ArgMatches) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileW` and `StdOut` are never constructed [INFO] [stdout] --> src/cli/formatter/fsutil.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum GenWriter { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 38 | FileW(BufWriter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | StdOut(BufWriter) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/formatter/fsutil.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl GenWriter { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 42 | pub fn new(arg: &ArgMatches) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "dbce568833b3c64ec0cea3d85ae89cb4df7fea1d803d6d808563fbd158d919e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbce568833b3c64ec0cea3d85ae89cb4df7fea1d803d6d808563fbd158d919e8", kill_on_drop: false }` [INFO] [stdout] dbce568833b3c64ec0cea3d85ae89cb4df7fea1d803d6d808563fbd158d919e8