[INFO] cloning repository https://github.com/CodyBense/rupub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodyBense/rupub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodyBense%2Frupub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodyBense%2Frupub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 861673ee93a9cf2dfe1f9c76ea03e463973a5e39 [INFO] testing CodyBense/rupub against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodyBense%2Frupub" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CodyBense/rupub [INFO] finished tweaking git repo https://github.com/CodyBense/rupub [INFO] tweaked toml for git repo https://github.com/CodyBense/rupub written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CodyBense/rupub on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CodyBense/rupub 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d [INFO] running `Command { std: "docker" "start" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.19 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling simd-adler32 v0.3.10 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.20 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling arrayvec v0.7.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling zlib-rs v0.6.6 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling built v0.8.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling phf_codegen v0.13.1 [INFO] [stderr] Compiling pulp v0.22.3 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling no_std_io2 v0.9.4 [INFO] [stderr] Compiling bitstream-io v4.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.6.1 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling lru v0.18.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling compact_str v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling imgref v1.12.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling pulp-wasm-simd-flag v0.1.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling web_atoms v0.2.5 [INFO] [stderr] Compiling zune-jpeg v0.5.15 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling avif-serialize v0.8.9 [INFO] [stderr] Compiling unicode-truncate v2.0.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling ref-cast v1.0.26 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling fax v0.2.7 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling pxfm v0.1.30 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling gif v0.14.2 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling string_cache v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling line-clipping v0.3.7 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling thiserror-impl v2.0.19 [INFO] [stderr] Compiling ref-cast-impl v1.0.26 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling bitvec v1.1.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling ordered-float v5.3.0 [INFO] [stderr] Compiling selectors v0.38.0 [INFO] [stderr] Compiling tendril v0.5.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling bumpalo v3.20.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling kasuari v0.4.12 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling xml v1.3.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling ratatui-image v11.0.6 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.28 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling rustc-hash v2.1.3 [INFO] [stderr] Compiling zip v3.0.0 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling xml-rs v1.0.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling self_cell v1.3.0 [INFO] [stderr] Compiling ego-tree v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.16 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling bytemuck_derive v1.11.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.55 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.18 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling profiling v1.0.18 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling cssparser-macros v0.7.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling cssparser v0.37.0 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling bytemuck v1.25.2 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling safe_arch v0.9.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling strum v0.28.0 [INFO] [stderr] Compiling markup5ever v0.39.0 [INFO] [stderr] Compiling ratatui-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling html5ever v0.39.0 [INFO] [stderr] Compiling wide v0.8.3 [INFO] [stderr] Compiling epub v2.1.5 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling scraper v0.27.0 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling ratatui-widgets v0.3.2 [INFO] [stderr] Compiling ratatui-crossterm v0.1.2 [INFO] [stderr] Compiling ratatui-macros v0.7.2 [INFO] [stderr] Compiling ratatui v0.30.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling exr v1.74.2 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.7 [INFO] [stderr] Compiling ravif v0.13.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling quantette v0.5.1 [INFO] [stderr] Compiling icy_sixel v0.5.0 [INFO] [stderr] Compiling rupub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::DynamicImage` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use image::DynamicImage; [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: `Protocol` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | protocol::{Protocol, StatefulProtocol}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `Selector` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf`, `self`, and `slice::from_raw_parts` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | io::BufReader, [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | rc::Rc, [INFO] [stdout] 22 | slice::from_raw_parts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `os::raw` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | os::raw, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | sync::mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:178:55 [INFO] [stdout] | [INFO] [stdout] 178 | StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stdout] 178 + StatefulImage::default().resize(Resize::Scale(None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/book.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let resp = f.write_all(&cover_data.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preview_text` [INFO] [stdout] --> src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let preview_text = app [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_layer` [INFO] [stdout] --> src/main.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | fn render_reader_layer(frame: &mut Frame, reader_layer: &Rc<[Rect]>, app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `picker` is never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | picker: Picker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_cover` is never used [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn refresh_cover(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_path` is never used [INFO] [stdout] --> src/files.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn file_path(book: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rupub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::DynamicImage` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use image::DynamicImage; [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: `Protocol` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | protocol::{Protocol, StatefulProtocol}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html` and `Selector` [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf`, `self`, and `slice::from_raw_parts` [INFO] [stdout] --> src/main.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | io::BufReader, [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | rc::Rc, [INFO] [stdout] 22 | slice::from_raw_parts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `os::raw` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | os::raw, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | sync::mpsc::{self, Receiver, Sender}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:178:55 [INFO] [stdout] | [INFO] [stdout] 178 | StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stdout] 178 + StatefulImage::default().resize(Resize::Scale(None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/book.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let resp = f.write_all(&cover_data.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preview_text` [INFO] [stdout] --> src/main.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let preview_text = app [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader_layer` [INFO] [stdout] --> src/main.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | fn render_reader_layer(frame: &mut Frame, reader_layer: &Rc<[Rect]>, app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `picker` is never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | picker: Picker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_cover` is never used [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn refresh_cover(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_path` is never used [INFO] [stdout] --> src/files.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn file_path(book: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `image::DynamicImage` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use image::DynamicImage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Protocol` [INFO] [stderr] --> src/main.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | protocol::{Protocol, StatefulProtocol}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html` and `Selector` [INFO] [stderr] --> src/main.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | use scraper::{Html, Selector}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `path::PathBuf`, `self`, and `slice::from_raw_parts` [INFO] [stderr] --> src/main.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | fs::{self, File}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 19 | io::BufReader, [INFO] [stderr] 20 | path::PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 21 | rc::Rc, [INFO] [stderr] 22 | slice::from_raw_parts, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Receiver` and `os::raw` [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | os::raw, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | sync::mpsc::{self, Receiver, Sender}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:178:55 [INFO] [stderr] | [INFO] [stderr] 178 | StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 178 - StatefulImage::default().resize(Resize::Scale((None))), [INFO] [stderr] 178 + StatefulImage::default().resize(Resize::Scale(None)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resp` [INFO] [stderr] --> src/book.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let resp = f.write_all(&cover_data.0); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `preview_text` [INFO] [stderr] --> src/main.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | let preview_text = app [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preview_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader_layer` [INFO] [stderr] --> src/main.rs:201:43 [INFO] [stderr] | [INFO] [stderr] 201 | fn render_reader_layer(frame: &mut Frame, reader_layer: &Rc<[Rect]>, app: &mut App) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_layer` [INFO] [stderr] [INFO] [stderr] warning: field `picker` is never read [INFO] [stderr] --> src/main.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 39 | struct App { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 43 | picker: Picker, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `refresh_cover` is never used [INFO] [stderr] --> src/main.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 63 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 85 | fn refresh_cover(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `file_path` is never used [INFO] [stderr] --> src/files.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn file_path(book: String) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rupub` (bin "rupub" test) generated 12 warnings (run `cargo fix --bin "rupub" -p rupub --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/rupub/1bbd7ae27213018c/out/rupub-1bbd7ae27213018c) [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] running `Command { std: "docker" "inspect" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d", kill_on_drop: false }` [INFO] [stdout] 173e6acedb60ce9e1eeaf4b8dec4beb2f3c1f672d982000f485369c91b2e0f0d