[INFO] fetching crate texc-latex 0.1.6... [INFO] testing texc-latex-0.1.6 against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate texc-latex 0.1.6 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate texc-latex 0.1.6 on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate texc-latex 0.1.6 [INFO] finished tweaking crates.io crate texc-latex 0.1.6 [INFO] tweaked toml for crates.io crate texc-latex 0.1.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 962fc0cd499aaf6d9ea2f1f07a7ceaa30bf850ccfa60da74303a18a827937328 [INFO] running `Command { std: "docker" "start" "-a" "962fc0cd499aaf6d9ea2f1f07a7ceaa30bf850ccfa60da74303a18a827937328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "962fc0cd499aaf6d9ea2f1f07a7ceaa30bf850ccfa60da74303a18a827937328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962fc0cd499aaf6d9ea2f1f07a7ceaa30bf850ccfa60da74303a18a827937328", kill_on_drop: false }` [INFO] [stdout] 962fc0cd499aaf6d9ea2f1f07a7ceaa30bf850ccfa60da74303a18a827937328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1b3f6c3d8848df01493a4700969b71717c69b00df54167a23b2e051d5a0d341 [INFO] running `Command { std: "docker" "start" "-a" "f1b3f6c3d8848df01493a4700969b71717c69b00df54167a23b2e051d5a0d341", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling async-lock v2.6.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling polling v2.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling terminal_size v0.2.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling clap v4.1.1 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling gitignore v1.0.7 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling clap_complete v4.1.0 [INFO] [stderr] Compiling opener v0.5.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pest v2.5.3 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling pest_meta v2.5.3 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling pest_generator v2.5.3 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling notify v5.0.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling notify-debouncer-mini v0.2.1 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pest_derive v2.5.3 [INFO] [stderr] Compiling tex-rs v0.2.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling handlebars v4.3.6 [INFO] [stderr] Compiling elasticlunr-rs v3.0.1 [INFO] [stderr] Compiling ammonia v3.3.0 [INFO] [stderr] Compiling mdbook v0.4.25 [INFO] [stderr] Compiling texc-latex v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14m 42s [INFO] running `Command { std: "docker" "inspect" "f1b3f6c3d8848df01493a4700969b71717c69b00df54167a23b2e051d5a0d341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b3f6c3d8848df01493a4700969b71717c69b00df54167a23b2e051d5a0d341", kill_on_drop: false }` [INFO] [stdout] f1b3f6c3d8848df01493a4700969b71717c69b00df54167a23b2e051d5a0d341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed4fae6fac3c5f17ae7d315ff354362cb6307fadd41452ef9fdcd78fa11f647e [INFO] running `Command { std: "docker" "start" "-a" "ed4fae6fac3c5f17ae7d315ff354362cb6307fadd41452ef9fdcd78fa11f647e", kill_on_drop: false }` [INFO] [stderr] Compiling texc-latex v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "ed4fae6fac3c5f17ae7d315ff354362cb6307fadd41452ef9fdcd78fa11f647e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4fae6fac3c5f17ae7d315ff354362cb6307fadd41452ef9fdcd78fa11f647e", kill_on_drop: false }` [INFO] [stdout] ed4fae6fac3c5f17ae7d315ff354362cb6307fadd41452ef9fdcd78fa11f647e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa34f8b7d4c443900cbc68d89bf2852ccac4c49ab547d6a320c8dec38c6dfb8c [INFO] running `Command { std: "docker" "start" "-a" "fa34f8b7d4c443900cbc68d89bf2852ccac4c49ab547d6a320c8dec38c6dfb8c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/texc_latex-e6dd9a0b261ca4d7) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests texc-latex [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/templates/book.rs - templates::book::book (line 30) ... FAILED [INFO] [stdout] test src/templates/novel.rs - templates::novel::novel (line 14) ... FAILED [INFO] [stdout] test src/templates/mod.rs - templates::determine_class (line 38) ... FAILED [INFO] [stdout] test src/templates/lachaise.rs - templates::lachaise::lachaise (line 7) ... ok [INFO] [stdout] test src/templates/lachaise_modified.rs - templates::lachaise_modified::lachaise_modified (line 7) ... ok [INFO] [stdout] test src/templates/code.rs - templates::code::code (line 41) ... ok [INFO] [stdout] test src/templates/beamer.rs - templates::beamer::beamer (line 6) ... ok [INFO] [stdout] test src/templates/theatre.rs - templates::theatre::theatre (line 5) ... ok [INFO] [stdout] test src/templates/basic.rs - templates::basic::basic (line 8) ... ok [INFO] [stdout] test src/templates/mod.rs - templates::set (line 56) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/templates/book.rs - templates::book::book (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/templates/book.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/templates/book.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/templates/novel.rs - templates::novel::novel (line 14) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/templates/novel.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 4 | fn main(){ [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/templates/mod.rs - templates::determine_class (line 38) stdout ---- [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Class` [INFO] [stdout] --> src/templates/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(s, Class::Article); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Class [INFO] [stdout] | Class [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/templates/book.rs - templates::book::book (line 30) [INFO] [stdout] src/templates/mod.rs - templates::determine_class (line 38) [INFO] [stdout] src/templates/novel.rs - templates::novel::novel (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fa34f8b7d4c443900cbc68d89bf2852ccac4c49ab547d6a320c8dec38c6dfb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa34f8b7d4c443900cbc68d89bf2852ccac4c49ab547d6a320c8dec38c6dfb8c", kill_on_drop: false }` [INFO] [stdout] fa34f8b7d4c443900cbc68d89bf2852ccac4c49ab547d6a320c8dec38c6dfb8c