[INFO] crate mdbook 0.2.3 is already in cache [INFO] extracting crate mdbook 0.2.3 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/mdbook/0.2.3 [INFO] extracting crate mdbook 0.2.3 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/mdbook/0.2.3 [INFO] validating manifest of mdbook-0.2.3 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mdbook-0.2.3 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mdbook-0.2.3 [INFO] finished frobbing mdbook-0.2.3 [INFO] frobbed toml for mdbook-0.2.3 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/mdbook/0.2.3/Cargo.toml [INFO] started frobbing mdbook-0.2.3 [INFO] finished frobbing mdbook-0.2.3 [INFO] frobbed toml for mdbook-0.2.3 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/mdbook/0.2.3/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking mdbook-0.2.3 against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-6/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/mdbook/0.2.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] aa748d178c8870eb3deb6a38ebd21a486bc09f522f6d788dc6fb45588120899c [INFO] running `"docker" "start" "-a" "aa748d178c8870eb3deb6a38ebd21a486bc09f522f6d788dc6fb45588120899c"` [INFO] [stderr] Checking pulldown-cmark-to-cmark v1.2.0 [INFO] [stderr] Checking toml-query v0.7.0 [INFO] [stderr] Checking elasticlunr-rs v2.3.4 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking html5ever v0.22.5 [INFO] [stderr] Checking ammonia v1.2.0 [INFO] [stderr] Checking mdbook v0.2.3 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/utils/mod.rs:64:34 [INFO] [stderr] | [INFO] [stderr] 64 | let trimmed = content.trim().trim_left_matches('#').trim(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | / error_chain!{ [INFO] [stderr] 133 | | foreign_links { [INFO] [stderr] 134 | | Io(::std::io::Error) #[doc = "A wrapper around `std::io::Error`"]; [INFO] [stderr] 135 | | HandlebarsRender(::handlebars::RenderError) #[doc = "Handlebars rendering failed"]; [INFO] [stderr] ... | [INFO] [stderr] 163 | | } [INFO] [stderr] 164 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/utils/mod.rs:64:34 [INFO] [stderr] | [INFO] [stderr] 64 | let trimmed = content.trim().trim_left_matches('#').trim(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 132 | / error_chain!{ [INFO] [stderr] 133 | | foreign_links { [INFO] [stderr] 134 | | Io(::std::io::Error) #[doc = "A wrapper around `std::io::Error`"]; [INFO] [stderr] 135 | | HandlebarsRender(::handlebars::RenderError) #[doc = "Handlebars rendering failed"]; [INFO] [stderr] ... | [INFO] [stderr] 163 | | } [INFO] [stderr] 164 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `pulldown_cmark::Event<'_>: std::borrow::Borrow>` is not satisfied [INFO] [stderr] --> examples/de-emphasize.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | cmark(events, &mut buf, None) [INFO] [stderr] | ^^^^^ the trait `std::borrow::Borrow>` is not implemented for `pulldown_cmark::Event<'_>` [INFO] [stderr] | [INFO] [stderr] = note: required by `pulldown_cmark_to_cmark::fmt::cmark` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `mdbook`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> tests/rendered_output.rs:426:27 [INFO] [stderr] | [INFO] [stderr] 426 | let index = index.trim_left_matches("window.search = "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> tests/rendered_output.rs:427:27 [INFO] [stderr] | [INFO] [stderr] 427 | let index = index.trim_right_matches(";"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "aa748d178c8870eb3deb6a38ebd21a486bc09f522f6d788dc6fb45588120899c"` [INFO] running `"docker" "rm" "-f" "aa748d178c8870eb3deb6a38ebd21a486bc09f522f6d788dc6fb45588120899c"` [INFO] [stdout] aa748d178c8870eb3deb6a38ebd21a486bc09f522f6d788dc6fb45588120899c