[INFO] cloning repository https://github.com/arthurmco/oxImage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arthurmco/oxImage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2FoxImage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2FoxImage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c67a063eae4693828e70aa564d8b3bc52bc08853 [INFO] checking arthurmco/oxImage against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2FoxImage" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arthurmco/oxImage on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arthurmco/oxImage [INFO] finished tweaking git repo https://github.com/arthurmco/oxImage [INFO] tweaked toml for git repo https://github.com/arthurmco/oxImage written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arthurmco/oxImage 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 034b079f8bfe8747d41b77860c20eb0f56535c6a755a4156b4af2bf210871426 [INFO] running `Command { std: "docker" "start" "-a" "034b079f8bfe8747d41b77860c20eb0f56535c6a755a4156b4af2bf210871426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "034b079f8bfe8747d41b77860c20eb0f56535c6a755a4156b4af2bf210871426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "034b079f8bfe8747d41b77860c20eb0f56535c6a755a4156b4af2bf210871426", kill_on_drop: false }` [INFO] [stdout] 034b079f8bfe8747d41b77860c20eb0f56535c6a755a4156b4af2bf210871426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ba42dd66a558f63545faaff86947e049839f6d2f3565611649bfc54a04d2a2f [INFO] running `Command { std: "docker" "start" "-a" "6ba42dd66a558f63545faaff86947e049839f6d2f3565611649bfc54a04d2a2f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking deflate v0.7.16 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking image v0.15.0 [INFO] [stderr] Checking oximage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/picture/imagecollection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Image` [INFO] [stdout] --> src/picture/imagecollection.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{ImageCollectionElement, ImageCollectionItem, Image}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/picture/imagecollection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oldname` [INFO] [stdout] --> src/picture/imagecollection.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newname` [INFO] [stdout] --> src/picture/imagecollection.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/picture/pimage.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | data: ImageData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_empty`, `get_pixel`, and `resize_area` are never used [INFO] [stdout] --> src/picture/pimage.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | pub fn create_empty(name: &str, width: u32, height: u32) -> Image { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_pixel(&self, x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn resize_area(&mut self, nwidth: u32, nheight: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `d` is never read [INFO] [stdout] --> src/picture/imagecollection.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ImageCollectionListIter<'a> { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 20 | /* Iterator over an image collection */ [INFO] [stdout] 21 | d: &'a ImageCollectionList, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_element`, `rename_element`, and `remove_element` are never used [INFO] [stdout] --> src/picture/imagecollection.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl ImageCollectionList { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_element(&self, filename: &str) -> Option<&ImageCollectionItem> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn remove_element(&mut self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ImageList` is never constructed [INFO] [stdout] --> src/picture/collectionitem.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ImageCollectionItem { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ImageList(ImageCollectionList), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/picture/imagefile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BasicImageOpener { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_empty` and `set_data` are never used [INFO] [stdout] --> src/picture/imagedata.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl ImageData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | /* Create an empty data */ [INFO] [stdout] 17 | pub fn create_empty(size: usize) -> ImageData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_data(&mut self, data: &[u32]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/picture/imagedata.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let dd = data.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/picture/imagedata.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let dd = data.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oximage` (bin "oximage") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `oldname` [INFO] [stdout] --> src/picture/imagecollection.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newname` [INFO] [stdout] --> src/picture/imagecollection.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/picture/imagecollection.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | let mut it = ic.iterator(); [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: field `d` is never read [INFO] [stdout] --> src/picture/imagecollection.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ImageCollectionListIter<'a> { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 20 | /* Iterator over an image collection */ [INFO] [stdout] 21 | d: &'a ImageCollectionList, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rename_element` is never used [INFO] [stdout] --> src/picture/imagecollection.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 41 | impl ImageCollectionList { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn rename_element(&mut self, oldname: &str, newname: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ImageList` is never constructed [INFO] [stdout] --> src/picture/collectionitem.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ImageCollectionItem { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ImageList(ImageCollectionList), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/picture/imagefile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BasicImageOpener { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/picture/imagedata.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let dd = data.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/picture/imagedata.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let dd = data.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u32]` does not implement `Clone`, so calling `clone` on `&[u32]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oximage` (bin "oximage" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ba42dd66a558f63545faaff86947e049839f6d2f3565611649bfc54a04d2a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba42dd66a558f63545faaff86947e049839f6d2f3565611649bfc54a04d2a2f", kill_on_drop: false }` [INFO] [stdout] 6ba42dd66a558f63545faaff86947e049839f6d2f3565611649bfc54a04d2a2f