[INFO] cloning repository https://github.com/notgull/koti [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notgull/koti" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotgull%2Fkoti", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotgull%2Fkoti'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aebeea011d776661259a85faf1409244d4ab97b1 [INFO] testing notgull/koti against 1.57.0 for beta-1.58-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotgull%2Fkoti" "/workspace/builds/worker-52/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-52/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/notgull/koti on toolchain 1.57.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/notgull/koti [INFO] finished tweaking git repo https://github.com/notgull/koti [INFO] tweaked toml for git repo https://github.com/notgull/koti written to /workspace/builds/worker-52/source/Cargo.toml [INFO] crate git repo https://github.com/notgull/koti already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "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-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7a5dd8b3e778e7a513b20050163a05b70b85984dcdff8bd202e651014ab2deb [INFO] running `Command { std: "docker" "start" "-a" "c7a5dd8b3e778e7a513b20050163a05b70b85984dcdff8bd202e651014ab2deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7a5dd8b3e778e7a513b20050163a05b70b85984dcdff8bd202e651014ab2deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a5dd8b3e778e7a513b20050163a05b70b85984dcdff8bd202e651014ab2deb", kill_on_drop: false }` [INFO] [stdout] c7a5dd8b3e778e7a513b20050163a05b70b85984dcdff8bd202e651014ab2deb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3807c0e45116fb4f8323d9685c3c3f0bcce1756a3d238b410424b49d951f958f [INFO] running `Command { std: "docker" "start" "-a" "3807c0e45116fb4f8323d9685c3c3f0bcce1756a3d238b410424b49d951f958f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling urlparse v0.7.3 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling nanorand v0.5.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling yup-oauth2 v5.1.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling google-youtube3 v2.0.5+20210330 (/opt/rustwide/workdir/youtube3) [INFO] [stderr] Compiling thirtyfour v0.23.1 [INFO] [stderr] Compiling koti v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventListener` [INFO] [stdout] --> src/context.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use event_listener::{Event, EventListener}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `process::Stdio` [INFO] [stdout] --> src/mlt/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | iter, mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | path::{Path, PathBuf}, [INFO] [stdout] 39 | process::Stdio, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/mlt/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] 174 + let frame_rate_num = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImmediateOrTask`, `MapFuture` [INFO] [stdout] --> src/process/mod.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | util::{video_length, ImmediateOrTask, MapFuture}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/process/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/process/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesDecl`, `BytesEnd`, `BytesStart`, `Event`, `Writer` [INFO] [stdout] --> src/process/mod.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | events::{BytesDecl, BytesEnd, BytesStart, Event}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 31 | Writer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/process/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::BufWriter`, `os::unix::ffi::OsStrExt`, `process::Stdio`, `str::FromStr` [INFO] [stdout] --> src/process/mod.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | array::IntoIter as ArrayIter, io::BufWriter, iter, mem, os::unix::ffi::OsStrExt, path::Path, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | process::Stdio, str::FromStr, sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `process::Command` [INFO] [stdout] --> src/process/mod.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | process::Command, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MapFuture` [INFO] [stdout] --> src/process/frame.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | util::{ImmediateOrTask, MapFuture}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quick_xml::Writer` [INFO] [stdout] --> src/process/frame.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use quick_xml::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/process/frame.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | iter, mem, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command` [INFO] [stdout] --> src/process/frame.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use tokio::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RNG`, `tls_rng` [INFO] [stdout] --> src/process/tts.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use nanorand::{tls_rng, RNG}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/process/tts.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | process::{Output, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/process/mod.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / macro_rules! s { [INFO] [stdout] 54 | | ($e: expr) => {{ [INFO] [stdout] 55 | | ($e).as_ref() [INFO] [stdout] 56 | | }}; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `filter_text`, `strip_html_tags` [INFO] [stdout] --> src/reddit_text_source/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | filter::{filter_pass, filter_text}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | frame::Frame, [INFO] [stdout] 22 | util::{self, strip_html_tags, timeout, ArcWebElement}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/reddit_text_source/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array::IntoIter as ArrayIter` [INFO] [stdout] --> src/reddit_text_source/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | array::IntoIter as ArrayIter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::WebDriverResult` [INFO] [stdout] --> src/reddit_text_source/mod.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | use thirtyfour::{common::types::ElementRect, error::WebDriverResult, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/text2image.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use image::{DynamicImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/text2image.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{cmp, env, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/thumbnail/template.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `fs::File` [INFO] [stdout] --> src/util.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | future::Future, [INFO] [stdout] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream`, `self` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit_text_source/mod.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | let mut caps = DesiredCapabilities::firefox(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/tts.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut child = t2w.spawn()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_size.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut im = image::open(&imgpath)?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mlt/mod.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut output = Command::new("melt") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thumbnail/template.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut base_image = image::open(&path)?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/youtube/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | mut video_title: String, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/youtube/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut yt = YouTube::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/util.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blacktrack` [INFO] [stdout] --> src/process/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let blacktrack = mlt.add_producer(Path::new("black").to_path_buf()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blacktrack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/reddit_text_source/mod.rs:339:39 [INFO] [stdout] | [INFO] [stdout] 339 | .take_while(move |(score, elem)| match score { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ascent` [INFO] [stdout] --> src/text2image.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let ascent = v_metrics.ascent; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ascent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vw` is assigned to, but never used [INFO] [stdout] --> src/process/frame.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vw` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vh` is assigned to, but never used [INFO] [stdout] --> src/process/frame.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vh` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vw` is never read [INFO] [stdout] --> src/process/frame.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | vw /= 10.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vh` is never read [INFO] [stdout] --> src/process/frame.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | vh /= 10.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/process/frame.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | w: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/process/frame.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | h: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/process/frame.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | w1: u32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w2` [INFO] [stdout] --> src/process/frame.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | w2: u32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/process/tts.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | fn prepare_command(text2wave: &mut Command, source: PathBuf, ctx: &Context) -> PathBuf { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn process_end<'a>(&mut self, bytes: BytesEnd<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/thumbnail/template.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let Self { id, path, trect } = self; [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/frame.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/frame.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut inserts = ibytes [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let mut ctx = context::Context::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_STRING` [INFO] [stdout] --> src/context.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / const DEFAULT_STRING: &str = [INFO] [stdout] 26 | | "Subscribe to King of the Internet! https://www.youtube.com/channel/UCMk4074NTvhjdFksS8MflMA [INFO] [stdout] 27 | | Subscribe to my main channel! https://www.youtube.com/channel/UCa22ge_MKVapVkX8lN1jDuQ [INFO] [stdout] 28 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fades_in_after` [INFO] [stdout] --> src/process/frame.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fades_in_after: Option<f32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/process/frame.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn duration(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WORD_SPACE` [INFO] [stdout] --> src/process/tts.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const WORD_SPACE: &str = "4"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VALUES_TO_SECONDS` [INFO] [stdout] --> src/process/tts.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const VALUES_TO_SECONDS: f32 = 4.53425032713551e-05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THREAD_COUNT` [INFO] [stdout] --> src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | const THREAD_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "3807c0e45116fb4f8323d9685c3c3f0bcce1756a3d238b410424b49d951f958f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3807c0e45116fb4f8323d9685c3c3f0bcce1756a3d238b410424b49d951f958f", kill_on_drop: false }` [INFO] [stdout] 3807c0e45116fb4f8323d9685c3c3f0bcce1756a3d238b410424b49d951f958f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33322dc9c14b3ea5f2268869ea801d28c3acbf88e66af68b53d993facd6490dc [INFO] running `Command { std: "docker" "start" "-a" "33322dc9c14b3ea5f2268869ea801d28c3acbf88e66af68b53d993facd6490dc", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling urlparse v0.7.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling nanorand v0.5.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling yup-oauth2 v5.1.0 [INFO] [stderr] Compiling google-youtube3 v2.0.5+20210330 (/opt/rustwide/workdir/youtube3) [INFO] [stderr] Compiling thirtyfour v0.23.1 [INFO] [stderr] Compiling koti v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventListener` [INFO] [stdout] --> src/context.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use event_listener::{Event, EventListener}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `process::Stdio` [INFO] [stdout] --> src/mlt/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | iter, mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | path::{Path, PathBuf}, [INFO] [stdout] 39 | process::Stdio, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/mlt/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] 174 + let frame_rate_num = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImmediateOrTask`, `MapFuture` [INFO] [stdout] --> src/process/mod.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | util::{video_length, ImmediateOrTask, MapFuture}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/process/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/process/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesDecl`, `BytesEnd`, `BytesStart`, `Event`, `Writer` [INFO] [stdout] --> src/process/mod.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | events::{BytesDecl, BytesEnd, BytesStart, Event}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 31 | Writer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/process/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::BufWriter`, `os::unix::ffi::OsStrExt`, `process::Stdio`, `str::FromStr` [INFO] [stdout] --> src/process/mod.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | array::IntoIter as ArrayIter, io::BufWriter, iter, mem, os::unix::ffi::OsStrExt, path::Path, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | process::Stdio, str::FromStr, sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `process::Command` [INFO] [stdout] --> src/process/mod.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | process::Command, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MapFuture` [INFO] [stdout] --> src/process/frame.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | util::{ImmediateOrTask, MapFuture}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quick_xml::Writer` [INFO] [stdout] --> src/process/frame.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use quick_xml::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/process/frame.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | iter, mem, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command` [INFO] [stdout] --> src/process/frame.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use tokio::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RNG`, `tls_rng` [INFO] [stdout] --> src/process/tts.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use nanorand::{tls_rng, RNG}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/process/tts.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | process::{Output, Stdio}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/process/mod.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / macro_rules! s { [INFO] [stdout] 54 | | ($e: expr) => {{ [INFO] [stdout] 55 | | ($e).as_ref() [INFO] [stdout] 56 | | }}; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `filter_text`, `strip_html_tags` [INFO] [stdout] --> src/reddit_text_source/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | filter::{filter_pass, filter_text}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | frame::Frame, [INFO] [stdout] 22 | util::{self, strip_html_tags, timeout, ArcWebElement}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/reddit_text_source/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | future, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array::IntoIter as ArrayIter` [INFO] [stdout] --> src/reddit_text_source/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | array::IntoIter as ArrayIter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::WebDriverResult` [INFO] [stdout] --> src/reddit_text_source/mod.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | use thirtyfour::{common::types::ElementRect, error::WebDriverResult, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/text2image.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use image::{DynamicImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/text2image.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{cmp, env, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/thumbnail/template.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter`, `fs::File` [INFO] [stdout] --> src/util.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | future::Future, [INFO] [stdout] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream`, `self` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit_text_source/mod.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | let mut caps = DesiredCapabilities::firefox(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/tts.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut child = t2w.spawn()?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_size.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut im = image::open(&imgpath)?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mlt/mod.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut output = Command::new("melt") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thumbnail/template.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut base_image = image::open(&path)?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/youtube/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | mut video_title: String, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/youtube/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let mut yt = YouTube::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/util.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blacktrack` [INFO] [stdout] --> src/process/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let blacktrack = mlt.add_producer(Path::new("black").to_path_buf()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blacktrack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/reddit_text_source/mod.rs:339:39 [INFO] [stdout] | [INFO] [stdout] 339 | .take_while(move |(score, elem)| match score { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ascent` [INFO] [stdout] --> src/text2image.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let ascent = v_metrics.ascent; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ascent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vw` is assigned to, but never used [INFO] [stdout] --> src/process/frame.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vw` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vh` is assigned to, but never used [INFO] [stdout] --> src/process/frame.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vh` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vw` is never read [INFO] [stdout] --> src/process/frame.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | vw /= 10.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vh` is never read [INFO] [stdout] --> src/process/frame.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | vh /= 10.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/process/frame.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | w: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/process/frame.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | h: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/process/frame.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | w1: u32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w2` [INFO] [stdout] --> src/process/frame.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | w2: u32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/process/tts.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | fn prepare_command(text2wave: &mut Command, source: PathBuf, ctx: &Context) -> PathBuf { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn process_end<'a>(&mut self, bytes: BytesEnd<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/thumbnail/template.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let Self { id, path, trect } = self; [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/frame.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/frame.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reddit_text_source/direct_children.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut inserts = ibytes [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let mut ctx = context::Context::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_STRING` [INFO] [stdout] --> src/context.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / const DEFAULT_STRING: &str = [INFO] [stdout] 26 | | "Subscribe to King of the Internet! https://www.youtube.com/channel/UCMk4074NTvhjdFksS8MflMA [INFO] [stdout] 27 | | Subscribe to my main channel! https://www.youtube.com/channel/UCa22ge_MKVapVkX8lN1jDuQ [INFO] [stdout] 28 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fades_in_after` [INFO] [stdout] --> src/process/frame.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | fades_in_after: Option<f32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/process/frame.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn duration(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WORD_SPACE` [INFO] [stdout] --> src/process/tts.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const WORD_SPACE: &str = "4"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VALUES_TO_SECONDS` [INFO] [stdout] --> src/process/tts.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const VALUES_TO_SECONDS: f32 = 4.53425032713551e-05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THREAD_COUNT` [INFO] [stdout] --> src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | const THREAD_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 35.45s [INFO] running `Command { std: "docker" "inspect" "33322dc9c14b3ea5f2268869ea801d28c3acbf88e66af68b53d993facd6490dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33322dc9c14b3ea5f2268869ea801d28c3acbf88e66af68b53d993facd6490dc", kill_on_drop: false }` [INFO] [stdout] 33322dc9c14b3ea5f2268869ea801d28c3acbf88e66af68b53d993facd6490dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f70160f8f1b8406a481e251c15837e28763d5c2469e00e8842aefed775ee5b1c [INFO] running `Command { std: "docker" "start" "-a" "f70160f8f1b8406a481e251c15837e28763d5c2469e00e8842aefed775ee5b1c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `EventListener` [INFO] [stderr] --> src/context.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | use event_listener::{Event, EventListener}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `mem`, `process::Stdio` [INFO] [stderr] --> src/mlt/mod.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | iter, mem, [INFO] [stderr] | ^^^ [INFO] [stderr] 38 | path::{Path, PathBuf}, [INFO] [stderr] 39 | process::Stdio, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/mlt/mod.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 174 - let (frame_rate_num) = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stderr] 174 + let frame_rate_num = (FPS * (FRAME_RATE_DEN as f32)).ceil() as usize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImmediateOrTask`, `MapFuture` [INFO] [stderr] --> src/process/mod.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | util::{video_length, ImmediateOrTask, MapFuture}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `future` [INFO] [stderr] --> src/process/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | future, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `once_cell::sync::Lazy` [INFO] [stderr] --> src/process/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use once_cell::sync::Lazy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BytesDecl`, `BytesEnd`, `BytesStart`, `Event`, `Writer` [INFO] [stderr] --> src/process/mod.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | events::{BytesDecl, BytesEnd, BytesStart, Event}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stderr] 31 | Writer, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/process/mod.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `io::BufWriter`, `os::unix::ffi::OsStrExt`, `process::Stdio`, `str::FromStr` [INFO] [stderr] --> src/process/mod.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | array::IntoIter as ArrayIter, io::BufWriter, iter, mem, os::unix::ffi::OsStrExt, path::Path, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 36 | process::Stdio, str::FromStr, sync::Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `File`, `process::Command` [INFO] [stderr] --> src/process/mod.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | fs::{self, File}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | process::Command, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MapFuture` [INFO] [stderr] --> src/process/frame.rs:25:29 [INFO] [stderr] | [INFO] [stderr] 25 | util::{ImmediateOrTask, MapFuture}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `quick_xml::Writer` [INFO] [stderr] --> src/process/frame.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use quick_xml::Writer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/process/frame.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | iter, mem, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::process::Command` [INFO] [stderr] --> src/process/frame.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use tokio::process::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RNG`, `tls_rng` [INFO] [stderr] --> src/process/tts.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | use nanorand::{tls_rng, RNG}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stdio` [INFO] [stderr] --> src/process/tts.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | process::{Output, Stdio}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/process/mod.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / macro_rules! s { [INFO] [stderr] 54 | | ($e: expr) => {{ [INFO] [stderr] 55 | | ($e).as_ref() [INFO] [stderr] 56 | | }}; [INFO] [stderr] 57 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `filter_text`, `strip_html_tags` [INFO] [stderr] --> src/reddit_text_source/mod.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | filter::{filter_pass, filter_text}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 21 | frame::Frame, [INFO] [stderr] 22 | util::{self, strip_html_tags, timeout, ArcWebElement}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `future` [INFO] [stderr] --> src/reddit_text_source/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | future, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `array::IntoIter as ArrayIter` [INFO] [stderr] --> src/reddit_text_source/mod.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | array::IntoIter as ArrayIter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::WebDriverResult` [INFO] [stderr] --> src/reddit_text_source/mod.rs:44:46 [INFO] [stderr] | [INFO] [stderr] 44 | use thirtyfour::{common::types::ElementRect, error::WebDriverResult, prelude::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `once_cell::sync::Lazy` [INFO] [stderr] --> src/reddit_text_source/direct_children.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use once_cell::sync::Lazy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/reddit_text_source/direct_children.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DynamicImage` [INFO] [stderr] --> src/text2image.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use image::{DynamicImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/text2image.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | use std::{cmp, env, mem}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/thumbnail/template.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufReader`, `BufWriter`, `fs::File` [INFO] [stderr] --> src/util.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | fs::File, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 25 | future::Future, [INFO] [stderr] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Stream`, `self` [INFO] [stderr] --> src/main.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/reddit_text_source/mod.rs:371:13 [INFO] [stderr] | [INFO] [stderr] 371 | let mut caps = DesiredCapabilities::firefox(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/process/tts.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | let mut child = t2w.spawn()?; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/image_size.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | let mut im = image::open(&imgpath)?; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mlt/mod.rs:266:13 [INFO] [stderr] | [INFO] [stderr] 266 | let mut output = Command::new("melt") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/thumbnail/template.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let mut base_image = image::open(&path)?; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/youtube/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | mut video_title: String, [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/youtube/mod.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let mut yt = YouTube::new( [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> src/util.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | io::{prelude::*, BufReader, BufWriter}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StreamExt` [INFO] [stderr] --> src/main.rs:38:42 [INFO] [stderr] | [INFO] [stderr] 38 | use futures_lite::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blacktrack` [INFO] [stderr] --> src/process/mod.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | let blacktrack = mlt.add_producer(Path::new("black").to_path_buf()); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blacktrack` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `elem` [INFO] [stderr] --> src/reddit_text_source/mod.rs:339:39 [INFO] [stderr] | [INFO] [stderr] 339 | .take_while(move |(score, elem)| match score { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ascent` [INFO] [stderr] --> src/text2image.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let ascent = v_metrics.ascent; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ascent` [INFO] [stderr] [INFO] [stderr] warning: variable `vw` is assigned to, but never used [INFO] [stderr] --> src/process/frame.rs:191:18 [INFO] [stderr] | [INFO] [stderr] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_vw` instead [INFO] [stderr] [INFO] [stderr] warning: variable `vh` is assigned to, but never used [INFO] [stderr] --> src/process/frame.rs:191:26 [INFO] [stderr] | [INFO] [stderr] 191 | let (mut vw, mut vh) = (video_width as f32, video_height as f32); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_vh` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `vw` is never read [INFO] [stderr] --> src/process/frame.rs:192:9 [INFO] [stderr] | [INFO] [stderr] 192 | vw /= 10.0; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `vh` is never read [INFO] [stderr] --> src/process/frame.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | vh /= 10.0; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/process/frame.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | w: u32, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `h` [INFO] [stderr] --> src/process/frame.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | h: u32, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w1` [INFO] [stderr] --> src/process/frame.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | w1: u32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w2` [INFO] [stderr] --> src/process/frame.rs:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | w2: u32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_w2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/process/tts.rs:35:62 [INFO] [stderr] | [INFO] [stderr] 35 | fn prepare_command(text2wave: &mut Command, source: PathBuf, ctx: &Context) -> PathBuf { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/reddit_text_source/direct_children.rs:141:35 [INFO] [stderr] | [INFO] [stderr] 141 | fn process_end<'a>(&mut self, bytes: BytesEnd<'a>) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/thumbnail/template.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | let Self { id, path, trect } = self; [INFO] [stderr] | ^^ help: try ignoring the field: `id: _` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/process/frame.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | mut self, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/process/frame.rs:265:9 [INFO] [stderr] | [INFO] [stderr] 265 | mut self, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/reddit_text_source/direct_children.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | let mut inserts = ibytes [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:389:21 [INFO] [stderr] | [INFO] [stderr] 389 | let mut ctx = context::Context::default(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DEFAULT_STRING` [INFO] [stderr] --> src/context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / const DEFAULT_STRING: &str = [INFO] [stderr] 26 | | "Subscribe to King of the Internet! https://www.youtube.com/channel/UCMk4074NTvhjdFksS8MflMA [INFO] [stderr] 27 | | Subscribe to my main channel! https://www.youtube.com/channel/UCa22ge_MKVapVkX8lN1jDuQ [INFO] [stderr] 28 | | "; [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fades_in_after` [INFO] [stderr] --> src/process/frame.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | fades_in_after: Option<f32>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `duration` [INFO] [stderr] --> src/process/frame.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn duration(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WORD_SPACE` [INFO] [stderr] --> src/process/tts.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | const WORD_SPACE: &str = "4"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `VALUES_TO_SECONDS` [INFO] [stderr] --> src/process/tts.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | const VALUES_TO_SECONDS: f32 = 4.53425032713551e-05; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `THREAD_COUNT` [INFO] [stderr] --> src/main.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | const THREAD_COUNT: usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `koti` (bin "koti" test) generated 61 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/koti-0d7a86c0785f0cc9) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test reddit_text_source::direct_children::test_fix_broken ... ok [INFO] [stdout] test util::test_strip ... ok [INFO] [stdout] test filter::test_filter ... ok [INFO] [stdout] test util::test_timeout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f70160f8f1b8406a481e251c15837e28763d5c2469e00e8842aefed775ee5b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70160f8f1b8406a481e251c15837e28763d5c2469e00e8842aefed775ee5b1c", kill_on_drop: false }` [INFO] [stdout] f70160f8f1b8406a481e251c15837e28763d5c2469e00e8842aefed775ee5b1c