[INFO] cloning repository https://github.com/Neidz/rust-rplace-tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Neidz/rust-rplace-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidz%2Frust-rplace-tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidz%2Frust-rplace-tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ec0e13c7282274f15943b0cfc72c67f13c20717 [INFO] checking Neidz/rust-rplace-tools/7ec0e13c7282274f15943b0cfc72c67f13c20717 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeidz%2Frust-rplace-tools" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Neidz/rust-rplace-tools on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Neidz/rust-rplace-tools [INFO] finished tweaking git repo https://github.com/Neidz/rust-rplace-tools [INFO] tweaked toml for git repo https://github.com/Neidz/rust-rplace-tools written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Neidz/rust-rplace-tools 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f3f1610dca04741b71323ca72bb6b780abaa7d1185677e238e6d17c31c2f54 [INFO] running `Command { std: "docker" "start" "-a" "c5f3f1610dca04741b71323ca72bb6b780abaa7d1185677e238e6d17c31c2f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f3f1610dca04741b71323ca72bb6b780abaa7d1185677e238e6d17c31c2f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f3f1610dca04741b71323ca72bb6b780abaa7d1185677e238e6d17c31c2f54", kill_on_drop: false }` [INFO] [stdout] c5f3f1610dca04741b71323ca72bb6b780abaa7d1185677e238e6d17c31c2f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e1ad62165a6427c8cd537ccd82cf9967f9e130589400e064a71c402d38cae0f [INFO] running `Command { std: "docker" "start" "-a" "0e1ad62165a6427c8cd537ccd82cf9967f9e130589400e064a71c402d38cae0f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking rusty-rplace-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `feed_parser::FeedParser` [INFO] [stdout] --> src/feed_parser/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use feed_parser::FeedParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `feed_parser::FeedParser` [INFO] [stdout] --> src/feed_parser/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use feed_parser::FeedParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `r: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `x1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `x2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `y1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `y2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/image_scanner/image_scanner.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | images: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/feed_parser/csv_record.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | Coordinate::Circle { x, y, r } => { [INFO] [stdout] | ^ help: try ignoring the field: `r: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x1` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `x1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `x2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y1` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `y1: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/feed_parser/csv_record.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | Coordinate::Rectangle { x1, x2, y1, y2 } => { [INFO] [stdout] | ^^ help: try ignoring the field: `y2: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `user`, `coordinate`, and `pixel_color` are never read [INFO] [stdout] --> src/feed_parser/csv_record.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CSVRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | #[serde(deserialize_with = "deserialize_timestamp")] [INFO] [stdout] 9 | timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[serde(deserialize_with = "deserialize_coordinate")] [INFO] [stdout] 12 | coordinate: Coordinate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | #[serde(deserialize_with = "deserialize_color")] [INFO] [stdout] 14 | pixel_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CSVRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_on_image` is never used [INFO] [stdout] --> src/feed_parser/csv_record.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl CSVRecord { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 89 | fn draw_on_image(&self, image: &mut DynamicImage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeedParser` is never constructed [INFO] [stdout] --> src/feed_parser/feed_parser.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FeedParser {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_multiple_images`, `is_path_valid`, and `are_paths_valid` are never used [INFO] [stdout] --> src/image_io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ImageIO { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn load_multiple_images(paths: Vec<&str>) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_path_valid(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn are_paths_valid(paths: Vec<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_scanner/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scan_multiple_images_for_patterns` is never used [INFO] [stdout] --> src/image_scanner/image_scanner.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ImageScanner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn scan_multiple_images_for_patterns( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/image_scanner/image_scanner.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | images: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_on_image` is never used [INFO] [stdout] --> src/feed_parser/csv_record.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl CSVRecord { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 89 | fn draw_on_image(&self, image: &mut DynamicImage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeedParser` is never constructed [INFO] [stdout] --> src/feed_parser/feed_parser.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FeedParser {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_multiple_images`, `is_path_valid`, and `are_paths_valid` are never used [INFO] [stdout] --> src/image_io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ImageIO { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn load_multiple_images(paths: Vec<&str>) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_path_valid(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn are_paths_valid(paths: Vec<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/image_scanner/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scan_multiple_images_for_patterns` is never used [INFO] [stdout] --> src/image_scanner/image_scanner.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ImageScanner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn scan_multiple_images_for_patterns( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.43s [INFO] running `Command { std: "docker" "inspect" "0e1ad62165a6427c8cd537ccd82cf9967f9e130589400e064a71c402d38cae0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e1ad62165a6427c8cd537ccd82cf9967f9e130589400e064a71c402d38cae0f", kill_on_drop: false }` [INFO] [stdout] 0e1ad62165a6427c8cd537ccd82cf9967f9e130589400e064a71c402d38cae0f