[INFO] updating cached repository lyapinvi/rust-sandbox-mandelbrot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/lyapinvi/rust-sandbox-mandelbrot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/lyapinvi/rust-sandbox-mandelbrot" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/lyapinvi/rust-sandbox-mandelbrot"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/lyapinvi/rust-sandbox-mandelbrot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/lyapinvi/rust-sandbox-mandelbrot" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/lyapinvi/rust-sandbox-mandelbrot"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/lyapinvi/rust-sandbox-mandelbrot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4a6df888bf03834c80a417c04096986dc31b2d33 [INFO] sha for GitHub repo lyapinvi/rust-sandbox-mandelbrot: 4a6df888bf03834c80a417c04096986dc31b2d33 [INFO] validating manifest of lyapinvi/rust-sandbox-mandelbrot on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of lyapinvi/rust-sandbox-mandelbrot on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing lyapinvi/rust-sandbox-mandelbrot [INFO] finished frobbing lyapinvi/rust-sandbox-mandelbrot [INFO] frobbed toml for lyapinvi/rust-sandbox-mandelbrot written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/lyapinvi/rust-sandbox-mandelbrot/Cargo.toml [INFO] started frobbing lyapinvi/rust-sandbox-mandelbrot [INFO] finished frobbing lyapinvi/rust-sandbox-mandelbrot [INFO] frobbed toml for lyapinvi/rust-sandbox-mandelbrot written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/lyapinvi/rust-sandbox-mandelbrot/Cargo.toml [INFO] crate lyapinvi/rust-sandbox-mandelbrot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/lyapinvi/rust-sandbox-mandelbrot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking lyapinvi/rust-sandbox-mandelbrot against master#0f88167f89fffe321590c5148f21b7d51d44388d for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-5/master#0f88167f89fffe321590c5148f21b7d51d44388d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/lyapinvi/rust-sandbox-mandelbrot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1f11d23b516b3067aab34ff6a56aca4347675ed240ea72cc176cbef98cf9a440 [INFO] running `"docker" "start" "-a" "1f11d23b516b3067aab34ff6a56aca4347675ed240ea72cc176cbef98cf9a440"` [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking mandelbrot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `,` [INFO] [stderr] --> src/main.rs:76:34 [INFO] [stderr] | [INFO] [stderr] 76 | for column in 0 .. bounds,0 { [INFO] [stderr] | ^ expected one of `!`, `.`, `::`, `?`, `{`, or an operator here [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `,` [INFO] [stderr] --> src/main.rs:76:34 [INFO] [stderr] | [INFO] [stderr] 76 | for column in 0 .. bounds,0 { [INFO] [stderr] | ^ expected one of `!`, `.`, `::`, `?`, `{`, or an operator here [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::ColorType` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use image::ColorType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::png::PNGEncoder` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use image::png::PNGEncoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::ColorType` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use image::ColorType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::png::PNGEncoder` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use image::png::PNGEncoder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:89:74 [INFO] [stderr] | [INFO] [stderr] 89 | fn write_image(filename: &str, pixels: &[u8], bounds: (usize, usize)) -> Result<(), std::io::Error> [INFO] [stderr] | ----------- this function's body doesn't return ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<(), std::io::Error>` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `mandelbrot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:89:74 [INFO] [stderr] | [INFO] [stderr] 89 | fn write_image(filename: &str, pixels: &[u8], bounds: (usize, usize)) -> Result<(), std::io::Error> [INFO] [stderr] | ----------- this function's body doesn't return ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<(), std::io::Error>` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `mandelbrot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1f11d23b516b3067aab34ff6a56aca4347675ed240ea72cc176cbef98cf9a440"` [INFO] running `"docker" "rm" "-f" "1f11d23b516b3067aab34ff6a56aca4347675ed240ea72cc176cbef98cf9a440"` [INFO] [stdout] 1f11d23b516b3067aab34ff6a56aca4347675ed240ea72cc176cbef98cf9a440