[INFO] cloning repository https://github.com/EclesioMeloJunior/rust-tokio-tutorials [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EclesioMeloJunior/rust-tokio-tutorials" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Frust-tokio-tutorials", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Frust-tokio-tutorials'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f27f99e925a533d41cd7c01e64a05926c0d51227 [INFO] checking EclesioMeloJunior/rust-tokio-tutorials/f27f99e925a533d41cd7c01e64a05926c0d51227 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEclesioMeloJunior%2Frust-tokio-tutorials" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EclesioMeloJunior/rust-tokio-tutorials on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EclesioMeloJunior/rust-tokio-tutorials [INFO] finished tweaking git repo https://github.com/EclesioMeloJunior/rust-tokio-tutorials [INFO] tweaked toml for git repo https://github.com/EclesioMeloJunior/rust-tokio-tutorials written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EclesioMeloJunior/rust-tokio-tutorials 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.3.6 [INFO] [stderr] Downloaded mini-redis v0.4.1 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef9257db828167f9e1650bfa32555753160a44ee45fca942bdb1c36ef1ad7328 [INFO] running `Command { std: "docker" "start" "-a" "ef9257db828167f9e1650bfa32555753160a44ee45fca942bdb1c36ef1ad7328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef9257db828167f9e1650bfa32555753160a44ee45fca942bdb1c36ef1ad7328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9257db828167f9e1650bfa32555753160a44ee45fca942bdb1c36ef1ad7328", kill_on_drop: false }` [INFO] [stdout] ef9257db828167f9e1650bfa32555753160a44ee45fca942bdb1c36ef1ad7328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13cb3d86e1db254d0fc82284b7cfb318b10231d2bddc4ef3c28632ed71158ef2 [INFO] running `Command { std: "docker" "start" "-a" "13cb3d86e1db254d0fc82284b7cfb318b10231d2bddc4ef3c28632ed71158ef2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking iana-time-zone v0.1.48 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking little-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `frame` [INFO] [stdout] --> src/bin/client.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mini_redis::{client, frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame` [INFO] [stdout] --> src/bin/client.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mini_redis::{client, frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mini_tokio.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mini_tokio.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/bin/client.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | 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`, `parse_frame`, `read_frame`, `write_frame`, and `write_decimal` are never used [INFO] [stdout] --> src/bin/client.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(stream: TcpStream) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn parse_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn read_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | async fn write_decimal(&mut self, val: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/bin/client.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | 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`, `parse_frame`, `read_frame`, `write_frame`, and `write_decimal` are never used [INFO] [stdout] --> src/bin/client.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(stream: TcpStream) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn parse_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn read_frame(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn write_frame(&mut self, frame: &Frame) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | async fn write_decimal(&mut self, val: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.95s [INFO] running `Command { std: "docker" "inspect" "13cb3d86e1db254d0fc82284b7cfb318b10231d2bddc4ef3c28632ed71158ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13cb3d86e1db254d0fc82284b7cfb318b10231d2bddc4ef3c28632ed71158ef2", kill_on_drop: false }` [INFO] [stdout] 13cb3d86e1db254d0fc82284b7cfb318b10231d2bddc4ef3c28632ed71158ef2