[INFO] updating cached repository cadaverine/k-combinations [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cadaverine/k-combinations [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cadaverine/k-combinations" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/cadaverine/k-combinations"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/cadaverine/k-combinations'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cadaverine/k-combinations" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/cadaverine/k-combinations"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/cadaverine/k-combinations'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7e1a3e1ca43560cf72da504cf7b334474cefb87e [INFO] sha for GitHub repo cadaverine/k-combinations: 7e1a3e1ca43560cf72da504cf7b334474cefb87e [INFO] validating manifest of cadaverine/k-combinations on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cadaverine/k-combinations on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cadaverine/k-combinations [INFO] finished frobbing cadaverine/k-combinations [INFO] frobbed toml for cadaverine/k-combinations written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/cadaverine/k-combinations/Cargo.toml [INFO] started frobbing cadaverine/k-combinations [INFO] finished frobbing cadaverine/k-combinations [INFO] frobbed toml for cadaverine/k-combinations written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/cadaverine/k-combinations/Cargo.toml [INFO] crate cadaverine/k-combinations already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cadaverine/k-combinations against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-0/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/cadaverine/k-combinations:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b25ca4c4550a6a9df83a38747e402efec64f3d5542d29a82125b508eac136f5d [INFO] running `"docker" "start" "-a" "b25ca4c4550a6a9df83a38747e402efec64f3d5542d29a82125b508eac136f5d"` [INFO] [stderr] Checking k-combinations v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find value `arr` in this scope [INFO] [stderr] --> src/main.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | let mut numeratorArray = arr[1..k]; [INFO] [stderr] | ^^^ help: a tuple variant with a similar name exists: `Err` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:1:49 [INFO] [stderr] | [INFO] [stderr] 1 | fn get_k_combinations_number(n: u64, k: u64) -> u64 { [INFO] [stderr] | ------------------------- ^^^ expected u64, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `u64` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:13:47 [INFO] [stderr] | [INFO] [stderr] 13 | fn k_combinations_generate(n: u64, k: u64) -> u64 { [INFO] [stderr] | ----------------------- ^^^ expected u64, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `u64` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `arr` in this scope [INFO] [stderr] --> src/main.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | let mut numeratorArray = arr[1..k]; [INFO] [stderr] | ^^^ help: a tuple variant with a similar name exists: `Err` [INFO] [stderr] error[E0277]: `std::ops::Range<{integer}>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | print!("{}", (1..20)); [INFO] [stderr] | ^^^^^^^ `std::ops::Range<{integer}>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::ops::Range<{integer}>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `k-combinations`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:1:49 [INFO] [stderr] | [INFO] [stderr] 1 | fn get_k_combinations_number(n: u64, k: u64) -> u64 { [INFO] [stderr] | ------------------------- ^^^ expected u64, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `u64` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:13:47 [INFO] [stderr] | [INFO] [stderr] 13 | fn k_combinations_generate(n: u64, k: u64) -> u64 { [INFO] [stderr] | ----------------------- ^^^ expected u64, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `u64` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::ops::Range<{integer}>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | print!("{}", (1..20)); [INFO] [stderr] | ^^^^^^^ `std::ops::Range<{integer}>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::ops::Range<{integer}>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `k-combinations`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b25ca4c4550a6a9df83a38747e402efec64f3d5542d29a82125b508eac136f5d"` [INFO] running `"docker" "rm" "-f" "b25ca4c4550a6a9df83a38747e402efec64f3d5542d29a82125b508eac136f5d"` [INFO] [stdout] b25ca4c4550a6a9df83a38747e402efec64f3d5542d29a82125b508eac136f5d