[INFO] cloning repository https://github.com/imbaczek/toylisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imbaczek/toylisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimbaczek%2Ftoylisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimbaczek%2Ftoylisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8dc211c799b6d13d23abba4dce0862a39f1e5eaf [INFO] checking imbaczek/toylisp against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimbaczek%2Ftoylisp" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imbaczek/toylisp on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imbaczek/toylisp [INFO] finished tweaking git repo https://github.com/imbaczek/toylisp [INFO] tweaked toml for git repo https://github.com/imbaczek/toylisp written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/imbaczek/toylisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-7/source/src/toylisp.rs` was erroneously implicitly accepted for binary `toylisp`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e840c86ce267fd672de5311117b330504bb009ea9e87570063310faf298678fe [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" "e840c86ce267fd672de5311117b330504bb009ea9e87570063310faf298678fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e840c86ce267fd672de5311117b330504bb009ea9e87570063310faf298678fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e840c86ce267fd672de5311117b330504bb009ea9e87570063310faf298678fe", kill_on_drop: false }` [INFO] [stdout] e840c86ce267fd672de5311117b330504bb009ea9e87570063310faf298678fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2be8a8cf3c1236687cee24d446bfa3cd4abf80e54c7ab1e04038389579c8dbe [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" "e2be8a8cf3c1236687cee24d446bfa3cd4abf80e54c7ab1e04038389579c8dbe", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/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/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/toylisp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::RandomAccessIterator` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::RandomAccessIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RandomAccessIterator` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/toylisp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::RandomAccessIterator` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::RandomAccessIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RandomAccessIterator` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | '0' ... '9' | '+' | '-' | 'e' | 'E' | 'u' | 'i' | 'f' | '.' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let result = try!(_parse(&mut it)); [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/parser.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | let x = { try!(next(it)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Token::OpenParen => { Ok(try!(parse_list(it))) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let x = { try!(peek(it, 0)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | Token::Nil => { try!(next(it)); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | try!(next(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | let node = try!(_parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | '0' ... '9' | '+' | '-' | 'e' | 'E' | 'u' | 'i' | 'f' | '.' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toylisp.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | let rr = try!(r); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let result = try!(_parse(&mut it)); [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/toylisp.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | let ast = try!(parsed); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | let x = { try!(next(it)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | Token::OpenParen => { Ok(try!(parse_list(it))) }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let x = { try!(peek(it, 0)) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | Token::Nil => { try!(next(it)); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | try!(next(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | let node = try!(_parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/eval.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toylisp.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | let rr = try!(r); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/toylisp.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | let ast = try!(parsed); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/toylisp.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lexer = lexer::Lexer::new(s.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/toylisp.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lexer = lexer::Lexer::new(s.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [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/lexer.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | Err(String::from_str("scan_string not implemented")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/lexer.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | Err(String::from_str("scan_escape not implemented")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `unwrap_int` found for enum `Result, PoisonError>>` in the current scope [INFO] [stdout] --> src/toylisp.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | let r1 = rep(&mut interp, "(+ 1 2)").unwrap().lock().unwrap_int(); [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `unwrap_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_int` found for enum `Result, PoisonError>>` in the current scope [INFO] [stdout] --> src/toylisp.rs:39:83 [INFO] [stdout] | [INFO] [stdout] 39 | let r3 = rep(&mut interp, "(def a (+ (def x 1) (def y 2) x y))").unwrap().lock().unwrap_int(); [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `unwrap_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `idx` found for mutable reference `&mut std::slice::Iter<'_, Token>` in the current scope [INFO] [stdout] --> src/parser.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let tok = it.idx(idx); [INFO] [stdout] | ^^^ method not found in `&mut std::slice::Iter<'_, Token>` [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/lexer.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | Err(String::from_str("scan_string not implemented")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/lexer.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | Err(String::from_str("scan_escape not implemented")) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/parser.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `idx` found for mutable reference `&mut std::slice::Iter<'_, Token>` in the current scope [INFO] [stdout] --> src/parser.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let tok = it.idx(idx); [INFO] [stdout] | ^^^ method not found in `&mut std::slice::Iter<'_, Token>` [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:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Number(n) => Ok(try!(parse_number(n.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 `&str` in the current scope [INFO] [stdout] --> src/eval.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | match self.vars.get(key.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [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/eval.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 reference `&str` in the current scope [INFO] [stdout] --> src/eval.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | match self.vars.get(key.as_slice()) { [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [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/eval.rs:101:93 [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:102:94 [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:103:97 [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:101:93 [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:104:95 [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:102:94 [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:105:95 [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:103:97 [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:118:62 [INFO] [stdout] | [INFO] [stdout] 118 | &Node::Symbol(ref s) => match scope.lock().unwrap().get(s.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/eval.rs:104:95 [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 `String` in the current scope [INFO] [stdout] --> src/eval.rs:105:95 [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `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 reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:118:62 [INFO] [stdout] | [INFO] [stdout] 118 | &Node::Symbol(ref s) => match scope.lock().unwrap().get(s.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/eval.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(v) = scope.lock().unwrap().get(sym.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/eval.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(v) = scope.lock().unwrap().get(sym.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/eval.rs:136:41 [INFO] [stdout] | [INFO] [stdout] 136 | return self.eval_special(ast, name.as_slice(), scope, argv) [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/eval.rs:136:41 [INFO] [stdout] | [INFO] [stdout] 136 | return self.eval_special(ast, name.as_slice(), scope, argv) [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/eval.rs:163:67 [INFO] [stdout] | [INFO] [stdout] 163 | &Value::BuiltinFunc(ref name) => self.call_builtin(scope, name.as_slice(), args), [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/eval.rs:163:67 [INFO] [stdout] | [INFO] [stdout] 163 | &Value::BuiltinFunc(ref name) => self.call_builtin(scope, name.as_slice(), args), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toylisp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e2be8a8cf3c1236687cee24d446bfa3cd4abf80e54c7ab1e04038389579c8dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2be8a8cf3c1236687cee24d446bfa3cd4abf80e54c7ab1e04038389579c8dbe", kill_on_drop: false }` [INFO] [stdout] e2be8a8cf3c1236687cee24d446bfa3cd4abf80e54c7ab1e04038389579c8dbe