[INFO] cloning repository https://github.com/gausk/ms-rust-labs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gausk/ms-rust-labs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgausk%2Fms-rust-labs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgausk%2Fms-rust-labs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9492b7676b2ec16549a778b844e950f8643e0a02
[INFO] checking gausk/ms-rust-labs/9492b7676b2ec16549a778b844e950f8643e0a02 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgausk%2Fms-rust-labs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gausk/ms-rust-labs
[INFO] finished tweaking git repo https://github.com/gausk/ms-rust-labs
[INFO] tweaked toml for git repo https://github.com/gausk/ms-rust-labs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gausk/ms-rust-labs on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gausk/ms-rust-labs 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trait-variant v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d63daa0338adc4bb5d06869176e0c6cedd045b46fe9bc8e4882f21c67050a3f
[INFO] running `Command { std: "docker" "start" "-a" "2d63daa0338adc4bb5d06869176e0c6cedd045b46fe9bc8e4882f21c67050a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d63daa0338adc4bb5d06869176e0c6cedd045b46fe9bc8e4882f21c67050a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d63daa0338adc4bb5d06869176e0c6cedd045b46fe9bc8e4882f21c67050a3f", kill_on_drop: false }`
[INFO] [stdout] 2d63daa0338adc4bb5d06869176e0c6cedd045b46fe9bc8e4882f21c67050a3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d92118125ad346081d5426294f03f2c32b8c1a1eb6f47d4f7893ae06a7ff7bb3
[INFO] running `Command { std: "docker" "start" "-a" "d92118125ad346081d5426294f03f2c32b8c1a1eb6f47d4f7893ae06a7ff7bb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking async-chat-server v0.1.0 (/opt/rustwide/workdir/async-chat-server)
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling trait-variant v0.1.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tokio v1.51.1
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking async-rust v0.1.0 (/opt/rustwide/workdir/async-rust)
[INFO] [stdout] warning: unused import: `futures::join`
[INFO] [stdout]  --> async-rust/examples/chap7.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures::join;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> async-rust/examples/chap5.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]  --> async-rust/examples/chap5.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::{Context, Poll};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> async-rust/examples/ex1.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     mut conn: TcpStream,
[INFO] [stdout]    |     ----^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]  --> async-rust/examples/chap5.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn http_get(url: &str) -> String {
[INFO] [stdout]   |                   ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_get` is never used
[INFO] [stdout]  --> async-rust/examples/chap5.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn http_get(url: &str) -> String {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpGetFuture` is never constructed
[INFO] [stdout]  --> async-rust/examples/chap5.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct HttpGetFuture;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_two_pages` is never used
[INFO] [stdout]   --> async-rust/examples/chap5.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn fetch_two_pages() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FetchTwoPageStateMachine` is never used
[INFO] [stdout]   --> async-rust/examples/chap5.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum FetchTwoPageStateMachine {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutable`
[INFO] [stdout]   --> async-rust/examples/chap4.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mutable: &mut String = Pin::into_inner(pinned); // Only if String: Unpin
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutable`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::poll_fn`
[INFO] [stdout]  --> async-rust/examples/chap3.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::future::poll_fn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DataStoreNew` is never used
[INFO] [stdout]    --> async-rust/examples/chap10.rs:110:7
[INFO] [stdout]     |
[INFO] [stdout] 110 | trait DataStoreNew {
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SendDataStoreNew` is never used
[INFO] [stdout]    --> async-rust/examples/chap10.rs:109:23
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[trait_variant::make(SendDataStoreNew: Send + Sync)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_lookup` is never used
[INFO] [stdout]    --> async-rust/examples/chap10.rs:115:10
[INFO] [stdout]     |
[INFO] [stdout] 115 | async fn spawn_lookup<S>(store: Arc<S>)
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retry` is never used
[INFO] [stdout]    --> async-rust/examples/chap10.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | async fn retry<F>(max: usize, f: F) -> Result<String, Error>
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_with_limit` is never used
[INFO] [stdout]   --> async-rust/examples/chap8.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | async fn run_with_limit<F, Fut, T>(tasks: Vec<F>, limit: usize) -> Vec<T>
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RetryFuture` is never constructed
[INFO] [stdout]    --> async-rust/examples/chap6.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 181 | struct RetryFuture<F, Fut, T, E>
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> async-rust/examples/chap6.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | / impl<F, Fut, T, E> RetryFuture<F, Fut, T, E>
[INFO] [stdout] 193 | | where
[INFO] [stdout] 194 | |     F: Fn() -> Fut,
[INFO] [stdout] 195 | |     Fut: Future<Output = Result<T, E>> + Unpin,
[INFO] [stdout]     | |_______________________________________________- associated function in this implementation
[INFO] [stdout] 196 |   {
[INFO] [stdout] 197 |       pub fn new(max_try: usize, factory: F) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]   --> async-rust/examples/chap12.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let conn = self.connection.take();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DbConnection` is never constructed
[INFO] [stdout]   --> async-rust/examples/chap12.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct DbConnection {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unfair_to_slow` is never used
[INFO] [stdout]   --> async-rust/examples/chap12.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 48 | async fn unfair_to_slow(mut fast: Receiver<String>, mut slow: Receiver<String>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `priortize_slow_when_ready` is never used
[INFO] [stdout]   --> async-rust/examples/chap12.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 | async fn priortize_slow_when_ready(mut fast: Receiver<String>, mut slow: Receiver<String>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_url` is never used
[INFO] [stdout]   --> async-rust/examples/chap12.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | async fn fetch_url(url: &str) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sequential` is never used
[INFO] [stdout]   --> async-rust/examples/chap12.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 | async fn sequential() {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concurrent` is never used
[INFO] [stdout]   --> async-rust/examples/chap12.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | async fn concurrent() {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_users` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn get_users() -> impl Stream<Item = Result<TcpStream, std::io::Error>> + 'static {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stats` is never constructed
[INFO] [stdout]    --> async-rust/examples/chap11.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct Stats {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stats_aggregator` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn stats_aggregator<S: Stream<Item = f64>>(stream: S) -> Stats {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `io_examples` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:152:10
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn io_examples() -> tokio::io::Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FramedStream` is never constructed
[INFO] [stdout]    --> async-rust/examples/chap11.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | struct FramedStream<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_frame` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 177 | impl<T: AsyncRead + Unpin> FramedStream<T> {
[INFO] [stdout]     | ------------------------------------------ method in this implementation
[INFO] [stdout] 178 |     async fn read_frame(&mut self) -> tokio::io::Result<Vec<u8>> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_frame` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:187:14
[INFO] [stdout]     |
[INFO] [stdout] 186 | impl<T: AsyncWrite + Unpin> FramedStream<T> {
[INFO] [stdout]     | ------------------------------------------- method in this implementation
[INFO] [stdout] 187 |     async fn write_frame(&mut self, buf: &[u8]) -> tokio::io::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineCounter` is never constructed
[INFO] [stdout]    --> async-rust/examples/chap11.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | struct LineCounter<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `line_count` is never used
[INFO] [stdout]    --> async-rust/examples/chap11.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl<T: AsyncBufRead + Unpin> LineCounter<T> {
[INFO] [stdout]     | -------------------------------------------- method in this implementation
[INFO] [stdout] 200 |     async fn line_count(&mut self) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.21s
[INFO] running `Command { std: "docker" "inspect" "d92118125ad346081d5426294f03f2c32b8c1a1eb6f47d4f7893ae06a7ff7bb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d92118125ad346081d5426294f03f2c32b8c1a1eb6f47d4f7893ae06a7ff7bb3", kill_on_drop: false }`
[INFO] [stdout] d92118125ad346081d5426294f03f2c32b8c1a1eb6f47d4f7893ae06a7ff7bb3
