[INFO] fetching crate mustache 0.9.0... [INFO] checking mustache-0.9.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate mustache 0.9.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mustache 0.9.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mustache 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mustache 0.9.0 [INFO] tweaked toml for crates.io crate mustache 0.9.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-0-tc1/source/tests/builder.rs [INFO] [stderr] * /workspace/builds/worker-0-tc1/source/tests/macros.rs [INFO] [stderr] * /workspace/builds/worker-0-tc1/source/tests/template.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a03bc26dd348ef9bd7d6362cead21a7e90afe2c5c1c472d928b2b1e31304a11a [INFO] running `Command { std: "docker" "start" "-a" "a03bc26dd348ef9bd7d6362cead21a7e90afe2c5c1c472d928b2b1e31304a11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03bc26dd348ef9bd7d6362cead21a7e90afe2c5c1c472d928b2b1e31304a11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03bc26dd348ef9bd7d6362cead21a7e90afe2c5c1c472d928b2b1e31304a11a", kill_on_drop: false }` [INFO] [stdout] a03bc26dd348ef9bd7d6362cead21a7e90afe2c5c1c472d928b2b1e31304a11a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da7880bb55aa4dc86fae51b8f9e218c22fe1723a4159142d39e556eea00294e4 [INFO] running `Command { std: "docker" "start" "-a" "da7880bb55aa4dc86fae51b8f9e218c22fe1723a4159142d39e556eea00294e4", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/builder.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/macros.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/template.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mustache v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [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/compiler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | try!(parser.parse()) [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/compiler.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.read_to_string(&mut string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compiler.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let (tokens, subpartials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let (tokens, partials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_to_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/encoder.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{self, Serialize, ser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | self.vec.push(try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | self.map.insert(key, try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(deny_blank(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.add_partial(&content, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | let s = try!(deny_blank(&content[1..len - 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:495:28 [INFO] [stdout] | [INFO] [stdout] 495 | let name = try!(get_name_or_implicit(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | let name = try!(deny_blank(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:563:16 [INFO] [stdout] | [INFO] [stdout] 563 | let name = try!(deny_blank(&name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.render(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.render_data(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(self.render_token(wr, stack, token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(wr.write_all(value.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(wr.write_all(self.indent.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(self.write_tracking_newlines(wr, line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.render_utag(&mut bytes, stack, path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | try!(wr.write_all(b"<")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | try!(wr.write_all(b">")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | try!(wr.write_all(b"&")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | try!(wr.write_all(b""")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | try!(wr.write_all(b"'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(wr.write_all(&[b])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try!(self.write_tracking_newlines(wr, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let (tokens, _) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Fun(RefCell String + Send>>), [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] 11 | Fun(RefCell String + Send>>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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/encoder.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | self.description().fmt(f) [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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | self.description().fmt(f) [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:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Io(ref err) => err.description(), [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:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | Error::Parser(ref err) => err.description(), [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:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | Error::Encoder(ref err) => err.description(), [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/parser.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [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/compiler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | try!(parser.parse()) [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/compiler.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.read_to_string(&mut string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compiler.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let (tokens, subpartials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let (tokens, partials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_to_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/encoder.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{self, Serialize, ser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | self.vec.push(try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | self.map.insert(key, try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(deny_blank(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.add_partial(&content, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | let s = try!(deny_blank(&content[1..len - 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:495:28 [INFO] [stdout] | [INFO] [stdout] 495 | let name = try!(get_name_or_implicit(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | let name = try!(deny_blank(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:563:16 [INFO] [stdout] | [INFO] [stdout] 563 | let name = try!(deny_blank(&name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.render(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.render_data(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(self.render_token(wr, stack, token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(wr.write_all(value.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(wr.write_all(self.indent.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(self.write_tracking_newlines(wr, line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.render_utag(&mut bytes, stack, path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | try!(wr.write_all(b"<")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | try!(wr.write_all(b">")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | try!(wr.write_all(b"&")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | try!(wr.write_all(b""")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | try!(wr.write_all(b"'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(wr.write_all(&[b])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try!(self.write_tracking_newlines(wr, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let (tokens, _) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mustache` is imported redundantly [INFO] [stdout] --> tests/template.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use mustache::{self, Data, Error, to_data}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate mustache; [INFO] [stdout] | ---------------------- the item `mustache` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> tests/template.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/template.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | try!(template.render(&mut bytes, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Fun(RefCell String + Send>>), [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] 11 | Fun(RefCell String + Send>>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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/encoder.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | self.description().fmt(f) [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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | self.description().fmt(f) [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:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Io(ref err) => err.description(), [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:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | Error::Parser(ref err) => err.description(), [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:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | Error::Encoder(ref err) => err.description(), [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] --> tests/template.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(e.description(), "failed to write whole buffer") [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/parser.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.75s [INFO] running `Command { std: "docker" "inspect" "da7880bb55aa4dc86fae51b8f9e218c22fe1723a4159142d39e556eea00294e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7880bb55aa4dc86fae51b8f9e218c22fe1723a4159142d39e556eea00294e4", kill_on_drop: false }` [INFO] [stdout] da7880bb55aa4dc86fae51b8f9e218c22fe1723a4159142d39e556eea00294e4 [INFO] checking mustache-0.9.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate mustache 0.9.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate mustache 0.9.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mustache 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mustache 0.9.0 [INFO] tweaked toml for crates.io crate mustache 0.9.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-0-tc2/source/tests/builder.rs [INFO] [stderr] * /workspace/builds/worker-0-tc2/source/tests/macros.rs [INFO] [stderr] * /workspace/builds/worker-0-tc2/source/tests/template.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dea8d7eca64f5bd1dc2fe97d678bf4fdf2772a11b238463fd9fe85e5b34d7ea [INFO] running `Command { std: "docker" "start" "-a" "1dea8d7eca64f5bd1dc2fe97d678bf4fdf2772a11b238463fd9fe85e5b34d7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dea8d7eca64f5bd1dc2fe97d678bf4fdf2772a11b238463fd9fe85e5b34d7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dea8d7eca64f5bd1dc2fe97d678bf4fdf2772a11b238463fd9fe85e5b34d7ea", kill_on_drop: false }` [INFO] [stdout] 1dea8d7eca64f5bd1dc2fe97d678bf4fdf2772a11b238463fd9fe85e5b34d7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80fa385555d71dec9ea1a29dff2a14681acf3cb67bc31d64ad4038cd57c12675 [INFO] running `Command { std: "docker" "start" "-a" "80fa385555d71dec9ea1a29dff2a14681acf3cb67bc31d64ad4038cd57c12675", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/builder.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/macros.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/template.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mustache v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [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/compiler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | try!(parser.parse()) [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/compiler.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.read_to_string(&mut string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compiler.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let (tokens, subpartials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let (tokens, partials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_to_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/encoder.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{self, Serialize, ser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | self.vec.push(try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | self.map.insert(key, try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(deny_blank(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.add_partial(&content, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | let s = try!(deny_blank(&content[1..len - 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:495:28 [INFO] [stdout] | [INFO] [stdout] 495 | let name = try!(get_name_or_implicit(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | let name = try!(deny_blank(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:563:16 [INFO] [stdout] | [INFO] [stdout] 563 | let name = try!(deny_blank(&name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.render(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.render_data(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(self.render_token(wr, stack, token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(wr.write_all(value.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(wr.write_all(self.indent.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(self.write_tracking_newlines(wr, line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.render_utag(&mut bytes, stack, path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | try!(wr.write_all(b"<")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | try!(wr.write_all(b">")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | try!(wr.write_all(b"&")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | try!(wr.write_all(b""")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | try!(wr.write_all(b"'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(wr.write_all(&[b])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try!(self.write_tracking_newlines(wr, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let (tokens, _) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Fun(RefCell String + Send>>), [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] 11 | Fun(RefCell String + Send>>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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/encoder.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | self.description().fmt(f) [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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | self.description().fmt(f) [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:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Io(ref err) => err.description(), [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:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | Error::Parser(ref err) => err.description(), [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:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | Error::Encoder(ref err) => err.description(), [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/parser.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/builder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [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/compiler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | try!(parser.parse()) [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/compiler.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.read_to_string(&mut string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/compiler.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let (tokens, subpartials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let (tokens, partials) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_to_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/context.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/encoder.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{self, Serialize, ser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | self.vec.push(try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | self.map.insert(key, try!(to_data(&value))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... try!(self.add_tag()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(deny_blank(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | let name = try!(get_name_or_implicit(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | let name = try!(get_name_or_implicit(&content[1..len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.add_partial(&content, tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | let s = try!(deny_blank(&content[1..len - 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:495:28 [INFO] [stdout] | [INFO] [stdout] 495 | let name = try!(get_name_or_implicit(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:533:20 [INFO] [stdout] | [INFO] [stdout] 533 | let name = try!(deny_blank(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:563:16 [INFO] [stdout] | [INFO] [stdout] 563 | let name = try!(deny_blank(&name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.render(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.render_data(&mut output, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(self.render_token(wr, stack, token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(wr.write_all(value.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(wr.write_all(self.indent.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | try!(self.write_tracking_newlines(wr, line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.render_utag(&mut bytes, stack, path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | try!(wr.write_all(b"<")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | try!(wr.write_all(b">")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | try!(wr.write_all(b"&")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | try!(wr.write_all(b""")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | try!(wr.write_all(b"'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(wr.write_all(&[b])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.write_indent(wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | try!(self.write_tracking_newlines(wr, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 219 | let tokens = try!(self.render_fun("", "{{", "}}", f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | try!(self.render(wr, stack, children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | let tokens = try!(self.render_fun(src, otag, ctag, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | try!(self.render(wr, stack, &tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let (tokens, _) = try!(compiler.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | Fun(RefCell String + Send>>), [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] 11 | Fun(RefCell String + Send>>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/template.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | f: &mut Box String + Send + 'static>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mustache` is imported redundantly [INFO] [stdout] --> tests/template.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use mustache::{self, Data, Error, to_data}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate mustache; [INFO] [stdout] | ---------------------- the item `mustache` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> tests/template.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/template.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | try!(template.render(&mut bytes, data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/encoder.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | self.description().fmt(f) [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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | self.description().fmt(f) [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:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Io(ref err) => err.description(), [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:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | Error::Parser(ref err) => err.description(), [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:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | Error::Encoder(ref err) => err.description(), [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/parser.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | _ => write!(f, "{}", self.description()), [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] --> tests/template.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(e.description(), "failed to write whole buffer") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.59s [INFO] running `Command { std: "docker" "inspect" "80fa385555d71dec9ea1a29dff2a14681acf3cb67bc31d64ad4038cd57c12675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fa385555d71dec9ea1a29dff2a14681acf3cb67bc31d64ad4038cd57c12675", kill_on_drop: false }` [INFO] [stdout] 80fa385555d71dec9ea1a29dff2a14681acf3cb67bc31d64ad4038cd57c12675