[INFO] fetching crate fifthtry-mdbook 0.4.8... [INFO] testing fifthtry-mdbook-0.4.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate fifthtry-mdbook 0.4.8 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate fifthtry-mdbook 0.4.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fifthtry-mdbook 0.4.8 [INFO] finished tweaking crates.io crate fifthtry-mdbook 0.4.8 [INFO] tweaked toml for crates.io crate fifthtry-mdbook 0.4.8 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate crates.io crate fifthtry-mdbook 0.4.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62bc8f85cd8476cc534ba94a5c2a9c1c49fdb57652bef961565c924f21130791 [INFO] running `Command { std: "docker" "start" "-a" "62bc8f85cd8476cc534ba94a5c2a9c1c49fdb57652bef961565c924f21130791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62bc8f85cd8476cc534ba94a5c2a9c1c49fdb57652bef961565c924f21130791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62bc8f85cd8476cc534ba94a5c2a9c1c49fdb57652bef961565c924f21130791", kill_on_drop: false }` [INFO] [stdout] 62bc8f85cd8476cc534ba94a5c2a9c1c49fdb57652bef961565c924f21130791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0ee8b74ecad1810a425711080d8ea8a3627c4154556ecc41f1dc12ec67fb3b [INFO] running `Command { std: "docker" "start" "-a" "ed0ee8b74ecad1810a425711080d8ea8a3627c4154556ecc41f1dc12ec67fb3b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling pulldown-cmark v0.7.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling gitignore v1.0.7 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling open v1.7.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sha-1 v0.9.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.16 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling xml5ever v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling ammonia v3.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling elasticlunr-rs v2.3.11 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling fifthtry-mdbook v0.4.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.63s [INFO] running `Command { std: "docker" "inspect" "ed0ee8b74ecad1810a425711080d8ea8a3627c4154556ecc41f1dc12ec67fb3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0ee8b74ecad1810a425711080d8ea8a3627c4154556ecc41f1dc12ec67fb3b", kill_on_drop: false }` [INFO] [stdout] ed0ee8b74ecad1810a425711080d8ea8a3627c4154556ecc41f1dc12ec67fb3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b191cd668c0648338c264e35931a054c3aeb9ad8ee0e2be0c316eb1ed7ac81 [INFO] running `Command { std: "docker" "start" "-a" "39b191cd668c0648338c264e35931a054c3aeb9ad8ee0e2be0c316eb1ed7ac81", 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 bit-vec v0.6.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling select v0.5.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling fifthtry-mdbook v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/build_process.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/alternative_backends.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mdbook::errors::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/custom_preprocessors.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::preprocess::{CmdPreprocessor, Preprocessor}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/init.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> examples/nop-preprocessor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mdbook::book::Book; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> examples/nop-preprocessor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::errors::Error; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> examples/nop-preprocessor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdbook::preprocess::{CmdPreprocessor, Preprocessor, PreprocessorContext}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/init.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/parse_existing_summary_files.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::book; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/alternative_backends.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use mdbook::renderer::RenderContext; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/custom_preprocessors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/alternative_backends.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mdbook::utils::fs::write_file; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mdbook`, `mdbook::config::Config`, `mdbook::utils::fs::write_file` [INFO] [stdout] --> tests/rendered_output.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use mdbook::errors::*; [INFO] [stdout] 11 | use mdbook::utils::fs::write_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/dummy_book/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/testing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/build_process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::book::Book; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/dummy_book/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/build_process.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/build_process.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mdbook::preprocess::{Preprocessor, PreprocessorContext}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/build_process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mdbook::renderer::{RenderContext, Renderer}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mdbook`, `mdbook::book::Book`, `mdbook::config::Config`, `mdbook::preprocess::Preprocessor`, `mdbook::preprocess::PreprocessorContext`, `mdbook::renderer::RenderContext`, `mdbook::renderer::Renderer` [INFO] [stdout] --> tests/build_process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mdbook::book::Book; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use mdbook::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use mdbook::errors::*; [INFO] [stdout] 7 | use mdbook::preprocess::{Preprocessor, PreprocessorContext}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use mdbook::renderer::{RenderContext, Renderer}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/dummy_book/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mdbook` [INFO] [stdout] --> tests/build_process.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdbook::MDBook; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:111:70 [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CmdPreprocessor` in this scope [INFO] [stdout] --> tests/custom_preprocessors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn example() -> CmdPreprocessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::preprocess::CmdPreprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdPreprocessor` [INFO] [stdout] --> tests/custom_preprocessors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | CmdPreprocessor::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::preprocess::CmdPreprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RenderContext` [INFO] [stdout] --> tests/alternative_backends.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let got = RenderContext::from_json(File::open(&out_file).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::renderer::RenderContext; [INFO] [stdout] | [INFO] [stdout] 3 | use handlebars::RenderContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/alternative_backends.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let mut config = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/alternative_backends.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let mut config = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/init.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 8 previous errors [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:111:70 [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 2 previous errors [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> tests/rendered_output.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | let mut index = mdbook::theme::INDEX.to_vec(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/rendered_output.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let mut cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/rendered_output.rs:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | let mut cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/rendered_output.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | let mut cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_file` in this scope [INFO] [stdout] --> tests/rendered_output.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | write_file(&theme_dir, "index.hbs", &index).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use fifthtry_mdbook::utils::fs::write_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Preprocessor` in this scope [INFO] [stdout] --> tests/build_process.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Preprocessor for Spy { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::preprocess::Preprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreprocessorContext` in this scope [INFO] [stdout] --> tests/build_process.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::preprocess::PreprocessorContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> tests/build_process.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::book::Book; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> tests/build_process.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::book::Book; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Renderer` in this scope [INFO] [stdout] --> tests/build_process.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Renderer for Spy { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::Renderer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderContext` in this scope [INFO] [stdout] --> tests/build_process.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | fn render(&self, _ctx: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::renderer::RenderContext; [INFO] [stdout] | [INFO] [stdout] 3 | use handlebars::RenderContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/build_process.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> tests/build_process.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let cfg = Config::default(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use fifthtry_mdbook::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> examples/nop-preprocessor.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | let version_req = VersionReq::parse(mdbook::MDBOOK_VERSION)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mdbook` [INFO] [stdout] --> examples/nop-preprocessor.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | mdbook::MDBOOK_VERSION, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `mdbook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/rendered_output.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | fn root_index_html() -> Result { [INFO] [stdout] | ^^^^^^ -------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 249 | fn root_index_html() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Preprocessor` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use fifthtry_mdbook::preprocess::Preprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | fn replace_pattern_in_file(filename: &Path, from: &str, to: &str) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:111:70 [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 111 | fn recursive_copy, B: AsRef>(from: A, to: B) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_copy_of_example_book() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> tests/dummy_book/mod.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 42 | pub fn build(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] and 19 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CmdPreprocessor` [INFO] [stdout] --> examples/nop-preprocessor.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let (ctx, book) = CmdPreprocessor::parse_input(io::stdin())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use fifthtry_mdbook::preprocess::CmdPreprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Preprocessor` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | fn handle_supports(pre: &dyn Preprocessor, sub_args: &ArgMatches) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use fifthtry_mdbook::preprocess::Preprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Preprocessor` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl Preprocessor for Nop { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 71 | use fifthtry_mdbook::preprocess::Preprocessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreprocessorContext` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 | use fifthtry_mdbook::preprocess::PreprocessorContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 | use fifthtry_mdbook::book::Book; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 7 previous errors [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:87:72 [INFO] [stdout] | [INFO] [stdout] 87 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 71 | use fifthtry_mdbook::book::Book; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/nop-preprocessor.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 71 | use anyhow::Error; [INFO] [stdout] | [INFO] [stdout] 71 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 71 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 71 | use crate::io::Error; [INFO] [stdout] | [INFO] [stdout] and 19 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> examples/nop-preprocessor.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 11 previous errors [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 18 previous errors [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 17 previous errors [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 4 previous errors [INFO] [stderr] error: could not compile `fifthtry-mdbook` due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "39b191cd668c0648338c264e35931a054c3aeb9ad8ee0e2be0c316eb1ed7ac81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b191cd668c0648338c264e35931a054c3aeb9ad8ee0e2be0c316eb1ed7ac81", kill_on_drop: false }` [INFO] [stdout] 39b191cd668c0648338c264e35931a054c3aeb9ad8ee0e2be0c316eb1ed7ac81