[INFO] cloning repository https://github.com/cloakwiss/mebook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cloakwiss/mebook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloakwiss%2Fmebook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloakwiss%2Fmebook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 076372e70d625921674e53cef82d75ed7f536b3a [INFO] building cloakwiss/mebook against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloakwiss%2Fmebook" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cloakwiss/mebook [INFO] finished tweaking git repo https://github.com/cloakwiss/mebook [INFO] tweaked toml for git repo https://github.com/cloakwiss/mebook written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cloakwiss/mebook on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cloakwiss/mebook already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded lzma-rs v0.3.0 [INFO] [stderr] Downloaded deflate64 v0.1.9 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded foldhash v0.1.4 [INFO] [stderr] Downloaded phf_macros v0.10.0 [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded dtoa-short v0.3.5 [INFO] [stderr] Downloaded roxmltree v0.20.0 [INFO] [stderr] Downloaded cssparser v0.29.6 [INFO] [stderr] Downloaded selectors v0.24.0 [INFO] [stderr] Downloaded pin-project v1.1.8 [INFO] [stderr] Downloaded cc v1.2.9 [INFO] [stderr] Downloaded zip v2.2.2 [INFO] [stderr] Downloaded pin-project-internal v1.1.8 [INFO] [stderr] Downloaded servo_arc v0.2.0 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded lol_html v2.2.0 [INFO] [stderr] Downloaded syn v2.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 286872282f19b1a271378a5d05a8b4fed84f665e80df43954732e9dd28aabebd [INFO] running `Command { std: "docker" "start" "-a" "286872282f19b1a271378a5d05a8b4fed84f665e80df43954732e9dd28aabebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286872282f19b1a271378a5d05a8b4fed84f665e80df43954732e9dd28aabebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286872282f19b1a271378a5d05a8b4fed84f665e80df43954732e9dd28aabebd", kill_on_drop: false }` [INFO] [stdout] 286872282f19b1a271378a5d05a8b4fed84f665e80df43954732e9dd28aabebd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1cf5ca7c3353883872ac3c127b60ace99518265b49c1ec74d94654dd52567cd [INFO] running `Command { std: "docker" "start" "-a" "e1cf5ca7c3353883872ac3c127b60ace99518265b49c1ec74d94654dd52567cd", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling servo_arc v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling selectors v0.24.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling lol_html v2.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling mebooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/epub/remap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/serve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `collections::HashMap`, `future::Future`, `pin::Pin`, and `sync::Arc` [INFO] [stdout] --> src/serve.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt::Debug, [INFO] [stdout] 12 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | net::{Ipv4Addr, SocketAddrV4}, [INFO] [stdout] 14 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | str::FromStr, [INFO] [stdout] 17 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply::Response` [INFO] [stdout] --> src/serve.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use warp::{filters::path::FullPath, reply::Response, Filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pin::Pin`, `str::FromStr`, and `sync::Arc` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nav_type` [INFO] [stdout] --> src/epub.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let (step, nav_type) = Self::parse_index_xml(manifest_file)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nav_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_guide` [INFO] [stdout] --> src/epub.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let raw_guide = section("guide"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_guide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_collection` [INFO] [stdout] --> src/epub.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let raw_collection = section("collection"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nav_xhtml_path` is assigned to, but never used [INFO] [stdout] --> src/epub.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut nav_xhtml_path = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nav_xhtml_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nav_xhtml_path` is never read [INFO] [stdout] --> src/epub.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | nav_xhtml_path = a.attribute("href").map(|x| x.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HtmlRewriteFailed` is never constructed [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum MyError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | HtmlRewriteFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find` is never used [INFO] [stdout] --> src/main.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn find<'a, K, V>(map: &'a [(K, V)], target: &K) -> Option<&'a (K, V)> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/epub.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct Manifest { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | pub metadata: Vec<(String, String)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nav_xhtml` is never used [INFO] [stdout] --> src/epub.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn nav_xhtml() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toc_ncx` is never used [INFO] [stdout] --> src/epub.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn toc_ncx(xml_rootnode: Node<'_, '_>) -> Result, MyError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rule` is never used [INFO] [stdout] --> src/epub/remap.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type Rule<'s, 'h> = ( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_assets` is never used [INFO] [stdout] --> src/epub/remap.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn remap_assets<'h, 's>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rewrite` is never used [INFO] [stdout] --> src/epub/remap.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn rewrite( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Theme` is never constructed [INFO] [stdout] --> src/serve/default_config.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Theme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Font` is never used [INFO] [stdout] --> src/serve/default_config.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Font = (); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Fonts` is never used [INFO] [stdout] --> src/serve/default_config.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Fonts = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorPalatte` is never constructed [INFO] [stdout] --> src/serve/default_config.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct ColorPalatte {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorMode` is never used [INFO] [stdout] --> src/serve/default_config.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum ColorMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "e1cf5ca7c3353883872ac3c127b60ace99518265b49c1ec74d94654dd52567cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cf5ca7c3353883872ac3c127b60ace99518265b49c1ec74d94654dd52567cd", kill_on_drop: false }` [INFO] [stdout] e1cf5ca7c3353883872ac3c127b60ace99518265b49c1ec74d94654dd52567cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dba6dce15447be6a50c42910ef497e378270b215fa9779137f930814d4592a4 [INFO] running `Command { std: "docker" "start" "-a" "1dba6dce15447be6a50c42910ef497e378270b215fa9779137f930814d4592a4", kill_on_drop: false }` [INFO] [stderr] Compiling mebooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/epub/remap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/serve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `collections::HashMap`, `future::Future`, `pin::Pin`, and `sync::Arc` [INFO] [stdout] --> src/serve.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt::Debug, [INFO] [stdout] 12 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | net::{Ipv4Addr, SocketAddrV4}, [INFO] [stdout] 14 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | str::FromStr, [INFO] [stdout] 17 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reply::Response` [INFO] [stdout] --> src/serve.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use warp::{filters::path::FullPath, reply::Response, Filter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `pin::Pin`, `str::FromStr`, and `sync::Arc` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nav_type` [INFO] [stdout] --> src/epub.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let (step, nav_type) = Self::parse_index_xml(manifest_file)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nav_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_guide` [INFO] [stdout] --> src/epub.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let raw_guide = section("guide"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_guide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_collection` [INFO] [stdout] --> src/epub.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let raw_collection = section("collection"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nav_xhtml_path` is assigned to, but never used [INFO] [stdout] --> src/epub.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut nav_xhtml_path = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_nav_xhtml_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nav_xhtml_path` is never read [INFO] [stdout] --> src/epub.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | nav_xhtml_path = a.attribute("href").map(|x| x.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HtmlRewriteFailed` is never constructed [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum MyError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | HtmlRewriteFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find` is never used [INFO] [stdout] --> src/main.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) fn find<'a, K, V>(map: &'a [(K, V)], target: &K) -> Option<&'a (K, V)> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/epub.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) struct Manifest { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | pub metadata: Vec<(String, String)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nav_xhtml` is never used [INFO] [stdout] --> src/epub.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn nav_xhtml() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toc_ncx` is never used [INFO] [stdout] --> src/epub.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn toc_ncx(xml_rootnode: Node<'_, '_>) -> Result, MyError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rule` is never used [INFO] [stdout] --> src/epub/remap.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type Rule<'s, 'h> = ( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap_assets` is never used [INFO] [stdout] --> src/epub/remap.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn remap_assets<'h, 's>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rewrite` is never used [INFO] [stdout] --> src/epub/remap.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn rewrite( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Theme` is never constructed [INFO] [stdout] --> src/serve/default_config.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Theme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Font` is never used [INFO] [stdout] --> src/serve/default_config.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Font = (); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Fonts` is never used [INFO] [stdout] --> src/serve/default_config.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Fonts = Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorPalatte` is never constructed [INFO] [stdout] --> src/serve/default_config.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct ColorPalatte {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorMode` is never used [INFO] [stdout] --> src/serve/default_config.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum ColorMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "1dba6dce15447be6a50c42910ef497e378270b215fa9779137f930814d4592a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dba6dce15447be6a50c42910ef497e378270b215fa9779137f930814d4592a4", kill_on_drop: false }` [INFO] [stdout] 1dba6dce15447be6a50c42910ef497e378270b215fa9779137f930814d4592a4