[INFO] updating cached repository https://github.com/robinmoussu/nim [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4ba45bd4675396175879452868b5e803f9407d9 [INFO] checking robinmoussu/nim against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinmoussu%2Fnim" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinmoussu/nim on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinmoussu/nim [INFO] finished tweaking git repo https://github.com/robinmoussu/nim [INFO] tweaked toml for git repo https://github.com/robinmoussu/nim written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/robinmoussu/nim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc4b4189a3b48c96b477ad155ba51098b0e038904847c07cdc8a5d37e5ae2e45 [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" "fc4b4189a3b48c96b477ad155ba51098b0e038904847c07cdc8a5d37e5ae2e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc4b4189a3b48c96b477ad155ba51098b0e038904847c07cdc8a5d37e5ae2e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4b4189a3b48c96b477ad155ba51098b0e038904847c07cdc8a5d37e5ae2e45", kill_on_drop: false }` [INFO] [stdout] fc4b4189a3b48c96b477ad155ba51098b0e038904847c07cdc8a5d37e5ae2e45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e9803d12b21ea3878f49d3e75df30ed04d5deac38e84776b2181fd6b5574c3a [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" "6e9803d12b21ea3878f49d3e75df30ed04d5deac38e84776b2181fd6b5574c3a", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking nim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 93 | / while current_number_of_matches > 0 { [INFO] [stdout] 94 | | let current_player = &players_state[current_player_id]; [INFO] [stdout] 95 | | let draw = { [INFO] [stdout] 96 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 103 | | current_player_id [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] 104 | | } [INFO] [stdout] | | -- help: consider using a semicolon here [INFO] [stdout] | |_________| [INFO] [stdout] | expected this to be `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nim`. [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/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 93 | / while current_number_of_matches > 0 { [INFO] [stdout] 94 | | let current_player = &players_state[current_player_id]; [INFO] [stdout] 95 | | let draw = { [INFO] [stdout] 96 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 103 | | current_player_id [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected `()`, found `usize` [INFO] [stdout] 104 | | } [INFO] [stdout] | | -- help: consider using a semicolon here [INFO] [stdout] | |_________| [INFO] [stdout] | expected this to be `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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" "6e9803d12b21ea3878f49d3e75df30ed04d5deac38e84776b2181fd6b5574c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9803d12b21ea3878f49d3e75df30ed04d5deac38e84776b2181fd6b5574c3a", kill_on_drop: false }` [INFO] [stdout] 6e9803d12b21ea3878f49d3e75df30ed04d5deac38e84776b2181fd6b5574c3a