[INFO] cloning repository https://github.com/qiubinglin/tinyrenderer_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiubinglin/tinyrenderer_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiubinglin%2Ftinyrenderer_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiubinglin%2Ftinyrenderer_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccb8121f8c392043f2c3fe6636646c3306253e51 [INFO] checking qiubinglin/tinyrenderer_rust against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiubinglin%2Ftinyrenderer_rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qiubinglin/tinyrenderer_rust on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qiubinglin/tinyrenderer_rust [INFO] finished tweaking git repo https://github.com/qiubinglin/tinyrenderer_rust [INFO] tweaked toml for git repo https://github.com/qiubinglin/tinyrenderer_rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/qiubinglin/tinyrenderer_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0f1bfacfa343f71e8f3d85168e17f66a9a9ad5393a7470927f9e62456da854d9 [INFO] running `Command { std: "docker" "start" "-a" "0f1bfacfa343f71e8f3d85168e17f66a9a9ad5393a7470927f9e62456da854d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1bfacfa343f71e8f3d85168e17f66a9a9ad5393a7470927f9e62456da854d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1bfacfa343f71e8f3d85168e17f66a9a9ad5393a7470927f9e62456da854d9", kill_on_drop: false }` [INFO] [stdout] 0f1bfacfa343f71e8f3d85168e17f66a9a9ad5393a7470927f9e62456da854d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cbc00192a27982b4c9f6bd6b80e6e8f11815137cda90868e3b43543772d15c2 [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" "1cbc00192a27982b4c9f6bd6b80e6e8f11815137cda90868e3b43543772d15c2", kill_on_drop: false }` [INFO] [stderr] Checking tinyrenderer_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | fn get(self, x: i32, y: i32) -> TGAColor {} [INFO] [stdout] | --- ^^^^^^^^ expected struct `TGAColor`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_width(self) -> i32 {} [INFO] [stdout] | --------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_height(self) -> i32 {} [INFO] [stdout] | ---------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_bytespp(self) -> i32 {} [INFO] [stdout] | ----------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | fn parse_tga_header(self, data: Vec, point: usize) -> TGAHeader { [INFO] [stdout] | ---------------- ^^^^^^^^^ expected struct `TGAHeader`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyrenderer_rust` [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[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | fn get(self, x: i32, y: i32) -> TGAColor {} [INFO] [stdout] | --- ^^^^^^^^ expected struct `TGAColor`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | fn get_width(self) -> i32 {} [INFO] [stdout] | --------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_height(self) -> i32 {} [INFO] [stdout] | ---------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_bytespp(self) -> i32 {} [INFO] [stdout] | ----------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tgaimage.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | fn parse_tga_header(self, data: Vec, point: usize) -> TGAHeader { [INFO] [stdout] | ---------------- ^^^^^^^^^ expected struct `TGAHeader`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1cbc00192a27982b4c9f6bd6b80e6e8f11815137cda90868e3b43543772d15c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbc00192a27982b4c9f6bd6b80e6e8f11815137cda90868e3b43543772d15c2", kill_on_drop: false }` [INFO] [stdout] 1cbc00192a27982b4c9f6bd6b80e6e8f11815137cda90868e3b43543772d15c2