[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 71% (493/692) Updating files: 72% (499/692) Updating files: 73% (506/692) Updating files: 74% (513/692) Updating files: 75% (519/692) Updating files: 76% (526/692) Updating files: 76% (531/692) Updating files: 77% (533/692) Updating files: 78% (540/692) Updating files: 79% (547/692) Updating files: 80% (554/692) Updating files: 81% (561/692) Updating files: 82% (568/692) Updating files: 83% (575/692) Updating files: 84% (582/692) Updating files: 84% (583/692) Updating files: 85% (589/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 a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-107/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 559396c9537ab3c977067464167792b35207e234d8911b0ad90d8812d9ae14c5 [INFO] running `Command { std: "docker" "start" "-a" "559396c9537ab3c977067464167792b35207e234d8911b0ad90d8812d9ae14c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "559396c9537ab3c977067464167792b35207e234d8911b0ad90d8812d9ae14c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559396c9537ab3c977067464167792b35207e234d8911b0ad90d8812d9ae14c5", kill_on_drop: false }` [INFO] [stdout] 559396c9537ab3c977067464167792b35207e234d8911b0ad90d8812d9ae14c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdbf084cf65ac59222ec91cd6973be9aa20459e79ef08b5b44c959e9ce56cb90 [INFO] running `Command { std: "docker" "start" "-a" "bdbf084cf65ac59222ec91cd6973be9aa20459e79ef08b5b44c959e9ce56cb90", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.8 [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 quote v0.6.13 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [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-deque v0.6.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rayon v1.1.0 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] [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 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] [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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] [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 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] [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] 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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bdbf084cf65ac59222ec91cd6973be9aa20459e79ef08b5b44c959e9ce56cb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbf084cf65ac59222ec91cd6973be9aa20459e79ef08b5b44c959e9ce56cb90", kill_on_drop: false }` [INFO] [stdout] bdbf084cf65ac59222ec91cd6973be9aa20459e79ef08b5b44c959e9ce56cb90