[INFO] cloning repository https://github.com/KingTechnician/programming-languages-assignment3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KingTechnician/programming-languages-assignment3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTechnician%2Fprogramming-languages-assignment3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTechnician%2Fprogramming-languages-assignment3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2966458d0496f3fe96b0c407d00602c4bd9571bc
[INFO] checking KingTechnician/programming-languages-assignment3 against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTechnician%2Fprogramming-languages-assignment3" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KingTechnician/programming-languages-assignment3
[INFO] finished tweaking git repo https://github.com/KingTechnician/programming-languages-assignment3
[INFO] tweaked toml for git repo https://github.com/KingTechnician/programming-languages-assignment3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KingTechnician/programming-languages-assignment3 on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KingTechnician/programming-languages-assignment3 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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 KingTechnician/programming-languages-assignment3 against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingTechnician%2Fprogramming-languages-assignment3" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KingTechnician/programming-languages-assignment3
[INFO] finished tweaking git repo https://github.com/KingTechnician/programming-languages-assignment3
[INFO] tweaked toml for git repo https://github.com/KingTechnician/programming-languages-assignment3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KingTechnician/programming-languages-assignment3 on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KingTechnician/programming-languages-assignment3 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424
[INFO] running `Command { std: "docker" "start" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking assignment_3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `currentIndex`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currentIndex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `currentIndex`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currentIndex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LinkedList{
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn get(&self, index: usize) -> Option<i32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newValue` should have a snake case name
[INFO] [stdout]   --> src/main.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn update(&mut self, index: usize, newValue: i32) -> Result<(), String> {
[INFO] [stdout]    |                                            ^^^^^^^^ help: convert the identifier to snake case: `new_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LinkedList{
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn get(&self, index: usize) -> Option<i32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldHead` should have a snake case name
[INFO] [stdout]   --> src/main.rs:53:42
[INFO] [stdout]    |
[INFO] [stdout] 53 |             return self.head.take().map(|oldHead| {
[INFO] [stdout]    |                                          ^^^^^^^ help: convert the identifier to snake case: `old_head`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nodeToRemove` should have a snake case name
[INFO] [stdout]   --> src/main.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 if let Some(mut nodeToRemove) = node.next.take() {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_to_remove`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newNode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut newNode = Box::new(Node{
[INFO] [stdout]    |                 ^^^^^^^ help: convert the identifier to snake case: `new_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentIndex` should have a snake case name
[INFO] [stdout]   --> src/main.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newValue` should have a snake case name
[INFO] [stdout]   --> src/main.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn update(&mut self, index: usize, newValue: i32) -> Result<(), String> {
[INFO] [stdout]    |                                            ^^^^^^^^ help: convert the identifier to snake case: `new_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unwrappedIndex` should have a snake case name
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let unwrappedIndex = index.unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unwrapped_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldHead` should have a snake case name
[INFO] [stdout]   --> src/main.rs:53:42
[INFO] [stdout]    |
[INFO] [stdout] 53 |             return self.head.take().map(|oldHead| {
[INFO] [stdout]    |                                          ^^^^^^^ help: convert the identifier to snake case: `old_head`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nodeToRemove` should have a snake case name
[INFO] [stdout]   --> src/main.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 if let Some(mut nodeToRemove) = node.next.take() {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `node_to_remove`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newNode` should have a snake case name
[INFO] [stdout]   --> src/main.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut newNode = Box::new(Node{
[INFO] [stdout]    |                 ^^^^^^^ help: convert the identifier to snake case: `new_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentIndex` should have a snake case name
[INFO] [stdout]   --> src/main.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut currentIndex=  0;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `unwrappedIndex` should have a snake case name
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let unwrappedIndex = index.unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unwrapped_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424", kill_on_drop: false }`
[INFO] [stdout] 72f6f94188b526207697d8c198345778b45a6eff132db47d81f81a875cc81424
