[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#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkocherovk%2Fkredis" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kocherovk/kredis on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850188159c6fb0b86d50f9fde387854d65f45497a79eeb761542651e82f89102 [INFO] running `Command { std: "docker" "start" "-a" "850188159c6fb0b86d50f9fde387854d65f45497a79eeb761542651e82f89102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850188159c6fb0b86d50f9fde387854d65f45497a79eeb761542651e82f89102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850188159c6fb0b86d50f9fde387854d65f45497a79eeb761542651e82f89102", kill_on_drop: false }` [INFO] [stdout] 850188159c6fb0b86d50f9fde387854d65f45497a79eeb761542651e82f89102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c54b7a46f07324c59ca638bdeb802877534e72bf51ceb3da46832395ff54d3b [INFO] running `Command { std: "docker" "start" "-a" "9c54b7a46f07324c59ca638bdeb802877534e72bf51ceb3da46832395ff54d3b", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.3.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[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] 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[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] 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] 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] [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[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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:135:49 [INFO] [stdout] | [INFO] [stdout] 135 | 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:137:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | 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:135:49 [INFO] [stdout] | [INFO] [stdout] 135 | 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:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | assert_eq!(commands.next(),Some(Err(InvalidCommand::WrongNumberOfArgs))); [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[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | assert_eq!(commands.next(),Some(Err(InvalidCommand::WrongNumberOfArgs))); [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:145:49 [INFO] [stdout] | [INFO] [stdout] 145 | 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:153:49 [INFO] [stdout] | [INFO] [stdout] 153 | 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:154:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | assert_eq!(commands.next(),Some(Err(InvalidCommand::WrongNumberOfArgs))); [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[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | assert_eq!(commands.next(),Some(Err(InvalidCommand::WrongNumberOfArgs))); [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[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(commands.next(),Some(Err(InvalidCommand::WrongNumberOfArgs))); [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:153:49 [INFO] [stdout] | [INFO] [stdout] 153 | 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:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | 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:163:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 163 | assert_eq!(commands.next(),Some(Err(InvalidCommand::EmptyCommand))); [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:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | 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:169:49 [INFO] [stdout] | [INFO] [stdout] 169 | 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:171:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 171 | 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[E0599]: no method named `next` found for struct `plaintext::PlainTextReader` in the current scope [INFO] [stdout] --> radis_impl/src/reader/plaintext.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PlainTextReader { [INFO] [stdout] | -------------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 175 | 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:169:49 [INFO] [stdout] | [INFO] [stdout] 169 | 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] Some errors have detailed explanations: E0107, E0277, E0308, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radis_impl` (lib test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "9c54b7a46f07324c59ca638bdeb802877534e72bf51ceb3da46832395ff54d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c54b7a46f07324c59ca638bdeb802877534e72bf51ceb3da46832395ff54d3b", kill_on_drop: false }` [INFO] [stdout] 9c54b7a46f07324c59ca638bdeb802877534e72bf51ceb3da46832395ff54d3b