[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97a8c1c096ce79e5b63e21cff0451075f5a91366 [INFO] testing Peekmo/rust-xslgen against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Peekmo/rust-xslgen on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c369bd7b57ddb872672a884f6a94ec2427ac68a5b4ac663f12bb80d958d68e72 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c369bd7b57ddb872672a884f6a94ec2427ac68a5b4ac663f12bb80d958d68e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c369bd7b57ddb872672a884f6a94ec2427ac68a5b4ac663f12bb80d958d68e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c369bd7b57ddb872672a884f6a94ec2427ac68a5b4ac663f12bb80d958d68e72", kill_on_drop: false }` [INFO] [stdout] c369bd7b57ddb872672a884f6a94ec2427ac68a5b4ac663f12bb80d958d68e72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d20f813fde22bb061b451d38f40a4c73280fe5c490e93f0c0689aafadb1c595 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d20f813fde22bb061b451d38f40a4c73280fe5c490e93f0c0689aafadb1c595", kill_on_drop: false }` [INFO] [stderr] Compiling xslgen v0.0.1 (/opt/rustwide/workdir) [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] 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::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[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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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[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] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}` [INFO] [stdout] --> src/main.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | match *argument.index(&0) { [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[&str]>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&{integer}>` for `std::vec::Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}` [INFO] [stdout] --> src/main.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | process.input_arg = String::from_str(argument.index(&1).clone()); [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[&str]>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&{integer}>` for `std::vec::Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}` [INFO] [stdout] --> src/main.rs:32:76 [INFO] [stdout] | [INFO] [stdout] 32 | process.output_arg = Some(String::from_str(argument.index(&1).clone())); [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[&str]>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&{integer}>` for `std::vec::Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}` [INFO] [stdout] --> src/main.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!("Unknown argument {}", argument.index(&0)) [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::slice::SliceIndex<[&str]>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `std::ops::Index<&{integer}>` for `std::vec::Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/parser.rs:153:144 [INFO] [stdout] | [INFO] [stdout] 153 | ...tribute {} is not closed", attribute.key).as_slice()); } [INFO] [stdout] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `std::string::String` cannot be indexed by `&std::ops::RangeFrom` [INFO] [stdout] --> src/parser.rs:273:76 [INFO] [stdout] | [INFO] [stdout] 273 | ... if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") { [INFO] [stdout] | ^^^^^ `std::string::String` cannot be indexed by `&std::ops::RangeFrom` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Index<&std::ops::RangeFrom>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::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 `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&std::string::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 `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8d20f813fde22bb061b451d38f40a4c73280fe5c490e93f0c0689aafadb1c595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d20f813fde22bb061b451d38f40a4c73280fe5c490e93f0c0689aafadb1c595", kill_on_drop: false }` [INFO] [stdout] 8d20f813fde22bb061b451d38f40a4c73280fe5c490e93f0c0689aafadb1c595