[INFO] cloning repository https://github.com/strawbmoe/sterby [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strawbmoe/sterby" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 804903703e2234f206de5159485e2146aa53fc31 [INFO] testing strawbmoe/sterby against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 85% (594/692) Updating files: 86% (596/692) Updating files: 87% (603/692) Updating files: 88% (609/692) Updating files: 89% (616/692) Updating files: 90% (623/692) Updating files: 91% (630/692) Updating files: 92% (637/692) Updating files: 93% (644/692) Updating files: 94% (651/692) Updating files: 95% (658/692) Updating files: 96% (665/692) Updating files: 97% (672/692) Updating files: 98% (679/692) Updating files: 99% (686/692) Updating files: 100% (692/692) Updating files: 100% (692/692), done. [INFO] validating manifest of git repo https://github.com/strawbmoe/sterby on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strawbmoe/sterby [INFO] finished tweaking git repo https://github.com/strawbmoe/sterby [INFO] tweaked toml for git repo https://github.com/strawbmoe/sterby written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate git repo https://github.com/strawbmoe/sterby already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 852491161b426b1cac9786c688925daab716e2a2f6ccbc3a838f50106718c396 [INFO] running `Command { std: "docker" "start" "-a" "852491161b426b1cac9786c688925daab716e2a2f6ccbc3a838f50106718c396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "852491161b426b1cac9786c688925daab716e2a2f6ccbc3a838f50106718c396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852491161b426b1cac9786c688925daab716e2a2f6ccbc3a838f50106718c396", kill_on_drop: false }` [INFO] [stdout] 852491161b426b1cac9786c688925daab716e2a2f6ccbc3a838f50106718c396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad6ea679af17818ef1fc46831b802fa164f6df224c26994255f3f3bbe8b53e7 [INFO] running `Command { std: "docker" "start" "-a" "aad6ea679af17818ef1fc46831b802fa164f6df224c26994255f3f3bbe8b53e7", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling sterby v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | let x = GenericImage::get_pixel(1,1); [INFO] [stdout] | ----- help: consider using `const` instead of `let`: `const x` [INFO] [stdout] 48 | let y = [[x];x]; [INFO] [stdout] | ^ non-constant value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Pixel` [INFO] [stdout] --> src/main.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Arg, App, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `Pixels` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{DynamicImage, GenericImage, GenericImageView, Pixels, Pixel}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if (width > height){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - if (width > height){ [INFO] [stdout] 10 + if width > height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | if (height % 2 != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if (height % 2 != 0){ [INFO] [stdout] 11 + if height % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if (width % 2 != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - if (width % 2 != 0){ [INFO] [stdout] 22 + if width % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (width % i == 0 && height % i == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (width % i == 0 && height % i == 0){ [INFO] [stdout] 39 + if width % i == 0 && height % i == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] 46 + fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[dyn Pixel]; Pixel]{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Subpixel` (from trait `Pixel`) must be specified [INFO] [stdout] --> src/main.rs:46:58 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^ help: specify the associated type: `Pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] 46 + fn GetPixelArray(hcf: u32, inputImage:dyn GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated types `InnerImageView` (from trait `GenericImageView`), `InnerImage` (from trait `GenericImage`), `Pixel` (from trait `GenericImageView`) must be specified [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^^^^^^^^ help: specify the associated types: `GenericImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0423, E0435. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sterby` due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aad6ea679af17818ef1fc46831b802fa164f6df224c26994255f3f3bbe8b53e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad6ea679af17818ef1fc46831b802fa164f6df224c26994255f3f3bbe8b53e7", kill_on_drop: false }` [INFO] [stdout] aad6ea679af17818ef1fc46831b802fa164f6df224c26994255f3f3bbe8b53e7