[INFO] cloning repository https://github.com/HarshitRuwali/todo-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarshitRuwali/todo-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Ftodo-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Ftodo-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 310ed4b46261ac2b1f1fb2c2a7e6e9a89800f46f
[INFO] checking HarshitRuwali/todo-cli against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Ftodo-cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HarshitRuwali/todo-cli
[INFO] finished tweaking git repo https://github.com/HarshitRuwali/todo-cli
[INFO] tweaked toml for git repo https://github.com/HarshitRuwali/todo-cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarshitRuwali/todo-cli on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarshitRuwali/todo-cli 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a
[INFO] running `Command { std: "docker" "start" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a", 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" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a", 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" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking todo-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         res::TodoList::add_to_list(slice.to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------- argument #1 of type `&mut TodoList` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/res.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn add_to_list(&mut self, name:String){
[INFO] [stdout]    |            ^^^^^^^^^^^ ---------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 27 |         res::TodoList::add_to_list(/* &mut TodoList */, slice.to_string());
[INFO] [stdout]    |                                    ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         res::TodoList::add_to_list(slice.to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------- argument #1 of type `&mut TodoList` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/res.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn add_to_list(&mut self, name:String){
[INFO] [stdout]    |            ^^^^^^^^^^^ ---------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 27 |         res::TodoList::add_to_list(/* &mut TodoList */, slice.to_string());
[INFO] [stdout]    |                                    ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `index` is assigned to, but never used
[INFO] [stdout]   --> src/res.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut index:usize = 0;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_index` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `index` is assigned to, but never used
[INFO] [stdout]   --> src/res.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut index:usize = 0;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_index` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/res.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             index += 1;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/res.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             index += 1;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-cli` (bin "todo-cli" test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `todo-cli` (bin "todo-cli") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a", kill_on_drop: false }`
[INFO] [stdout] 2e78ad469bb93ea8462f2e9f729a5caa68e5fecb0e011bc57b6eafa26e15767a
