[INFO] cloning repository https://github.com/timtadh/rusty-slr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timtadh/rusty-slr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3de9202895b0f35e962be51798ff5697c1bae335 [INFO] testing timtadh/rusty-slr against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimtadh%2Frusty-slr" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timtadh/rusty-slr on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timtadh/rusty-slr [INFO] finished tweaking git repo https://github.com/timtadh/rusty-slr [INFO] tweaked toml for git repo https://github.com/timtadh/rusty-slr written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/timtadh/rusty-slr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9886c91848d3a7619a4567110a6d693eb148b8f35a74366cc58465d7e7a37dd2 [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" "9886c91848d3a7619a4567110a6d693eb148b8f35a74366cc58465d7e7a37dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9886c91848d3a7619a4567110a6d693eb148b8f35a74366cc58465d7e7a37dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9886c91848d3a7619a4567110a6d693eb148b8f35a74366cc58465d7e7a37dd2", kill_on_drop: false }` [INFO] [stdout] 9886c91848d3a7619a4567110a6d693eb148b8f35a74366cc58465d7e7a37dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] d3d60dbdbf4e3911ffc1360b786ec6c06ccec011835e08c7323cfca824fb09dd [INFO] running `Command { std: "docker" "start" "-a" "d3d60dbdbf4e3911ffc1360b786ec6c06ccec011835e08c7323cfca824fb09dd", kill_on_drop: false }` [INFO] [stderr] Compiling slr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | macro_rules! log(($fmt:expr$(, $msg:expr)*) => { [INFO] [stdout] | _________________^ [INFO] [stdout] 24 | | (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed") [INFO] [stdout] 25 | | }) [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 23 ~ macro_rules! log{($fmt:expr$(, $msg:expr)*) => { [INFO] [stdout] 24 | (writeln![io::stderr(), $fmt $(, $msg)*]).ok().expect("log failed") [INFO] [stdout] 25 ~ }} [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 25 | }); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/gram_parser.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | fn epsilon(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `>` [INFO] [stdout] --> src/gram_parser.rs:135:77 [INFO] [stdout] | [INFO] [stdout] 135 | fn epsilon(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/gram_parser.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/slr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap` [INFO] [stdout] --> src/slr.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{HashMap,HashSet,TreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TreeMap` in `collections` [INFO] [stdout] | help: a similar name exists in the module: `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::fmt::Show`, `std::fmt::FormatError` [INFO] [stdout] --> src/slr.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt::{Formatter,Show,FormatError}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ no `FormatError` in `fmt` [INFO] [stdout] | | [INFO] [stdout] | no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_parser.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_parser.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_lexer.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_lexer.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_lexer.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_lexer.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/gram_lexer.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[deriving(Show, Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | #[deriving(Hash, Clone, PartialEq, Ord, PartialOrd, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | #[deriving(Hash, Eq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/slr.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | fail!(format!("Unexpected Node {}", node)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/slr.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | _ => { fail!("Must pass in a NonTerm to FOLLOW"); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:496:3 [INFO] [stdout] | [INFO] [stdout] 496 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:508:3 [INFO] [stdout] | [INFO] [stdout] 508 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/slr.rs:517:3 [INFO] [stdout] | [INFO] [stdout] 517 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | fail!("unreachable"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Lex` in this scope [INFO] [stdout] --> src/gram_parser.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | Err(err) => { return Err(Lex(err)) } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::ParseError::Lex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnconsumedInput` in this scope [INFO] [stdout] --> src/gram_parser.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | return Err(UnconsumedInput(format!("{}", self.tokens.slice(i, self.tokens.len())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::ParseError::UnconsumedInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 81 | fn Productions(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 90 | fn Production(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope [INFO] [stdout] --> src/gram_parser.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))})); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::NONTERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope [INFO] [stdout] --> src/gram_parser.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | let (b, _) = try!(self.consume(a, ARROW)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::ARROW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope [INFO] [stdout] --> src/gram_parser.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | let (d, _) = try!(self.consume(c, SEMI)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::SEMI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 99 | fn Body(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 106 | fn Body_(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope [INFO] [stdout] --> src/gram_parser.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | let (j, _) = try!(self.consume(i, VBAR)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::VBAR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 116 | fn Rule(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 125 | fn Symbol(&self, i : uint) -> Result<(uint,Node),ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope [INFO] [stdout] --> src/gram_parser.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | return self.consume(i, TERM).and_then(|(j, tok)| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::TERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope [INFO] [stdout] --> src/gram_parser.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | }).or(self.consume(i, NONTERM).and_then(|(j, tok)| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::NONTERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope [INFO] [stdout] --> src/gram_parser.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | }).or(self.consume(i, EMPTY).and_then(|(j, tok)| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::TokenType::EMPTY; [INFO] [stdout] | [INFO] [stdout] 9 | use libc::EMPTY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | fn epsilon(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:135:91 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 135 | fn epsilon(&self, i : uint, n : T, f : |uint| -> Result<(uint,T),E>) -> Result<(uint,T),E> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/gram_parser.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | return f(i).or(Ok((i,n))) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_parser.rs:139:72 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Parser<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 139 | fn consume<'a>(&'a self, i : uint, toktype : TokenType) -> Result<(uint, Token<'a>), ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NoMoreInputExpected` in this scope [INFO] [stdout] --> src/gram_parser.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | return Err(NoMoreInputExpected(toktype)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::ParseError::NoMoreInputExpected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedButGot` in this scope [INFO] [stdout] --> src/gram_parser.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | Err(ExpectedButGot(toktype, tok.token)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use gram_parser::ParseError::ExpectedButGot; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_lexer.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | BadState(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/gram_lexer.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | tc : uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope [INFO] [stdout] --> src/gram_lexer.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | return Some(Err(UnexpectedCharacter(ch))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::LexError::UnexpectedCharacter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEMI` in this scope [INFO] [stdout] --> src/gram_lexer.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | return Some(Ok(Token{token:SEMI,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::SEMI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnexpectedCharacter` in this scope [INFO] [stdout] --> src/gram_lexer.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | return Some(Err(UnexpectedCharacter(ch))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::LexError::UnexpectedCharacter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ARROW` in this scope [INFO] [stdout] --> src/gram_lexer.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | return Some(Ok(Token{token:ARROW,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::ARROW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope [INFO] [stdout] --> src/gram_lexer.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | return Some(Ok(Token{token:EMPTY,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::EMPTY; [INFO] [stdout] | [INFO] [stdout] 6 | use libc::EMPTY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope [INFO] [stdout] --> src/gram_lexer.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::NONTERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NONTERM` in this scope [INFO] [stdout] --> src/gram_lexer.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | return Some(Ok(Token{token:NONTERM,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::NONTERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VBAR` in this scope [INFO] [stdout] --> src/gram_lexer.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | return Some(Ok(Token{token:VBAR,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::VBAR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TERM` in this scope [INFO] [stdout] --> src/gram_lexer.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | return Some(Ok(Token{token:TERM,lexeme:text.slice(start_tc,tc)})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::TokenType::TERM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BadState` in this scope [INFO] [stdout] --> src/gram_lexer.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | return Some(Err(BadState(state))) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 6 | use gram_lexer::LexError::BadState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Index` in this scope [INFO] [stdout] --> src/slr.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn find + Collection>(items : &S, item : &T) -> (uint,bool) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn find + Collection>(items : &S, item : &T) -> (uint,bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope [INFO] [stdout] --> src/slr.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn find + Collection>(items : &S, item : &T) -> (uint,bool) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | fn find + Collection>(items : &S, item : &T) -> (uint,bool) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/slr.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut l : int = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/slr.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let mut r : int = (items.len() as int) - 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/slr.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | let mut r : int = (items.len() as int) - 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/slr.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut m : int; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | if item < &(*items)[m as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | } else if item == &(*items)[m as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | if j == 0 || item != &(*items)[(j-1) as uint] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | return (j as uint, true) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | return (l as uint, false) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Items` in module `slice` [INFO] [stdout] --> src/slr.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn iter<'b>(&'b self) -> slice::Items<'b, T> { [INFO] [stdout] | ^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutItems` in module `slice` [INFO] [stdout] --> src/slr.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn mut_iter<'b>(&'b mut self) -> slice::MutItems<'b, T> { [INFO] [stdout] | ^^^^^^^^ not found in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MoveItems` in module `vec` [INFO] [stdout] --> src/slr.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn into_iter(self) -> vec::MoveItems { [INFO] [stdout] | ^^^^^^^^^ not found in `vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn insert(&mut self, i : uint, item : T) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Collection` in this scope [INFO] [stdout] --> src/slr.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | impl Collection for SortedSet { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | fn len(&self) -> uint { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/slr.rs:139:60 [INFO] [stdout] | [INFO] [stdout] 139 | fn partial_cmp(&self, other : &SortedSet) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use slr::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/slr.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | fn cmp(&self, other : &SortedSet) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use slr::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 178 | impl Production { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 179 | pub fn index_of(&self, symbol : &Symbol) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | dot : uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/slr.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | fn partial_cmp(&self, other : &Item<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use slr::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/slr.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | fn cmp(&self, other : &Item<'a>) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use slr::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | symbols.insert(NonTerm(start.clone())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Term` in this scope [INFO] [stdout] --> src/slr.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | Term(name.clone()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | NonTerm(name.clone()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope [INFO] [stdout] --> src/slr.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | Term(s) => { s } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | NonTerm(s) => { s } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope [INFO] [stdout] --> src/slr.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | Term(_) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | NonTerm(ref name) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:332:74 [INFO] [stdout] | [INFO] [stdout] 332 | symbols.addall(first.minus(&SortedSet::singleton(EmptyString))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:333:44 [INFO] [stdout] | [INFO] [stdout] 333 | if first.contains(&EmptyString) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | symbols.add(EmptyString) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:355:62 [INFO] [stdout] | [INFO] [stdout] 355 | symbols.addall(first.minus(&SortedSet::singleton(EmptyString))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:356:32 [INFO] [stdout] | [INFO] [stdout] 356 | if first.contains(&EmptyString) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | symbols.add(EmptyString); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | NonTerm(ref name) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:371:29 [INFO] [stdout] | [INFO] [stdout] 371 | let i : uint = match p.index_of(&nt) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:377:44 [INFO] [stdout] | [INFO] [stdout] 377 | if first.contains(&EmptyString) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EmptyString` in this scope [INFO] [stdout] --> src/slr.rs:378:71 [INFO] [stdout] | [INFO] [stdout] 378 | ... first = first.minus(&SortedSet::singleton(EmptyString)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::EmptyString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:380:60 [INFO] [stdout] | [INFO] [stdout] 380 | ... symbols.addall(self.FOLLOW(NonTerm(p.nt.clone()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:385:52 [INFO] [stdout] | [INFO] [stdout] 385 | symbols.addall(self.FOLLOW(NonTerm(p.nt.clone()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:398:54 [INFO] [stdout] | [INFO] [stdout] 263 | impl Grammar { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 398 | let mut states : TreeMap>,uint> = TreeMap::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:400:27 [INFO] [stdout] | [INFO] [stdout] 400 | let mut next_id : uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope [INFO] [stdout] --> src/slr.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | Term(_) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:462:27 [INFO] [stdout] | [INFO] [stdout] 462 | } NonTerm(ref name) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:498:10 [INFO] [stdout] | [INFO] [stdout] 498 | id : uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:500:29 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct SLRState<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] ... [INFO] [stdout] 500 | moves : HashMap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:510:10 [INFO] [stdout] | [INFO] [stdout] 510 | Goto(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:511:11 [INFO] [stdout] | [INFO] [stdout] 511 | Shift(uint), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/slr.rs:519:24 [INFO] [stdout] | [INFO] [stdout] 518 | pub struct SLRTable<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, uint` [INFO] [stdout] 519 | actions : HashMap<(uint,Symbol),LRAction<'a>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Term` in this scope [INFO] [stdout] --> src/slr.rs:532:22 [INFO] [stdout] | [INFO] [stdout] 532 | &Term(_) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shift` in this scope [INFO] [stdout] --> src/slr.rs:533:63 [INFO] [stdout] | [INFO] [stdout] 533 | table.actions.insert((i,sym.clone()), Shift(*target)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::LRAction::Shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:535:22 [INFO] [stdout] | [INFO] [stdout] 535 | &NonTerm(_) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Goto` in this scope [INFO] [stdout] --> src/slr.rs:536:63 [INFO] [stdout] | [INFO] [stdout] 536 | table.actions.insert((i,sym.clone()), Goto(*target)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::LRAction::Goto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NonTerm` in this scope [INFO] [stdout] --> src/slr.rs:542:52 [INFO] [stdout] | [INFO] [stdout] 542 | for sym in self.grammar.FOLLOW(NonTerm(item.production.nt.clone())).iter() { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::Symbol::NonTerm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Reduce` in this scope [INFO] [stdout] --> src/slr.rs:543:63 [INFO] [stdout] | [INFO] [stdout] 543 | table.actions.insert((i,sym.clone()), Reduce(item.production)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 | use slr::LRAction::Reduce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stdout] --> src/main.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | log!("{}", getopts::usage(short_usage, self.options)); [INFO] [stdout] | ^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `std::fmt` [INFO] [stdout] --> src/main.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | fn unwrap_or_die(&self, res : Result) -> T { [INFO] [stdout] | ^^^^ not found in `std::fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | self.unwrap_or_die(io::File::open(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | self.unwrap_or_die(io::File::open(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/main.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | .and_then(|bytes : Vec| -> Result { [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stdout] --> src/main.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | getopts::optopt("g", "grammar", "the grammar to read", ""), [INFO] [stdout] | ^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stdout] --> src/main.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | getopts::optflag("h", "help", "print this help menu") [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | let args: Vec = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stdout] --> src/main.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | let opts = cfg.unwrap_or_die(getopts::getopts(args.slice(1, args.len()), cfg.options)); [INFO] [stdout] | ^^^^^^^ not found in `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Less` is private [INFO] [stdout] --> src/slr.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | return cmp::Less; [INFO] [stdout] | ^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Less` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Greater` is private [INFO] [stdout] --> src/slr.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | return cmp::Greater; [INFO] [stdout] | ^^^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Greater` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Less` is private [INFO] [stdout] --> src/slr.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | return cmp::Less; [INFO] [stdout] | ^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Less` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Greater` is private [INFO] [stdout] --> src/slr.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | return cmp::Greater; [INFO] [stdout] | ^^^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Greater` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Equal` is private [INFO] [stdout] --> src/slr.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | return cmp::Equal; [INFO] [stdout] | ^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Equal` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Less` is private [INFO] [stdout] --> src/slr.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | cmp::Less [INFO] [stdout] | ^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Less` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Less` is private [INFO] [stdout] --> src/slr.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | cmp::Less [INFO] [stdout] | ^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Less` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Equal` is private [INFO] [stdout] --> src/slr.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | cmp::Equal [INFO] [stdout] | ^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Equal` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Greater` is private [INFO] [stdout] --> src/slr.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | cmp::Greater [INFO] [stdout] | ^^^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Greater` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: unit variant `Greater` is private [INFO] [stdout] --> src/slr.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | cmp::Greater [INFO] [stdout] | ^^^^^^^ private unit variant [INFO] [stdout] | [INFO] [stdout] note: the unit variant `Greater` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/main.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | struct MainConfig<'a>{options : &'a [getopts::OptGroup]} [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(globs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/gram_parser.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | self.kids.push(box node); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/gram_parser.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | self.kids.insert(0, box node); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let (i, node) = try!(self.Productions(0)); [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/gram_parser.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let (a, prod) = try!(self.Production(i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let (b, list) = try!(self.Productions(a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let (a, nt) = try!(self.consume(i, NONTERM).and_then(|(a,tok)| {Ok((a,Node::new("NonTerm").addkid(Node::new(tok.lexeme))))})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let (b, _) = try!(self.consume(a, ARROW)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let (c, body) = try!(self.Body(b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let (d, _) = try!(self.consume(c, SEMI)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let (j, rule) = try!(self.Rule(i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | let (k, body) = try!(self.Body_(j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let (j, _) = try!(self.consume(i, VBAR)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | let (k, rule) = try!(self.Rule(j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | let (l, body) = try!(self.Body_(k)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | let (j, sym) = try!(self.Symbol(i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/gram_parser.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let (k, rule) = try!(self.Rule(j)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate getopts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { libc::exit(5); } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(globs)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 150 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0531, E0554, E0603... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `slr` due to 151 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3d60dbdbf4e3911ffc1360b786ec6c06ccec011835e08c7323cfca824fb09dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d60dbdbf4e3911ffc1360b786ec6c06ccec011835e08c7323cfca824fb09dd", kill_on_drop: false }` [INFO] [stdout] d3d60dbdbf4e3911ffc1360b786ec6c06ccec011835e08c7323cfca824fb09dd