[INFO] cloning repository https://github.com/DaltonCompSci/cs320_p6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaltonCompSci/cs320_p6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaltonCompSci%2Fcs320_p6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaltonCompSci%2Fcs320_p6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8177950744f148723ca37ad28946903ef24599e8 [INFO] checking DaltonCompSci/cs320_p6 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaltonCompSci%2Fcs320_p6" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaltonCompSci/cs320_p6 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DaltonCompSci/cs320_p6 [INFO] finished tweaking git repo https://github.com/DaltonCompSci/cs320_p6 [INFO] tweaked toml for git repo https://github.com/DaltonCompSci/cs320_p6 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/DaltonCompSci/cs320_p6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a78b5904b35dd43e24db5ced43b816c0e7a88cbf317c9579ac4d862233fc8ea [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" "7a78b5904b35dd43e24db5ced43b816c0e7a88cbf317c9579ac4d862233fc8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a78b5904b35dd43e24db5ced43b816c0e7a88cbf317c9579ac4d862233fc8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a78b5904b35dd43e24db5ced43b816c0e7a88cbf317c9579ac4d862233fc8ea", kill_on_drop: false }` [INFO] [stdout] 7a78b5904b35dd43e24db5ced43b816c0e7a88cbf317c9579ac4d862233fc8ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4d223115c2129c8603773324ea843ccabd3bae6a3670a4aa68d5e8b4c9d1dd5 [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" "f4d223115c2129c8603773324ea843ccabd3bae6a3670a4aa68d5e8b4c9d1dd5", kill_on_drop: false }` [INFO] [stderr] Checking cs320_p6 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for s in split { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufReader, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `charzard` [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn charzard(string: String, index: usize) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for s in split { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `charzard` [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn charzard(string: String, index: usize) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let Words = wordnum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let totalChars = charnum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let Lines = linenum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let Words = wordnum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let Lines = linenum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let totalChars = charnum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Files` should have a snake case name [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn Files(file: String) -> Vec { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut Words:Vec =Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut totalChars:Vec =Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut Lines:Vec =Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let Words = wordnum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let totalChars = charnum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let Lines = linenum(arg[2..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let Words = wordnum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let Lines = linenum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let totalChars = charnum(arg[0..].to_owned()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Files` should have a snake case name [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn Files(file: String) -> Vec { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Words` should have a snake case name [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut Words:Vec =Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalChars` should have a snake case name [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut totalChars:Vec =Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `total_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Lines` should have a snake case name [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut Lines:Vec =Vec::new(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "f4d223115c2129c8603773324ea843ccabd3bae6a3670a4aa68d5e8b4c9d1dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d223115c2129c8603773324ea843ccabd3bae6a3670a4aa68d5e8b4c9d1dd5", kill_on_drop: false }` [INFO] [stdout] f4d223115c2129c8603773324ea843ccabd3bae6a3670a4aa68d5e8b4c9d1dd5