[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] checking strawbmoe/sterby against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 98% (683/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 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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-3/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b2e62833d558ce0b5f395d7bca6fc64f2c1e098c2499f4c8d6f917bc9bc8f9a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8b2e62833d558ce0b5f395d7bca6fc64f2c1e098c2499f4c8d6f917bc9bc8f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b2e62833d558ce0b5f395d7bca6fc64f2c1e098c2499f4c8d6f917bc9bc8f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2e62833d558ce0b5f395d7bca6fc64f2c1e098c2499f4c8d6f917bc9bc8f9a", kill_on_drop: false }` [INFO] [stdout] 8b2e62833d558ce0b5f395d7bca6fc64f2c1e098c2499f4c8d6f917bc9bc8f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1addb469c7251a23e99e44abf975eaf222adf55df146a75be96192ab0891cdd1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1addb469c7251a23e99e44abf975eaf222adf55df146a75be96192ab0891cdd1", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking num-integer v0.1.41 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon-core v1.5.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Pixel` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [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] 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: 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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if (width % 2 != 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GenericImage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Pixel` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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: build failed [INFO] running `Command { std: "docker" "inspect" "1addb469c7251a23e99e44abf975eaf222adf55df146a75be96192ab0891cdd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1addb469c7251a23e99e44abf975eaf222adf55df146a75be96192ab0891cdd1", kill_on_drop: false }` [INFO] [stdout] 1addb469c7251a23e99e44abf975eaf222adf55df146a75be96192ab0891cdd1