[INFO] fetching crate porter2 0.0.1004... [INFO] checking porter2-0.0.1004 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate porter2 0.0.1004 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate porter2 0.0.1004 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate porter2 0.0.1004 [INFO] finished tweaking crates.io crate porter2 0.0.1004 [INFO] tweaked toml for crates.io crate porter2 0.0.1004 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb54a082082f000b0cee7743e49dba0bc3d4be2b2a607432553e3c694c185f1c [INFO] running `Command { std: "docker" "start" "-a" "bb54a082082f000b0cee7743e49dba0bc3d4be2b2a607432553e3c694c185f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb54a082082f000b0cee7743e49dba0bc3d4be2b2a607432553e3c694c185f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb54a082082f000b0cee7743e49dba0bc3d4be2b2a607432553e3c694c185f1c", kill_on_drop: false }` [INFO] [stdout] bb54a082082f000b0cee7743e49dba0bc3d4be2b2a607432553e3c694c185f1c [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff028e2831308cb259f038394ce0c7b290c7aa4f1880c68afd2172d1bf2c6e54 [INFO] running `Command { std: "docker" "start" "-a" "ff028e2831308cb259f038394ce0c7b290c7aa4f1880c68afd2172d1bf2c6e54", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking porter2 v0.0.1004 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/lib.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/lib.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let sses = regex!("sses$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::Ascii` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ascii::Ascii; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Ascii` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 122 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let sses = regex!("sses$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let iedies = regex!("(ied|ies)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | self.stem = regex!("s$").replace(self.get().as_slice(), "").into_ascii(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let iedies = regex!("(ied|ies)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/lib.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | self.stem = regex!("s$").replace(self.get().as_slice(), "").into_ascii(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ascii` in module `ascii` [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | stem: Vec [INFO] [stdout] | ^^^^^ not found in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_consonant(&self, i: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn has_vowel(&self, range_end: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | for i in range(0, range_end) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ascii` in module `ascii` [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | stem: Vec [INFO] [stdout] | ^^^^^ not found in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_consonant(&self, i: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/lib.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn has_vowel(&self, range_end: uint) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | for i in range(0, range_end) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_nocheck` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | let ascii_lowercase = unsafe { word.to_ascii_nocheck().to_lowercase() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_nocheck` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | let ascii_lowercase = unsafe { word.to_ascii_nocheck().to_lowercase() }; [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/lib.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | self.get().as_slice().ends_with(s) [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/lib.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | if sses.is_match(self.get().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/lib.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | self.get().as_slice().ends_with(s) [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/lib.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | self.stem = sses.replace(self.get().as_slice(), "ss").into_ascii(); [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/lib.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | if sses.is_match(self.get().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/lib.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | } else if iedies.is_match(self.get().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/lib.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | self.stem = sses.replace(self.get().as_slice(), "ss").into_ascii(); [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/lib.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | } else if iedies.is_match(self.get().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/lib.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | self.stem = iedies.replace(self.get().as_slice(), "i").into_ascii(); [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/lib.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | self.stem = iedies.replace(self.get().as_slice(), "i").into_ascii(); [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/lib.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | self.stem = iedies.replace(self.get().as_slice(), "ie").into_ascii(); [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/lib.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | self.stem = iedies.replace(self.get().as_slice(), "ie").into_ascii(); [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/lib.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | self.stem = regex!("s$").replace(self.get().as_slice(), "").into_ascii(); [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/lib.rs:72:61 [INFO] [stdout] | [INFO] [stdout] 72 | self.stem = regex!("s$").replace(self.get().as_slice(), "").into_ascii(); [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/lib.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | Regex::new(vec!(self.r1(), re).concat().as_slice()).unwrap() [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/lib.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | Regex::new(vec!(self.r1(), re).concat().as_slice()).unwrap() [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/lib.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | Regex::new(re).unwrap().is_match(self.get().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/lib.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | Regex::new(re).unwrap().is_match(self.get().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/lib.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | capture_regex.replace(self.get().as_slice(), |caps: &Captures| { [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/lib.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | capture_regex.replace(self.get().as_slice(), |caps: &Captures| { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(word.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | Ok(word.to_string()) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_string` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(word.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | Ok(word.to_string()) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:147:83 [INFO] [stdout] | [INFO] [stdout] 147 | ... Ok(answer) => if answer.as_slice().trim() != stem.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0463, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `porter2` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `porter2` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "ff028e2831308cb259f038394ce0c7b290c7aa4f1880c68afd2172d1bf2c6e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff028e2831308cb259f038394ce0c7b290c7aa4f1880c68afd2172d1bf2c6e54", kill_on_drop: false }` [INFO] [stdout] ff028e2831308cb259f038394ce0c7b290c7aa4f1880c68afd2172d1bf2c6e54