[INFO] fetching crate ferru 0.4.0... [INFO] checking ferru-0.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ferru 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate ferru 0.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (available: v5.0.1) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.5) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding mustache v0.7.0 (available: v0.9.0) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding redox_users v0.3.5 (available: v0.4.6) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding rust-argon2 v0.8.3 (available: v2.1.0) [INFO] [stderr] Adding serde_yaml v0.7.5 (available: v0.9.34+deprecated) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding term v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding yaml-rust v0.3.5 (available: v0.4.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded mustache v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 451f1632ca9a6738e889b0875ef868213039807bdb08c0d389df998bbc5d3503 [INFO] running `Command { std: "docker" "start" "-a" "451f1632ca9a6738e889b0875ef868213039807bdb08c0d389df998bbc5d3503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451f1632ca9a6738e889b0875ef868213039807bdb08c0d389df998bbc5d3503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451f1632ca9a6738e889b0875ef868213039807bdb08c0d389df998bbc5d3503", kill_on_drop: false }` [INFO] [stdout] 451f1632ca9a6738e889b0875ef868213039807bdb08c0d389df998bbc5d3503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944991c658dda4dbf87d76695c650d2db49c8ae00a7a9077c1f01738e4523a2d [INFO] running `Command { std: "docker" "start" "-a" "944991c658dda4dbf87d76695c650d2db49c8ae00a7a9077c1f01738e4523a2d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking mustache v0.7.0 [INFO] [stderr] Checking serde_yaml v0.7.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: 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: 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: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: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: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: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: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: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: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: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: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: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: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: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: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 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: 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: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: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: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: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: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: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: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: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: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: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: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: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: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] | ^^^^^^^^ [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] 108 | fn cause(&self) -> Option<&dyn StdError> { [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] | ^^^^^^^^ [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] 41 | fn cause(&self) -> Option<&dyn StdError> { [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] | ^^^^^^^^ [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] 108 | fn cause(&self) -> Option<&dyn StdError> { [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] | ^^^^^^^^ [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] 41 | fn cause(&self) -> Option<&dyn StdError> { [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:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | e => write!(f, "{}", e.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: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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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] warning: use of deprecated method `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 method `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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [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 `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 for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [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>`, which is required by `&std::result::Result, parser::error::Error>: PartialEq<&std::result::Result, _>>` [INFO] [stdout] = help: the trait `PartialEq` is implemented for `std::result::Result, parser::error::Error>` [INFO] [stdout] = help: for that trait implementation, expected `BTreeMap`, found `HashMap` [INFO] [stdout] = note: required for `&std::result::Result, parser::error::Error>` to implement `PartialEq<&std::result::Result, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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>`, which is required by `&std::result::Result, parser::error::Error>: PartialEq<&std::result::Result, _>>` [INFO] [stdout] = help: the trait `PartialEq` is implemented for `std::result::Result, parser::error::Error>` [INFO] [stdout] = help: for that trait implementation, expected `BTreeMap`, found `HashMap` [INFO] [stdout] = note: required for `&std::result::Result, parser::error::Error>` to implement `PartialEq<&std::result::Result, _>>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [INFO] [stdout] | ^^^ -------------- [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 `BTreeMap`, found `HashMap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/document.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(header: Header, content: &str) -> Document { [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` (lib test) due to 22 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "944991c658dda4dbf87d76695c650d2db49c8ae00a7a9077c1f01738e4523a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944991c658dda4dbf87d76695c650d2db49c8ae00a7a9077c1f01738e4523a2d", kill_on_drop: false }` [INFO] [stdout] 944991c658dda4dbf87d76695c650d2db49c8ae00a7a9077c1f01738e4523a2d