[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#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalarauca%2Fxmltool" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/valarauca/xmltool on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d802624ab821be27597f24f23c88fca387437bebc38865a1b2766962cd309ab [INFO] running `Command { std: "docker" "start" "-a" "1d802624ab821be27597f24f23c88fca387437bebc38865a1b2766962cd309ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d802624ab821be27597f24f23c88fca387437bebc38865a1b2766962cd309ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d802624ab821be27597f24f23c88fca387437bebc38865a1b2766962cd309ab", kill_on_drop: false }` [INFO] [stdout] 1d802624ab821be27597f24f23c88fca387437bebc38865a1b2766962cd309ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72b6031c926974189321d4f56f8915162533f211614cc242789fb0f467fb1a3d [INFO] running `Command { std: "docker" "start" "-a" "72b6031c926974189321d4f56f8915162533f211614cc242789fb0f467fb1a3d", 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 unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.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 5.66s [INFO] running `Command { std: "docker" "inspect" "72b6031c926974189321d4f56f8915162533f211614cc242789fb0f467fb1a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b6031c926974189321d4f56f8915162533f211614cc242789fb0f467fb1a3d", kill_on_drop: false }` [INFO] [stdout] 72b6031c926974189321d4f56f8915162533f211614cc242789fb0f467fb1a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e88445aa7e30f6ee73aaca5b8912562c4c5f417b9d15c07818dc9dc21e02d4 [INFO] running `Command { std: "docker" "start" "-a" "b5e88445aa7e30f6ee73aaca5b8912562c4c5f417b9d15c07818dc9dc21e02d4", 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.27s [INFO] running `Command { std: "docker" "inspect" "b5e88445aa7e30f6ee73aaca5b8912562c4c5f417b9d15c07818dc9dc21e02d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e88445aa7e30f6ee73aaca5b8912562c4c5f417b9d15c07818dc9dc21e02d4", kill_on_drop: false }` [INFO] [stdout] b5e88445aa7e30f6ee73aaca5b8912562c4c5f417b9d15c07818dc9dc21e02d4