[INFO] fetching crate cogo-redis 0.1.0... [INFO] testing cogo-redis-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cogo-redis 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cogo-redis 0.1.0 [INFO] finished tweaking crates.io crate cogo-redis 0.1.0 [INFO] tweaked toml for crates.io crate cogo-redis 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cogo-redis 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cogo-redis 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded btoi v0.4.2 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded cogo v0.1.36 [INFO] [stderr] Downloaded simdutf8 v0.1.3 [INFO] [stderr] Downloaded nix v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d25e564486cf419a69605269241cc6c9efbdb1d6aaa9a17e80b434b0a6520c2e [INFO] running `Command { std: "docker" "start" "-a" "d25e564486cf419a69605269241cc6c9efbdb1d6aaa9a17e80b434b0a6520c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d25e564486cf419a69605269241cc6c9efbdb1d6aaa9a17e80b434b0a6520c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25e564486cf419a69605269241cc6c9efbdb1d6aaa9a17e80b434b0a6520c2e", kill_on_drop: false }` [INFO] [stdout] d25e564486cf419a69605269241cc6c9efbdb1d6aaa9a17e80b434b0a6520c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc7d422080bb057d36d655eddcc98115beb6a62d441709616be4ce92fc721a97 [INFO] running `Command { std: "docker" "start" "-a" "fc7d422080bb057d36d655eddcc98115beb6a62d441709616be4ce92fc721a97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling cogo v0.1.36 [INFO] [stderr] Compiling generator v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling btoi v0.4.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.21.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cogo-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/connector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Codec` [INFO] [stdout] --> src/client.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::codec_redis::{Codec, Request, Response}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteString` [INFO] [stdout] --> src/simple.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::bytes::{BufMut, BytesMut, ByteString}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/codec_redis.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut req = cmd.to_request(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | / s.send(match io_clone.send(&data){ [INFO] [stdout] 35 | | Ok(d)=>{ [INFO] [stdout] 36 | | Ok(d) [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [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] 34 | let _ = s.send(match io_clone.send(&data){ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | self.queue.0.send((buf,tx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = self.queue.0.send((buf,tx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simple.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | io.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = io.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.11s [INFO] running `Command { std: "docker" "inspect" "fc7d422080bb057d36d655eddcc98115beb6a62d441709616be4ce92fc721a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7d422080bb057d36d655eddcc98115beb6a62d441709616be4ce92fc721a97", kill_on_drop: false }` [INFO] [stdout] fc7d422080bb057d36d655eddcc98115beb6a62d441709616be4ce92fc721a97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5d7068633b1342b2beafdd2530f28d489c19a26532ab5d17e8588fcb64a1e694 [INFO] running `Command { std: "docker" "start" "-a" "5d7068633b1342b2beafdd2530f28d489c19a26532ab5d17e8588fcb64a1e694", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generator v0.7.0 [INFO] [stderr] Compiling cogo v0.1.36 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cogo-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/connector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Codec` [INFO] [stdout] --> src/client.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::codec_redis::{Codec, Request, Response}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteString` [INFO] [stdout] --> src/simple.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::bytes::{BufMut, BytesMut, ByteString}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/codec_redis.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut req = cmd.to_request(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | / s.send(match io_clone.send(&data){ [INFO] [stdout] 35 | | Ok(d)=>{ [INFO] [stdout] 36 | | Ok(d) [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [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] 34 | let _ = s.send(match io_clone.send(&data){ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | self.queue.0.send((buf,tx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = self.queue.0.send((buf,tx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simple.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | io.flush(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = io.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stdout] error[E0432]: unresolved import `crate::array` [INFO] [stdout] --> src/codec_redis.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | use crate::array; [INFO] [stdout] | ^^^^^^^^^^^^ no `array` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 679 - use crate::array; [INFO] [stdout] 679 + use std::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> src/codec_redis.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | use ntex::codec::{Decoder, Encoder}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ntex` [INFO] [stdout] --> src/codec_redis.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | use ntex::util::{ByteString, Bytes, BytesMut, HashMap}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ntex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ntex`, use `cargo add ntex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::BytesMut`, `crate::BytesVec` [INFO] [stdout] --> src/bytes/buf/buf_mut.rs:975:17 [INFO] [stdout] | [INFO] [stdout] 975 | use crate::{BytesMut, BytesVec}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `BytesVec` in the root [INFO] [stdout] | | [INFO] [stdout] | no `BytesMut` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::bytes::BytesMut [INFO] [stdout] bytes::BytesMut [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::bytes::BytesVec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/connector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Codec` [INFO] [stdout] --> src/client.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::codec_redis::{Codec, Request, Response}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteString` [INFO] [stdout] --> src/simple.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::bytes::{BufMut, BytesMut, ByteString}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/bytes/string.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | let s: ByteString = serde_json::from_str(r#""nice bytes""#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/bytes/string.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | let s = serde_json::to_string(&ByteString::from_static("nice bytes")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/codec_redis.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut req = cmd.to_request(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cogo-redis` (lib test) due to 6 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d7068633b1342b2beafdd2530f28d489c19a26532ab5d17e8588fcb64a1e694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7068633b1342b2beafdd2530f28d489c19a26532ab5d17e8588fcb64a1e694", kill_on_drop: false }` [INFO] [stdout] 5d7068633b1342b2beafdd2530f28d489c19a26532ab5d17e8588fcb64a1e694