[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] checking sogapalag/Problems_Rust against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsogapalag%2FProblems_Rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sogapalag/Problems_Rust on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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-11/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "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-11/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" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded primal-estimate v0.2.1 [INFO] [stderr] Downloaded primal-check v0.2.3 [INFO] [stderr] Downloaded primal-bit v0.2.4 [INFO] [stderr] Downloaded primal-sieve v0.2.9 [INFO] [stderr] Downloaded primal v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd36872d2cdb8f820fa1953f70ea1c4cd00e9594d08261cfa14d2c25c9f11ab6 [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" "dd36872d2cdb8f820fa1953f70ea1c4cd00e9594d08261cfa14d2c25c9f11ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd36872d2cdb8f820fa1953f70ea1c4cd00e9594d08261cfa14d2c25c9f11ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd36872d2cdb8f820fa1953f70ea1c4cd00e9594d08261cfa14d2c25c9f11ab6", kill_on_drop: false }` [INFO] [stdout] dd36872d2cdb8f820fa1953f70ea1c4cd00e9594d08261cfa14d2c25c9f11ab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aacecb69317c8ec85876df12aba011a0eaa4c9c83905bb31950534626cfb8334 [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" "aacecb69317c8ec85876df12aba011a0eaa4c9c83905bb31950534626cfb8334", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking primal-sieve v0.2.9 [INFO] [stderr] Checking primal-check v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking primal v0.2.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking Problems_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `pe_026` [INFO] [stdout] --> src/bin/pe_026.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | // O(n^2) [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/pe_026.rs` [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 E0601`. [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: 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: `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: unused import: `std::cmp` [INFO] [stdout] --> src/bin/ks_2018c2.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/bin/ks_2018c2.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr` [INFO] [stdout] --> src/bin/ks_2018c2.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ ^^^ [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 `vi32` should have an upper camel case name [INFO] [stdout] --> src/bin/ks_2018c2.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | 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_2018c2.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | 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_2018c2.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | 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_2018c2.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | 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_2018c2.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | 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_2018c2.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | 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_2018c2.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | 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 `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: `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: 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 does not need to be mutable [INFO] [stdout] --> src/bin/ks_2018c2.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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_2018c2.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | 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_2018c2.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | type vi64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vu64` [INFO] [stdout] --> src/bin/ks_2018c2.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | type vu64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vusz` [INFO] [stdout] --> src/bin/ks_2018c2.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | type vusz = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf32` [INFO] [stdout] --> src/bin/ks_2018c2.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | type vf32 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `vf64` [INFO] [stdout] --> src/bin/ks_2018c2.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | type vf64 = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c2.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | fn checkfrom(mask: u32, s: &mut vu32, L: &Vec, N: usize) -> u32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c2.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | fn checkfrom(mask: u32, s: &mut vu32, L: &Vec, N: usize) -> u32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c2.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut L: Vec = Vec::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/bin/ks_2018c2.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let T = read!(usize); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [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: 1 warning emitted [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: 27 warnings emitted [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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/pe_005.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 2 | // since 2520/16 = *.5 [INFO] [stdout] 3 | 2520 * 11 * 13 * 17 * 19 * 2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aacecb69317c8ec85876df12aba011a0eaa4c9c83905bb31950534626cfb8334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aacecb69317c8ec85876df12aba011a0eaa4c9c83905bb31950534626cfb8334", kill_on_drop: false }` [INFO] [stdout] aacecb69317c8ec85876df12aba011a0eaa4c9c83905bb31950534626cfb8334