[INFO] cloning repository https://github.com/cadaverine/k-combinations [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cadaverine/k-combinations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadaverine%2Fk-combinations", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadaverine%2Fk-combinations'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e1a3e1ca43560cf72da504cf7b334474cefb87e [INFO] checking cadaverine/k-combinations against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadaverine%2Fk-combinations" "/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/cadaverine/k-combinations on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cadaverine/k-combinations [INFO] finished tweaking git repo https://github.com/cadaverine/k-combinations [INFO] tweaked toml for git repo https://github.com/cadaverine/k-combinations written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/cadaverine/k-combinations already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4954cb888e8a92fc80574854b2a43b8427fb0dea85441fc534b332c5416d894b [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" "4954cb888e8a92fc80574854b2a43b8427fb0dea85441fc534b332c5416d894b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4954cb888e8a92fc80574854b2a43b8427fb0dea85441fc534b332c5416d894b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4954cb888e8a92fc80574854b2a43b8427fb0dea85441fc534b332c5416d894b", kill_on_drop: false }` [INFO] [stdout] 4954cb888e8a92fc80574854b2a43b8427fb0dea85441fc534b332c5416d894b [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a5389e2f5a8c7d6275be323c7b0a523e9c5911dbdabfd73a0cf4f96ab210b4e [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" "1a5389e2f5a8c7d6275be323c7b0a523e9c5911dbdabfd73a0cf4f96ab210b4e", kill_on_drop: false }` [INFO] [stderr] Checking k-combinations v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `arr` in this scope [INFO] [stdout] --> src/main.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let mut numeratorArray = arr[1..k]; [INFO] [stdout] | ^^^ help: a tuple variant with a similar name exists: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | fn get_k_combinations_number(n: u64, k: u64) -> u64 { [INFO] [stdout] | ------------------------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | fn k_combinations_generate(n: u64, k: u64) -> u64 { [INFO] [stdout] | ----------------------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arr` in this scope [INFO] [stdout] --> src/main.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let mut numeratorArray = arr[1..k]; [INFO] [stdout] | ^^^ help: a tuple variant with a similar name exists: `Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | fn get_k_combinations_number(n: u64, k: u64) -> u64 { [INFO] [stdout] | ------------------------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | fn k_combinations_generate(n: u64, k: u64) -> u64 { [INFO] [stdout] | ----------------------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::ops::Range<{integer}>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | print!("{}", (1..20)); [INFO] [stdout] | ^^^^^^^ `std::ops::Range<{integer}>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::ops::Range<{integer}>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `k-combinations` [INFO] [stdout] error[E0277]: `std::ops::Range<{integer}>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | print!("{}", (1..20)); [INFO] [stdout] | ^^^^^^^ `std::ops::Range<{integer}>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::ops::Range<{integer}>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a5389e2f5a8c7d6275be323c7b0a523e9c5911dbdabfd73a0cf4f96ab210b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5389e2f5a8c7d6275be323c7b0a523e9c5911dbdabfd73a0cf4f96ab210b4e", kill_on_drop: false }` [INFO] [stdout] 1a5389e2f5a8c7d6275be323c7b0a523e9c5911dbdabfd73a0cf4f96ab210b4e