[INFO] cloning repository https://github.com/MohamedSadat/RustProj1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MohamedSadat/RustProj1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] baaf034be19fb110f12a36cf228e8a3a75963883 [INFO] checking MohamedSadat/RustProj1 against master#3f28fe133475ec5faf3413b556bf3cfb0d51336c for pr-112365-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MohamedSadat/RustProj1 on toolchain 3f28fe133475ec5faf3413b556bf3cfb0d51336c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MohamedSadat/RustProj1 [INFO] finished tweaking git repo https://github.com/MohamedSadat/RustProj1 [INFO] tweaked toml for git repo https://github.com/MohamedSadat/RustProj1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MohamedSadat/RustProj1 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" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MohamedSadat/RustProj1 against try#2eb702bf20a12c67e5629a5c82890c910c267bd9 for pr-112365-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MohamedSadat/RustProj1 on toolchain 2eb702bf20a12c67e5629a5c82890c910c267bd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MohamedSadat/RustProj1 [INFO] finished tweaking git repo https://github.com/MohamedSadat/RustProj1 [INFO] tweaked toml for git repo https://github.com/MohamedSadat/RustProj1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MohamedSadat/RustProj1 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" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9abf158438b8660fc1cf5b347e8eca9a055a3cdebf4a76b34c65dea3fcdfdc64 [INFO] running `Command { std: "docker" "start" "-a" "9abf158438b8660fc1cf5b347e8eca9a055a3cdebf4a76b34c65dea3fcdfdc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9abf158438b8660fc1cf5b347e8eca9a055a3cdebf4a76b34c65dea3fcdfdc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abf158438b8660fc1cf5b347e8eca9a055a3cdebf4a76b34c65dea3fcdfdc64", kill_on_drop: false }` [INFO] [stdout] 9abf158438b8660fc1cf5b347e8eca9a055a3cdebf4a76b34c65dea3fcdfdc64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b716440943d9086ebd768a7818185ec8f892b0d1905be415d36940104150a00 [INFO] running `Command { std: "docker" "start" "-a" "2b716440943d9086ebd768a7818185ec8f892b0d1905be415d36940104150a00", kill_on_drop: false }` [INFO] [stderr] Checking Proj1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::arch::x86_64::_mm_stream_sd` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::arch::x86_64::_mm_stream_sd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64::_mm_stream_sd` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::arch::x86_64::_mm_stream_sd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `customer` should have an upper camel case name [INFO] [stdout] --> src/Sales.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct customer{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Customer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `customer` should have an upper camel case name [INFO] [stdout] --> src/Sales.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct customer{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Customer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Sales.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut r = String::from(self.name.as_str()); [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/Sales.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut r = String::from(self.name.as_str()); [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/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut s = String::from("hello"); [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/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut s = String::from("hello"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ResetCust` and `ToString` are never used [INFO] [stdout] --> src/Sales.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl customer{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn ResetCust(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn ToString(&mut self)->String{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Proj1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `proj1` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sales` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Sales; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `sales` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CustModel` should have a snake case name [INFO] [stdout] --> src/Sales.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod CustModel [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cust_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ResetCust` and `ToString` are never used [INFO] [stdout] --> src/Sales.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 9 | impl customer{ [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn ResetCust(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn ToString(&mut self)->String{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ResetCust` should have a snake case name [INFO] [stdout] --> src/Sales.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn ResetCust(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reset_cust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Proj1` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `proj1` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CopyFrom` should have a snake case name [INFO] [stdout] --> src/Sales.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn CopyFrom(&mut self , source:&customer){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToString` should have a snake case name [INFO] [stdout] --> src/Sales.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn ToString(&mut self)->String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sales` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod Sales; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `sales` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CustModel` should have a snake case name [INFO] [stdout] --> src/Sales.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod CustModel [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cust_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ResetCust` should have a snake case name [INFO] [stdout] --> src/Sales.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn ResetCust(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `reset_cust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CopyFrom` should have a snake case name [INFO] [stdout] --> src/Sales.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn CopyFrom(&mut self , source:&customer){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToString` should have a snake case name [INFO] [stdout] --> src/Sales.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn ToString(&mut self)->String{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "2b716440943d9086ebd768a7818185ec8f892b0d1905be415d36940104150a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b716440943d9086ebd768a7818185ec8f892b0d1905be415d36940104150a00", kill_on_drop: false }` [INFO] [stdout] 2b716440943d9086ebd768a7818185ec8f892b0d1905be415d36940104150a00