[INFO] updating cached repository https://github.com/lyapinvi/rust-sandbox-mandelbrot [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] 4a6df888bf03834c80a417c04096986dc31b2d33 [INFO] testing lyapinvi/rust-sandbox-mandelbrot against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyapinvi%2Frust-sandbox-mandelbrot" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lyapinvi/rust-sandbox-mandelbrot on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lyapinvi/rust-sandbox-mandelbrot [INFO] finished tweaking git repo https://github.com/lyapinvi/rust-sandbox-mandelbrot [INFO] tweaked toml for git repo https://github.com/lyapinvi/rust-sandbox-mandelbrot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/lyapinvi/rust-sandbox-mandelbrot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] c6403bb7c9fe11c3a1df5bd3a8656bb742609dd9e8413e03d87e8719a7d91aa6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c6403bb7c9fe11c3a1df5bd3a8656bb742609dd9e8413e03d87e8719a7d91aa6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling png v0.7.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.13.0 [INFO] [stderr] Compiling mandelbrot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected `{`, found `,` [INFO] [stderr] --> src/main.rs:76:34 [INFO] [stderr] | [INFO] [stderr] 76 | for column in 0 .. bounds,0 { [INFO] [stderr] | ^ expected `{` [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] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [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" "c6403bb7c9fe11c3a1df5bd3a8656bb742609dd9e8413e03d87e8719a7d91aa6"` [INFO] running `"docker" "rm" "-f" "c6403bb7c9fe11c3a1df5bd3a8656bb742609dd9e8413e03d87e8719a7d91aa6"` [INFO] [stdout] c6403bb7c9fe11c3a1df5bd3a8656bb742609dd9e8413e03d87e8719a7d91aa6