[INFO] cloning repository https://github.com/pchomik/jba-learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pchomik/jba-learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpchomik%2Fjba-learn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpchomik%2Fjba-learn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6f34f76365046b9248fcc62e34c13100910cf0d
[INFO] checking pchomik/jba-learn-rust against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpchomik%2Fjba-learn-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/pchomik/jba-learn-rust
[INFO] finished tweaking git repo https://github.com/pchomik/jba-learn-rust
[INFO] tweaked toml for git repo https://github.com/pchomik/jba-learn-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pchomik/jba-learn-rust on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pchomik/jba-learn-rust 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" "+011c518242557d21690f7936b5812318dc2fec47" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded escargot v0.5.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd
[INFO] running `Command { std: "docker" "start" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd", 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" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd", 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" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling escargot v0.5.15
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking hello_macro v0.1.0 (/opt/rustwide/workdir/Macros/Procedural Macros/hello_macro)
[INFO] [stderr]     Checking box_task v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Box Task)
[INFO] [stderr]     Checking compare_licenses v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Compare Licenses)
[INFO] [stderr]     Checking trim_a_string v0.1.0 (/opt/rustwide/workdir/Understanding Ownership/The Slice Type/Trim a String)
[INFO] [stderr]     Checking string_transformer v0.1.0 (/opt/rustwide/workdir/Common Collections/Strings/String Transformer)
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking errors6 v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Custom Errors)
[INFO] [stderr]     Checking advanced_errors v0.1.0 (/opt/rustwide/workdir/Error Handling/Errors Primer/Advanced Errors)
[INFO] [stderr]     Checking lamp_with_switchers v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Smart Pointers/Switch the Lamp)
[INFO] [stderr]     Checking trait_bound_syntax v0.1.0 (/opt/rustwide/workdir/Generic Types, Traits, and Lifetime/Traits/Trait Bound Syntax)
[INFO] [stderr]     Checking loop_over_vector_with_iterators v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Loop Over Vector With Iterators)
[INFO] [stderr]     Checking count_progress v0.1.0 (/opt/rustwide/workdir/Standard Library Types/Iterators/Count Progress)
[INFO] [stdout] error: expected identifier, found `,`
[INFO] [stdout]   --> Generic Types, Traits, and Lifetime/Traits/Compare Licenses/src/lib.rs:15:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn compare_license_types(software: ??, software_two: ??) -> bool {
[INFO] [stdout]    |                                          ^ expected identifier
[INFO] [stdout]    |
[INFO] [stdout] help: remove this comma
[INFO] [stdout]    |
[INFO] [stdout] 15 - pub fn compare_license_types(software: ??, software_two: ??) -> bool {
[INFO] [stdout] 15 + pub fn compare_license_types(software: ?? software_two: ??) -> bool {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected a trait, found type
[INFO] [stdout]   --> Generic Types, Traits, and Lifetime/Traits/Compare Licenses/src/lib.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn compare_license_types(software: ??, software_two: ??) -> bool {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> Generic Types, Traits, and Lifetime/Traits/Compare Licenses/src/lib.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn compare_license_types(software: ??, software_two: ??) -> bool {
[INFO] [stdout]    |                                                            ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `software` in this scope
[INFO] [stdout]   --> Generic Types, Traits, and Lifetime/Traits/Compare Licenses/src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     software.licensing_info() == software_two.licensing_info()
[INFO] [stdout]    |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `software_two` in this scope
[INFO] [stdout]   --> Generic Types, Traits, and Lifetime/Traits/Compare Licenses/src/lib.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |     software.licensing_info() == software_two.licensing_info()
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compare_licenses` (lib) due to 5 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> Standard Library Types/Iterators/Count Progress/src/lib.rs:20:67
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn count(map: &HashMap<String, Progress>, value: Progress) -> usize {
[INFO] [stdout]    |        -----                                                      ^^^^^ expected `usize`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> Standard Library Types/Iterators/Count Progress/src/lib.rs:36:77
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn count_stack(stack: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |        -----------                                                          ^^^^^ expected `usize`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `count_progress` (lib) due to 2 previous errors
[INFO] [stdout] error[E0072]: recursive type `List` has infinite size
[INFO] [stdout]  --> Standard Library Types/Smart Pointers/Box Task/src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum List {
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout] 3 |     Cons(i32, List),
[INFO] [stdout]   |               ---- recursive without indirection
[INFO] [stdout]   |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Cons(i32, Box<List>),
[INFO] [stdout]   |               ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `box_task` (lib) due to 1 previous error
[INFO] [stdout] error[E0277]: a value of type `Vec<i32>` cannot be built from an iterator over elements of type `()`
[INFO] [stdout]  --> Standard Library Types/Iterators/Loop Over Vector With Iterators/src/lib.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     }).collect()
[INFO] [stdout]   |        ^^^^^^^ value of type `Vec<i32>` cannot be built from `std::iter::Iterator<Item=()>`
[INFO] [stdout]   |
[INFO] [stdout] help: the trait `FromIterator<()>` is not implemented for `Vec<i32>`
[INFO] [stdout]       but trait `FromIterator<i32>` is implemented for it
[INFO] [stdout]  --> /rustc/011c518242557d21690f7936b5812318dc2fec47/library/alloc/src/vec/mod.rs:3998:0
[INFO] [stdout]   = help: for that trait implementation, expected `i32`, found `()`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]  --> Standard Library Types/Iterators/Loop Over Vector With Iterators/src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |       v.iter().map(|num| {
[INFO] [stdout]   |  _____-_------_^
[INFO] [stdout]   | |     | |
[INFO] [stdout]   | |     | `Iterator::Item` is `&i32` here
[INFO] [stdout]   | |     this expression has type `&Vec<i32>`
[INFO] [stdout] 3 | |         // TODO: Complete the function to multiply all the elements in the given vector
[INFO] [stdout] 4 | |     }).collect()
[INFO] [stdout]   | |______^ `Iterator::Item` changed to `()` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]  --> /rustc/011c518242557d21690f7936b5812318dc2fec47/library/core/src/iter/traits/iterator.rs:2077:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `loop_over_vector_with_iterators` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd", kill_on_drop: false }`
[INFO] [stdout] 74b0f76c778dd9586dfef2651268d0d576748a5ce9b36afebc3bc0e6274780fd
