[INFO] cloning repository https://github.com/importly/mentical [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/importly/mentical" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportly%2Fmentical", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportly%2Fmentical'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55fc4fd2c9fb36c536b987f1cca1b5150baa6e8d [INFO] checking importly/mentical against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportly%2Fmentical" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/importly/mentical on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/importly/mentical [INFO] finished tweaking git repo https://github.com/importly/mentical [INFO] tweaked toml for git repo https://github.com/importly/mentical written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/importly/mentical already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ef5f4d5feb7a604f503e0997ff546ecd1ac1f18b3e5f16c90864846d0c838f6 [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" "6ef5f4d5feb7a604f503e0997ff546ecd1ac1f18b3e5f16c90864846d0c838f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ef5f4d5feb7a604f503e0997ff546ecd1ac1f18b3e5f16c90864846d0c838f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef5f4d5feb7a604f503e0997ff546ecd1ac1f18b3e5f16c90864846d0c838f6", kill_on_drop: false }` [INFO] [stdout] 6ef5f4d5feb7a604f503e0997ff546ecd1ac1f18b3e5f16c90864846d0c838f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba33020f4514243aa3d3bccbd0b75164555d48e7509fa86e25fe8dc1963dbe0 [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" "8ba33020f4514243aa3d3bccbd0b75164555d48e7509fa86e25fe8dc1963dbe0", kill_on_drop: false }` [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking mentical v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cli.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `i32` [INFO] [stdout] | help: consider borrowing here: `&(&division::operation as i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Fn(Vec) -> i32` [INFO] [stdout] found type `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cli.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `i32` [INFO] [stdout] | help: consider borrowing here: `&(&division::num_gen as i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Fn(i32) -> i32` [INFO] [stdout] found type `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cli.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `i32` [INFO] [stdout] | help: consider borrowing here: `&(&division::operation as i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Fn(Vec) -> i32` [INFO] [stdout] found type `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cli.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `i32` [INFO] [stdout] | help: consider borrowing here: `&(&division::num_gen as i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Fn(i32) -> i32` [INFO] [stdout] found type `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&fn(Vec) -> f32 {division::operation}` as `i32` is invalid [INFO] [stdout] --> src/cli.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: cast through a raw pointer first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&fn(f32) {division::num_gen}` as `i32` is invalid [INFO] [stdout] --> src/cli.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: cast through a raw pointer first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&fn(Vec) -> f32 {division::operation}` as `i32` is invalid [INFO] [stdout] --> src/cli.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: cast through a raw pointer first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&fn(f32) {division::num_gen}` as `i32` is invalid [INFO] [stdout] --> src/cli.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | game::start("/", &division::operation as i32, &division::num_gen as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: cast through a raw pointer first [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mentical` [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8ba33020f4514243aa3d3bccbd0b75164555d48e7509fa86e25fe8dc1963dbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba33020f4514243aa3d3bccbd0b75164555d48e7509fa86e25fe8dc1963dbe0", kill_on_drop: false }` [INFO] [stdout] 8ba33020f4514243aa3d3bccbd0b75164555d48e7509fa86e25fe8dc1963dbe0