[INFO] cloning repository https://github.com/clicepfl/rust-workshop-exercises
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clicepfl/rust-workshop-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclicepfl%2Frust-workshop-exercises", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclicepfl%2Frust-workshop-exercises'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cdff66f5b3d11fff41bfb0b2fcdd6e70677198fa
[INFO] checking clicepfl/rust-workshop-exercises against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclicepfl%2Frust-workshop-exercises" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/clicepfl/rust-workshop-exercises
[INFO] finished tweaking git repo https://github.com/clicepfl/rust-workshop-exercises
[INFO] tweaked toml for git repo https://github.com/clicepfl/rust-workshop-exercises written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/clicepfl/rust-workshop-exercises on toolchain 95813608313bff49cfc1afc393a946a3c085b772
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/clicepfl/rust-workshop-exercises 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93b5e235b989c201270c2e22e1d4c4e1951561c0f98592b8fa81488361d457f8
[INFO] running `Command { std: "docker" "start" "-a" "93b5e235b989c201270c2e22e1d4c4e1951561c0f98592b8fa81488361d457f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93b5e235b989c201270c2e22e1d4c4e1951561c0f98592b8fa81488361d457f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93b5e235b989c201270c2e22e1d4c4e1951561c0f98592b8fa81488361d457f8", kill_on_drop: false }`
[INFO] [stdout] 93b5e235b989c201270c2e22e1d4c4e1951561c0f98592b8fa81488361d457f8
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6b71aab3d22da8ea1c7f07e57b7fc643e84ee9d70c333b9b74dfb98a9f45e62
[INFO] running `Command { std: "docker" "start" "-a" "a6b71aab3d22da8ea1c7f07e57b7fc643e84ee9d70c333b9b74dfb98a9f45e62", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-workshop-exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
[INFO] [stdout]  --> examples/ex_ownership.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn sum(elements: _) -> i64 {
[INFO] [stdout]   |                      ^ not allowed in type signatures
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]  --> examples/ex_ownership.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |     for (idx, val) in elements.iter().enumerate() {
[INFO] [stdout]   |                       ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> examples/ex_factorial.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn factorial_loop(mut input: i64) -> i64 {
[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] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
[INFO] [stdout]  --> examples/ex_ownership.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn slice_after_n(elements: _, n: i64) -> _ {
[INFO] [stdout]   |                                              ^ not allowed in type signatures
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/ex_ownership.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     a.append(&mut b);
[INFO] [stdout]    |     ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
[INFO] [stdout]   --> examples/ex_ownership.rs:18:37
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn merge(mut a: _, mut b: _) -> _ {
[INFO] [stdout]    |                                     ^ not allowed in type signatures
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0121, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0121`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> examples/ex_error.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new(name: String, initial_funds: u64) -> Result<Self, Error> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_funds`
[INFO] [stdout]   --> examples/ex_error.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new(name: String, initial_funds: u64) -> Result<Self, Error> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_funds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> examples/ex_error.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn take(&mut self, amount: u64) -> Result<(), Error> {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> examples/ex_error.rs:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn put(&mut self, amount: u64) {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> examples/ex_error.rs:54:35
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn add_account(&mut self, name: String, initial_funds: u64) -> Result<(), Error> {
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_funds`
[INFO] [stdout]   --> examples/ex_error.rs:54:49
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn add_account(&mut self, name: String, initial_funds: u64) -> Result<(), Error> {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_funds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> examples/ex_error.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn find_account(&mut self, name: &str) -> Result<&mut Account, Error> {
[INFO] [stdout]    |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transactions`
[INFO] [stdout]   --> examples/ex_error.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn process_transfers(&mut self, transactions: Vec<Transfer>) -> Result<(), Error> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workshop-exercises` (example "ex_ownership") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a6b71aab3d22da8ea1c7f07e57b7fc643e84ee9d70c333b9b74dfb98a9f45e62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6b71aab3d22da8ea1c7f07e57b7fc643e84ee9d70c333b9b74dfb98a9f45e62", kill_on_drop: false }`
[INFO] [stdout] a6b71aab3d22da8ea1c7f07e57b7fc643e84ee9d70c333b9b74dfb98a9f45e62
