[INFO] cloning repository https://github.com/cjrzs/mini-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cjrzs/mini-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjrzs%2Fmini-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjrzs%2Fmini-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35d3add8464682b541a6124523b7efa0a634ed04 [INFO] checking cjrzs/mini-redis/35d3add8464682b541a6124523b7efa0a634ed04 against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcjrzs%2Fmini-redis" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cjrzs/mini-redis [INFO] finished tweaking git repo https://github.com/cjrzs/mini-redis [INFO] tweaked toml for git repo https://github.com/cjrzs/mini-redis written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cjrzs/mini-redis on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cjrzs/mini-redis 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tokio.feature [INFO] [stderr] warning: unused manifest key: examplt [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82926bf52468af3ecc72f9b29b9ec17f90ccead7d31ed600e2030acd421a37a2 [INFO] running `Command { std: "docker" "start" "-a" "82926bf52468af3ecc72f9b29b9ec17f90ccead7d31ed600e2030acd421a37a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82926bf52468af3ecc72f9b29b9ec17f90ccead7d31ed600e2030acd421a37a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82926bf52468af3ecc72f9b29b9ec17f90ccead7d31ed600e2030acd421a37a2", kill_on_drop: false }` [INFO] [stdout] 82926bf52468af3ecc72f9b29b9ec17f90ccead7d31ed600e2030acd421a37a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452f62aaf91d22963d9087503dcd928e918b108eeae8655186810b7e34950b15 [INFO] running `Command { std: "docker" "start" "-a" "452f62aaf91d22963d9087503dcd928e918b108eeae8655186810b7e34950b15", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tokio.feature [INFO] [stderr] warning: unused manifest key: examplt [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking mini-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/bin/client.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | let res: Result<(), Box> = client.set(&key, val).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/frame.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/frame.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/bin/client.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | let res: Result<(), Box> = client.set(&key, val).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/frame.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/frame.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-redis` (bin "client" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mini-redis` (bin "client") due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | self.stream.write(b'-').await?; [INFO] [stdout] | ----- ^^^^ expected `&[u8]`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/io/util/async_write_ext.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | fn write<'a>(&'a mut self, src: &'a [u8]) -> Write<'a, Self> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | self.stream.write(b'-').await?; [INFO] [stdout] | ----- ^^^^ expected `&[u8]`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/io/util/async_write_ext.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | fn write<'a>(&'a mut self, src: &'a [u8]) -> Write<'a, Self> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut frame::Connection` in the current scope [INFO] [stdout] --> src/frame.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | self.write_decimal(*val).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut frame::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut frame::Connection` in the current scope [INFO] [stdout] --> src/frame.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | self.write_decimal(*val).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut frame::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut frame::Connection` in the current scope [INFO] [stdout] --> src/frame.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | self.write_decimal(len as u64).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut frame::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_decimal` found for mutable reference `&mut frame::Connection` in the current scope [INFO] [stdout] --> src/frame.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | self.write_decimal(len as u64).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut frame::Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Corsor` [INFO] [stdout] --> src/frame.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf = Corsor::new(&self.buffer[..]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Corsor` [INFO] [stdout] | help: a struct with a similar name exists: `Cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(_) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | let len = buf.position() as usize; [INFO] [stdout] 37 | | buf.set_position(0); [INFO] [stdout] ... | [INFO] [stdout] 41 | | self.buffer.advance(len); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____________^ expected `Result, Box<...>>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Corsor` [INFO] [stdout] --> src/frame.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf = Corsor::new(&self.buffer[..]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Corsor` [INFO] [stdout] | help: a struct with a similar name exists: `Cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(_) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | let len = buf.position() as usize; [INFO] [stdout] 37 | | buf.set_position(0); [INFO] [stdout] ... | [INFO] [stdout] 41 | | self.buffer.advance(len); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____________^ expected `Result, Box<...>>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-redis` (bin "mini-redis" test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `mini-redis` (bin "mini-redis") due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "452f62aaf91d22963d9087503dcd928e918b108eeae8655186810b7e34950b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452f62aaf91d22963d9087503dcd928e918b108eeae8655186810b7e34950b15", kill_on_drop: false }` [INFO] [stdout] 452f62aaf91d22963d9087503dcd928e918b108eeae8655186810b7e34950b15