[INFO] updating cached repository https://github.com/imbaczek/toylisp [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8dc211c799b6d13d23abba4dce0862a39f1e5eaf [INFO] testing imbaczek/toylisp against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimbaczek%2Ftoylisp" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imbaczek/toylisp on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/imbaczek/toylisp already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/builds/worker-14/source/src/toylisp.rs` was erroneously implicitly accepted for binary `toylisp`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] cdad153886ea5ff205941334f05450968da60f5b932bcd56c69298e648ada9f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "cdad153886ea5ff205941334f05450968da60f5b932bcd56c69298e648ada9f9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] Compiling toylisp v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/toylisp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::old_io; [INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::iter::RandomAccessIterator` [INFO] [stderr] --> src/parser.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::RandomAccessIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RandomAccessIterator` in `iter` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:24:15 [INFO] [stderr] | [INFO] [stderr] 24 | let result = try!(_parse(&mut it)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | let x = { try!(next(it)) }; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | Token::OpenParen => { Ok(try!(parse_list(it))) }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | let x = { try!(peek(it, 0)) }; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:67:20 [INFO] [stderr] | [INFO] [stderr] 67 | Token::Nil => { try!(next(it)); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | try!(next(it)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | let node = try!(_parse(it)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/eval.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/eval.rs:205:16 [INFO] [stderr] | [INFO] [stderr] 205 | let evaled = try!(self.eval(val, scope.clone())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toylisp.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | let rr = try!(r); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/toylisp.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | let ast = try!(parsed); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/lexer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:7 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | 'a'...'z' | 'A'...'Z' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:7 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:19 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | 'a'...'z' | 'A'...'Z' | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | '0' ... '9' | '+' | '-' | 'e' | 'E' | 'u' | 'i' | 'f' | '.' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/parser.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/toylisp.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | let mut lexer = lexer::Lexer::new(s.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lexer.rs:111:15 [INFO] [stderr] | [INFO] [stderr] 111 | Err(String::from_str("scan_string not implemented")) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lexer.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | Err(String::from_str("scan_escape not implemented")) [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `idx` found for mutable reference `&mut std::slice::Iter<'_, lexer::Token>` in the current scope [INFO] [stderr] --> src/parser.rs:40:15 [INFO] [stderr] | [INFO] [stderr] 40 | let tok = it.idx(idx); [INFO] [stderr] | ^^^ method not found in `&mut std::slice::Iter<'_, lexer::Token>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/parser.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | Token::Number(n) => Ok(try!(parse_number(n.as_slice()))), [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope [INFO] [stderr] --> src/eval.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | match self.vars.get(key.as_slice()) { [INFO] [stderr] | ^^^^^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:101:93 [INFO] [stderr] | [INFO] [stderr] 101 | globals.vars.insert(String::from_str("+"), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:102:31 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:102:94 [INFO] [stderr] | [INFO] [stderr] 102 | globals.vars.insert(String::from_str("+."), Arc::new(Mutex::new(Value::BuiltinFunc(String::from_str("+."))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:103:31 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:103:97 [INFO] [stderr] | [INFO] [stderr] 103 | globals.vars.insert(String::from_str("defun"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("defun"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:104:31 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:104:95 [INFO] [stderr] | [INFO] [stderr] 104 | globals.vars.insert(String::from_str("let"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("let"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:105:31 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:105:95 [INFO] [stderr] | [INFO] [stderr] 105 | globals.vars.insert(String::from_str("def"), Arc::new(Mutex::new(Value::SpecialForm(String::from_str("def"))))); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::str::FromStr;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:118:62 [INFO] [stderr] | [INFO] [stderr] 118 | &Node::Symbol(ref s) => match scope.lock().unwrap().get(s.as_slice()) { [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:134:51 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some(v) = scope.lock().unwrap().get(sym.as_slice()) { [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:136:41 [INFO] [stderr] | [INFO] [stderr] 136 | return self.eval_special(ast, name.as_slice(), scope, argv) [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&std::string::String` in the current scope [INFO] [stderr] --> src/eval.rs:163:67 [INFO] [stderr] | [INFO] [stderr] 163 | &Value::BuiltinFunc(ref name) => self.call_builtin(scope, name.as_slice(), args), [INFO] [stderr] | ^^^^^^^^ method not found in `&std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors; 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `toylisp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cdad153886ea5ff205941334f05450968da60f5b932bcd56c69298e648ada9f9"` [INFO] running `"docker" "rm" "-f" "cdad153886ea5ff205941334f05450968da60f5b932bcd56c69298e648ada9f9"` [INFO] [stdout] cdad153886ea5ff205941334f05450968da60f5b932bcd56c69298e648ada9f9