[INFO] cloning repository https://github.com/tonyhoangtran92/product_RustProject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyhoangtran92/product_RustProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhoangtran92%2Fproduct_RustProject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhoangtran92%2Fproduct_RustProject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06bf959fb8bd78765f0d60419e3dc554b3d6ad1f [INFO] checking tonyhoangtran92/product_RustProject/06bf959fb8bd78765f0d60419e3dc554b3d6ad1f against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyhoangtran92%2Fproduct_RustProject" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tonyhoangtran92/product_RustProject [INFO] finished tweaking git repo https://github.com/tonyhoangtran92/product_RustProject [INFO] tweaked toml for git repo https://github.com/tonyhoangtran92/product_RustProject written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tonyhoangtran92/product_RustProject on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tonyhoangtran92/product_RustProject already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] defe681278da5c61a986c760deb598b6dab6af80c8ce00e58d3651279c4f9697 [INFO] running `Command { std: "docker" "start" "-a" "defe681278da5c61a986c760deb598b6dab6af80c8ce00e58d3651279c4f9697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "defe681278da5c61a986c760deb598b6dab6af80c8ce00e58d3651279c4f9697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "defe681278da5c61a986c760deb598b6dab6af80c8ce00e58d3651279c4f9697", kill_on_drop: false }` [INFO] [stdout] defe681278da5c61a986c760deb598b6dab6af80c8ce00e58d3651279c4f9697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be50099e876d6ddc6ac7c916584937e96999f570626040b54964d5b19f69187 [INFO] running `Command { std: "docker" "start" "-a" "7be50099e876d6ddc6ac7c916584937e96999f570626040b54964d5b19f69187", kill_on_drop: false }` [INFO] [stderr] Checking Project1_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: structure field `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | productName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove(&mut self, productName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn edit(&mut self, productName: &str, price: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | productName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove(&mut self, productName: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn edit(&mut self, productName: &str, price: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `productName` should have a snake case name [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let productName = match get_input() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "7be50099e876d6ddc6ac7c916584937e96999f570626040b54964d5b19f69187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be50099e876d6ddc6ac7c916584937e96999f570626040b54964d5b19f69187", kill_on_drop: false }` [INFO] [stdout] 7be50099e876d6ddc6ac7c916584937e96999f570626040b54964d5b19f69187