[INFO] cloning repository https://github.com/millsapjohn/jmrsgeo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/millsapjohn/jmrsgeo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillsapjohn%2Fjmrsgeo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillsapjohn%2Fjmrsgeo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f193f4aed9935d0e8a479da3f903ada88fd4be8 [INFO] building millsapjohn/jmrsgeo against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillsapjohn%2Fjmrsgeo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/millsapjohn/jmrsgeo [INFO] finished tweaking git repo https://github.com/millsapjohn/jmrsgeo [INFO] tweaked toml for git repo https://github.com/millsapjohn/jmrsgeo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/millsapjohn/jmrsgeo on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/millsapjohn/jmrsgeo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4db9e2d8d0e06d1577fbdce354495d5dbcdc34dd1ced8536f31fe50193de0e3 [INFO] running `Command { std: "docker" "start" "-a" "d4db9e2d8d0e06d1577fbdce354495d5dbcdc34dd1ced8536f31fe50193de0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4db9e2d8d0e06d1577fbdce354495d5dbcdc34dd1ced8536f31fe50193de0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4db9e2d8d0e06d1577fbdce354495d5dbcdc34dd1ced8536f31fe50193de0e3", kill_on_drop: false }` [INFO] [stdout] d4db9e2d8d0e06d1577fbdce354495d5dbcdc34dd1ced8536f31fe50193de0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfcae7d20e560f0dc7535d74f6a6da92785f5b540da64c8801889a4b27cedf80 [INFO] running `Command { std: "docker" "start" "-a" "cfcae7d20e560f0dc7535d74f6a6da92785f5b540da64c8801889a4b27cedf80", kill_on_drop: false }` [INFO] [stderr] Compiling jmrsgeo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stdout] --> src/polygon.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn getcentroid(&self) -> Point { [INFO] [stdout] | ----- expected `Point` because of this return type [INFO] [stdout] 15 | return; [INFO] [stdout] | ^^^^^^ return type is not `()` [INFO] [stdout] | [INFO] [stdout] help: give the `return` a value of the expected type [INFO] [stdout] | [INFO] [stdout] 15 | return /* value */; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stdout] --> src/polygon.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn calcarea(polygon: &Polygon) -> f64 { [INFO] [stdout] | --- expected `f64` because of this return type [INFO] [stdout] 23 | return; [INFO] [stdout] | ^^^^^^ return type is not `()` [INFO] [stdout] | [INFO] [stdout] help: give the `return` a value of the expected type [INFO] [stdout] | [INFO] [stdout] 23 | return 3.14159; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0069`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jmrsgeo` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cfcae7d20e560f0dc7535d74f6a6da92785f5b540da64c8801889a4b27cedf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcae7d20e560f0dc7535d74f6a6da92785f5b540da64c8801889a4b27cedf80", kill_on_drop: false }` [INFO] [stdout] cfcae7d20e560f0dc7535d74f6a6da92785f5b540da64c8801889a4b27cedf80