[INFO] fetching crate next-web-utils 0.1.0... [INFO] building next-web-utils-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate next-web-utils 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate next-web-utils 0.1.0 [INFO] finished tweaking crates.io crate next-web-utils 0.1.0 [INFO] tweaked toml for crates.io crate next-web-utils 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate next-web-utils 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate next-web-utils 0.1.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9569d359b928d17820731c6f3adcdfe40b5c68912f270d6436ef27bf22d70345 [INFO] running `Command { std: "docker" "start" "-a" "9569d359b928d17820731c6f3adcdfe40b5c68912f270d6436ef27bf22d70345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9569d359b928d17820731c6f3adcdfe40b5c68912f270d6436ef27bf22d70345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9569d359b928d17820731c6f3adcdfe40b5c68912f270d6436ef27bf22d70345", kill_on_drop: false }` [INFO] [stdout] 9569d359b928d17820731c6f3adcdfe40b5c68912f270d6436ef27bf22d70345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e93654542f88cf97a86be5266442cbfd92fe0af324b04224851f695fe724e65 [INFO] running `Command { std: "docker" "start" "-a" "1e93654542f88cf97a86be5266442cbfd92fe0af324b04224851f695fe724e65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling ttf-parser v0.17.1 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling roxmltree v0.15.1 [INFO] [stderr] Compiling fontconfig-parser v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling svgtypes v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling kurbo v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling imagesize v0.10.1 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling data-url v0.2.0 [INFO] [stderr] Compiling rctree v0.5.0 [INFO] [stderr] Compiling rustybuzz v0.6.0 [INFO] [stderr] Compiling usvg v0.28.0 [INFO] [stderr] Compiling fontdb v0.10.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling svgfilters v0.4.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling usvg-text-layout v0.28.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling resvg v0.28.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling fast_qr v0.12.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md2 v0.10.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling captcha-rs v0.2.11 [INFO] [stderr] Compiling next-web-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `TimeZone` [INFO] [stdout] --> src/calendar/calendar_util.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Duration, Local, NaiveDate, NaiveDateTime, TimeZone, Weekday}; [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 imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/calendar/calendar_util.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `leap_day` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut leap_day = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut temp = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year_days` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | let mut year_days = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_attr` [INFO] [stdout] --> src/html/html_util.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_attr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/html/html_util.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `day_of_week_name` is never used [INFO] [stdout] --> src/cron/cron_util.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CronUtil { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | fn day_of_week_name(day: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `solar_term_base` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct LunarCalendar { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 418 | solar_term_base: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `complexity`, `size`, `text`, and `build` are never used [INFO] [stdout] --> src/captcha/captcha_gen.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CaptchaBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn length(mut self, length: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn complexity(mut self, complexity: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn text(mut self, text: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn build(self) -> CaptchaGen { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `captcha_gen::CaptchaBuilder` is more private than the item `CaptchaGen::builder` [INFO] [stdout] --> src/captcha/captcha_gen.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn builder() -> CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CaptchaGen::builder` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `captcha_gen::CaptchaBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/captcha/captcha_gen.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "1e93654542f88cf97a86be5266442cbfd92fe0af324b04224851f695fe724e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e93654542f88cf97a86be5266442cbfd92fe0af324b04224851f695fe724e65", kill_on_drop: false }` [INFO] [stdout] 1e93654542f88cf97a86be5266442cbfd92fe0af324b04224851f695fe724e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 119ac7333b209c742b5c8db58865580a2b3de1ef7abee1d79db57ba8ad88f3a1 [INFO] running `Command { std: "docker" "start" "-a" "119ac7333b209c742b5c8db58865580a2b3de1ef7abee1d79db57ba8ad88f3a1", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `TimeZone` [INFO] [stdout] --> src/calendar/calendar_util.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Duration, Local, NaiveDate, NaiveDateTime, TimeZone, Weekday}; [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 imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/calendar/calendar_util.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `leap_day` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut leap_day = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut temp = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year_days` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | let mut year_days = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_attr` [INFO] [stdout] --> src/html/html_util.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_attr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/html/html_util.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `day_of_week_name` is never used [INFO] [stdout] --> src/cron/cron_util.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CronUtil { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | fn day_of_week_name(day: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `solar_term_base` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct LunarCalendar { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 418 | solar_term_base: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `complexity`, `size`, `text`, and `build` are never used [INFO] [stdout] --> src/captcha/captcha_gen.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CaptchaBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn length(mut self, length: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn complexity(mut self, complexity: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn text(mut self, text: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn build(self) -> CaptchaGen { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `captcha_gen::CaptchaBuilder` is more private than the item `CaptchaGen::builder` [INFO] [stdout] --> src/captcha/captcha_gen.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn builder() -> CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CaptchaGen::builder` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `captcha_gen::CaptchaBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/captcha/captcha_gen.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling next-web-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `TimeZone` [INFO] [stdout] --> src/calendar/calendar_util.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Duration, Local, NaiveDate, NaiveDateTime, TimeZone, Weekday}; [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 imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/calendar/calendar_util.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_attr` [INFO] [stdout] --> src/html/html_util.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_attr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/html/html_util.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut in_attr = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `leap_day` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut leap_day = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let mut temp = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year_days` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | let mut year_days = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `solar_term_base` is never read [INFO] [stdout] --> src/calendar/calendar_util.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct LunarCalendar { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 418 | solar_term_base: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `day_of_week_name` is never used [INFO] [stdout] --> src/cron/cron_util.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CronUtil { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | fn day_of_week_name(day: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `captcha_gen::CaptchaBuilder` is more private than the item `captcha_gen::CaptchaGen::builder` [INFO] [stdout] --> src/captcha/captcha_gen.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn builder() -> CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `captcha_gen::CaptchaGen::builder` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `captcha_gen::CaptchaBuilder` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/captcha/captcha_gen.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct CaptchaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "119ac7333b209c742b5c8db58865580a2b3de1ef7abee1d79db57ba8ad88f3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119ac7333b209c742b5c8db58865580a2b3de1ef7abee1d79db57ba8ad88f3a1", kill_on_drop: false }` [INFO] [stdout] 119ac7333b209c742b5c8db58865580a2b3de1ef7abee1d79db57ba8ad88f3a1