[INFO] cloning repository https://github.com/strager/0fmt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strager/0fmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrager%2F0fmt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrager%2F0fmt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2cea9e5e9e5ecef82c5a452db12afa6175075c15
[INFO] testing strager/0fmt against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrager%2F0fmt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/strager/0fmt
[INFO] finished tweaking git repo https://github.com/strager/0fmt
[INFO] tweaked toml for git repo https://github.com/strager/0fmt written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/strager/0fmt on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/strager/0fmt 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_test v1.0.177
[INFO] [stderr]   Downloaded insta v1.45.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11e63cea421db24cd015d919a1e108db6d0050fede7a4da41a395e36182830ca
[INFO] running `Command { std: "docker" "start" "-a" "11e63cea421db24cd015d919a1e108db6d0050fede7a4da41a395e36182830ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11e63cea421db24cd015d919a1e108db6d0050fede7a4da41a395e36182830ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11e63cea421db24cd015d919a1e108db6d0050fede7a4da41a395e36182830ca", kill_on_drop: false }`
[INFO] [stdout] 11e63cea421db24cd015d919a1e108db6d0050fede7a4da41a395e36182830ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 388a7752239234b9bb77f9a40498f7bc6833f23d849477d8f891c8d0eda96486
[INFO] running `Command { std: "docker" "start" "-a" "388a7752239234b9bb77f9a40498f7bc6833f23d849477d8f891c8d0eda96486", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerofmt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `SourceFileOffset` is never used
[INFO] [stdout]  --> src/core.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub type SourceFileOffset = usize;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SourceFileRange` is never used
[INFO] [stdout]  --> src/core.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type SourceFileRange = std::ops::Range<SourceFileOffset>;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZERO_PADDED_BYTES_PADDING_SIZE` is never used
[INFO] [stdout]  --> src/core.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ZERO_PADDED_BYTES_PADDING_SIZE: usize = 1;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZeroPaddedBytesRef` is never constructed
[INFO] [stdout]  --> src/core.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ZeroPaddedBytesRef<'a>(&'a [u8]);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_checked`, `len`, and `bytes` are never used
[INFO] [stdout]   --> src/core.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<'a> ZeroPaddedBytesRef<'a> {
[INFO] [stdout]    | ------------------------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new_checked(bytes: &'a [u8]) -> ZeroPaddedBytesRef<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn len(&self) -> SourceFileOffset {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZeroPaddedBytesBuffer` is never constructed
[INFO] [stdout]   --> src/core.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct ZeroPaddedBytesBuffer(Vec<u8>);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_slice` and `as_ref` are never used
[INFO] [stdout]   --> src/core.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl ZeroPaddedBytesBuffer {
[INFO] [stdout]    | -------------------------- associated items in this implementation
[INFO] [stdout] 73 |     pub fn from_slice(source: &[u8]) -> ZeroPaddedBytesBuffer {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn as_ref(&self) -> ZeroPaddedBytesRef<'_> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatResult` is never constructed
[INFO] [stdout]  --> src/fmt.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FormatResult {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormatWSNote` is never constructed
[INFO] [stdout]  --> src/fmt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct FormatWSNote {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WSKind` is never used
[INFO] [stdout]   --> src/fmt.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum WSKind {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_html` is never used
[INFO] [stdout]  --> src/html.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn parse_html(source: &[u8]) -> FormatResult {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_html_zpb` is never used
[INFO] [stdout]   --> src/html.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn parse_html_zpb<'a>(source: ZeroPaddedBytesRef<'a>) -> FormatResult {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTMLParser` is never constructed
[INFO] [stdout]   --> src/html.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct HTMLParser<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HTMLParserState` is never used
[INFO] [stdout]   --> src/html.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum HTMLParserState {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse`, `parse_tag_name`, and `skip_ws` are never used
[INFO] [stdout]    --> src/html.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<'a> HTMLParser<'a> {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout]  49 |     fn parse(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn parse_tag_name(&mut self) -> HTMLParserState {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn skip_ws(&mut self) -> SourceFileRange {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "388a7752239234b9bb77f9a40498f7bc6833f23d849477d8f891c8d0eda96486", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "388a7752239234b9bb77f9a40498f7bc6833f23d849477d8f891c8d0eda96486", kill_on_drop: false }`
[INFO] [stdout] 388a7752239234b9bb77f9a40498f7bc6833f23d849477d8f891c8d0eda96486
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72b39cc998ee16de9553acda579a20957340f93df434a1781e14158fad49825b
[INFO] running `Command { std: "docker" "start" "-a" "72b39cc998ee16de9553acda579a20957340f93df434a1781e14158fad49825b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_test v1.0.177
[INFO] [stderr]    Compiling insta v1.45.1
[INFO] [stderr]    Compiling zerofmt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `parse_html` is never used
[INFO] [stdout]  --> src/html.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn parse_html(source: &[u8]) -> FormatResult {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 18.27s
[INFO] running `Command { std: "docker" "inspect" "72b39cc998ee16de9553acda579a20957340f93df434a1781e14158fad49825b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72b39cc998ee16de9553acda579a20957340f93df434a1781e14158fad49825b", kill_on_drop: false }`
[INFO] [stdout] 72b39cc998ee16de9553acda579a20957340f93df434a1781e14158fad49825b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 974a6cb68d0ed6e714ea0c856388571863e215b606e1c4a179c5f58d722ac904
[INFO] running `Command { std: "docker" "start" "-a" "974a6cb68d0ed6e714ea0c856388571863e215b606e1c4a179c5f58d722ac904", kill_on_drop: false }`
[INFO] [stderr] warning: function `parse_html` is never used
[INFO] [stderr]  --> src/html.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn parse_html(source: &[u8]) -> FormatResult {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zerofmt` (bin "0fmt" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/0fmt-b4c40e2665a4290c)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test core::test::serialize_zero_padded_bytes_ref_with_invalid_utf8 ... ok
[INFO] [stdout] test core::test::serialize_zero_padded_bytes_ref_with_valid_utf8 ... ok
[INFO] [stdout] test html::tests::parse_p_tag ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "974a6cb68d0ed6e714ea0c856388571863e215b606e1c4a179c5f58d722ac904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "974a6cb68d0ed6e714ea0c856388571863e215b606e1c4a179c5f58d722ac904", kill_on_drop: false }`
[INFO] [stdout] 974a6cb68d0ed6e714ea0c856388571863e215b606e1c4a179c5f58d722ac904
