[INFO] cloning repository https://github.com/Miniwoffer/mdbook-dot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Miniwoffer/mdbook-dot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiniwoffer%2Fmdbook-dot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiniwoffer%2Fmdbook-dot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e7cf6e29993aa699ffcf60659acd6f62009f561 [INFO] building Miniwoffer/mdbook-dot against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiniwoffer%2Fmdbook-dot" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Miniwoffer/mdbook-dot on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Miniwoffer/mdbook-dot [INFO] finished tweaking git repo https://github.com/Miniwoffer/mdbook-dot [INFO] tweaked toml for git repo https://github.com/Miniwoffer/mdbook-dot written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Miniwoffer/mdbook-dot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c57cceb481c2a9110ae6338842c6a176ced5505c568f7a7cd14db6f8328880d1 [INFO] running `Command { std: "docker" "start" "-a" "c57cceb481c2a9110ae6338842c6a176ced5505c568f7a7cd14db6f8328880d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c57cceb481c2a9110ae6338842c6a176ced5505c568f7a7cd14db6f8328880d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57cceb481c2a9110ae6338842c6a176ced5505c568f7a7cd14db6f8328880d1", kill_on_drop: false }` [INFO] [stdout] c57cceb481c2a9110ae6338842c6a176ced5505c568f7a7cd14db6f8328880d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa97911b3196f89153a22f32ee75313713c7cebd72e40895ffb3f2cdae62916 [INFO] running `Command { std: "docker" "start" "-a" "ffa97911b3196f89153a22f32ee75313713c7cebd72e40895ffb3f2cdae62916", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling strum v0.9.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling open v1.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tendril v0.4.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling toml v0.4.8 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling toml-query v0.7.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling notify v4.0.6 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Compiling strum_macros v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling markup5ever v0.7.3 [INFO] [stderr] Compiling elasticlunr-rs v2.3.3 [INFO] [stderr] Compiling ammonia v1.2.0 [INFO] [stderr] Compiling mdbook v0.2.3 [INFO] [stderr] Compiling mdbook-dot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/bin/mdbook-dot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bin/mdbook-dot.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chapter` [INFO] [stdout] --> src/bin/mdbook-dot.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use mdbook::book::{Book,BookItem,Chapter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_args` [INFO] [stdout] --> src/bin/mdbook-dot.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(sub_args) = matches.subcommand_matches("supports") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front` [INFO] [stdout] --> src/bin/mdbook-dot.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | ... let (front,back) = chapter.content.split_at(start); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_replaced_items` [INFO] [stdout] --> src/bin/mdbook-dot.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | fn process <'a,I>(items: I, num_replaced_items: &mut usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_replaced_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/mdbook-dot.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | fn dot_to_image(input : String,path : String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/bin/mdbook-dot.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | fn supports_renderer(&self, renderer: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/mdbook-dot.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut stdin = dot.stdin.as_mut().expect("Failed to open stdin"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | serde_json::to_writer(io::stdout(), &processed_book); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | process(&mut book.sections, &mut num_replaced_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | ... Error::from(format!("Failed to generate Dot: dot not closed")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ffa97911b3196f89153a22f32ee75313713c7cebd72e40895ffb3f2cdae62916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa97911b3196f89153a22f32ee75313713c7cebd72e40895ffb3f2cdae62916", kill_on_drop: false }` [INFO] [stdout] ffa97911b3196f89153a22f32ee75313713c7cebd72e40895ffb3f2cdae62916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b60389c9a523f4e198447f10c95f21e3e9f27c778e5dbd6ebb65c344544e66bf [INFO] running `Command { std: "docker" "start" "-a" "b60389c9a523f4e198447f10c95f21e3e9f27c778e5dbd6ebb65c344544e66bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mdbook-dot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/bin/mdbook-dot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bin/mdbook-dot.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chapter` [INFO] [stdout] --> src/bin/mdbook-dot.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use mdbook::book::{Book,BookItem,Chapter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_args` [INFO] [stdout] --> src/bin/mdbook-dot.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(sub_args) = matches.subcommand_matches("supports") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front` [INFO] [stdout] --> src/bin/mdbook-dot.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | ... let (front,back) = chapter.content.split_at(start); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_replaced_items` [INFO] [stdout] --> src/bin/mdbook-dot.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | fn process <'a,I>(items: I, num_replaced_items: &mut usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_replaced_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/mdbook-dot.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | fn dot_to_image(input : String,path : String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/bin/mdbook-dot.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | fn supports_renderer(&self, renderer: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/mdbook-dot.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut stdin = dot.stdin.as_mut().expect("Failed to open stdin"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | serde_json::to_writer(io::stdout(), &processed_book); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | process(&mut book.sections, &mut num_replaced_items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/bin/mdbook-dot.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | ... Error::from(format!("Failed to generate Dot: dot not closed")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: tendril v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Executable unittests src/bin/mdbook-dot.rs (/opt/rustwide/target/debug/deps/mdbook_dot-21d6c27fb480ae1b) [INFO] running `Command { std: "docker" "inspect" "b60389c9a523f4e198447f10c95f21e3e9f27c778e5dbd6ebb65c344544e66bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60389c9a523f4e198447f10c95f21e3e9f27c778e5dbd6ebb65c344544e66bf", kill_on_drop: false }` [INFO] [stdout] b60389c9a523f4e198447f10c95f21e3e9f27c778e5dbd6ebb65c344544e66bf