[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#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MohamedSadat/RustProj1 on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "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-5-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" "+6f40082313d8374bdf962aba943a712d5322fae6" "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#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MohamedSadat/RustProj1 on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-5-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking MohamedSadat/RustProj1 against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedSadat%2FRustProj1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MohamedSadat/RustProj1 on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-5-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37b9d60647ebd93928b868ac8a23686baa3fb6dcd8715e6dc3537ed837ea24ec [INFO] running `Command { std: "docker" "start" "-a" "37b9d60647ebd93928b868ac8a23686baa3fb6dcd8715e6dc3537ed837ea24ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b9d60647ebd93928b868ac8a23686baa3fb6dcd8715e6dc3537ed837ea24ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b9d60647ebd93928b868ac8a23686baa3fb6dcd8715e6dc3537ed837ea24ec", kill_on_drop: false }` [INFO] [stdout] 37b9d60647ebd93928b868ac8a23686baa3fb6dcd8715e6dc3537ed837ea24ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54b657fbcb3c696f10590f00847e836454050a373e5bb1015ab69533cff3cc3 [INFO] running `Command { std: "docker" "start" "-a" "f54b657fbcb3c696f10590f00847e836454050a373e5bb1015ab69533cff3cc3", 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::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::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: 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/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: 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: 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: 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: 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.05s [INFO] running `Command { std: "docker" "inspect" "f54b657fbcb3c696f10590f00847e836454050a373e5bb1015ab69533cff3cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54b657fbcb3c696f10590f00847e836454050a373e5bb1015ab69533cff3cc3", kill_on_drop: false }` [INFO] [stdout] f54b657fbcb3c696f10590f00847e836454050a373e5bb1015ab69533cff3cc3