[INFO] cloning repository https://github.com/vksmgr/google [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vksmgr/google" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fgoogle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fgoogle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 842dd7cc75ea41bc0508343be346678127363e2c [INFO] checking vksmgr/google against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2Fgoogle" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vksmgr/google on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vksmgr/google [INFO] finished tweaking git repo https://github.com/vksmgr/google [INFO] tweaked toml for git repo https://github.com/vksmgr/google written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/vksmgr/google already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1792009ced98081536abe7867ba8430a9c021d0f020e51b2483b50fa8b59dc18 [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" "1792009ced98081536abe7867ba8430a9c021d0f020e51b2483b50fa8b59dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1792009ced98081536abe7867ba8430a9c021d0f020e51b2483b50fa8b59dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1792009ced98081536abe7867ba8430a9c021d0f020e51b2483b50fa8b59dc18", kill_on_drop: false }` [INFO] [stdout] 1792009ced98081536abe7867ba8430a9c021d0f020e51b2483b50fa8b59dc18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e407c78c78edf20d095186585dccc9216c8d4a63bd96aa78a8832b12edfafef3 [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" "e407c78c78edf20d095186585dccc9216c8d4a63bd96aa78a8832b12edfafef3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking google v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `readInt` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn readInt(inp: &str) -> ((i32, i16, i8), (u32, u16, u8)) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_int` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readString` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn readString(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readLine` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn readLine(vec: &mut Vec){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readInt` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn readInt(inp: &str) -> ((i32, i16, i8), (u32, u16, u8)) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_int` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readString` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn readString(vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readLine` should have a snake case name [INFO] [stdout] --> src/my_lib/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn readLine(vec: &mut Vec){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mylib::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mylib::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mylib::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mylib::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/spoj/c02.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | new_vec.remove_item(&3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_cases` [INFO] [stdout] --> src/spoj/c02.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let (_,(_,_,test_cases)) = readInt("u8"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_cases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/spoj/c02.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | new_vec.remove_item(&3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mark_ans` [INFO] [stdout] --> src/he/algo/he01.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn mark_ans() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unique_char` [INFO] [stdout] --> src/he/algo/he02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unique_char(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `marut` [INFO] [stdout] --> src/he/algo/he03.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn marut(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solv` [INFO] [stdout] --> src/he/algo/he03.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solv(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `c01` [INFO] [stdout] --> src/spoj/c01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn c01(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/he/algo/he03.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let (_,(_,_,T)) = readInt("u8"); [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 variable: `test_cases` [INFO] [stdout] --> src/spoj/c02.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let (_,(_,_,test_cases)) = readInt("u8"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_cases` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mark_ans` [INFO] [stdout] --> src/he/algo/he01.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn mark_ans() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unique_char` [INFO] [stdout] --> src/he/algo/he02.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn unique_char(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `marut` [INFO] [stdout] --> src/he/algo/he03.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn marut(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solv` [INFO] [stdout] --> src/he/algo/he03.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn solv(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `c01` [INFO] [stdout] --> src/spoj/c01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn c01(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/he/algo/he03.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let (_,(_,_,T)) = readInt("u8"); [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e407c78c78edf20d095186585dccc9216c8d4a63bd96aa78a8832b12edfafef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e407c78c78edf20d095186585dccc9216c8d4a63bd96aa78a8832b12edfafef3", kill_on_drop: false }` [INFO] [stdout] e407c78c78edf20d095186585dccc9216c8d4a63bd96aa78a8832b12edfafef3