[INFO] cloning repository https://github.com/sogapalag/Problems_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sogapalag/Problems_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsogapalag%2FProblems_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsogapalag%2FProblems_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c22bcbd6f76a287581cc261ab73b53ce01fc3aca [INFO] testing sogapalag/Problems_Rust against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsogapalag%2FProblems_Rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sogapalag/Problems_Rust on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sogapalag/Problems_Rust [INFO] finished tweaking git repo https://github.com/sogapalag/Problems_Rust [INFO] tweaked toml for git repo https://github.com/sogapalag/Problems_Rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/sogapalag/Problems_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c009137807382c6957b2b738af0e13f473518b98fb5b3666e8958c56451085c0 [INFO] running `Command { std: "docker" "start" "-a" "c009137807382c6957b2b738af0e13f473518b98fb5b3666e8958c56451085c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c009137807382c6957b2b738af0e13f473518b98fb5b3666e8958c56451085c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c009137807382c6957b2b738af0e13f473518b98fb5b3666e8958c56451085c0", kill_on_drop: false }` [INFO] [stdout] c009137807382c6957b2b738af0e13f473518b98fb5b3666e8958c56451085c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dca4fcfead1edc318fe095d45cb4e350b6b510065121e33f709ed1a413935dde [INFO] running `Command { std: "docker" "start" "-a" "dca4fcfead1edc318fe095d45cb4e350b6b510065121e33f709ed1a413935dde", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling primal-bit v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling primal-sieve v0.2.9 [INFO] [stderr] Compiling primal-check v0.2.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling Problems_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vusz` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vusz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/bin/ks_2018d1.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/bin/ks_2018d1.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr` [INFO] [stdout] --> src/bin/ks_2018d1.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vusz` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vusz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/ks_2018d2.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/bin/ks_2018d2.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet` [INFO] [stdout] --> src/bin/ks_2018d2.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr` [INFO] [stdout] --> src/bin/ks_2018d2.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vusz` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vusz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v2i64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | type v2i64 = Vec<[i64;2]>; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `V2i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/pe_036.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pb` should have a snake case name [INFO] [stdout] --> src/bin/pe_232.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut Pb = vec![vec![0f64; 101]; 101]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pa_start` should have a snake case name [INFO] [stdout] --> src/bin/pe_232.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let Pa_start = 0.5 * ((1.0 - Pb[99][100]) + (1.0 - Pb[100][100])); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pa_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/ks_2018a1.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | for t in (1..T+1) { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/bin/cf_553.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LIMIT` should have a snake case name [INFO] [stdout] --> src/bin/pe_014.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn find_largest(LIMIT: usize) -> (usize, usize){ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/ks_2018d3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet` [INFO] [stdout] --> src/bin/ks_2018d3.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/ks_2018d3.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr` [INFO] [stdout] --> src/bin/ks_2018d3.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vusz` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vusz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/cf_553.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | stdin.read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/cf_553.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | stdin.read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Problems_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `problems_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018a1.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn compute(N: &String) -> u64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SUB` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018a1.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let SUB = n - down.parse::().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ADD` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018a1.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let ADD = up.parse::().unwrap() - n; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018a1.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let N = read!(String); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018a1.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi32` [INFO] [stdout] --> src/bin/ks_2018d1.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi64` [INFO] [stdout] --> src/bin/ks_2018d1.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu32` [INFO] [stdout] --> src/bin/ks_2018d1.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018d1.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018d1.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018d1.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018d1.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/bin/ks_2018d1.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const MOD: u64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d1.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi32` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi64` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu32` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const MOD: u64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NINF` [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const NINF: i64 = i64::min_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018d2.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut vp: vi64; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018d2.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vh: vi64; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018d2.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut vx: vi64; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018d2.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut vy: vi64; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi32` [INFO] [stdout] --> src/bin/ks_2018d2.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu32` [INFO] [stdout] --> src/bin/ks_2018d2.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018d2.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018d2.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018d2.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018d2.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `v2i64` [INFO] [stdout] --> src/bin/ks_2018d2.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | type v2i64 = Vec<[i64;2]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/bin/ks_2018d2.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | const MOD: u64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NINF` [INFO] [stdout] --> src/bin/ks_2018d2.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | const NINF: i64 = i64::min_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PH` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut PH = [0, 0]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d2.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi32` [INFO] [stdout] --> src/bin/ks_2018d3.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | type vi32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi64` [INFO] [stdout] --> src/bin/ks_2018d3.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | type vi64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu32` [INFO] [stdout] --> src/bin/ks_2018d3.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | type vu32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018d3.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018d3.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018d3.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018d3.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MOD` [INFO] [stdout] --> src/bin/ks_2018d3.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const MOD: u64 = 1_000_000_007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NINF` [INFO] [stdout] --> src/bin/ks_2018d3.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const NINF: i64 = i64::min_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DDD` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let DDD = cum_d[x][y][i] - cum_d[x][j-1][i]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ddd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RRR` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | let RRR = cum_r[x][y][j] - cum_r[i-1][y][j]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rrr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEN` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let LEN = DDD + RRR; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/bin/pe_024.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let h = (1..10).fold(1, |acc, i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/pe_024.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut T = 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/pe_067.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Primes` [INFO] [stdout] --> src/bin/pe_023.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use primal::{Primes, Sieve}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/ks_2018c3.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/bin/ks_2018c3.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr` [INFO] [stdout] --> src/bin/ks_2018c3.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | type vi32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vi64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | type vi64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vi64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | type vu32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vu64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | type vu64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vu64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vusz` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | type vusz = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vusz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | type vf32 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vf64` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | type vf64 = Vec; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vf64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ndarray` [INFO] [stdout] --> src/bin/pe_237.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ndarray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Problems_Rust`. [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] warning: static variable `sum_d` should have an upper case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | static mut sum_d : [[[u64;N];N];N] = [[[0u64; N]; N]; N]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SUM_D` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sum_r` should have an upper case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | static mut sum_r : [[[u64;N];N];N] = [[[0u64; N]; N]; N]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SUM_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cum_d` should have an upper case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | static mut cum_d : [[[u64;N];N];N] = [[[0u64; N]; N]; N]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CUM_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cum_r` should have an upper case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | static mut cum_r : [[[u64;N];N];N] = [[[0u64; N]; N]; N]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CUM_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DDD` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let DDD = cum_d[x][y][i] - cum_d[x][j-1][i]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ddd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RRR` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let RRR = cum_r[x][y][j] - cum_r[i-1][y][j]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rrr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEN` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | let LEN = DDD + RRR; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018d3_unsafe.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `naive` [INFO] [stdout] --> src/bin/pe_256.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn naive() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `target` [INFO] [stdout] --> src/bin/pe_256.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | const target: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/pe_256.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut T = vec![0; S]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `target` should have an upper case name [INFO] [stdout] --> src/bin/pe_256.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | const target: usize = 200; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TARGET` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/pe_256.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut T = vec![0; 5 + N >> 1]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SQN` should have a snake case name [INFO] [stdout] --> src/bin/pe_256.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let SQN = (N as f64).sqrt() as usize; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `sqn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018c3.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut v: Vec<_>; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi32` [INFO] [stdout] --> src/bin/ks_2018c3.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | type vi32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vi64` [INFO] [stdout] --> src/bin/ks_2018c3.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | type vi64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu32` [INFO] [stdout] --> src/bin/ks_2018c3.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | type vu32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018c3.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018c3.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018c3.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018c3.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut A = vec![0u64; n + 1]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IE` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut IE = vec![vec![0u64; LOG]; n + 1]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MK` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut MK = vec![1u64; n + 1]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `mk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c3.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dca4fcfead1edc318fe095d45cb4e350b6b510065121e33f709ed1a413935dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca4fcfead1edc318fe095d45cb4e350b6b510065121e33f709ed1a413935dde", kill_on_drop: false }` [INFO] [stdout] dca4fcfead1edc318fe095d45cb4e350b6b510065121e33f709ed1a413935dde