[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#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjswrenn%2Frustylog" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jswrenn/rustylog on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 987d99c49ef5181117eb7df0a103fbe17f460d11c62a311f6f59259f1a906371 [INFO] running `Command { std: "docker" "start" "-a" "987d99c49ef5181117eb7df0a103fbe17f460d11c62a311f6f59259f1a906371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "987d99c49ef5181117eb7df0a103fbe17f460d11c62a311f6f59259f1a906371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987d99c49ef5181117eb7df0a103fbe17f460d11c62a311f6f59259f1a906371", kill_on_drop: false }` [INFO] [stdout] 987d99c49ef5181117eb7df0a103fbe17f460d11c62a311f6f59259f1a906371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c52adab172144e0ab307aa04b50c8db465bc776d6fd70c462fe08ad79ae1c4 [INFO] running `Command { std: "docker" "start" "-a" "70c52adab172144e0ab307aa04b50c8db465bc776d6fd70c462fe08ad79ae1c4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add parentheses to clarify the precedence [INFO] [stdout] | [INFO] [stdout] 32 | Some(&('A'..'Z')) => { [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add parentheses to clarify the precedence [INFO] [stdout] | [INFO] [stdout] 32 | Some(&('A'..'Z')) => { [INFO] [stdout] | + + [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add parentheses to clarify the precedence [INFO] [stdout] | [INFO] [stdout] 40 | Some(&('a'..'z')) => { [INFO] [stdout] | + + [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add parentheses to clarify the precedence [INFO] [stdout] | [INFO] [stdout] 40 | Some(&('a'..'z')) => { [INFO] [stdout] | + + [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] ... [INFO] [stdout] 17 | }); [INFO] [stdout] 18 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 18 | ); [INFO] [stdout] | + [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] ... [INFO] [stdout] 17 | }); [INFO] [stdout] 18 + } [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[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 tokenizer::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 tokenizer::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 tokenizer::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 tokenizer::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 one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use tokenizer::Token::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 one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use tokenizer::Token::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 tuple variants [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 tuple variants [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 tuple variants [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 tuple variants [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 tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] help: if you import `Atom`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - return Some(semantics::Atom(f.to_string())); [INFO] [stdout] 40 + return Some(Atom(f.to_string())); [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 tuple variants [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 tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] help: if you import `Variable`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - return Some(semantics::Variable(f.to_string())); [INFO] [stdout] 49 + return Some(Variable(f.to_string())); [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 tuple variants [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 tuple variants [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 tuple variants [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] help: if you import `Structure`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - return Some(semantics::Structure(f.to_string(), terms)); [INFO] [stdout] 73 + return Some(Structure(f.to_string(), terms)); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - match (iter.next()) { [INFO] [stdout] 61 + match iter.next() { [INFO] [stdout] | [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [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:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [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 tokenizer::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 tokenizer::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 tokenizer::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 tokenizer::Token::Implies; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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 the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 17 | impl> Tokenizer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/tokenizer.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [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 one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use tokenizer::Token::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 one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use tokenizer::Token::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 tuple variants [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 tuple variants [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 tuple variants [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 tuple variants [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 tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use parser::Token::Atom; [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Atom; [INFO] [stdout] | [INFO] [stdout] help: if you import `Atom`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - return Some(semantics::Atom(f.to_string())); [INFO] [stdout] 40 + return Some(Atom(f.to_string())); [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 tuple variants [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 tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use parser::Token::Variable; [INFO] [stdout] | [INFO] [stdout] 1 + use semantics::Term::Variable; [INFO] [stdout] | [INFO] [stdout] help: if you import `Variable`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - return Some(semantics::Variable(f.to_string())); [INFO] [stdout] 49 + return Some(Variable(f.to_string())); [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 tuple variants [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 tuple variants [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 tuple variants [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] help: if you import `Structure`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - return Some(semantics::Structure(f.to_string(), terms)); [INFO] [stdout] 73 + return Some(Structure(f.to_string(), terms)); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - match (iter.next()) { [INFO] [stdout] 61 + match iter.next() { [INFO] [stdout] | [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [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:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(globs, macro_rules, phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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 the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 17 | impl> Tokenizer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: 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] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/tokenizer.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl> Iterator for Tokenizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0425, E0432, E0531, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0425, E0432, E0531, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prolog` (bin "prolog") due to 28 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `prolog` (bin "prolog" test) due to 28 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70c52adab172144e0ab307aa04b50c8db465bc776d6fd70c462fe08ad79ae1c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c52adab172144e0ab307aa04b50c8db465bc776d6fd70c462fe08ad79ae1c4", kill_on_drop: false }` [INFO] [stdout] 70c52adab172144e0ab307aa04b50c8db465bc776d6fd70c462fe08ad79ae1c4