[INFO] fetching crate rs-wordcloud 0.1.0... [INFO] testing rs-wordcloud-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rs-wordcloud 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rs-wordcloud 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rs-wordcloud 0.1.0 [INFO] tweaked toml for crates.io crate rs-wordcloud 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-wordcloud 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rs-wordcloud 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded four-cc v0.1.0 [INFO] [stderr] Downloaded woff2 v0.3.0 [INFO] [stderr] Downloaded quadtree_rs v0.1.3 [INFO] [stderr] Downloaded rs-woff v0.1.0 [INFO] [stderr] Downloaded safer-bytes v0.2.0 [INFO] [stderr] Downloaded swash v0.1.8 [INFO] [stderr] Downloaded edge-detection v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfe95e24223b1e99d44ade5ae0b104352ce97055e581e18cb73e67186916583b [INFO] running `Command { std: "docker" "start" "-a" "bfe95e24223b1e99d44ade5ae0b104352ce97055e581e18cb73e67186916583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe95e24223b1e99d44ade5ae0b104352ce97055e581e18cb73e67186916583b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe95e24223b1e99d44ade5ae0b104352ce97055e581e18cb73e67186916583b", kill_on_drop: false }` [INFO] [stdout] bfe95e24223b1e99d44ade5ae0b104352ce97055e581e18cb73e67186916583b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa94a1ac7e5f94571d88f53ed495e3a28cead9caa9d438781a960f5aadcd1627 [INFO] running `Command { std: "docker" "start" "-a" "fa94a1ac7e5f94571d88f53ed495e3a28cead9caa9d438781a960f5aadcd1627", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling yazi v0.1.6 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling four-cc v0.1.0 [INFO] [stderr] Compiling zeno v0.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rs-woff v0.1.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unicode-script v0.5.5 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling swash v0.1.8 [INFO] [stderr] Compiling svg v0.13.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling safer-bytes v0.2.0 [INFO] [stderr] Compiling quadtree_rs v0.1.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling woff2 v0.3.0 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling edge-detection v0.2.6 [INFO] [stderr] Compiling rs-wordcloud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rectangle` and `Text` [INFO] [stdout] --> src/cloud/word.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use svg::node::element::{Rectangle, Text}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cloud/word_cloud.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|x| (x.count() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - .map(|x| (x.count() as f32)) [INFO] [stdout] 324 + .map(|x| x.count() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/types/point.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Mul, Range, Sub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Node` [INFO] [stdout] --> src/cloud/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/cloud/word_cloud.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let max = content [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_font_size_range` is never used [INFO] [stdout] --> src/cloud/word.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Word<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub(crate) fn get_font_size_range(&self, dimensions: Dimensions) -> Range { [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 `approximate_pixel_width` is never read [INFO] [stdout] --> src/common/font.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Font<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | approximate_pixel_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `approximate_pixel_width` is never used [INFO] [stdout] --> src/common/font.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> Font<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub(crate) fn approximate_pixel_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_intersection` is never used [INFO] [stdout] --> src/types/rect.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 208 | / impl Rect [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | T: PartialOrd + Copy + Sized, [INFO] [stdout] | |_________________________________- method in this implementation [INFO] [stdout] 211 | { [INFO] [stdout] 212 | pub(crate) fn get_intersection(&self, rhs: &Rect) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/font.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "fa94a1ac7e5f94571d88f53ed495e3a28cead9caa9d438781a960f5aadcd1627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa94a1ac7e5f94571d88f53ed495e3a28cead9caa9d438781a960f5aadcd1627", kill_on_drop: false }` [INFO] [stdout] fa94a1ac7e5f94571d88f53ed495e3a28cead9caa9d438781a960f5aadcd1627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f41d9c08cdd379ed04b6b9dc282f1734b3af6c0446de8c59f9e7f9bc1313af52 [INFO] running `Command { std: "docker" "start" "-a" "f41d9c08cdd379ed04b6b9dc282f1734b3af6c0446de8c59f9e7f9bc1313af52", kill_on_drop: false }` [INFO] [stderr] Compiling rs-wordcloud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rectangle` and `Text` [INFO] [stdout] --> src/cloud/word.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use svg::node::element::{Rectangle, Text}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cloud/word_cloud.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|x| (x.count() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - .map(|x| (x.count() as f32)) [INFO] [stdout] 324 + .map(|x| x.count() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/types/point.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Mul, Range, Sub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Node` [INFO] [stdout] --> src/cloud/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/cloud/word_cloud.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let max = content [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_font_size_range` is never used [INFO] [stdout] --> src/cloud/word.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Word<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub(crate) fn get_font_size_range(&self, dimensions: Dimensions) -> Range { [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 `approximate_pixel_width` is never read [INFO] [stdout] --> src/common/font.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Font<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | approximate_pixel_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `approximate_pixel_width` is never used [INFO] [stdout] --> src/common/font.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> Font<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub(crate) fn approximate_pixel_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_intersection` is never used [INFO] [stdout] --> src/types/rect.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 208 | / impl Rect [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | T: PartialOrd + Copy + Sized, [INFO] [stdout] | |_________________________________- method in this implementation [INFO] [stdout] 211 | { [INFO] [stdout] 212 | pub(crate) fn get_intersection(&self, rhs: &Rect) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/font.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cloud/word_cloud.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|x| (x.count() as f32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - .map(|x| (x.count() as f32)) [INFO] [stdout] 324 + .map(|x| x.count() as f32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/types/point.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Mul, Range, Sub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `example/assets/1000x1000bb.png`: No such file or directory (os error 2) [INFO] [stdout] --> example/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let test_image = include_bytes!("assets/1000x1000bb.png") as &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StopWordsIterator` [INFO] [stdout] --> example/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use wordcloud::{StopWordsIterator, StopWordsIteratorPar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-wordcloud` (example "example") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/cloud/word_cloud.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let max = content [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_font_size_range` is never used [INFO] [stdout] --> src/cloud/word.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> Word<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub(crate) fn get_font_size_range(&self, dimensions: Dimensions) -> Range { [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 `approximate_pixel_width` is never read [INFO] [stdout] --> src/common/font.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Font<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | approximate_pixel_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `approximate_pixel_width` is never used [INFO] [stdout] --> src/common/font.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a> Font<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub(crate) fn approximate_pixel_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_intersection` is never used [INFO] [stdout] --> src/types/rect.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 208 | / impl Rect [INFO] [stdout] 209 | | where [INFO] [stdout] 210 | | T: PartialOrd + Copy + Sized, [INFO] [stdout] | |_________________________________- method in this implementation [INFO] [stdout] 211 | { [INFO] [stdout] 212 | pub(crate) fn get_intersection(&self, rhs: &Rect) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cloud/word.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | svg::save("test.svg", &document); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 443 | let _ = svg::save("test.svg", &document); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/font.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) fn get_font_for_script(&self, script: &CScript) -> Option<&Font<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorInner<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filtering/stop_word_iterators.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | fn filter_stop_words(self, sw: &StopWords) -> StopWordsIteratorParallel<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f41d9c08cdd379ed04b6b9dc282f1734b3af6c0446de8c59f9e7f9bc1313af52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41d9c08cdd379ed04b6b9dc282f1734b3af6c0446de8c59f9e7f9bc1313af52", kill_on_drop: false }` [INFO] [stdout] f41d9c08cdd379ed04b6b9dc282f1734b3af6c0446de8c59f9e7f9bc1313af52