[INFO] cloning repository https://github.com/Peekmo/rust-xslgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Peekmo/rust-xslgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97a8c1c096ce79e5b63e21cff0451075f5a91366 [INFO] checking Peekmo/rust-xslgen/97a8c1c096ce79e5b63e21cff0451075f5a91366 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Peekmo/rust-xslgen 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 git repo https://github.com/Peekmo/rust-xslgen [INFO] finished tweaking git repo https://github.com/Peekmo/rust-xslgen [INFO] tweaked toml for git repo https://github.com/Peekmo/rust-xslgen written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Peekmo/rust-xslgen 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" "+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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 19ed8239c10ce6f70b4fba27fb474aa9ea61f6f86a4c55d0cb25b97a3c660959 [INFO] running `Command { std: "docker" "start" "-a" "19ed8239c10ce6f70b4fba27fb474aa9ea61f6f86a4c55d0cb25b97a3c660959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19ed8239c10ce6f70b4fba27fb474aa9ea61f6f86a4c55d0cb25b97a3c660959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ed8239c10ce6f70b4fba27fb474aa9ea61f6f86a4c55d0cb25b97a3c660959", kill_on_drop: false }` [INFO] [stdout] 19ed8239c10ce6f70b4fba27fb474aa9ea61f6f86a4c55d0cb25b97a3c660959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f0e3eebc7965f5e669ecd967e487d14896e6d1fb73892070ba1fa9e22616f109 [INFO] running `Command { std: "docker" "start" "-a" "f0e3eebc7965f5e669ecd967e487d14896e6d1fb73892070ba1fa9e22616f109", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking xslgen v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `unstable` attribute input [INFO] [stdout] --> src/process.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `unstable` attribute input [INFO] [stdout] --> src/process.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `unstable` attribute input [INFO] [stdout] --> src/process.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `unstable` attribute input [INFO] [stdout] --> src/process.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: malformed `stable` attribute input [INFO] [stdout] --> src/process.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[stable] [INFO] [stdout] | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/process.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::fs::File; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/process.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::fs::File; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::path::posix` [INFO] [stdout] --> src/process.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::posix::Path; [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::path::posix` [INFO] [stdout] --> src/process.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::posix::Path; [INFO] [stdout] | ^^^^^ could not find `posix` in `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoError` [INFO] [stdout] --> src/process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::IoError; [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Error` [INFO] [stdout] | no `IoError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoError` [INFO] [stdout] --> src/process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::IoError; [INFO] [stdout] | ^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Error` [INFO] [stdout] | no `IoError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/xsl.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for _ in range(0, *nb) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let mut args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let mut args = os::args(); [INFO] [stdout] 14 + let mut args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/xsl.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for _ in range(0, *nb) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let mut args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - let mut args = os::args(); [INFO] [stdout] 14 + let mut args = args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[unstable] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/process.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library [INFO] [stdout] --> src/process.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[stable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let mut file = try!(File::open(&Path::new(self.input_arg.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/process.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let content = try!(file.read_to_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/process.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/process.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let mut file = try!(File::open(&Path::new(self.input_arg.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/process.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let content = try!(file.read_to_string()); [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/process.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | input_arg: 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 30 | input_arg: 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/process.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | input_arg: 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 30 | input_arg: 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/process.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | return Err(String::from_str("No input file found (option --file=path/to/file.xslg)")); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | return Err(String::from("No input file found (option --file=path/to/file.xslg)")); [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/process.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | return Err(String::from_str("No input file found (option --file=path/to/file.xslg)")); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | return Err(String::from("No input file found (option --file=path/to/file.xslg)")); [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/process.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let mut file = try!(File::open(&Path::new(self.input_arg.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/process.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | let mut file = try!(File::open(&Path::new(self.input_arg.as_slice()))); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/process.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | if line.trim() != "" && !line.trim().starts_with("#") { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/process.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | if line.trim() != "" && !line.trim().starts_with("#") { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [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/process.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | lines.push(String::from_str(line.trim())); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | lines.push(String::from(line.trim())); [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/process.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | lines.push(String::from_str(line.trim())); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | lines.push(String::from(line.trim())); [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/parser.rs:153:144 [INFO] [stdout] | [INFO] [stdout] 153 | ...ne. Attribute {} is not closed", attribute.key).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/parser.rs:153:144 [INFO] [stdout] | [INFO] [stdout] 153 | ...ne. Attribute {} is not closed", attribute.key).as_slice()); } [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/parser.rs:226:67 [INFO] [stdout] | [INFO] [stdout] 226 | ... let mut content = String::from_str(self.buffer.trim()); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 226 | let mut content = String::from(self.buffer.trim()); [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/parser.rs:226:67 [INFO] [stdout] | [INFO] [stdout] 226 | ... let mut content = String::from_str(self.buffer.trim()); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 226 | let mut content = String::from(self.buffer.trim()); [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/parser.rs:231:101 [INFO] [stdout] | [INFO] [stdout] 231 | ... let mut attribute = Box::new(Attribute::new(String::from_str("test"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | let mut attribute = Box::new(Attribute::new(String::from("test"))); [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/parser.rs:236:101 [INFO] [stdout] | [INFO] [stdout] 236 | ... let mut attribute = Box::new(Attribute::new(String::from_str("select"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 236 | let mut attribute = Box::new(Attribute::new(String::from("select"))); [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/parser.rs:231:101 [INFO] [stdout] | [INFO] [stdout] 231 | ... let mut attribute = Box::new(Attribute::new(String::from_str("test"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | let mut attribute = Box::new(Attribute::new(String::from("test"))); [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/parser.rs:236:101 [INFO] [stdout] | [INFO] [stdout] 236 | ... let mut attribute = Box::new(Attribute::new(String::from_str("select"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 236 | let mut attribute = Box::new(Attribute::new(String::from("select"))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `&std::ops::RangeFrom` [INFO] [stdout] --> src/parser.rs:273:82 [INFO] [stdout] | [INFO] [stdout] 273 | ... if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string indices are ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `&std::ops::RangeFrom`, which is required by `String: Index<_>` [INFO] [stdout] = note: required for `String` to implement `Index<&std::ops::RangeFrom>` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 273 - if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] 273 + if !self.buffer.is_empty() && (self.buffer.index(RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `&std::ops::RangeFrom` [INFO] [stdout] --> src/parser.rs:273:82 [INFO] [stdout] | [INFO] [stdout] 273 | ... if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string indices are ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `&std::ops::RangeFrom`, which is required by `String: Index<_>` [INFO] [stdout] = note: required for `String` to implement `Index<&std::ops::RangeFrom>` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 273 - if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] 273 + if !self.buffer.is_empty() && (self.buffer.index(RangeFrom {start: self.buffer.len() - 1}) == "\\") { [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/parser.rs:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | '@' => { Some(String::from_str("xsl")) }, [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 310 | '@' => { Some(String::from("xsl")) }, [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/parser.rs:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | '@' => { Some(String::from_str("xsl")) }, [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 310 | '@' => { Some(String::from("xsl")) }, [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/parser.rs:323:35 [INFO] [stdout] | [INFO] [stdout] 323 | match self.buffer.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/parser.rs:323:35 [INFO] [stdout] | [INFO] [stdout] 323 | match self.buffer.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/parser.rs:330:40 [INFO] [stdout] | [INFO] [stdout] 330 | if self.buffer.as_slice() == "if" { [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/parser.rs:330:40 [INFO] [stdout] | [INFO] [stdout] 330 | if self.buffer.as_slice() == "if" { [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/parser.rs:331:76 [INFO] [stdout] | [INFO] [stdout] 331 | ... let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 | let node_choose = Node::new(self, Some(String::from("xsl")), Some(String::from_str("choose"))); [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/parser.rs:331:76 [INFO] [stdout] | [INFO] [stdout] 331 | ... let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 | let node_choose = Node::new(self, Some(String::from("xsl")), Some(String::from_str("choose"))); [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/parser.rs:331:107 [INFO] [stdout] | [INFO] [stdout] 331 | ... let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 | let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from("choose"))); [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/parser.rs:331:107 [INFO] [stdout] | [INFO] [stdout] 331 | ... let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 | let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from("choose"))); [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/parser.rs:335:70 [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from("xsl")), Some(String::from_str("when"))); [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/parser.rs:335:70 [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from("xsl")), Some(String::from_str("when"))); [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/parser.rs:335:101 [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from("when"))); [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/parser.rs:335:101 [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 335 | let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from("when"))); [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/parser.rs:344:75 [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from("xsl")), Some(String::from_str("otherwise"))); [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/parser.rs:344:75 [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from("xsl")), Some(String::from_str("otherwise"))); [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/parser.rs:344:106 [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from("otherwise"))); [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/parser.rs:344:106 [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from("otherwise"))); [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/parser.rs:352:73 [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from("xsl")), Some(String::from_str("for-each"))); [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/parser.rs:352:73 [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from("xsl")), Some(String::from_str("for-each"))); [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/parser.rs:352:104 [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from("for-each"))); [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/parser.rs:352:104 [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each"))); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 352 | let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from("for-each"))); [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/parser.rs:428:108 [INFO] [stdout] | [INFO] [stdout] 428 | ... self.parsing_error(format!("Unexpected character - Expected '[' or '{}'", "{").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/parser.rs:428:108 [INFO] [stdout] | [INFO] [stdout] 428 | ... self.parsing_error(format!("Unexpected character - Expected '[' or '{}'", "{").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/xsl.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | string.push_str(format!(" {}={}", attr.key, attr.value).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/xsl.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | string.push_str(format!(" {}={}", attr.key, attr.value).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 `&String` in the current scope [INFO] [stdout] --> src/xsl.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | string.push_str(value.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 `&String` in the current scope [INFO] [stdout] --> src/xsl.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | string.push_str(value.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/xsl.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | Some(ref namespace) => string.push_str(format!("{}:", namespace).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/xsl.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | Some(ref namespace) => string.push_str(format!("{}:", namespace).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/xsl.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | string.push_str(node.name.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/xsl.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | string.push_str(node.name.as_slice()); [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/main.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | process.input_arg = String::from_str(argument.index(&1).clone()); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | process.input_arg = String::from(argument.index(&1).clone()); [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/main.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | process.output_arg = Some(String::from_str(argument.index(&1).clone())); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | process.output_arg = Some(String::from(argument.index(&1).clone())); [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/main.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | process.input_arg = String::from_str(argument.index(&1).clone()); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | process.input_arg = String::from(argument.index(&1).clone()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Index` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/main.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | process.output_arg = Some(String::from_str(argument.index(&1).clone())); [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:445: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] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | process.output_arg = Some(String::from(argument.index(&1).clone())); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut ref_parent = mut_parent.deref_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Index` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let mut ref_parent = mut_parent.deref_mut(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0432, E0599, E0734. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0432, E0599, E0734. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xslgen` (bin "xslgen") due to 44 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xslgen` (bin "xslgen" test) due to 44 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0e3eebc7965f5e669ecd967e487d14896e6d1fb73892070ba1fa9e22616f109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e3eebc7965f5e669ecd967e487d14896e6d1fb73892070ba1fa9e22616f109", kill_on_drop: false }` [INFO] [stdout] f0e3eebc7965f5e669ecd967e487d14896e6d1fb73892070ba1fa9e22616f109