[INFO] cloning repository https://github.com/tmacychen/rust-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmacychen/rust-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmacychen%2Frust-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmacychen%2Frust-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e9a29ac3282802972d11244f8d257bf8aab7972 [INFO] testing tmacychen/rust-redis against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmacychen%2Frust-redis" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tmacychen/rust-redis [INFO] finished tweaking git repo https://github.com/tmacychen/rust-redis [INFO] tweaked toml for git repo https://github.com/tmacychen/rust-redis written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmacychen/rust-redis on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tmacychen/rust-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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 793f191e829aa5fba83b44777ed7b130086df670fce12968662df6ef7484fd27 [INFO] running `Command { std: "docker" "start" "-a" "793f191e829aa5fba83b44777ed7b130086df670fce12968662df6ef7484fd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "793f191e829aa5fba83b44777ed7b130086df670fce12968662df6ef7484fd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793f191e829aa5fba83b44777ed7b130086df670fce12968662df6ef7484fd27", kill_on_drop: false }` [INFO] [stdout] 793f191e829aa5fba83b44777ed7b130086df670fce12968662df6ef7484fd27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb79acbf374af0f296896e0292763daf7e5401d8838650bdde4c6d376617d9b [INFO] running `Command { std: "docker" "start" "-a" "fbb79acbf374af0f296896e0292763daf7e5401d8838650bdde4c6d376617d9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling resp-protocol v0.0.10 (https://github.com/tmacychen/rust-resp-protocol.git?branch=main#13fdf2a7) [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling byte v0.2.7 [INFO] [stderr] Compiling crc64fast v1.1.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tklog v0.2.9 [INFO] [stderr] Compiling codecrafters-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [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::sync::Arc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use tklog::{error, info, Format, LEVEL, LOG}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncWriteExt` and `Interest` [INFO] [stdout] --> src/commands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | io::{AsyncWriteExt, Interest}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:181:65 [INFO] [stdout] | [INFO] [stdout] 181 | commands::from_cmd_to_exec(l.to_vec(), arg_len, stream_arc.clone(), self).await?; [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^^^^^ expected `Arc>`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/commands.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | pub async fn from_cmd_to_exec( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | stream_arc: Arc>, [INFO] [stdout] | --------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/db.rs:231:45 [INFO] [stdout] | [INFO] [stdout] 231 | use tokio::io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codecrafters-redis` (bin "codecrafters-redis") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbb79acbf374af0f296896e0292763daf7e5401d8838650bdde4c6d376617d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb79acbf374af0f296896e0292763daf7e5401d8838650bdde4c6d376617d9b", kill_on_drop: false }` [INFO] [stdout] fbb79acbf374af0f296896e0292763daf7e5401d8838650bdde4c6d376617d9b