[INFO] updating cached repository imbaczek/toylisp [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/imbaczek/toylisp [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/imbaczek/toylisp" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/imbaczek/toylisp"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/imbaczek/toylisp'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/imbaczek/toylisp" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/imbaczek/toylisp"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/imbaczek/toylisp'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8dc211c799b6d13d23abba4dce0862a39f1e5eaf [INFO] sha for GitHub repo imbaczek/toylisp: 8dc211c799b6d13d23abba4dce0862a39f1e5eaf [INFO] validating manifest of imbaczek/toylisp 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 imbaczek/toylisp 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 imbaczek/toylisp [INFO] finished frobbing imbaczek/toylisp [INFO] frobbed toml for imbaczek/toylisp written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/imbaczek/toylisp/Cargo.toml [INFO] started frobbing imbaczek/toylisp [INFO] finished frobbing imbaczek/toylisp [INFO] frobbed toml for imbaczek/toylisp written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/imbaczek/toylisp/Cargo.toml [INFO] crate imbaczek/toylisp 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] [stderr] Blocking waiting for file lock on package cache [INFO] checking imbaczek/toylisp against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/imbaczek/toylisp:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] dadc7a86c5a5babc78507eff3ac6ac9af5a3ae26df4d2188d9f106c43628a0e3 [INFO] running `"docker" "start" "-a" "dadc7a86c5a5babc78507eff3ac6ac9af5a3ae26df4d2188d9f106c43628a0e3"` [INFO] [stderr] warning: path `/opt/crater/workdir/src/toylisp.rs` was erroneously implicitly accepted for binary `toylisp`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking toylisp v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/toylisp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io; [INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::RandomAccessIterator` [INFO] [stderr] --> src/parser.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::RandomAccessIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RandomAccessIterator` in `iter` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/lexer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:7 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:7 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:19 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | '0' ... '9' | '+' | '-' | 'e' | 'E' | 'u' | 'i' | 'f' | '.' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&str` in the current scope [INFO] [stderr] --> src/toylisp.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | let mut lexer = lexer::Lexer::new(s.as_slice()); [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/lexer.rs:111:15 [INFO] [stderr] | [INFO] [stderr] 111 | Err(String::from_str("scan_string not implemented")) [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/lexer.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | Err(String::from_str("scan_escape not implemented")) [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `idx` found for type `&mut std::slice::Iter<'_, lexer::Token>` in the current scope [INFO] [stderr] --> src/parser.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | let tok = it.idx(idx); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/parser.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&str` in the current scope [INFO] [stderr] --> src/eval.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | match self.vars.get(key.as_slice()) { [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/eval.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:101:93 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:102:31 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:102:94 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:103:31 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:103:97 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:104:31 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:104:95 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:105:95 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:118:62 [INFO] [stderr] | [INFO] [stderr] 118 | &Node::Symbol(ref s) => match scope.lock().unwrap().get(s.as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:134:51 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some(v) = scope.lock().unwrap().get(sym.as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:136:41 [INFO] [stderr] | [INFO] [stderr] 136 | return self.eval_special(ast, name.as_slice(), scope, argv) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:163:67 [INFO] [stderr] | [INFO] [stderr] 163 | &Value::BuiltinFunc(ref name) => self.call_builtin(scope, name.as_slice(), args), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `toylisp`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/toylisp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io; [INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::RandomAccessIterator` [INFO] [stderr] --> src/parser.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::RandomAccessIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RandomAccessIterator` in `iter` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/lexer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:7 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:7 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:19 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | '0' ... '9' | '+' | '-' | 'e' | 'E' | 'u' | 'i' | 'f' | '.' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&str` in the current scope [INFO] [stderr] --> src/toylisp.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | let mut lexer = lexer::Lexer::new(s.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_int` found for type `std::result::Result, std::sync::PoisonError>>` in the current scope [INFO] [stderr] --> src/toylisp.rs:33:55 [INFO] [stderr] | [INFO] [stderr] 33 | let r1 = rep(&mut interp, "(+ 1 2)").unwrap().lock().unwrap_int(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `unwrap_err` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_int` found for type `std::result::Result, std::sync::PoisonError>>` in the current scope [INFO] [stderr] --> src/toylisp.rs:39:83 [INFO] [stderr] | [INFO] [stderr] 39 | let r3 = rep(&mut interp, "(def a (+ (def x 1) (def y 2) x y))").unwrap().lock().unwrap_int(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `unwrap_err` [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/lexer.rs:111:15 [INFO] [stderr] | [INFO] [stderr] 111 | Err(String::from_str("scan_string not implemented")) [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/lexer.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | Err(String::from_str("scan_escape not implemented")) [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `idx` found for type `&mut std::slice::Iter<'_, lexer::Token>` in the current scope [INFO] [stderr] --> src/parser.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | let tok = it.idx(idx); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/parser.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&str` in the current scope [INFO] [stderr] --> src/eval.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | match self.vars.get(key.as_slice()) { [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/eval.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:101:93 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:102:31 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:102:94 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:103:31 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:103:97 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:104:31 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:104:95 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [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/eval.rs:105:95 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [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] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:118:62 [INFO] [stderr] | [INFO] [stderr] 118 | &Node::Symbol(ref s) => match scope.lock().unwrap().get(s.as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:134:51 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some(v) = scope.lock().unwrap().get(sym.as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:136:41 [INFO] [stderr] | [INFO] [stderr] 136 | return self.eval_special(ast, name.as_slice(), scope, argv) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:163:67 [INFO] [stderr] | [INFO] [stderr] 163 | &Value::BuiltinFunc(ref name) => self.call_builtin(scope, name.as_slice(), args), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `toylisp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dadc7a86c5a5babc78507eff3ac6ac9af5a3ae26df4d2188d9f106c43628a0e3"` [INFO] running `"docker" "rm" "-f" "dadc7a86c5a5babc78507eff3ac6ac9af5a3ae26df4d2188d9f106c43628a0e3"` [INFO] [stdout] dadc7a86c5a5babc78507eff3ac6ac9af5a3ae26df4d2188d9f106c43628a0e3