[INFO] updating cached repository rotwatsb/code_kata [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rotwatsb/code_kata [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rotwatsb/code_kata" "work/ex/beta-1.38-1/sources/1.37.0/gh/rotwatsb/code_kata"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/rotwatsb/code_kata'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rotwatsb/code_kata" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rotwatsb/code_kata"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rotwatsb/code_kata'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 232189e70ed0dbb1665ab38aacc282a839c80a63 [INFO] sha for GitHub repo rotwatsb/code_kata: 232189e70ed0dbb1665ab38aacc282a839c80a63 [INFO] validating manifest of rotwatsb/code_kata on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rotwatsb/code_kata on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rotwatsb/code_kata [INFO] finished frobbing rotwatsb/code_kata [INFO] frobbed toml for rotwatsb/code_kata written to work/ex/beta-1.38-1/sources/1.37.0/gh/rotwatsb/code_kata/Cargo.toml [INFO] started frobbing rotwatsb/code_kata [INFO] finished frobbing rotwatsb/code_kata [INFO] frobbed toml for rotwatsb/code_kata written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rotwatsb/code_kata/Cargo.toml [INFO] crate rotwatsb/code_kata already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/rotwatsb/code_kata/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing rotwatsb/code_kata against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rotwatsb/code_kata:/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=warn" "-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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 80a8022994ea101f3015592c8f4f671db8696cea45991e06b095b2242fd133da [INFO] running `"docker" "start" "-a" "80a8022994ea101f3015592c8f4f671db8696cea45991e06b095b2242fd133da"` [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling code_kata v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(inclusive_range_syntax)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/euler/longest_collatz_14.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | / (if n % 2 == 0 { 1 + cmp_collatz(n / 2, stored_vals) } [INFO] [stderr] 30 | | else { 1 + cmp_collatz(3 * n + 1, stored_vals) }); [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 29 | if n % 2 == 0 { 1 + cmp_collatz(n / 2, stored_vals) } [INFO] [stderr] 30 | else { 1 + cmp_collatz(3 * n + 1, stored_vals) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/euler/triangular_12.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils` [INFO] [stderr] --> src/hackerrank/modfib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use utils; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/hackerrank/cut_the_tree.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/hackerrank/knapsack.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | / (if sizes[n] > c { [INFO] [stderr] 29 | | if n == 0 { return 0; } [INFO] [stderr] 30 | | max_knapsack(c, n - 1, sizes, values, memoized) [INFO] [stderr] 31 | | } [INFO] [stderr] ... | [INFO] [stderr] 35 | | max_knapsack(c, n - 1, sizes, values, memoized)) [INFO] [stderr] 36 | | }); [INFO] [stderr] | |___________^ [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 28 | if sizes[n] > c { [INFO] [stderr] 29 | if n == 0 { return 0; } [INFO] [stderr] 30 | max_knapsack(c, n - 1, sizes, values, memoized) [INFO] [stderr] 31 | } [INFO] [stderr] 32 | else { [INFO] [stderr] 33 | if n == 0 { return values[0]; } [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/interviewbit/max_sum_path_in_binary_tree.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | *max_sum = max(*max_sum, (sum_of_sums + vals[i])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `code_kata`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "80a8022994ea101f3015592c8f4f671db8696cea45991e06b095b2242fd133da"` [INFO] running `"docker" "rm" "-f" "80a8022994ea101f3015592c8f4f671db8696cea45991e06b095b2242fd133da"` [INFO] [stdout] 80a8022994ea101f3015592c8f4f671db8696cea45991e06b095b2242fd133da