[INFO] cloning repository https://github.com/ki052020/framing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ki052020/framing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fki052020%2Fframing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fki052020%2Fframing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca1d508827966c5df6c42da7fbafcd133fcb14b1 [INFO] checking ki052020/framing against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fki052020%2Fframing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ki052020/framing on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ki052020/framing [INFO] finished tweaking git repo https://github.com/ki052020/framing [INFO] tweaked toml for git repo https://github.com/ki052020/framing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ki052020/framing 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] [stderr] Downloaded tokio v1.44.1 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e52b92a9404d16a60cf90604b912753650934b2af226708eff3d065a0ae06092 [INFO] running `Command { std: "docker" "start" "-a" "e52b92a9404d16a60cf90604b912753650934b2af226708eff3d065a0ae06092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e52b92a9404d16a60cf90604b912753650934b2af226708eff3d065a0ae06092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52b92a9404d16a60cf90604b912753650934b2af226708eff3d065a0ae06092", kill_on_drop: false }` [INFO] [stdout] e52b92a9404d16a60cf90604b912753650934b2af226708eff3d065a0ae06092 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35dc22460eb370c304106319c9116dbb8218f685b6cf8397b9f09ab08f39fafc [INFO] running `Command { std: "docker" "start" "-a" "35dc22460eb370c304106319c9116dbb8218f685b6cf8397b9f09ab08f39fafc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking framing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/frame.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/connection.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Frame::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/frame.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Cursor, Read}; [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: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_frame`, `parse_frame`, `write_frame`, `write_value`, and `write_decimal` are never used [INFO] [stdout] --> src/connection.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(socket: TcpStream) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn read_frame(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn parse_frame(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn write_frame(&mut self, frame: &Frame) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | async fn write_value(&mut self, frame: &Frame) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | async fn write_decimal(&mut self, val: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frame` is never used [INFO] [stdout] --> src/frame.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Incomplete` is never constructed [INFO] [stdout] --> src/frame.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 21 | Incomplete, // not enough data [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/connection.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Frame::Array(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `array`, `check`, and `parse` are never used [INFO] [stdout] --> src/frame.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 26 | pub(crate) fn array() -> Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn check(src: &mut Cursor<&[u8]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn parse(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u8` is never used [INFO] [stdout] --> src/frame.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_u8(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_line` is never used [INFO] [stdout] --> src/frame.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_line<'a>(src: &mut Cursor<&'a [u8]>) -> Result<&'a[u8], Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_decimal` is never used [INFO] [stdout] --> src/frame.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_decimal(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peek_u8` is never used [INFO] [stdout] --> src/frame.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn peek_u8(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> src/frame.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn skip(src: &mut Cursor<&[u8]>, n: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [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: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_frame`, `parse_frame`, `write_frame`, `write_value`, and `write_decimal` are never used [INFO] [stdout] --> src/connection.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(socket: TcpStream) -> Connection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn read_frame(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn parse_frame(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn write_frame(&mut self, frame: &Frame) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | async fn write_value(&mut self, frame: &Frame) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | async fn write_decimal(&mut self, val: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frame` is never used [INFO] [stdout] --> src/frame.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Incomplete` is never constructed [INFO] [stdout] --> src/frame.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 21 | Incomplete, // not enough data [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `array`, `check`, and `parse` are never used [INFO] [stdout] --> src/frame.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | impl Frame { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 26 | pub(crate) fn array() -> Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn check(src: &mut Cursor<&[u8]>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn parse(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u8` is never used [INFO] [stdout] --> src/frame.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_u8(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_line` is never used [INFO] [stdout] --> src/frame.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_line<'a>(src: &mut Cursor<&'a [u8]>) -> Result<&'a[u8], Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_decimal` is never used [INFO] [stdout] --> src/frame.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_decimal(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peek_u8` is never used [INFO] [stdout] --> src/frame.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn peek_u8(src: &mut Cursor<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skip` is never used [INFO] [stdout] --> src/frame.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn skip(src: &mut Cursor<&[u8]>, n: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "35dc22460eb370c304106319c9116dbb8218f685b6cf8397b9f09ab08f39fafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35dc22460eb370c304106319c9116dbb8218f685b6cf8397b9f09ab08f39fafc", kill_on_drop: false }` [INFO] [stdout] 35dc22460eb370c304106319c9116dbb8218f685b6cf8397b9f09ab08f39fafc