[INFO] updating cached repository https://github.com/strawbmoe/sterby [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 804903703e2234f206de5159485e2146aa53fc31 [INFO] testing strawbmoe/sterby against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 62% (433/692) Checking out files: 63% (436/692) Checking out files: 64% (443/692) Checking out files: 65% (450/692) Checking out files: 66% (457/692) Checking out files: 67% (464/692) Checking out files: 68% (471/692) Checking out files: 68% (473/692) Checking out files: 69% (478/692) Checking out files: 70% (485/692) Checking out files: 70% (490/692) Checking out files: 71% (492/692) Checking out files: 71% (495/692) Checking out files: 72% (499/692) Checking out files: 73% (506/692) Checking out files: 74% (513/692) Checking out files: 74% (517/692) Checking out files: 75% (519/692) Checking out files: 76% (526/692) Checking out files: 76% (531/692) Checking out files: 77% (533/692) Checking out files: 78% (540/692) Checking out files: 78% (541/692) Checking out files: 79% (547/692) Checking out files: 79% (553/692) Checking out files: 80% (554/692) Checking out files: 81% (561/692) Checking out files: 82% (568/692) Checking out files: 83% (575/692) Checking out files: 83% (580/692) Checking out files: 84% (582/692) Checking out files: 85% (589/692) Checking out files: 86% (596/692) Checking out files: 86% (601/692) Checking out files: 87% (603/692) Checking out files: 88% (609/692) Checking out files: 89% (616/692) Checking out files: 90% (623/692) Checking out files: 91% (630/692) Checking out files: 92% (637/692) Checking out files: 93% (644/692) Checking out files: 94% (651/692) Checking out files: 95% (658/692) Checking out files: 96% (665/692) Checking out files: 97% (672/692) Checking out files: 98% (679/692) Checking out files: 99% (686/692) Checking out files: 100% (692/692) Checking out files: 100% (692/692), done. [INFO] validating manifest of git repo https://github.com/strawbmoe/sterby on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] crate git repo https://github.com/strawbmoe/sterby already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1aea3432d761346f1c0676e00445d4d5d7b3c68617518ae45ed6b285ffb017ba [INFO] running `"docker" "start" "-a" "1aea3432d761346f1c0676e00445d4d5d7b3c68617518ae45ed6b285ffb017ba"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling sterby v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stderr] --> src/main.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | let y = [[x];x]; [INFO] [stderr] | ^ non-constant value [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found trait `Pixel` [INFO] [stderr] --> src/main.rs:46:66 [INFO] [stderr] | [INFO] [stderr] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stderr] | ^^^^^ not a value [INFO] [stderr] [INFO] [stderr] warning: unused import: `SubCommand` [INFO] [stderr] --> src/main.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use clap::{Arg, App, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DynamicImage`, `Pixels` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use image::{DynamicImage, GenericImage, GenericImageView, Pixels, Pixel}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | if (width > height){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | if (height % 2 != 0){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | if (width % 2 != 0){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | if (width % i == 0 && height % i == 0){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:39 [INFO] [stderr] | [INFO] [stderr] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:46:58 [INFO] [stderr] | [INFO] [stderr] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Pixel` [INFO] [stderr] [INFO] [stderr] error[E0191]: the value of the associated type `Subpixel` (from trait `image::Pixel`) must be specified [INFO] [stderr] --> src/main.rs:46:58 [INFO] [stderr] | [INFO] [stderr] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stderr] | ^^^^^ help: specify the associated type: `Pixel` [INFO] [stderr] [INFO] [stderr] error[E0191]: the value of the associated types `InnerImageView` (from trait `image::GenericImageView`), `InnerImage` (from trait `image::GenericImage`), `Pixel` (from trait `image::GenericImageView`) must be specified [INFO] [stderr] --> src/main.rs:46:39 [INFO] [stderr] | [INFO] [stderr] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stderr] | ^^^^^^^^^^^^ help: specify the associated types: `GenericImage` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0191, E0423, E0435. [INFO] [stderr] For more information about an error, try `rustc --explain E0191`. [INFO] [stderr] error: could not compile `sterby`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1aea3432d761346f1c0676e00445d4d5d7b3c68617518ae45ed6b285ffb017ba"` [INFO] running `"docker" "rm" "-f" "1aea3432d761346f1c0676e00445d4d5d7b3c68617518ae45ed6b285ffb017ba"` [INFO] [stdout] 1aea3432d761346f1c0676e00445d4d5d7b3c68617518ae45ed6b285ffb017ba