[INFO] fetching crate cli 0.0.1... [INFO] checking cli-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cli 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cli 0.0.1 [INFO] finished tweaking crates.io crate cli 0.0.1 [INFO] tweaked toml for crates.io crate cli 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cli 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ac9fed72d8741fba6b43a36c1ed955040d3f7d54a47664cc5a338dc35252cd [INFO] running `Command { std: "docker" "start" "-a" "a7ac9fed72d8741fba6b43a36c1ed955040d3f7d54a47664cc5a338dc35252cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ac9fed72d8741fba6b43a36c1ed955040d3f7d54a47664cc5a338dc35252cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ac9fed72d8741fba6b43a36c1ed955040d3f7d54a47664cc5a338dc35252cd", kill_on_drop: false }` [INFO] [stdout] a7ac9fed72d8741fba6b43a36c1ed955040d3f7d54a47664cc5a338dc35252cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfbf250f96e51c298334c469cdd65bbc07a58fe98185233c00c8037e290104cc [INFO] running `Command { std: "docker" "start" "-a" "cfbf250f96e51c298334c469cdd65bbc07a58fe98185233c00c8037e290104cc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/term.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(self.text.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(f.write_str("\x1b[0m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | try!(f.write_str(fg.get_fg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | try!(f.write_str(bg.get_bg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | try!(f.write_str("\x1b[1m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(f.write_str("\x1b[2m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | try!(f.write_str("\x1b[4m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | try!(f.write_str("\x1b[24m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | try!(f.write_str("\x1b[5m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | try!(f.write_str("\x1b[25m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | try!(f.write_str("\x1b[7m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | try!(f.write_str("\x1b[27m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/term.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [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/term.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(self.text.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/term.rs:228:53 [INFO] [stdout] | [INFO] [stdout] 228 | prompt_input = get_prompt_input(prompt_text.as_slice(), hide_input); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [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/term.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | if prompt_input != String::from_str("") { [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - if prompt_input != String::from_str("") { [INFO] [stdout] 229 + if prompt_input != String::from("") { [INFO] [stdout] | [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/term.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | if confirm_input != String::from_str("") { [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - if confirm_input != String::from_str("") { [INFO] [stdout] 242 + if confirm_input != String::from("") { [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/term.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | let prompt_input = get_prompt_input(prompt_text.as_slice(), false).to_ascii_lowercase(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/term.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/term.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(self.text.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(f.write_str("\x1b[0m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | try!(f.write_str(fg.get_fg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | try!(f.write_str(bg.get_bg_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | try!(f.write_str("\x1b[1m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(f.write_str("\x1b[2m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | try!(f.write_str("\x1b[22m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | try!(f.write_str("\x1b[4m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | try!(f.write_str("\x1b[24m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | try!(f.write_str("\x1b[5m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | try!(f.write_str("\x1b[25m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | try!(f.write_str("\x1b[7m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/term.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | try!(f.write_str("\x1b[27m")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/term.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cli` (lib) due to 6 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/term.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(self.text.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/term.rs:228:53 [INFO] [stdout] | [INFO] [stdout] 228 | prompt_input = get_prompt_input(prompt_text.as_slice(), hide_input); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [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/term.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | if prompt_input != String::from_str("") { [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 - if prompt_input != String::from_str("") { [INFO] [stdout] 229 + if prompt_input != String::from("") { [INFO] [stdout] | [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/term.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | if confirm_input != String::from_str("") { [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 5 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 242 - if confirm_input != String::from_str("") { [INFO] [stdout] 242 + if confirm_input != String::from("") { [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/term.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | let prompt_input = get_prompt_input(prompt_text.as_slice(), false).to_ascii_lowercase(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/term.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cli` (lib test) due to 6 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfbf250f96e51c298334c469cdd65bbc07a58fe98185233c00c8037e290104cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfbf250f96e51c298334c469cdd65bbc07a58fe98185233c00c8037e290104cc", kill_on_drop: false }` [INFO] [stdout] cfbf250f96e51c298334c469cdd65bbc07a58fe98185233c00c8037e290104cc