[INFO] fetching crate ferru 0.4.0... [INFO] checking ferru-0.4.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ferru 0.4.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ferru 0.4.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ferru 0.4.0 [INFO] finished tweaking crates.io crate ferru 0.4.0 [INFO] tweaked toml for crates.io crate ferru 0.4.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mustache v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ebb3ac56d67b76dd286ffc9cbbabda47ddaa97184e7994b4533f285d7ba79fc [INFO] running `Command { std: "docker" "start" "-a" "8ebb3ac56d67b76dd286ffc9cbbabda47ddaa97184e7994b4533f285d7ba79fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ebb3ac56d67b76dd286ffc9cbbabda47ddaa97184e7994b4533f285d7ba79fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebb3ac56d67b76dd286ffc9cbbabda47ddaa97184e7994b4533f285d7ba79fc", kill_on_drop: false }` [INFO] [stdout] 8ebb3ac56d67b76dd286ffc9cbbabda47ddaa97184e7994b4533f285d7ba79fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2dac1c8b67e01ba4426a92a65912f3409959565995a61be68cfe0a713a05a43 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2dac1c8b67e01ba4426a92a65912f3409959565995a61be68cfe0a713a05a43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking mustache v0.7.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking ferru v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `parser::yaml_rust` [INFO] [stdout] --> src/parser/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | use parser::yaml_rust::Yaml; [INFO] [stdout] | ^^^^^^^^^ could not find `yaml_rust` in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ferru.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(util::copy_recursively(&source, &dest, is_static_file)) [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/ferru.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(document.render_to_file(&new_dest, &templates)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(template.render(&mut buf, &self.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let template_path = try!(self.template()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let template = try!(templates.get(&template_path.to_owned()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(fs::create_dir_all(&try!(parent_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | try!(fs::create_dir_all(&try!(parent_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = try!(File::create(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | data.insert("content", try!(self.as_html())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(template.render(&mut file, &data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(util::walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | let document = try!(parser::parse_document(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let relative_path = try!(path.strip_prefix(documents_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let templates_dir = try!(fs::read_dir(root_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let template_path = try!(template_path).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | if !try!(fs::metadata(&template_path)).is_file() { continue; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(template_file.read_to_string(&mut template)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let filename = try!(util::file_name_from_path(&template_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | let new_dest = &dest.as_ref().join(try!(entry.strip_prefix(source))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(fs::create_dir(new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::copy(&entry, new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(action(&entry.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if try!(fs::metadata(&entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | try!(path.as_ref().file_name().ok_or(Error::MissingFileName)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ferru.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(util::copy_recursively(&source, &dest, is_static_file)) [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/ferru.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(document.render_to_file(&new_dest, &templates)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/error.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(template.render(&mut buf, &self.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let template_path = try!(self.template()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let template = try!(templates.get(&template_path.to_owned()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(fs::create_dir_all(&try!(parent_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | try!(fs::create_dir_all(&try!(parent_path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = try!(File::create(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | data.insert("content", try!(self.as_html())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | try!(template.render(&mut file, &data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(util::walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | let document = try!(parser::parse_document(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/document.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let relative_path = try!(path.strip_prefix(documents_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let templates_dir = try!(fs::read_dir(root_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let template_path = try!(template_path).path(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | if !try!(fs::metadata(&template_path)).is_file() { continue; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(template_file.read_to_string(&mut template)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/template.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let filename = try!(util::file_name_from_path(&template_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | let new_dest = &dest.as_ref().join(try!(entry.strip_prefix(source))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(fs::create_dir(new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::copy(&entry, new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(action(&entry.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if try!(fs::metadata(&entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(walk_dir( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | try!(path.as_ref().file_name().ok_or(Error::MissingFileName)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | e => write!(f, "{}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | Error::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | Error::MustacheError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | Error::ParserError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | Error::StripPrefixError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | Error::IoError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | Error::MustacheError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | Error::ParserError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | Error::StripPrefixError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | e => write!(f, "{}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | Error::IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | Error::MustacheError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | Error::ParserError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | Error::StripPrefixError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | Error::IoError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | Error::MustacheError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | Error::ParserError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | Error::StripPrefixError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | Error::SerdeError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/parser/error.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | Error::SerdeError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderFormat` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | Err(Error::InvalidHeaderFormat("a".to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderFormat` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderFormat` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | Err(Error::InvalidHeaderFormat("a ".to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderFormat` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderKey` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | Err(Error::InvalidHeaderKey(Yaml::Null)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderKey` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderKey` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | Err(Error::InvalidHeaderKey(Yaml::Null)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderKey` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderFormat` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | Err(Error::InvalidHeaderFormat("title:sometitle".to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderFormat` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderKey` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | Err(Error::InvalidHeaderKey(Yaml::Integer(1234))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderKey` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderValue` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | Err(Error::InvalidHeaderValue(Yaml::Null)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderValue` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderValue` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | Err(Error::InvalidHeaderValue(Yaml::Null)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderValue` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderValue` found for enum `parser::error::Error` in the current scope [INFO] [stdout] --> src/parser/mod.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | Err(Error::InvalidHeaderValue(Yaml::Integer(1234))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `parser::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `InvalidHeaderValue` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::result::Result, parser::error::Error>` with `std::result::Result, _>` [INFO] [stdout] --> src/parser/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(&parse_header("title: sometitle\ndate: 2014-01-01"), &map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::result::Result, parser::error::Error> == std::result::Result, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, _>>` is not implemented for `std::result::Result, parser::error::Error>` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&std::result::Result, _>>` for `&std::result::Result, parser::error::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::result::Result, parser::error::Error>` with `std::result::Result, _>` [INFO] [stdout] --> src/parser/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(&parse_header("title: sometitle\ndate: 2014-01-01\n"), &map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::result::Result, parser::error::Error> == std::result::Result, _>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, _>>` is not implemented for `std::result::Result, parser::error::Error>` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&std::result::Result, _>>` for `&std::result::Result, parser::error::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(parse_document(""), Ok(Document::new(HashMap::new(), ""))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(parse_document("---\n"), Ok(Document::new(HashMap::new(), ""))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:126:64 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(parse_document("\n---\n"), Ok(Document::new(HashMap::new(), ""))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(parse_document(" ---\n"), Ok(Document::new(HashMap::new(), ""))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(parse_document("---\nsome random content"), Ok(Document::new(HashMap::new(), "some random content"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:133:83 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(parse_document("\n---\nsome random content"), Ok(Document::new(HashMap::new(), "some random content"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:134:82 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(parse_document(" ---\nsome random content"), Ok(Document::new(HashMap::new(), "some random content"))); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:145:79 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(parse_document("title: my title\n---\n"), Ok(Document::new(header, ""))); [INFO] [stdout] | ^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | let post = Document::new(header, "this is a post.\nwith multiple lines!"); [INFO] [stdout] | ^^^^^^ expected struct `BTreeMap`, found struct `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser/error.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | Error::SerdeError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/parser/error.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | Error::SerdeError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferru` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a2dac1c8b67e01ba4426a92a65912f3409959565995a61be68cfe0a713a05a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2dac1c8b67e01ba4426a92a65912f3409959565995a61be68cfe0a713a05a43", kill_on_drop: false }` [INFO] [stdout] a2dac1c8b67e01ba4426a92a65912f3409959565995a61be68cfe0a713a05a43