[INFO] updating cached repository https://github.com/k4nar/rustracer [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] a6dc499d14563dc0cfc6104037f62f2809d1494a [INFO] testing k4nar/rustracer against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk4nar%2Frustracer" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/k4nar/rustracer on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/k4nar/rustracer [INFO] finished tweaking git repo https://github.com/k4nar/rustracer [INFO] tweaked toml for git repo https://github.com/k4nar/rustracer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/k4nar/rustracer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/image` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] c800210b56c6869d5778466a50868a6009911a86e99f5a05cb09d83269f88a92 [INFO] running `"docker" "start" "-a" "c800210b56c6869d5778466a50868a6009911a86e99f5a05cb09d83269f88a92"` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.4 (https://github.com/PistonDevelopers/image#514d1aea) [INFO] [stderr] Compiling rustracer v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ImageRgb8` in crate `image` [INFO] [stderr] --> src/main.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | let _ = image::ImageRgb8(img).save(fout, image::PNG); [INFO] [stderr] | ^^^^^^^^^ not found in `image` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use image::DynamicImage::ImageRgb8; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/main.rs:73:51 [INFO] [stderr] | [INFO] [stderr] 73 | let _ = image::ImageRgb8(img).save(fout, image::PNG); [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shapes.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | pub shape: &'a Shape, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Shape` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Blue`, `Color`, `Green`, `Red` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use color::{Color, Black, White, Red, Green, Blue}; [INFO] [stderr] | ^^^^^ ^^^ ^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/main.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | for x in (0..WIDTH) { [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 `for` iterator expression [INFO] [stderr] --> src/main.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | for y in (0..HEIGHT) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `rustracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c800210b56c6869d5778466a50868a6009911a86e99f5a05cb09d83269f88a92"` [INFO] running `"docker" "rm" "-f" "c800210b56c6869d5778466a50868a6009911a86e99f5a05cb09d83269f88a92"` [INFO] [stdout] c800210b56c6869d5778466a50868a6009911a86e99f5a05cb09d83269f88a92