[INFO] cloning repository https://github.com/esapyr/rusty-lisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esapyr/rusty-lisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesapyr%2Frusty-lisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesapyr%2Frusty-lisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b69f6ac038b8702c1e4e0139dff378e7b6cd9b38 [INFO] checking esapyr/rusty-lisp against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesapyr%2Frusty-lisp" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/esapyr/rusty-lisp on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/esapyr/rusty-lisp [INFO] finished tweaking git repo https://github.com/esapyr/rusty-lisp [INFO] tweaked toml for git repo https://github.com/esapyr/rusty-lisp written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/esapyr/rusty-lisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a5ad89bf7b31d36a2ee0485b70e784a1cf34182eb36a0a8c011b2e97e2c36dbd [INFO] running `Command { std: "docker" "start" "-a" "a5ad89bf7b31d36a2ee0485b70e784a1cf34182eb36a0a8c011b2e97e2c36dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5ad89bf7b31d36a2ee0485b70e784a1cf34182eb36a0a8c011b2e97e2c36dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ad89bf7b31d36a2ee0485b70e784a1cf34182eb36a0a8c011b2e97e2c36dbd", kill_on_drop: false }` [INFO] [stdout] a5ad89bf7b31d36a2ee0485b70e784a1cf34182eb36a0a8c011b2e97e2c36dbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf37541b17b0dc36151fff94687773e3bc0d5ed80d7e71b98792b33bc3a1a942 [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" "cf37541b17b0dc36151fff94687773e3bc0d5ed80d7e71b98792b33bc3a1a942", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rusty-lisp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `--crate-name` and `#[crate_name]` are required to match, but `rusty_lisp` != `rusty-lisp` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_name = "rusty-lisp"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/parser.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut count = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `--crate-name` and `#[crate_name]` are required to match, but `rusty_lisp` != `rusty-lisp` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_name = "rusty-lisp"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/parser.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut count = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/cons_cell.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[deriving (PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cons_cell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .read_line() [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/cons_cell.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[deriving (PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cons_cell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .read_line() [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn read() -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] 32 | print!(">"); [INFO] [stdout] 33 | / io::stdin() [INFO] [stdout] 34 | | .read_line() [INFO] [stdout] 35 | | .ok() [INFO] [stdout] 36 | | .expect("Couldn't read line") [INFO] [stdout] | |_____________________________________^ expected struct `String`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 33 | io::stdin() [INFO] [stdout] 34 | .read_line() [INFO] [stdout] 35 | .ok() [INFO] [stdout] 36 | .expect("Couldn't read line").to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn read() -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] 32 | print!(">"); [INFO] [stdout] 33 | / io::stdin() [INFO] [stdout] 34 | | .read_line() [INFO] [stdout] 35 | | .ok() [INFO] [stdout] 36 | | .expect("Couldn't read line") [INFO] [stdout] | |_____________________________________^ expected struct `String`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 33 | io::stdin() [INFO] [stdout] 34 | .read_line() [INFO] [stdout] 35 | .ok() [INFO] [stdout] 36 | .expect("Couldn't read line").to_string() [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/main.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Pair::Atom(ref a) if a.as_slice() == "NIL" => { print!("NIL"); break }, [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/main.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | if a.as_slice() != "NIL" { [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/main.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Pair::Atom(ref a) if a.as_slice() == "NIL" => { print!("NIL"); break }, [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/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | if n.as_slice() == "NIL" { [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/main.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | if a.as_slice() != "NIL" { [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/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | if n.as_slice() == "NIL" { [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/main.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | Pair::Atom(ref a) if a.as_slice() == "NIL" => true, [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/main.rs:206:46 [INFO] [stdout] | [INFO] [stdout] 206 | (_, &Pair::Atom(ref a)) if a.as_slice() != "NIL" => true, [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/main.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | Pair::Atom(ref a) if a.as_slice() == "NIL" => false, [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `cons_cell::Pair` [INFO] [stdout] --> src/cons_cell.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if *x == *y { [INFO] [stdout] | -- ^^ -- cons_cell::Pair [INFO] [stdout] | | [INFO] [stdout] | cons_cell::Pair [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `cons_cell::Pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/main.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | Pair::Atom(ref a) if a.as_slice() == "NIL" => true, [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/cons_cell.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | Pair::Atom(ref a) if a.as_slice() == "NIL" => Rc::new(Pair::Atom("NIL".to_string())), [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/main.rs:206:46 [INFO] [stdout] | [INFO] [stdout] 206 | (_, &Pair::Atom(ref a)) if a.as_slice() != "NIL" => true, [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/cons_cell.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | Pair::Atom(ref a) if a.as_slice() == "NIL" => Rc::new(Pair::Atom("NIL".to_string())), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `String` cannot be built from an iterator over elements of type `ToUppercase` [INFO] [stdout] --> src/parser.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | .chars().map(|c| c.to_uppercase()).collect::() [INFO] [stdout] | ^^^^^^^ value of type `String` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `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/main.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | Pair::Atom(ref a) if a.as_slice() == "NIL" => false, [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `cons_cell::Pair` [INFO] [stdout] --> src/cons_cell.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if *x == *y { [INFO] [stdout] | -- ^^ -- cons_cell::Pair [INFO] [stdout] | | [INFO] [stdout] | cons_cell::Pair [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `cons_cell::Pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/parser.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | if token.as_slice() == "(" { count += 1 } [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/cons_cell.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | Pair::Atom(ref a) if a.as_slice() == "NIL" => Rc::new(Pair::Atom("NIL".to_string())), [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/parser.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | else if token.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/cons_cell.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | Pair::Atom(ref a) if a.as_slice() == "NIL" => Rc::new(Pair::Atom("NIL".to_string())), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `String` cannot be built from an iterator over elements of type `ToUppercase` [INFO] [stdout] --> src/parser.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | .chars().map(|c| c.to_uppercase()).collect::() [INFO] [stdout] | ^^^^^^^ value of type `String` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let token: String = tokens.remove(0).expect("Failed getting next token in parser"); [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:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | match token.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/parser.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | if token.as_slice() == "(" { count += 1 } [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/parser.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | ... if (&tokens[0]).as_slice() == "(" || (&tokens[0]).as_slice() == "QUOTE" { [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/parser.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | else if token.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/parser.rs:67:79 [INFO] [stdout] | [INFO] [stdout] 67 | ... if (&tokens[0]).as_slice() == "(" || (&tokens[0]).as_slice() == "QUOTE" { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | let token: String = tokens.remove(0).expect("Failed getting next token in parser"); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:70:93 [INFO] [stdout] | [INFO] [stdout] 70 | ... cons(cons(make_atom(token), cons(make_atom(tokens.remove(0).expect("")), make_atom("NIL"))), build_sexpr(tokens)) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | match token.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-lisp` due to 23 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/parser.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | ... if (&tokens[0]).as_slice() == "(" || (&tokens[0]).as_slice() == "QUOTE" { [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/parser.rs:67:79 [INFO] [stdout] | [INFO] [stdout] 67 | ... if (&tokens[0]).as_slice() == "(" || (&tokens[0]).as_slice() == "QUOTE" { [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:70:93 [INFO] [stdout] | [INFO] [stdout] 70 | ... cons(cons(make_atom(token), cons(make_atom(tokens.remove(0).expect("")), make_atom("NIL"))), build_sexpr(tokens)) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf37541b17b0dc36151fff94687773e3bc0d5ed80d7e71b98792b33bc3a1a942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf37541b17b0dc36151fff94687773e3bc0d5ed80d7e71b98792b33bc3a1a942", kill_on_drop: false }` [INFO] [stdout] cf37541b17b0dc36151fff94687773e3bc0d5ed80d7e71b98792b33bc3a1a942