[INFO] cloning repository https://github.com/borneygit/pidcat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/borneygit/pidcat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborneygit%2Fpidcat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborneygit%2Fpidcat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8aa9b67cff4200471ff5cd2d07adc7b2d26055ab
[INFO] testing borneygit/pidcat against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fborneygit%2Fpidcat" "/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/borneygit/pidcat
[INFO] finished tweaking git repo https://github.com/borneygit/pidcat
[INFO] tweaked toml for git repo https://github.com/borneygit/pidcat written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/borneygit/pidcat on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/borneygit/pidcat 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_lex v0.4.1
[INFO] [stderr]   Downloaded colored v2.0.0
[INFO] [stderr]   Downloaded anstyle-parse v0.2.0
[INFO] [stderr]   Downloaded clap v4.2.7
[INFO] [stderr]   Downloaded clap_builder v4.2.7
[INFO] [stderr]   Downloaded regex-syntax v0.7.1
[INFO] [stderr]   Downloaded regex v1.8.1
[INFO] [stderr]   Downloaded tokio v1.28.1
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447
[INFO] running `Command { std: "docker" "start" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", 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" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", 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" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling proc-macro2 v1.0.58
[INFO] [stderr]    Compiling quote v1.0.27
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling rustix v0.37.19
[INFO] [stderr]    Compiling linux-raw-sys v0.3.7
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling anstyle v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling tokio v1.28.1
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling anstyle-parse v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling clap_lex v0.4.1
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling syn v2.0.16
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling dashmap v5.4.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling clap_builder v4.2.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling clap v4.2.7
[INFO] [stderr]    Compiling pidcat v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.93s
[INFO] running `Command { std: "docker" "inspect" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", 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" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pidcat v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Sink`
[INFO] [stdout]  --> examples/logcat.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::{Sink, Stream, StreamExt};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `buffer` is never read
[INFO] [stdout]   --> examples/logcat.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let mut buffer = String::new();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 77 |                     buffer = spl[3].to_string();
[INFO] [stdout]    |                     ------ `buffer` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> examples/logcat.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) struct Log {
[INFO] [stdout]    |                   --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub buffer: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Log` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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 2.05s
[INFO] running `Command { std: "docker" "inspect" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", 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" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Sink`
[INFO] [stderr]  --> examples/logcat.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use futures::{Sink, Stream, StreamExt};
[INFO] [stderr]   |               ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `buffer` is never read
[INFO] [stderr]   --> examples/logcat.rs:67:30
[INFO] [stderr]    |
[INFO] [stderr] 67 |             let mut buffer = String::new();
[INFO] [stderr]    |                              ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 77 |                     buffer = spl[3].to_string();
[INFO] [stderr]    |                     ------ `buffer` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `buffer` is never read
[INFO] [stderr]   --> examples/logcat.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub(crate) struct Log {
[INFO] [stderr]    |                   --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub buffer: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Log` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `pidcat` (example "logcat") generated 3 warnings (run `cargo fix --example "logcat" -p pidcat` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pidcat-4677c8d09a8d5d2c)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pidcat-58e7dbec540299c0)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    Doc-tests pidcat
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/log.rs - log::LogStream (line 37) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/log.rs - log::LogStream (line 37) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/log.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_log_rs_37_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 42 | let mut logs = source.source().await;
[INFO] [stdout]    |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/log.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_log_rs_37_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 43 | while let Some(r) = logs.next().await {
[INFO] [stdout]    |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/log.rs - log::LogStream (line 37)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447", kill_on_drop: false }`
[INFO] [stdout] bb7c855e1d8e22f58188974b8bbce0eee5d932f9a3dad7337808872c4cdcb447
