[INFO] fetching crate junitify 0.1.18... [INFO] checking junitify-0.1.18 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate junitify 0.1.18 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate junitify 0.1.18 [INFO] finished tweaking crates.io crate junitify 0.1.18 [INFO] tweaked toml for crates.io crate junitify 0.1.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate junitify 0.1.18 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate junitify 0.1.18 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1447d9060fab6b26b98175148b5042ec3f5bd67085fe0b35074798bf594e94b [INFO] running `Command { std: "docker" "start" "-a" "e1447d9060fab6b26b98175148b5042ec3f5bd67085fe0b35074798bf594e94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1447d9060fab6b26b98175148b5042ec3f5bd67085fe0b35074798bf594e94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1447d9060fab6b26b98175148b5042ec3f5bd67085fe0b35074798bf594e94b", kill_on_drop: false }` [INFO] [stdout] e1447d9060fab6b26b98175148b5042ec3f5bd67085fe0b35074798bf594e94b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ffc513549631c518c45c38fd366c9f85afa6f99d213c71fbf0877cae2248bc2 [INFO] running `Command { std: "docker" "start" "-a" "7ffc513549631c518c45c38fd366c9f85afa6f99d213c71fbf0877cae2248bc2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking clap v3.0.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking quick-xml v0.23.1 [INFO] [stderr] Checking serde-xml-rs v0.5.1 [INFO] [stderr] Checking junitify v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | SerdeAnyhow(anyhow::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 100 - SerdeAnyhow(anyhow::Error), [INFO] [stdout] 100 + SerdeAnyhow(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | Render(anyhow::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 101 - Render(anyhow::Error), [INFO] [stdout] 101 + Render(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | IOAnyhow(anyhow::Error), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 102 - IOAnyhow(anyhow::Error), [INFO] [stdout] 102 + IOAnyhow(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | FailedTests(Vec), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 103 - FailedTests(Vec), [INFO] [stdout] 103 + FailedTests(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | GenericApp(anyhow::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 104 - GenericApp(anyhow::Error), [INFO] [stdout] 104 + GenericApp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / #[clap(short, long, help = "Output directory for produced .xml files.")] [INFO] [stdout] 51 | | out: Option, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / #[clap( [INFO] [stdout] 69 | | short, [INFO] [stdout] 70 | | long, [INFO] [stdout] 71 | | help = "File to read from (default: stdin)", [INFO] [stdout] 72 | | multiple_values = true [INFO] [stdout] 73 | | )] [INFO] [stdout] 74 | | file: Option>, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `junitify` (bin "junitify") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | SerdeAnyhow(anyhow::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 100 - SerdeAnyhow(anyhow::Error), [INFO] [stdout] 100 + SerdeAnyhow(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | Render(anyhow::Error), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 101 - Render(anyhow::Error), [INFO] [stdout] 101 + Render(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | IOAnyhow(anyhow::Error), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 102 - IOAnyhow(anyhow::Error), [INFO] [stdout] 102 + IOAnyhow(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | FailedTests(Vec), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 103 - FailedTests(Vec), [INFO] [stdout] 103 + FailedTests(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | GenericApp(anyhow::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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] 104 - GenericApp(anyhow::Error), [INFO] [stdout] 104 + GenericApp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / #[clap(short, long, help = "Output directory for produced .xml files.")] [INFO] [stdout] 51 | | out: Option, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / #[clap( [INFO] [stdout] 69 | | short, [INFO] [stdout] 70 | | long, [INFO] [stdout] 71 | | help = "File to read from (default: stdin)", [INFO] [stdout] 72 | | multiple_values = true [INFO] [stdout] 73 | | )] [INFO] [stdout] 74 | | file: Option>, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `junitify` (bin "junitify" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ffc513549631c518c45c38fd366c9f85afa6f99d213c71fbf0877cae2248bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffc513549631c518c45c38fd366c9f85afa6f99d213c71fbf0877cae2248bc2", kill_on_drop: false }` [INFO] [stdout] 7ffc513549631c518c45c38fd366c9f85afa6f99d213c71fbf0877cae2248bc2