error[E0308]: mismatched types
--> /Users/bc/.cargo/registry/src/github.com-1ecc6299db9ec823/phroxy-0.1.7/src/server.rs:134:51
|
134 | .and_then(|res| Ok(filter_gopher_response(&res.1).to_string()))
| ^^^^^^ expected `str`, found struct `Vec`
|
= note: expected reference `&str`
found reference `&Vec<u8>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: could not compile `phroxy`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `phroxy v0.1.7`, intermediate artifacts can be found at `/var/folders/n4/430fltqs7lj08j594qtrzqq80000gn/T/cargo-installdInuKF`
Caused by:
build failed
Hey, got a build error with Rustc 1.53.0.