[INFO] cloning repository https://github.com/Basharkhan7776/rustling
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Basharkhan7776/rustling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasharkhan7776%2Frustling", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasharkhan7776%2Frustling'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ce52378ef22b65421df793afddfbb33c64d4eb8
[INFO] checking Basharkhan7776/rustling against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBasharkhan7776%2Frustling" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Basharkhan7776/rustling
[INFO] finished tweaking git repo https://github.com/Basharkhan7776/rustling
[INFO] tweaked toml for git repo https://github.com/Basharkhan7776/rustling written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Basharkhan7776/rustling on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Basharkhan7776/rustling 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 191272facf7609ad44567649140fee59ed62d33a1d6fcf5323ac6da887ba55aa
[INFO] running `Command { std: "docker" "start" "-a" "191272facf7609ad44567649140fee59ed62d33a1d6fcf5323ac6da887ba55aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "191272facf7609ad44567649140fee59ed62d33a1d6fcf5323ac6da887ba55aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "191272facf7609ad44567649140fee59ed62d33a1d6fcf5323ac6da887ba55aa", kill_on_drop: false }`
[INFO] [stdout] 191272facf7609ad44567649140fee59ed62d33a1d6fcf5323ac6da887ba55aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef28630570e91e3e47b4ac76cd70a527c1f45aa582291eef25bc084bb1eceebb
[INFO] running `Command { std: "docker" "start" "-a" "ef28630570e91e3e47b4ac76cd70a527c1f45aa582291eef25bc084bb1eceebb", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `nice_slice` in this scope
[INFO] [stdout]   --> exercises/04_primitive_types/primitive_types4.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |         assert_eq!([2, 3, 4], nice_slice);
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_price_of_apples` in this scope
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert_eq!(calculate_price_of_apples(35), 70);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_price_of_apples` in this scope
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         assert_eq!(calculate_price_of_apples(40), 80);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_price_of_apples` in this scope
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:28:20
[INFO] [stdout]    |
[INFO] [stdout] 28 |         assert_eq!(calculate_price_of_apples(41), 41);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_price_of_apples` in this scope
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(calculate_price_of_apples(65), 65);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "primitive_types4" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "quiz1" test) due to 4 previous errors; 1 warning emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/try_from_into.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn try_from(tuple: (i16, i16, i16)) -> Result<Self, Self::Error> {}
[INFO] [stdout]    |        --------                            ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Color, IntoColorError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Color, IntoColorError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/try_from_into.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn try_from(arr: [i16; 3]) -> Result<Self, Self::Error> {}
[INFO] [stdout]    |        --------                   ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Color, IntoColorError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Color, IntoColorError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/try_from_into.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn try_from(slice: &[i16]) -> Result<Self, Self::Error> {}
[INFO] [stdout]    |        --------                   ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Color, IntoColorError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Color, IntoColorError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/from_into.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn from(s: &str) -> Self {}
[INFO] [stdout]    |        ----             ^^^^ expected `Person`, 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 `exercises` (bin "from_into") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics3.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     vec.push(88);
[INFO] [stdout]   |     ^^^ cannot borrow as mutable
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn fill_vec(mut vec: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `vec0`
[INFO] [stdout]   --> exercises/06_move_semantics/move_semantics2.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let vec0 = vec![22, 44, 66];
[INFO] [stdout]    |             ---- move occurs because `vec0` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] 22 |
[INFO] [stdout] 23 |         let vec1 = fill_vec(vec0);
[INFO] [stdout]    |                             ---- value moved here
[INFO] [stdout] 24 |
[INFO] [stdout] 25 |         assert_eq!(vec0, [22, 44, 66]);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `fill_vec` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> exercises/06_move_semantics/move_semantics2.rs:1:18
[INFO] [stdout]    |
[INFO] [stdout]  1 | fn fill_vec(vec: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]    |    --------      ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let vec1 = fill_vec(vec0.clone());
[INFO] [stdout]    |                                 ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "try_from_into" test) due to 3 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]  --> exercises/14_generics/generics1.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut numbers = Vec::new();
[INFO] [stdout]   |         ^^^^^^^^^^^   ---------- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout] help: consider giving `numbers` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut numbers: Vec<T> = Vec::new();
[INFO] [stdout]   |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics3" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics2" test) due to 1 previous error
[INFO] [stdout] error[E0277]: cannot divide `f64` by `usize`
[INFO] [stdout]  --> exercises/23_conversions/using_as.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     total / values.len()
[INFO] [stdout]   |           ^ no implementation for `f64 / usize`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Div<usize>` is not implemented for `f64`
[INFO] [stdout]   = help: the following other types implement trait `Div<Rhs>`:
[INFO] [stdout]             `&f64` implements `Div<f64>`
[INFO] [stdout]             `&f64` implements `Div`
[INFO] [stdout]             `f64` implements `Div<&f64>`
[INFO] [stdout]             `f64` implements `Div`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "using_as") due to 1 previous error
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> exercises/03_if/if3.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |       } else if animal == "snake" {
[INFO] [stdout]    |  ____________-
[INFO] [stdout]  8 | |         3
[INFO] [stdout]    | |         - expected because of this
[INFO] [stdout]  9 | |     } else {
[INFO] [stdout] 10 | |         "Unknown"
[INFO] [stdout]    | |         ^^^^^^^^^ expected integer, found `&str`
[INFO] [stdout] 11 | |     };
[INFO] [stdout]    | |_____- `if` and `else` have incompatible types
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "if3") due to 1 previous error
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> exercises/03_if/if3.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |       } else if animal == "snake" {
[INFO] [stdout]    |  ____________-
[INFO] [stdout]  8 | |         3
[INFO] [stdout]    | |         - expected because of this
[INFO] [stdout]  9 | |     } else {
[INFO] [stdout] 10 | |         "Unknown"
[INFO] [stdout]    | |         ^^^^^^^^^ expected integer, found `&str`
[INFO] [stdout] 11 | |     };
[INFO] [stdout]    | |_____- `if` and `else` have incompatible types
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "if3" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "generics1") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ef28630570e91e3e47b4ac76cd70a527c1f45aa582291eef25bc084bb1eceebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef28630570e91e3e47b4ac76cd70a527c1f45aa582291eef25bc084bb1eceebb", kill_on_drop: false }`
[INFO] [stdout] ef28630570e91e3e47b4ac76cd70a527c1f45aa582291eef25bc084bb1eceebb
