[INFO] updating cached repository sacooper/SimpleShell-Rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/sacooper/SimpleShell-Rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/sacooper/SimpleShell-Rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/sacooper/SimpleShell-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/sacooper/SimpleShell-Rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/sacooper/SimpleShell-Rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/sacooper/SimpleShell-Rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/sacooper/SimpleShell-Rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6fbec7dab15b9119db13772c6790e0f36f5dea9a [INFO] sha for GitHub repo sacooper/SimpleShell-Rust: 6fbec7dab15b9119db13772c6790e0f36f5dea9a [INFO] validating manifest of sacooper/SimpleShell-Rust on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of sacooper/SimpleShell-Rust on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing sacooper/SimpleShell-Rust [INFO] finished frobbing sacooper/SimpleShell-Rust [INFO] frobbed toml for sacooper/SimpleShell-Rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/sacooper/SimpleShell-Rust/Cargo.toml [INFO] started frobbing sacooper/SimpleShell-Rust [INFO] finished frobbing sacooper/SimpleShell-Rust [INFO] frobbed toml for sacooper/SimpleShell-Rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/sacooper/SimpleShell-Rust/Cargo.toml [INFO] crate sacooper/SimpleShell-Rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking sacooper/SimpleShell-Rust against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-6/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/sacooper/SimpleShell-Rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 86402aff5d6104634907b1d197b7df792de3455512f67734fd6d35d2b17f63b9 [INFO] running `"docker" "start" "-a" "86402aff5d6104634907b1d197b7df792de3455512f67734fd6d35d2b17f63b9"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking RustShell v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:29:61 [INFO] [stderr] | [INFO] [stderr] 29 | let y : Vec<&HistoryEntry> = history.iter().rev().take(10u).collect(); [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:118:19 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^ expected one of `)`, `,`, `.`, `?`, or an operator here [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:29:61 [INFO] [stderr] | [INFO] [stderr] 29 | let y : Vec<&HistoryEntry> = history.iter().rev().take(10u).collect(); [INFO] [stderr] | ^^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:118:19 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^ expected one of `)`, `,`, `.`, `?`, or an operator here [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/main.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::process::Command; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::process; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `process` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:66:21 [INFO] [stderr] | [INFO] [stderr] 66 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:88:29 [INFO] [stderr] | [INFO] [stderr] 88 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/main.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Send, Receiver) = channel(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/main.rs:117:47 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/main.rs:117:77 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:118:6 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^^^^ help: a local variable with a similar name exists: `prog` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/main.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::process::Command; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::process; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `process` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:151:36 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:66:21 [INFO] [stderr] | [INFO] [stderr] 66 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:88:29 [INFO] [stderr] | [INFO] [stderr] 88 | let x : Option = from_str(args[1]); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/main.rs:117:21 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Send, Receiver) = channel(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/main.rs:117:47 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `channel` in this scope [INFO] [stderr] --> src/main.rs:117:77 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx): (Sender, Receiver) = channel(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::channel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:118:6 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | spawn(proc() { [INFO] [stderr] | ^^^^ help: a local variable with a similar name exists: `prog` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:151:36 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:151:58 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^^^^^ expected usize, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `usize` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:151:24 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found usize [INFO] [stderr] | help: try using a conversion method: `io::stdin().read_line().unwrap_or(String::new()).to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:154:28 [INFO] [stderr] | [INFO] [stderr] 154 | else if input == String::from_str("\n"){continue}; [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::FromStr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:31:65 [INFO] [stderr] | [INFO] [stderr] 31 | let name = x.args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")}); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | let name = if x.background {name} else {name.add(&"&")}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `&mut std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | match history.clone().last(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `clone` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::vec::Vec : std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `&mut std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | for x in history.clone().iter().rev() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `clone` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::vec::Vec : std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/main.rs:48:53 [INFO] [stderr] | [INFO] [stderr] 48 | if x.args[0].as_slice().char_at(0) == args[1].char_at(0){ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:151:58 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^^^^^ expected usize, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `usize` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `&std::vec::Vec<&str>` in the current scope [INFO] [stderr] --> src/main.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | prog.args(args.tail().as_slice()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:123:90 [INFO] [stderr] | [INFO] [stderr] 123 | jobs.push(JobEntry{process : p, name : args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")})})} [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:130:66 [INFO] [stderr] | [INFO] [stderr] 130 | history.push(HistoryEntry{args : args.iter().map(|x|{String::from_str(*x)}).collect(), background : background}); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::FromStr; [INFO] [stderr] | [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:151:24 [INFO] [stderr] | [INFO] [stderr] 151 | let input : String = io::stdin().read_line().unwrap_or(String::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found usize [INFO] [stderr] | help: try using a conversion method: `io::stdin().read_line().unwrap_or(String::new()).to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:154:28 [INFO] [stderr] | [INFO] [stderr] 154 | else if input == String::from_str("\n"){continue}; [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'r std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | for c in input.as_slice().split(' '){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::FromStr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:31:65 [INFO] [stderr] | [INFO] [stderr] 31 | let name = x.args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")}); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | let name = if x.background {name} else {name.add(&"&")}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `&mut std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | match history.clone().last(){ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `clone` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::vec::Vec : std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `&mut std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | for x in history.clone().iter().rev() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `clone` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::vec::Vec : std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `char_at` found for type `&str` in the current scope [INFO] [stderr] --> src/main.rs:48:53 [INFO] [stderr] | [INFO] [stderr] 48 | if x.args[0].as_slice().char_at(0) == args[1].char_at(0){ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `RustShell`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `tail` found for type `&std::vec::Vec<&str>` in the current scope [INFO] [stderr] --> src/main.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | prog.args(args.tail().as_slice()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:123:90 [INFO] [stderr] | [INFO] [stderr] 123 | jobs.push(JobEntry{process : p, name : args.iter().fold(String::new(), |acc, x|{acc.add(x).add(&" ")})})} [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Add; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:130:66 [INFO] [stderr] | [INFO] [stderr] 130 | history.push(HistoryEntry{args : args.iter().map(|x|{String::from_str(*x)}).collect(), background : background}); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::FromStr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&'r std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | for c in input.as_slice().split(' '){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `RustShell`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "86402aff5d6104634907b1d197b7df792de3455512f67734fd6d35d2b17f63b9"` [INFO] running `"docker" "rm" "-f" "86402aff5d6104634907b1d197b7df792de3455512f67734fd6d35d2b17f63b9"` [INFO] [stdout] 86402aff5d6104634907b1d197b7df792de3455512f67734fd6d35d2b17f63b9