[INFO] cloning repository https://github.com/gabrieldavid98/rust-tokio-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabrieldavid98/rust-tokio-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieldavid98%2Frust-tokio-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieldavid98%2Frust-tokio-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a20fe3ac8816d3820c3d775297fceee15741c29
[INFO] testing gabrieldavid98/rust-tokio-tutorial against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieldavid98%2Frust-tokio-tutorial" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gabrieldavid98/rust-tokio-tutorial on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gabrieldavid98/rust-tokio-tutorial
[INFO] finished tweaking git repo https://github.com/gabrieldavid98/rust-tokio-tutorial
[INFO] tweaked toml for git repo https://github.com/gabrieldavid98/rust-tokio-tutorial written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/gabrieldavid98/rust-tokio-tutorial 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3155004e0f36befbe61058d7b5ca9b38ce3426e153e26a809a3a2bba39a59596
[INFO] running `Command { std: "docker" "start" "-a" "3155004e0f36befbe61058d7b5ca9b38ce3426e153e26a809a3a2bba39a59596", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3155004e0f36befbe61058d7b5ca9b38ce3426e153e26a809a3a2bba39a59596", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3155004e0f36befbe61058d7b5ca9b38ce3426e153e26a809a3a2bba39a59596", kill_on_drop: false }`
[INFO] [stdout] 3155004e0f36befbe61058d7b5ca9b38ce3426e153e26a809a3a2bba39a59596
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00fe6137cf2b4c158a74cfc5393f67db2e5ceaf4b18c0043393a3e3777ef03fc
[INFO] running `Command { std: "docker" "start" "-a" "00fe6137cf2b4c158a74cfc5393f67db2e5ceaf4b18c0043393a3e3777ef03fc", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.66
[INFO] [stderr] Compiling unicode-ident v1.0.11
[INFO] [stderr] Compiling autocfg v1.1.0
[INFO] [stderr] Compiling libc v0.2.147
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling version_check v0.9.4
[INFO] [stderr] Compiling once_cell v1.18.0
[INFO] [stderr] Compiling pin-project-lite v0.2.10
[INFO] [stderr] Compiling parking_lot_core v0.9.8
[INFO] [stderr] Compiling serde v1.0.175
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling smallvec v1.11.0
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling scopeguard v1.2.0
[INFO] [stderr] Compiling futures-core v0.3.28
[INFO] [stderr] Compiling regex-syntax v0.6.29
[INFO] [stderr] Compiling ansi_term v0.12.1
[INFO] [stderr] Compiling regex-syntax v0.7.4
[INFO] [stderr] Compiling unicode-width v0.1.10
[INFO] [stderr] Compiling unicode-segmentation v1.10.1
[INFO] [stderr] Compiling tracing-core v0.1.31
[INFO] [stderr] Compiling serde_json v1.0.103
[INFO] [stderr] Compiling textwrap v0.11.0
[INFO] [stderr] Compiling iana-time-zone v0.1.57
[INFO] [stderr] Compiling vec_map v0.8.2
[INFO] [stderr] Compiling lock_api v0.4.10
[INFO] [stderr] Compiling num-traits v0.2.16
[INFO] [stderr] Compiling tokio v1.29.1
[INFO] [stderr] Compiling heck v0.3.3
[INFO] [stderr] Compiling bytes v1.4.0
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling itoa v1.0.9
[INFO] [stderr] Compiling strsim v0.8.0
[INFO] [stderr] Compiling log v0.4.19
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling ryu v1.0.15
[INFO] [stderr] Compiling thread_local v1.1.7
[INFO] [stderr] Compiling sharded-slab v0.1.4
[INFO] [stderr] Compiling quote v1.0.32
[INFO] [stderr] Compiling tracing-log v0.1.3
[INFO] [stderr] Compiling syn v2.0.27
[INFO] [stderr] Compiling signal-hook-registry v1.4.1
[INFO] [stderr] Compiling num_cpus v1.16.0
[INFO] [stderr] Compiling mio v0.8.8
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling socket2 v0.4.9
[INFO] [stderr] Compiling clap v2.34.0
[INFO] [stderr] Compiling parking_lot v0.12.1
[INFO] [stderr] Compiling regex-automata v0.3.3
[INFO] [stderr] Compiling regex-automata v0.1.10
[INFO] [stderr] Compiling chrono v0.4.26
[INFO] [stderr] Compiling atoi v0.3.3
[INFO] [stderr] Compiling matchers v0.0.1
[INFO] [stderr] Compiling regex v1.9.1
[INFO] [stderr] Compiling tracing-serde v0.1.3
[INFO] [stderr] Compiling structopt-derive v0.4.18
[INFO] [stderr] Compiling tracing-attributes v0.1.26
[INFO] [stderr] Compiling tokio-macros v2.1.0
[INFO] [stderr] Compiling pin-project-internal v1.1.2
[INFO] [stderr] Compiling async-stream-impl v0.3.5
[INFO] [stderr] Compiling async-stream v0.3.5
[INFO] [stderr] Compiling structopt v0.3.26
[INFO] [stderr] Compiling tracing v0.1.37
[INFO] [stderr] Compiling tracing-subscriber v0.2.25
[INFO] [stderr] Compiling pin-project v1.1.2
[INFO] [stderr] Compiling tracing-futures v0.2.5
[INFO] [stderr] Compiling tokio-stream v0.1.14
[INFO] [stderr] Compiling mini-redis v0.4.1
[INFO] [stderr] Compiling my-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `collections::btree_map::Values`
[INFO] [stdout] --> src/connection.rs:1:11
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::{collections::btree_map::Values, io::Cursor};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout] --> src/connection.rs:10:12
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct Connection {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `read_frame`, `write_frame`, and `parse_frame` are never used
[INFO] [stdout] --> src/connection.rs:16:12
[INFO] [stdout] |
[INFO] [stdout] 15 | impl Connection {
[INFO] [stdout] | --------------- associated items in this implementation
[INFO] [stdout] 16 | pub fn new(stream: TcpStream) -> Connection {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 | pub async fn read_frame(&mut self) -> Result