[INFO] fetching crate rust-format 0.3.4...
[INFO] testing rust-format-0.3.4 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate rust-format 0.3.4 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate rust-format 0.3.4
[INFO] finished tweaking crates.io crate rust-format 0.3.4
[INFO] tweaked toml for crates.io crate rust-format 0.3.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-format 0.3.4 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 22 packages to highest compatible versions
[INFO] [stderr]       Adding prettyplease v0.1.25 (available: v0.3.0)
[INFO] [stderr]       Adding syn v1.0.109 (available: v3.0.9)
[INFO] [stderr]       Adding temp-env v0.2.0 (available: v0.3.6)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee
[INFO] running `Command { std: "docker" "start" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-format v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<str>, Error> {
[INFO] [stdout]    |                                      ^^^^ the lifetime is elided here           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling rustix v1.1.5
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<str>, Error> {
[INFO] [stdout]    |                                      ^^^^ the lifetime is elided here           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling temp-env v0.2.0
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling rust-format v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<str>, Error> {
[INFO] [stdout]    |                                      ^^^^ the lifetime is elided here           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 7.86s
[INFO] running `Command { std: "docker" "inspect" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/lib.rs:33:38
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<str>, Error> {
[INFO] [stderr]    |                                      ^^^^ the lifetime is elided here           ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub(crate) fn replace_markers(s: &str, _replace_doc_blocks: bool) -> Result<Cow<'_, str>, Error> {
[INFO] [stderr]    |                                                                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-format` (lib) generated 1 warning (run `cargo fix --lib -p rust-format` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-format` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rust-format/7ced3947d78aa78f/out/rust_format-7ced3947d78aa78f)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::rustfmt_bad_env_path ... ok
[INFO] [stdout] test tests::rustfmt_bad_config_path ... ok
[INFO] [stdout] test tests::rustfmt_file ... FAILED
[INFO] [stdout] test tests::rustfmt_bad_file ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::rustfmt_file stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::rustfmt_file' (352) panicked at src/lib.rs:755:38:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the toolchain '1.100.0-beta.1-x86_64-unknown-linux-gnu'.\nhelp: run `rustup component add --toolchain 1.100.0-beta.1-x86_64-unknown-linux-gnu rustfmt` to install it\n")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e03a327bf01 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5e03a32900ba - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x5e03a328027c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5e03a32573c6 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5e03a3273ff9 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x5e03a320b0a0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5e03a3274322 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5e03a3257472 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5e03a324ff49 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5e03a325829d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x5e03a32907ec - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5e03a32905c2 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x5e03a31fbca5 - rust_format[fa6aeaea400dc117]::tests::format_file::<rust_format[fa6aeaea400dc117]::RustFmt>
[INFO] [stdout]   13:     0x5e03a31f3e9a - temp_env[a7936a3b07dc95db]::with_var::<&str, &str, rust_format[fa6aeaea400dc117]::tests::rustfmt_file::{closure#0}>
[INFO] [stdout]   14:     0x5e03a31fc1c1 - <rust_format[fa6aeaea400dc117]::tests::rustfmt_file::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x5e03a31fe4eb - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   16:     0x5e03a320b6c5 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   17:     0x5e03a3204fb4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x5e03a320e752 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x5e03a327b71f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x7dcbf129fdfa - <unknown>
[INFO] [stdout]   21:     0x7dcbf13333d4 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::rustfmt_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee", kill_on_drop: false }`
[INFO] [stdout] b52738d5996ce089a2511a7f344938346aad6786b4dea5f0621d6793d1c4a6ee
