[INFO] cloning repository https://github.com/jswrenn/rustylog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jswrenn/rustylog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswrenn%2Frustylog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswrenn%2Frustylog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8678bccea50c76ebe3162901eb1d16464713c2b9 [INFO] checking jswrenn/rustylog against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswrenn%2Frustylog" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jswrenn/rustylog 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/jswrenn/rustylog [INFO] finished tweaking git repo https://github.com/jswrenn/rustylog [INFO] tweaked toml for git repo https://github.com/jswrenn/rustylog written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jswrenn/rustylog 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] f236d962844c8f799b53e4bf0f9939f672ec35919ab4710b9d5b3326a42dd17c [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" "f236d962844c8f799b53e4bf0f9939f672ec35919ab4710b9d5b3326a42dd17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f236d962844c8f799b53e4bf0f9939f672ec35919ab4710b9d5b3326a42dd17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f236d962844c8f799b53e4bf0f9939f672ec35919ab4710b9d5b3326a42dd17c", kill_on_drop: false }` [INFO] [stdout] f236d962844c8f799b53e4bf0f9939f672ec35919ab4710b9d5b3326a42dd17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 468e2c6802c369cade3a48e66bb609a7096bfc783f5e1fa50739c18ab5456930 [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" "468e2c6802c369cade3a48e66bb609a7096bfc783f5e1fa50739c18ab5456930", kill_on_drop: false }` [INFO] [stderr] Checking prolog v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: the range pattern here has ambiguous interpretation [INFO] [stdout] --> src/tokenizer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Some(&'A'..'Z') => { [INFO] [stdout] | ^^^^^^^^ help: add parentheses to clarify the precedence: `('A' ..'Z')` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the range pattern here has ambiguous interpretation [INFO] [stdout] --> src/tokenizer.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Some(&'a'..'z') => { [INFO] [stdout] | ^^^^^^^^ help: add parentheses to clarify the precedence: `('a' ..'z')` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/parser.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! lookahead ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 6 | | ($iter:ident 1) => ({ [INFO] [stdout] 7 | | let mut _temp = $iter.clone(); [INFO] [stdout] 8 | | (_temp.next()) [INFO] [stdout] ... | [INFO] [stdout] 17 | | }); [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! lookahead { [INFO] [stdout] 6 | ($iter:ident 1) => ({ [INFO] [stdout] 7 | let mut _temp = $iter.clone(); [INFO] [stdout] 8 | (_temp.next()) [INFO] [stdout] 9 | }); [INFO] [stdout] 10 | ($iter:ident 2) => ({ [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 18 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the range pattern here has ambiguous interpretation [INFO] [stdout] --> src/tokenizer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Some(&'A'..'Z') => { [INFO] [stdout] | ^^^^^^^^ help: add parentheses to clarify the precedence: `('A' ..'Z')` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the range pattern here has ambiguous interpretation [INFO] [stdout] --> src/tokenizer.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Some(&'a'..'z') => { [INFO] [stdout] | ^^^^^^^^ help: add parentheses to clarify the precedence: `('a' ..'z')` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/parser.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! lookahead ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 6 | | ($iter:ident 1) => ({ [INFO] [stdout] 7 | | let mut _temp = $iter.clone(); [INFO] [stdout] 8 | | (_temp.next()) [INFO] [stdout] ... | [INFO] [stdout] 17 | | }); [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! lookahead { [INFO] [stdout] 6 | ($iter:ident 1) => ({ [INFO] [stdout] 7 | let mut _temp = $iter.clone(); [INFO] [stdout] 8 | (_temp.next()) [INFO] [stdout] 9 | }); [INFO] [stdout] 10 | ($iter:ident 2) => ({ [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 18 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/tokenizer.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Eq, PartialEq, Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GroupL` in this scope [INFO] [stdout] --> src/tokenizer.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | Some(&'(') => {self.iter.next(); Some(GroupL)}, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::GroupL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GroupR` in this scope [INFO] [stdout] --> src/tokenizer.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | Some(&')') => {self.iter.next(); Some(GroupR)}, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::GroupR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Separator` in this scope [INFO] [stdout] --> src/tokenizer.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | Some(&',') => {self.iter.next(); Some(Separator)}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Separator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Implies` in this scope [INFO] [stdout] --> src/tokenizer.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Some(&'←') => {self.iter.next(); Some(Implies)}, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Implies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/tokenizer.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | return Some(Atom(chars)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/tokenizer.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | return Some(Atom(chars)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | (Some(&Atom(ref s)), Some(&GroupL)) => parse_structure(iter), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | (Some(&Atom(ref s)), _ ) => parse_atom(iter), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | (Some(&Variable(ref s)), _ ) => parse_variable(iter), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Some(&Atom(ref f)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in module `semantics` [INFO] [stdout] --> src/parser.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | return Some(semantics::Atom(f.to_string())); [INFO] [stdout] | ^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Some(&Variable(ref f)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Variable` in module `semantics` [INFO] [stdout] --> src/parser.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | return Some(semantics::Variable(f.to_string())); [INFO] [stdout] | ^^^^^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Some(&Atom(ref f)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Some(&Atom(_))| Some(&Variable(_)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | Some(&Atom(_))| Some(&Variable(_)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Structure` in module `semantics` [INFO] [stdout] --> src/parser.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | return Some(semantics::Structure(f.to_string(), terms)); [INFO] [stdout] | ^^^^^^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Structure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Some(&'A'..'Z') => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | ... 'A'..'Z' => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Some(&'a'..'z') => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | ... 'a'..'z' => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/parser.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | match (iter.next()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/tokenizer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | iter: Peekable [INFO] [stdout] | ^^^^^^^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl> Tokenizer { [INFO] [stdout] | ^^^^^^^^------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0531, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prolog` due to 31 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/tokenizer.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[deriving(Eq, PartialEq, Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GroupL` in this scope [INFO] [stdout] --> src/tokenizer.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | Some(&'(') => {self.iter.next(); Some(GroupL)}, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::GroupL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GroupR` in this scope [INFO] [stdout] --> src/tokenizer.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | Some(&')') => {self.iter.next(); Some(GroupR)}, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::GroupR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Separator` in this scope [INFO] [stdout] --> src/tokenizer.rs:30:61 [INFO] [stdout] | [INFO] [stdout] 30 | Some(&',') => {self.iter.next(); Some(Separator)}, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Separator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Implies` in this scope [INFO] [stdout] --> src/tokenizer.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Some(&'←') => {self.iter.next(); Some(Implies)}, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Implies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/tokenizer.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | return Some(Atom(chars)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/tokenizer.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | return Some(Atom(chars)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | (Some(&Atom(ref s)), Some(&GroupL)) => parse_structure(iter), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | (Some(&Atom(ref s)), _ ) => parse_atom(iter), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | (Some(&Variable(ref s)), _ ) => parse_variable(iter), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Some(&Atom(ref f)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Atom` in module `semantics` [INFO] [stdout] --> src/parser.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | return Some(semantics::Atom(f.to_string())); [INFO] [stdout] | ^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Some(&Variable(ref f)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Variable` in module `semantics` [INFO] [stdout] --> src/parser.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | return Some(semantics::Variable(f.to_string())); [INFO] [stdout] | ^^^^^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Some(&Atom(ref f)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Atom` in this scope [INFO] [stdout] --> src/parser.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Some(&Atom(_))| Some(&Variable(_)) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Variable` in this scope [INFO] [stdout] --> src/parser.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | Some(&Atom(_))| Some(&Variable(_)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Structure` in module `semantics` [INFO] [stdout] --> src/parser.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | return Some(semantics::Structure(f.to_string(), terms)); [INFO] [stdout] | ^^^^^^^^^ not found in `semantics` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use semantics::Term::Structure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | Some(&'A'..'Z') => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | ... 'A'..'Z' => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | Some(&'a'..'z') => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: exclusive range pattern syntax is experimental [INFO] [stdout] --> src/tokenizer.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | ... 'a'..'z' => true, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #37854 for more information [INFO] [stdout] = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/parser.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | match (iter.next()) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/tokenizer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | iter: Peekable [INFO] [stdout] | ^^^^^^^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl> Tokenizer { [INFO] [stdout] | ^^^^^^^^------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/tokenizer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0531, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "468e2c6802c369cade3a48e66bb609a7096bfc783f5e1fa50739c18ab5456930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468e2c6802c369cade3a48e66bb609a7096bfc783f5e1fa50739c18ab5456930", kill_on_drop: false }` [INFO] [stdout] 468e2c6802c369cade3a48e66bb609a7096bfc783f5e1fa50739c18ab5456930