[INFO] fetching crate rust-nntp 0.0.1...
[INFO] testing rust-nntp-0.0.1 against 1.91.0 for beta-1.92-2
[INFO] extracting crate rust-nntp 0.0.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate rust-nntp 0.0.1
[INFO] finished tweaking crates.io crate rust-nntp 0.0.1
[INFO] tweaked toml for crates.io crate rust-nntp 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-nntp 0.0.1 on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ff1a01c4eb7a4bf41fbf2447c4612de262303290f2d25ade44b52957fd6e78f
[INFO] running `Command { std: "docker" "start" "-a" "0ff1a01c4eb7a4bf41fbf2447c4612de262303290f2d25ade44b52957fd6e78f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ff1a01c4eb7a4bf41fbf2447c4612de262303290f2d25ade44b52957fd6e78f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ff1a01c4eb7a4bf41fbf2447c4612de262303290f2d25ade44b52957fd6e78f", kill_on_drop: false }`
[INFO] [stdout] 0ff1a01c4eb7a4bf41fbf2447c4612de262303290f2d25ade44b52957fd6e78f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9901be7d0e18cfa83464971176fe1d57e93ac17d0e0a05c81043397b53273aed
[INFO] running `Command { std: "docker" "start" "-a" "9901be7d0e18cfa83464971176fe1d57e93ac17d0e0a05c81043397b53273aed", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rust-nntp v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::TcpStream`, `std::io::IoError`
[INFO] [stdout]  --> src/nntp.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{IoResult, TcpStream, IoError};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^^  ^^^^^^^ no `IoError` in `io`
[INFO] [stdout]   |               |         |
[INFO] [stdout]   |               |         no `TcpStream` in `io`
[INFO] [stdout]   |               no `IoResult` in `io`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::net::TcpStream
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 - use std::io::{IoResult, TcpStream, IoError};
[INFO] [stdout] 5 + use std::io::{Result, TcpStream, IoError};
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 - use std::io::{IoResult, TcpStream, IoError};
[INFO] [stdout] 5 + use std::io::{IoResult, TcpStream, Error};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoErrorKind`
[INFO] [stdout]  --> src/nntp.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::IoErrorKind::OtherIoError;
[INFO] [stdout]   |              ^^^^^^^^^^^ could not find `IoErrorKind` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:43:54
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn article_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                         ^^^
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         not found in this scope
[INFO] [stdout]    |                                                         help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:69:51
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn body_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                      ^^^
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      not found in this scope
[INFO] [stdout]    |                                                      help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn head_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      not found in this scope
[INFO] [stdout]     |                                                      help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:278:51
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn stat_by_number(&mut self, article_number: int) -> Result<String, String> {
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      not found in this scope
[INFO] [stdout]     |                                                      help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                not found in this scope
[INFO] [stdout]     |                                                help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:61
[INFO] [stdout]     |
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                                ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]     |
[INFO] [stdout] 307 -     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout] 307 +     fn read_response(&mut self, expected_code: int) -> Result<(i32, String), String> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl<int> NNTPStream {
[INFO] [stdout]     |     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:16
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   not found in this scope
[INFO] [stdout]     |                   help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/nntp.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:21:59
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:34:48
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.retrieve_article(format!("ARTICLE\r\n").as_slice())
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:39:63
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.retrieve_article(format!("ARTICLE {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                                     ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:44:67
[INFO] [stdout]    |
[INFO] [stdout] 44 |         self.retrieve_article(format!("ARTICLE {}\r\n", article_number).as_slice())
[INFO] [stdout]    |                                                                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.stream.write_str(article_command.as_slice());
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         self.retrieve_body(format!("BODY\r\n").as_slice())
[INFO] [stdout]    |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:65:57
[INFO] [stdout]    |
[INFO] [stdout] 65 |         self.retrieve_body(format!("BODY {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:70:61
[INFO] [stdout]    |
[INFO] [stdout] 70 |         self.retrieve_body(format!("BODY {}\r\n", article_number).as_slice())
[INFO] [stdout]    |                                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.stream.write_str(body_command.as_slice());
[INFO] [stdout]    |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |         self.stream.write_str(capabilities_command.as_slice());
[INFO] [stdout]    |                                                    ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:102:38
[INFO] [stdout]     |
[INFO] [stdout] 102 |         self.stream.write_str(date_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.retrieve_head(format!("HEAD\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:117:57
[INFO] [stdout]     |
[INFO] [stdout] 117 |         self.retrieve_head(format!("HEAD {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:122:61
[INFO] [stdout]     |
[INFO] [stdout] 122 |         self.retrieve_head(format!("HEAD {}\r\n", article_number).as_slice())
[INFO] [stdout]     |                                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:126:38
[INFO] [stdout]     |
[INFO] [stdout] 126 |         self.stream.write_str(head_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:140:38
[INFO] [stdout]     |
[INFO] [stdout] 140 |         self.stream.write_str(last_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 |         self.stream.write_str(list_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.stream.write_str(group_command.as_slice());
[INFO] [stdout]     |                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:178:38
[INFO] [stdout]     |
[INFO] [stdout] 178 |         self.stream.write_str(help_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:191:38
[INFO] [stdout]     |
[INFO] [stdout] 191 |         self.stream.write_str(quit_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:206:43
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.stream.write_str(newgroups_command.as_slice());
[INFO] [stdout]     |                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:223:41
[INFO] [stdout]     |
[INFO] [stdout] 223 |         self.stream.write_str(newnews_command.as_slice());
[INFO] [stdout]     |                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |         self.stream.write_str(next_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:252:38
[INFO] [stdout]     |
[INFO] [stdout] 252 |         self.stream.write_str(post_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:269:42
[INFO] [stdout]     |
[INFO] [stdout] 269 |         self.retrieve_stat(format!("STAT\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:274:57
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.retrieve_stat(format!("STAT {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:279:61
[INFO] [stdout]     |
[INFO] [stdout] 279 |         self.retrieve_stat(format!("STAT {}\r\n", article_number).as_slice())
[INFO] [stdout]     |                                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |         self.stream.write_str(stat_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:298:32
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let message_string = String::from_str(message);
[INFO] [stdout]     |                                      ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]    --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/string.rs:444:5
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 298 -         let message_string = String::from_str(message);
[INFO] [stdout] 298 +         let message_string = String::from(message);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:325:35
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let trimmed_response = response.as_slice().trim_chars(chars_to_trim);
[INFO] [stdout]     |                                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:22
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:337:24
[INFO] [stdout]     |
[INFO] [stdout] 337 |         Ok((code, String::from_str(message)))
[INFO] [stdout]     |                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]    --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/string.rs:444:5
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 337 -         Ok((code, String::from_str(message)))
[INFO] [stdout] 337 +         Ok((code, String::from(message)))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nntp` (lib) due to 41 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "9901be7d0e18cfa83464971176fe1d57e93ac17d0e0a05c81043397b53273aed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9901be7d0e18cfa83464971176fe1d57e93ac17d0e0a05c81043397b53273aed", kill_on_drop: false }`
[INFO] [stdout] 9901be7d0e18cfa83464971176fe1d57e93ac17d0e0a05c81043397b53273aed
