[INFO] cloning repository https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nagaraju-chitluru-jpmc/rust_04" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnagaraju-chitluru-jpmc%2Frust_04", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnagaraju-chitluru-jpmc%2Frust_04'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c901fbe6483895685d8a9e0e259db796a2c6de62 [INFO] checking nagaraju-chitluru-jpmc/rust_04 against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnagaraju-chitluru-jpmc%2Frust_04" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] finished tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] tweaked toml for git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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 nagaraju-chitluru-jpmc/rust_04 against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnagaraju-chitluru-jpmc%2Frust_04" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] finished tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] tweaked toml for git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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 nagaraju-chitluru-jpmc/rust_04 against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnagaraju-chitluru-jpmc%2Frust_04" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] finished tweaking git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 [INFO] tweaked toml for git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nagaraju-chitluru-jpmc/rust_04 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8a86562826d4d6cbdd001a532c926e4bd63e02c2f1f434277051a39faf1d782 [INFO] running `Command { std: "docker" "start" "-a" "b8a86562826d4d6cbdd001a532c926e4bd63e02c2f1f434277051a39faf1d782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8a86562826d4d6cbdd001a532c926e4bd63e02c2f1f434277051a39faf1d782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a86562826d4d6cbdd001a532c926e4bd63e02c2f1f434277051a39faf1d782", kill_on_drop: false }` [INFO] [stdout] b8a86562826d4d6cbdd001a532c926e4bd63e02c2f1f434277051a39faf1d782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed44431a620083883cee680e035caf4d6918c0e9d8526a0a554bafce916b93d [INFO] running `Command { std: "docker" "start" "-a" "bed44431a620083883cee680e035caf4d6918c0e9d8526a0a554bafce916b93d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking assignment_04 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `transaction_id`, `client_id`, `asset_name`, `country`, and `days_under_management` are never read [INFO] [stdout] --> src/transaction.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 6 | pub transaction_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub client_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub asset_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub country: Country, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub days_under_management: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInvestedByContinent` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut amountInvestedByContinent: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_invested_by_continent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalAmount` should have a snake case name [INFO] [stdout] --> src/main.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Some(totalAmount) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInvested` should have a snake case name [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | for (continent, amountInvested) in amountInvestedByContinent { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_invested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printTransactionsByContinent` should have a snake case name [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn printTransactionsByContinent(transactions: &Vec, continent: &Continent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_transactions_by_continent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filteredTransactions` should have a snake case name [INFO] [stdout] --> src/utils.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let filteredTransactions: Vec<&Transaction> = transactions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `filtered_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction_id`, `client_id`, `asset_name`, `country`, and `days_under_management` are never read [INFO] [stdout] --> src/transaction.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 6 | pub transaction_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub client_id: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub asset_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub country: Country, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub days_under_management: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInvestedByContinent` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut amountInvestedByContinent: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_invested_by_continent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `totalAmount` should have a snake case name [INFO] [stdout] --> src/main.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Some(totalAmount) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `amountInvested` should have a snake case name [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | for (continent, amountInvested) in amountInvestedByContinent { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `amount_invested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printTransactionsByContinent` should have a snake case name [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn printTransactionsByContinent(transactions: &Vec, continent: &Continent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_transactions_by_continent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `filteredTransactions` should have a snake case name [INFO] [stdout] --> src/utils.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let filteredTransactions: Vec<&Transaction> = transactions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `filtered_transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "bed44431a620083883cee680e035caf4d6918c0e9d8526a0a554bafce916b93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed44431a620083883cee680e035caf4d6918c0e9d8526a0a554bafce916b93d", kill_on_drop: false }` [INFO] [stdout] bed44431a620083883cee680e035caf4d6918c0e9d8526a0a554bafce916b93d