[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 try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportly%2Fmentical" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/importly/mentical on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d648d691cad7e43dd1c1b4f6eb96fe6958cb72770de403015d2a264185de042 [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" "0d648d691cad7e43dd1c1b4f6eb96fe6958cb72770de403015d2a264185de042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d648d691cad7e43dd1c1b4f6eb96fe6958cb72770de403015d2a264185de042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d648d691cad7e43dd1c1b4f6eb96fe6958cb72770de403015d2a264185de042", kill_on_drop: false }` [INFO] [stdout] 0d648d691cad7e43dd1c1b4f6eb96fe6958cb72770de403015d2a264185de042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71c8f69683728eb64d58a1b4e94a28cc8bea75874fd95526fe8d309b1676d862 [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" "71c8f69683728eb64d58a1b4e94a28cc8bea75874fd95526fe8d309b1676d862", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [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[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] [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] [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" "71c8f69683728eb64d58a1b4e94a28cc8bea75874fd95526fe8d309b1676d862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c8f69683728eb64d58a1b4e94a28cc8bea75874fd95526fe8d309b1676d862", kill_on_drop: false }` [INFO] [stdout] 71c8f69683728eb64d58a1b4e94a28cc8bea75874fd95526fe8d309b1676d862