[INFO] cloning repository https://github.com/Miniwoffer/mdbook-dot [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiniwoffer%2Fmdbook-dot'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5e7cf6e29993aa699ffcf60659acd6f62009f561 [INFO] testing Miniwoffer/mdbook-dot against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiniwoffer%2Fmdbook-dot" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Miniwoffer/mdbook-dot on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/Miniwoffer/mdbook-dot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f4a78154f330e0b8932be1076d6dd72fdfa822dfdf5d0720d18ba9020af17a3a [INFO] running `"docker" "start" "-a" "f4a78154f330e0b8932be1076d6dd72fdfa822dfdf5d0720d18ba9020af17a3a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 siphasher v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling lazy_static v1.2.0 [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 semver-parser v0.7.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strum v0.9.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling open v1.2.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [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 base64 v0.9.3 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling filetime v0.2.2 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling pest v2.0.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling walkdir v2.2.6 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling tendril v0.4.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling pest_generator v2.0.0 [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 iron v0.6.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling toml v0.4.8 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling toml-query v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling html5ever v0.22.5 [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] [stderr] warning: unused import: `ArgMatches` [INFO] [stderr] --> src/bin/mdbook-dot.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/bin/mdbook-dot.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Chapter` [INFO] [stderr] --> src/bin/mdbook-dot.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use mdbook::book::{Book,BookItem,Chapter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_args` [INFO] [stderr] --> src/bin/mdbook-dot.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | if let Some(sub_args) = matches.subcommand_matches("supports") { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `front` [INFO] [stderr] --> src/bin/mdbook-dot.rs:81:34 [INFO] [stderr] | [INFO] [stderr] 81 | ... let (front,back) = chapter.content.split_at(start); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_replaced_items` [INFO] [stderr] --> src/bin/mdbook-dot.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | fn process <'a,I>(items: I, num_replaced_items: &mut usize) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_replaced_items` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/bin/mdbook-dot.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | fn dot_to_image(input : String,path : String) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/bin/mdbook-dot.rs:64:33 [INFO] [stderr] | [INFO] [stderr] 64 | fn supports_renderer(&self, renderer: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/mdbook-dot.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let mut stdin = dot.stdin.as_mut().expect("Failed to open stdin"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | serde_json::to_writer(io::stdout(), &processed_book); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | process(&mut book.sections, &mut num_replaced_items); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 56s [INFO] running `"docker" "inspect" "f4a78154f330e0b8932be1076d6dd72fdfa822dfdf5d0720d18ba9020af17a3a"` [INFO] running `"docker" "rm" "-f" "f4a78154f330e0b8932be1076d6dd72fdfa822dfdf5d0720d18ba9020af17a3a"` [INFO] [stdout] f4a78154f330e0b8932be1076d6dd72fdfa822dfdf5d0720d18ba9020af17a3a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0a7aa38fd12696ebf48891cd27e375c0e7b4168adc59ab1d3bfaf93bf924002 [INFO] running `"docker" "start" "-a" "f0a7aa38fd12696ebf48891cd27e375c0e7b4168adc59ab1d3bfaf93bf924002"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling mdbook-dot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `ArgMatches` [INFO] [stderr] --> src/bin/mdbook-dot.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/bin/mdbook-dot.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Chapter` [INFO] [stderr] --> src/bin/mdbook-dot.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use mdbook::book::{Book,BookItem,Chapter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_args` [INFO] [stderr] --> src/bin/mdbook-dot.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | if let Some(sub_args) = matches.subcommand_matches("supports") { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `front` [INFO] [stderr] --> src/bin/mdbook-dot.rs:81:34 [INFO] [stderr] | [INFO] [stderr] 81 | ... let (front,back) = chapter.content.split_at(start); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_replaced_items` [INFO] [stderr] --> src/bin/mdbook-dot.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | fn process <'a,I>(items: I, num_replaced_items: &mut usize) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_replaced_items` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/bin/mdbook-dot.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | fn dot_to_image(input : String,path : String) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/bin/mdbook-dot.rs:64:33 [INFO] [stderr] | [INFO] [stderr] 64 | fn supports_renderer(&self, renderer: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/mdbook-dot.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let mut stdin = dot.stdin.as_mut().expect("Failed to open stdin"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | serde_json::to_writer(io::stdout(), &processed_book); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | process(&mut book.sections, &mut num_replaced_items); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `"docker" "inspect" "f0a7aa38fd12696ebf48891cd27e375c0e7b4168adc59ab1d3bfaf93bf924002"` [INFO] running `"docker" "rm" "-f" "f0a7aa38fd12696ebf48891cd27e375c0e7b4168adc59ab1d3bfaf93bf924002"` [INFO] [stdout] f0a7aa38fd12696ebf48891cd27e375c0e7b4168adc59ab1d3bfaf93bf924002 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6d56f1eb9d10f0ab3b2da7b82d2cae9ed946b379f3a24fe84fee355ec542441 [INFO] running `"docker" "start" "-a" "f6d56f1eb9d10f0ab3b2da7b82d2cae9ed946b379f3a24fe84fee355ec542441"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused import: `ArgMatches` [INFO] [stderr] --> src/bin/mdbook-dot.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/bin/mdbook-dot.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Chapter` [INFO] [stderr] --> src/bin/mdbook-dot.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use mdbook::book::{Book,BookItem,Chapter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_args` [INFO] [stderr] --> src/bin/mdbook-dot.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | if let Some(sub_args) = matches.subcommand_matches("supports") { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `front` [INFO] [stderr] --> src/bin/mdbook-dot.rs:81:34 [INFO] [stderr] | [INFO] [stderr] 81 | ... let (front,back) = chapter.content.split_at(start); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_front` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_replaced_items` [INFO] [stderr] --> src/bin/mdbook-dot.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | fn process <'a,I>(items: I, num_replaced_items: &mut usize) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_replaced_items` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/bin/mdbook-dot.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | fn dot_to_image(input : String,path : String) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `renderer` [INFO] [stderr] --> src/bin/mdbook-dot.rs:64:33 [INFO] [stderr] | [INFO] [stderr] 64 | fn supports_renderer(&self, renderer: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/mdbook-dot.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let mut stdin = dot.stdin.as_mut().expect("Failed to open stdin"); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | serde_json::to_writer(io::stdout(), &processed_book); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/mdbook-dot.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | process(&mut book.sections, &mut num_replaced_items); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mdbook_dot-3ca13a3a5a5642c5 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "f6d56f1eb9d10f0ab3b2da7b82d2cae9ed946b379f3a24fe84fee355ec542441"` [INFO] running `"docker" "rm" "-f" "f6d56f1eb9d10f0ab3b2da7b82d2cae9ed946b379f3a24fe84fee355ec542441"` [INFO] [stdout] f6d56f1eb9d10f0ab3b2da7b82d2cae9ed946b379f3a24fe84fee355ec542441