[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimbaczek%2Ftoylisp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imbaczek/toylisp on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/toylisp.rs` was erroneously implicitly accepted for binary `toylisp`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7021430c8973b819bca9911ec5fb141f5b064757f9519f6fae5d036a490ddaa [INFO] running `Command { std: "docker" "start" "-a" "f7021430c8973b819bca9911ec5fb141f5b064757f9519f6fae5d036a490ddaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7021430c8973b819bca9911ec5fb141f5b064757f9519f6fae5d036a490ddaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7021430c8973b819bca9911ec5fb141f5b064757f9519f6fae5d036a490ddaa", kill_on_drop: false }` [INFO] [stdout] f7021430c8973b819bca9911ec5fb141f5b064757f9519f6fae5d036a490ddaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2a32a15931b42ed4bce276dbc7154f6355387f0afb98c8d89fc92e015ba9e38 [INFO] running `Command { std: "docker" "start" "-a" "a2a32a15931b42ed4bce276dbc7154f6355387f0afb98c8d89fc92e015ba9e38", kill_on_drop: false }` [INFO] [stderr] warning: path `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::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] 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] 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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 111 | Err(String::from("scan_string not implemented")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 111 | Err(String::from("scan_string not implemented")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 115 | Err(String::from("scan_escape not implemented")) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 115 | Err(String::from("scan_escape not implemented")) [INFO] [stdout] | ~~~~ [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 Iter<'_, Token>` [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 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 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 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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from("+"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from("+"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from("+."))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from("+."))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from("defun"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from("defun"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from("let"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from("let"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from("def"))))); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/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] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 8 others [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:448:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from("def"))))); [INFO] [stdout] | ~~~~ [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: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[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 method named `unwrap_int` found for enum `Result` 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the method `unwrap_int` exists on the type `MutexGuard<'_, Value>` [INFO] [stdout] --> src/eval.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unwrap_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `MutexGuard<'_, Value>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 33 | let r1 = rep(&mut interp, "(+ 1 2)").unwrap().lock().expect("REASON").unwrap_int(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let r1 = rep(&mut interp, "(+ 1 2)").unwrap().lock().unwrap(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_int` found for enum `Result` 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the method `unwrap_int` exists on the type `MutexGuard<'_, Value>` [INFO] [stdout] --> src/eval.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unwrap_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `MutexGuard<'_, Value>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 39 | let r3 = rep(&mut interp, "(def a (+ (def x 1) (def y 2) x y))").unwrap().lock().expect("REASON").unwrap_int(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: there is a method `unwrap` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 | let r3 = rep(&mut interp, "(def a (+ (def x 1) (def y 2) x y))").unwrap().lock().unwrap(); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [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` (bin "toylisp") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 24 previous errors [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` (bin "toylisp" test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "a2a32a15931b42ed4bce276dbc7154f6355387f0afb98c8d89fc92e015ba9e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a32a15931b42ed4bce276dbc7154f6355387f0afb98c8d89fc92e015ba9e38", kill_on_drop: false }` [INFO] [stdout] a2a32a15931b42ed4bce276dbc7154f6355387f0afb98c8d89fc92e015ba9e38