[INFO] cloning repository https://github.com/tmforshaw/EulerChallenges [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmforshaw/EulerChallenges" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmforshaw%2FEulerChallenges", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmforshaw%2FEulerChallenges'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1acbb2c6f5931c09612ce76e78fd26f311f6474d [INFO] checking tmforshaw/EulerChallenges against master#cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmforshaw%2FEulerChallenges" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tmforshaw/EulerChallenges [INFO] finished tweaking git repo https://github.com/tmforshaw/EulerChallenges [INFO] tweaked toml for git repo https://github.com/tmforshaw/EulerChallenges written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmforshaw/EulerChallenges on toolchain cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tmforshaw/EulerChallenges 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" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d56178901c3160a45380646e2211b7bc1c9e3feae919898054ff5defb830d2 [INFO] running `Command { std: "docker" "start" "-a" "c3d56178901c3160a45380646e2211b7bc1c9e3feae919898054ff5defb830d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d56178901c3160a45380646e2211b7bc1c9e3feae919898054ff5defb830d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d56178901c3160a45380646e2211b7bc1c9e3feae919898054ff5defb830d2", kill_on_drop: false }` [INFO] [stdout] c3d56178901c3160a45380646e2211b7bc1c9e3feae919898054ff5defb830d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d778d4c5f6deb4548322ddd3c4fad4f0d66de8dba5ec11fc4632447299ea959 [INFO] running `Command { std: "docker" "start" "-a" "9d778d4c5f6deb4548322ddd3c4fad4f0d66de8dba5ec11fc4632447299ea959", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking euler_challenges v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 669 | fn coin_sum() -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] ... [INFO] [stdout] 678 | while sum < target {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `while` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 678 | while sum < target {} /* `u32` value */ [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler_challenges` (bin "euler_challenges") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 669 | fn coin_sum() -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] ... [INFO] [stdout] 678 | while sum < target {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `while` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 678 | while sum < target {} /* `u32` value */ [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler_challenges` (bin "euler_challenges" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9d778d4c5f6deb4548322ddd3c4fad4f0d66de8dba5ec11fc4632447299ea959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d778d4c5f6deb4548322ddd3c4fad4f0d66de8dba5ec11fc4632447299ea959", kill_on_drop: false }` [INFO] [stdout] 9d778d4c5f6deb4548322ddd3c4fad4f0d66de8dba5ec11fc4632447299ea959