[INFO] fetching crate rust-mustache 0.4.0... [INFO] checking rust-mustache-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rust-mustache 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rust-mustache 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-mustache 0.4.0 [INFO] finished tweaking crates.io crate rust-mustache 0.4.0 [INFO] tweaked toml for crates.io crate rust-mustache 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3978594f533ade2148506b25642bf500bce92900689d34d06fc0226b4ba1e6ae [INFO] running `Command { std: "docker" "start" "-a" "3978594f533ade2148506b25642bf500bce92900689d34d06fc0226b4ba1e6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3978594f533ade2148506b25642bf500bce92900689d34d06fc0226b4ba1e6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3978594f533ade2148506b25642bf500bce92900689d34d06fc0226b4ba1e6ae", kill_on_drop: false }` [INFO] [stdout] 3978594f533ade2148506b25642bf500bce92900689d34d06fc0226b4ba1e6ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fa647b2f90ed5822cfc881d775b3b3864fbf442e4c2b3e3a6dd0f2238529fa [INFO] running `Command { std: "docker" "start" "-a" "74fa647b2f90ed5822cfc881d775b3b3864fbf442e4c2b3e3a6dd0f2238529fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rust-mustache v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:88:58 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn insert_vec(self, key: K, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert_map(self, key: K, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:133:57 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn insert_fn(self, key: K, f: |String|: 'a -> String) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn push_vec(self, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn push_map(self, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn push_fn(self, f: |String|: 'a -> String) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:88:58 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn insert_vec(self, key: K, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert_map(self, key: K, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:133:57 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn insert_fn(self, key: K, f: |String|: 'a -> String) -> MapBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn push_vec(self, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn push_map(self, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/builder.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn push_fn(self, f: |String|: 'a -> String) -> VecBuilder<'a> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: return types are denoted using `->` [INFO] [stdout] --> src/data.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use `->` instead [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String| -> 'a -> String>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime in trait object type must be followed by `+` [INFO] [stdout] --> src/data.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: return types are denoted using `->` [INFO] [stdout] --> src/data.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use `->` instead [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String| -> 'a -> String>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime in trait object type must be followed by `+` [INFO] [stdout] --> src/data.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/data.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Data<'a> { [INFO] [stdout] | ---- while parsing this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/data.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Data<'a> { [INFO] [stdout] | ---- while parsing this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Fun(RefCell<|String|: 'a -> String>), [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | fn emit_enum(&mut self, _name: &str, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | fn emit_enum(&mut self, _name: &str, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | ... _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:110:48 [INFO] [stdout] | [INFO] [stdout] 110 | fn emit_tuple_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:110:48 [INFO] [stdout] | [INFO] [stdout] 110 | fn emit_tuple_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | fn emit_tuple_struct_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | fn emit_tuple_struct_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn emit_option(&mut self, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn emit_option(&mut self, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn emit_option_some(&mut self, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn emit_seq(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | fn emit_option_some(&mut self, _f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn emit_seq_elt(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn emit_seq(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | fn emit_map(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn emit_seq_elt(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | fn emit_map(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | fn emit_map_elt_key(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | fn emit_map_elt_key(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | fn emit_map_elt_val(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/encoder.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | fn emit_map_elt_val(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `assert_eq` [INFO] [stdout] --> src/encoder.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | try!(data.encode(&mut encoder)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 198 | assert_eq!(encoder.data.len(), 1); [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `assert_eq` [INFO] [stdout] --> src/encoder.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | try!(data.encode(&mut encoder)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 198 | assert_eq!(encoder.data.len(), 1); [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/context.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use template::{mod, Template}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 7 | use template::{r#mod, Template}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/context.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use template::{mod, Template}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 7 | use template::{r#mod, Template}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/template.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | f: &RefCell<|String| -> String> [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `|` [INFO] [stdout] --> src/template.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | f: &RefCell<|String| -> String> [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::FileNotFound` [INFO] [stdout] --> src/compiler.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{File, FileNotFound}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ no `FileNotFound` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemWriter` [INFO] [stdout] --> src/template.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::MemWriter; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufWriter` [INFO] [stdout] | no `MemWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `template::r#mod` [INFO] [stdout] --> src/context.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use template::{mod, Template}; [INFO] [stdout] | ^^^ no `r#mod` in `template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/error.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/context.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/compiler.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | ... debug!("failed to read file {}", path.display()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/template.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::FileNotFound` [INFO] [stdout] --> src/compiler.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{File, FileNotFound}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ no `FileNotFound` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::MemWriter` [INFO] [stdout] --> src/template.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::MemWriter; [INFO] [stdout] | ^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BufWriter` [INFO] [stdout] | no `MemWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::TempDir` [INFO] [stdout] --> src/template.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | use std::io::{File, TempDir}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `TempDir` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `template::r#mod` [INFO] [stdout] --> src/context.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use template::{mod, Template}; [INFO] [stdout] | ^^^ no `r#mod` in `template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/lib.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/error.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[deriving(PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Clone, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/context.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/compiler.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | ... debug!("failed to read file {}", path.display()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/template.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Show, Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/template.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[deriving(Encodable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `detail` is not a member of trait `error::Error` [INFO] [stdout] --> src/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn detail(&self) -> Option { [INFO] [stdout] 26 | | match *self { [INFO] [stdout] 27 | | Error::IoError(ref err) => err.detail(), [INFO] [stdout] 28 | | _ => Some(self.description().to_string()), [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ not a member of trait `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `detail` is not a member of trait `error::Error` [INFO] [stdout] --> src/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn detail(&self) -> Option { [INFO] [stdout] 26 | | match *self { [INFO] [stdout] 27 | | Error::IoError(ref err) => err.detail(), [INFO] [stdout] 28 | | _ => Some(self.description().to_string()), [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ not a member of trait `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | K: StrAllocating, T: Encodable, Error> [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | K: StrAllocating, V: StrAllocating [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | K: StrAllocating, V: StrAllocating [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_bool(self, key: K, value: bool) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn insert_vec(self, key: K, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert_map(self, key: K, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn insert_fn(self, key: K, f: |String|: 'a -> String) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/builder.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | data.insert(key.into_string(), Data::Fun(RefCell::new(f))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn push_str(self, value: T) -> VecBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/builder.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | data.push(Data::Fun(RefCell::new(f))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/data.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a> fmt::Show for Data<'a> { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/encoder.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn emit_uint(&mut self, v: uint) -> EncoderResult { self.emit_str(v.to_string().as_slice()) } [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/encoder.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn emit_int(&mut self, v: int) -> EncoderResult { self.emit_str(v.to_string().as_slice()) } [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/encoder.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | _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/encoder.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | _len: 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/encoder.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | ... _a_idx: 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/encoder.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | ... _v_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/encoder.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ... _len: 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/encoder.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | ... _f_idx: 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/encoder.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | _len: 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/encoder.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | _idx: 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/encoder.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | len: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | self.emit_seq(len, f) [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/encoder.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn emit_tuple_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | self.emit_seq_elt(idx, f) [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/encoder.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | len: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | self.emit_seq(len, f) [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/encoder.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | fn emit_tuple_struct_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | self.emit_seq_elt(idx, f) [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/encoder.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn emit_seq(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | fn emit_seq_elt(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | fn emit_map(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | fn emit_map_elt_key(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | fn emit_map_elt_val(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | IoError(io::IoError), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 11 | IoError(Error), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | IoError(io::Error), [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromError` in module `error` [INFO] [stdout] --> src/error.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: io::IoError) -> Error { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: Error) -> Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: io::Error) -> Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/error.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | impl fmt::Show for Error { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/parser.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | WhiteSpace(String, 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/parser.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | line: 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/parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | col: 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/parser.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | tag_position: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub template_path: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/context.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | impl fmt::Show for Context { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(path: Path) -> Context { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `template` [INFO] [stdout] --> src/context.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | template::new(self.clone(), tokens, partials) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `template` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | Template::new(self.clone(), tokens, partials) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn compile_path(&self, path: Path) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render<'a, W: Writer, T: Encodable, Error>>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn render_data<'a, W: Writer>(&self, wr: &mut W, data: &Data<'a>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn render<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | fn render_token<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn render_text( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | fn render_etag<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn render_utag<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | fn render_inverted_section<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | fn render_section<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | fn render_partial<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/template.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | let f = &mut *f.borrow_mut(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | Context::new(Path::new(".")).compile(iter) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compile_path(path: Path) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Context::new(Path::new(".")).compile_path(path) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/builder.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let value = try!(encoder::encode(value)); [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/builder.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let value = try!(encoder::encode(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let s = try!(File::open(&path).read_to_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let data = try!(encoder::encode(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/parser.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | if len > 2u && content.ends_with("=") { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | K: StrAllocating, T: Encodable, Error> [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | K: StrAllocating, V: StrAllocating [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | K: StrAllocating, V: StrAllocating [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn insert_bool(self, key: K, value: bool) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | _ => error::Error::description(self).fmt(f), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn insert_vec(self, key: K, f: |VecBuilder<'a>| -> VecBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn insert_map(self, key: K, f: |MapBuilder<'a>| -> MapBuilder<'a>) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn insert_fn(self, key: K, f: |String|: 'a -> String) -> MapBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/builder.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | data.insert(key.into_string(), Data::Fun(RefCell::new(f))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StrAllocating` in this scope [INFO] [stdout] --> src/builder.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn push_str(self, value: T) -> VecBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/builder.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | data.push(Data::Fun(RefCell::new(f))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/data.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a> fmt::Show for Data<'a> { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/encoder.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn emit_uint(&mut self, v: uint) -> EncoderResult { self.emit_str(v.to_string().as_slice()) } [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/encoder.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn emit_int(&mut self, v: int) -> EncoderResult { self.emit_str(v.to_string().as_slice()) } [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/encoder.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | _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/encoder.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | _len: 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/encoder.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | ... _a_idx: 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/encoder.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | ... _v_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/encoder.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ... _len: 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/encoder.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | ... _f_idx: 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/encoder.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | _len: 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/encoder.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | _idx: 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/encoder.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | len: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | self.emit_seq(len, f) [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/encoder.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn emit_tuple_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | self.emit_seq_elt(idx, f) [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/encoder.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | len: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | self.emit_seq(len, f) [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/encoder.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | fn emit_tuple_struct_arg(&mut self, idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/encoder.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | self.emit_seq_elt(idx, f) [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/encoder.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | fn emit_seq(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | fn emit_seq_elt(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | fn emit_map(&mut self, _len: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:163:42 [INFO] [stdout] | [INFO] [stdout] 163 | fn emit_map_elt_key(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [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/encoder.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | fn emit_map_elt_val(&mut self, _idx: uint, f: |&mut Encoder<'a>| -> EncoderResult) -> EncoderResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_iter>(iter: T) -> Template { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_iter>(iter: T) -> Template { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | IoError(io::IoError), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 11 | IoError(Error), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | IoError(io::Error), [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromError` in module `error` [INFO] [stdout] --> src/error.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | impl error::FromError for Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stdout] --> src/error.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: io::IoError) -> Error { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/error.rs:64:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Error` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `Error::IoError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: Error) -> Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 | fn from_error(err: io::Error) -> Error { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/error.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | impl fmt::Show for Error { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/parser.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | WhiteSpace(String, 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/parser.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | line: 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/parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | col: 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/parser.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | tag_position: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub template_path: Path, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/context.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | impl fmt::Show for Context { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(path: Path) -> Context { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/builder.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MapBuilder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `template` [INFO] [stdout] --> src/context.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | template::new(self.clone(), tokens, partials) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `template` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | Template::new(self.clone(), tokens, partials) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use template; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/builder.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct VecBuilder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/context.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn compile_path(&self, path: Path) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/compiler.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let ctx = Context::new(Path::new(".")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render<'a, W: Writer, T: Encodable, Error>>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn render_data<'a, W: Writer>(&self, wr: &mut W, data: &Data<'a>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn render<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | fn render_token<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn render_text( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | fn render_etag<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn render_utag<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:208:39 [INFO] [stdout] | [INFO] [stdout] 208 | fn render_inverted_section<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | fn render_section<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/template.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | fn render_partial<'b, W: Writer>( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/template.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | let f = &mut *f.borrow_mut(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/data.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Data<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/template.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | let template = Context::new(Path::new("src/test-data")) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 356 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/template.rs:476:27 [INFO] [stdout] | [INFO] [stdout] 476 | .compile_path(Path::new("base")) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 356 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/template.rs:513:20 [INFO] [stdout] | [INFO] [stdout] 513 | let path = Path::new(src); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 356 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/template.rs:542:32 [INFO] [stdout] | [INFO] [stdout] 542 | fn write_partials(tmpdir: &Path, value: &json::Json) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 356 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | Context::new(Path::new(".")).compile(iter) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn compile_path(path: Path) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Context::new(Path::new(".")).compile_path(path) [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/builder.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let value = try!(encoder::encode(value)); [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/builder.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let value = try!(encoder::encode(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let s = try!(File::open(&path).read_to_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/template.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let data = try!(encoder::encode(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | try!(template.render(&mut wr, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/encoder.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Encoder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/parser.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | if len > 2u && content.ends_with("=") { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `error::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl error::Error for Error { [INFO] [stdout] | ^^^^^ `error::Error` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `error::Error` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/error.rs:29:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | .insert("age", &41u).unwrap() [INFO] [stdout] | ^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | ... .insert("publish_date", &1813u).unwrap() [INFO] [stdout] | ^^^^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let mut count = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | count += 1u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | let mut count = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/builder.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | count += 1u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/template.rs:677:29 [INFO] [stdout] | [INFO] [stdout] 677 | let mut calls = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `error::Error` doesn't implement `Debug` [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl error::Error for Error { [INFO] [stdout] | ^^^^^ `error::Error` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `error::Error` [INFO] [stdout] = note: add `#[derive(Debug)]` to `error::Error` or manually `impl Debug for error::Error` [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/error.rs:29:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/parser.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a, T: Iterator> Parser<'a, T> { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a, T: Iterator> Parser<'a, T> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/compiler.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl> Compiler { [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> Compiler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | _ => error::Error::description(self).fmt(f), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnicodeChar` [INFO] [stdout] --> src/parser.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | let pos = s.as_slice().find(UnicodeChar::is_whitespace); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UnicodeChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/builder.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let builder = f(VecBuilder::new()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_iter>(iter: T) -> Template { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile_iter>(iter: T) -> Template { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/builder.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let builder = f(MapBuilder::new()); [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/builder.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | let builder = f(VecBuilder::new()); [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/builder.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let builder = f(MapBuilder::new()); [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/encoder.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 128 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0392, E0405, E0407, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/builder.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MapBuilder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/builder.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct VecBuilder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/data.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Data<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/encoder.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Encoder<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-mustache` (lib) due to 129 previous errors; 12 warnings emitted [INFO] [stdout] error[E0277]: `error::Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl error::Error for Error { [INFO] [stdout] | ^^^^^ `error::Error` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `error::Error` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/error.rs:29:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `error::Error` doesn't implement `Debug` [INFO] [stdout] --> src/error.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl error::Error for Error { [INFO] [stdout] | ^^^^^ `error::Error` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `error::Error` [INFO] [stdout] = note: add `#[derive(Debug)]` to `error::Error` or manually `impl Debug for error::Error` [INFO] [stdout] note: required by a bound in `std::error::Error` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/error.rs:29:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/parser.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a, T: Iterator> Parser<'a, T> { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a, T: Iterator> Parser<'a, T> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/compiler.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl> Compiler { [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> Compiler { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnicodeChar` [INFO] [stdout] --> src/parser.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | let pos = s.as_slice().find(UnicodeChar::is_whitespace); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UnicodeChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/builder.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let builder = f(VecBuilder::new()); [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/builder.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | let builder = f(MapBuilder::new()); [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/builder.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | let builder = f(VecBuilder::new()); [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/builder.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let builder = f(MapBuilder::new()); [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/encoder.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | f(self) [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> src/encoder.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f(self)); [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | help: try calling `f` as a method: `self.f()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 142 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0392, E0405, E0407, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-mustache` (lib test) due to 143 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74fa647b2f90ed5822cfc881d775b3b3864fbf442e4c2b3e3a6dd0f2238529fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fa647b2f90ed5822cfc881d775b3b3864fbf442e4c2b3e3a6dd0f2238529fa", kill_on_drop: false }` [INFO] [stdout] 74fa647b2f90ed5822cfc881d775b3b3864fbf442e4c2b3e3a6dd0f2238529fa