[INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis/objects: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis/hooks/pre-receive.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/kocherovk/kredis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kocherovk/kredis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 512dd4a30ba0dff371752ad979355cfc811161db [INFO] checking kocherovk/kredis against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kocherovk/kredis [INFO] finished tweaking git repo https://github.com/kocherovk/kredis [INFO] tweaked toml for git repo https://github.com/kocherovk/kredis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kocherovk/kredis on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kocherovk/kredis 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b61dcd1df6896deedf942487f2cce6f42ba12554a5ebdc657ca8ee4c64e761f [INFO] running `Command { std: "docker" "start" "-a" "6b61dcd1df6896deedf942487f2cce6f42ba12554a5ebdc657ca8ee4c64e761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b61dcd1df6896deedf942487f2cce6f42ba12554a5ebdc657ca8ee4c64e761f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b61dcd1df6896deedf942487f2cce6f42ba12554a5ebdc657ca8ee4c64e761f", kill_on_drop: false }` [INFO] [stdout] 6b61dcd1df6896deedf942487f2cce6f42ba12554a5ebdc657ca8ee4c64e761f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f73dc2956d439cd64c38b4a622ed60127d4b7137530a12625e847546e0890b91 [INFO] running `Command { std: "docker" "start" "-a" "f73dc2956d439cd64c38b4a622ed60127d4b7137530a12625e847546e0890b91", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking radis_lib v0.1.0 (/opt/rustwide/workdir/radis_lib) [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking radis_impl v0.1.0 (/opt/rustwide/workdir/radis_impl) [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | reader: BufReader, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | reader: BufReader, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | impl Iterator for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | impl IntoIterator for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | impl CommandReader for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | impl Iterator for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | impl IntoIterator for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | impl CommandReader for PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 generic parameters [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::io::Read + 'static)` cannot be known at compilation time [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: dyn Read) -> PlainTextReader { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::io::Read + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: &dyn Read) -> PlainTextReader { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::io::Read + 'static)` cannot be known at compilation time [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: dyn Read) -> PlainTextReader { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::io::Read + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: &dyn Read) -> PlainTextReader { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `radis_impl` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^ expected `dyn Read`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn std::io::Read + 'static)` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] = help: `&[u8]` implements `Read` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: dyn Read) -> PlainTextReader { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(commands.next(), Some(Ok(Get { key: "key".into() }))); [INFO] [stdout] | ^^^^ method not found in `plaintext::PlainTextReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `next`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::io::Read + 'static)` cannot be known at compilation time [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::io::Read + 'static)` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^ expected `dyn Read`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn std::io::Read + 'static)` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] = help: `&[u8]` implements `Read` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: dyn Read) -> PlainTextReader { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 119 | assert_eq!(commands.next(), None); [INFO] [stdout] | ^^^^ method not found in `plaintext::PlainTextReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `next`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::io::Read + 'static)` cannot be known at compilation time [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::io::Read + 'static)` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^ expected `dyn Read`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected trait object `(dyn std::io::Read + 'static)` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] = help: `&[u8]` implements `Read` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(stream: dyn Read) -> PlainTextReader { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 127 | commands.next(), [INFO] [stdout] | ^^^^ method not found in `plaintext::PlainTextReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `next`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::io::Read + 'static)` cannot be known at compilation time [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | let mut commands = PlainTextReader::new(input.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::io::Read + 'static)` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `radis_impl` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "f73dc2956d439cd64c38b4a622ed60127d4b7137530a12625e847546e0890b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73dc2956d439cd64c38b4a622ed60127d4b7137530a12625e847546e0890b91", kill_on_drop: false }` [INFO] [stdout] f73dc2956d439cd64c38b4a622ed60127d4b7137530a12625e847546e0890b91