[INFO] cloning repository https://github.com/Angluca/rustlings-zh-cn-rustacean
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Angluca/rustlings-zh-cn-rustacean" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1c54521d680fd22ac5ad8adb2a89c938c0bc7b88
[INFO] checking Angluca/rustlings-zh-cn-rustacean against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean" "/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/Angluca/rustlings-zh-cn-rustacean
[INFO] finished tweaking git repo https://github.com/Angluca/rustlings-zh-cn-rustacean
[INFO] tweaked toml for git repo https://github.com/Angluca/rustlings-zh-cn-rustacean written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angluca/rustlings-zh-cn-rustacean on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Angluca/rustlings-zh-cn-rustacean 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 215893515c0b68a2604acbea0e51fac3852ee5cf0890195869a333412d2066ad
[INFO] running `Command { std: "docker" "start" "-a" "215893515c0b68a2604acbea0e51fac3852ee5cf0890195869a333412d2066ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "215893515c0b68a2604acbea0e51fac3852ee5cf0890195869a333412d2066ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "215893515c0b68a2604acbea0e51fac3852ee5cf0890195869a333412d2066ad", kill_on_drop: false }`
[INFO] [stdout] 215893515c0b68a2604acbea0e51fac3852ee5cf0890195869a333412d2066ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8b1d216bafc5e4b32d9bc8b91695d7eb10c25bba1daff4a45b0a40d984552ed
[INFO] running `Command { std: "docker" "start" "-a" "f8b1d216bafc5e4b32d9bc8b91695d7eb10c25bba1daff4a45b0a40d984552ed", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func(item: ???) -> bool {
[INFO] [stdout]    |                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `a` in this scope
[INFO] [stdout]  --> exercises/04_primitive_types/primitive_types3.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     if a.len() >= 100 {
[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] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[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 "traits5" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: cannot divide `f64` by `usize`
[INFO] [stdout]  --> exercises/23_conversions/using_as.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     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]  --> /rustc/0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef/library/core/src/ops/arith.rs:513:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div`
[INFO] [stdout]  ::: /rustc/0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef/library/core/src/ops/arith.rs:526:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div<f64>`
[INFO] [stdout]  ::: /rustc/0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div<&f64>`
[INFO] [stdout]  ::: /rustc/0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div`
[INFO] [stdout]   = note: this error originates in the macro `div_impl_float` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `array_and_vec` is never used
[INFO] [stdout]  --> solutions/05_vecs/vecs1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn array_and_vec() -> ([i32; 4], Vec<i32>) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func(item: ???) -> bool {
[INFO] [stdout]    |                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut fav_fruits_iterator = todo!();
[INFO] [stdout]    |                                       ------- any code following this expression is unreachable
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |         assert_eq!(fav_fruits_iterator.next(), Some(&"banana"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut fav_fruits_iterator = todo!();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |         assert_eq!(fav_fruits_iterator.next(), Some(&"banana"));
[INFO] [stdout]    |                    ------------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `fav_fruits_iterator` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut fav_fruits_iterator: /* Type */ = todo!();
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: 替换掉 `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: 替换掉 `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: 替换掉 `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "primitive_types3") due to 1 previous error
[INFO] [stdout] error[E0597]: `string2` does not live long enough
[INFO] [stdout]   --> exercises/16_lifetimes/lifetimes2.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let string2 = String::from("xyz");
[INFO] [stdout]    |             ------- binding `string2` declared here
[INFO] [stdout] 17 |         result = longest(&string1, &string2);
[INFO] [stdout]    |                                    ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 18 |     }
[INFO] [stdout]    |     - `string2` dropped here while still borrowed
[INFO] [stdout] 19 |     println!("The longest string is '{result}'");
[INFO] [stdout]    |                                       ------ borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "iterators1" test) due to 1 previous error; 4 warnings emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "lifetimes2" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "using_as" test) due to 1 previous error
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[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 "traits5") due to 3 previous errors
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> solutions/23_conversions/from_into.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Person {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `child_numbers` in this scope
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let sum: u32 = child_numbers.iter().filter(|&&n| n % 8 == offset).sum();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `sync::Arc`
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::{sync::Arc, thread};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | #![forbid(unused_imports)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `x` as mutable more than once at a time
[INFO] [stdout]   --> exercises/06_move_semantics/move_semantics4.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let y = &mut x;
[INFO] [stdout]    |                 ------ first mutable borrow occurs here
[INFO] [stdout] 19 |         let z = &mut x;
[INFO] [stdout]    |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 20 |         y.push(42);
[INFO] [stdout]    |         - first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics4" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "arc1" test) due to 2 previous errors
[INFO] [stdout] warning: function `animal_habitat` is never used
[INFO] [stdout]  --> solutions/03_if/if3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn animal_habitat(animal: &str) -> &str {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `your_character` in this scope
[INFO] [stdout]   --> exercises/04_primitive_types/primitive_types2.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if your_character.is_alphabetic() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `your_character` in this scope
[INFO] [stdout]   --> exercises/04_primitive_types/primitive_types2.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     } else if your_character.is_numeric() {
[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_types2" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8b1d216bafc5e4b32d9bc8b91695d7eb10c25bba1daff4a45b0a40d984552ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8b1d216bafc5e4b32d9bc8b91695d7eb10c25bba1daff4a45b0a40d984552ed", kill_on_drop: false }`
[INFO] [stdout] f8b1d216bafc5e4b32d9bc8b91695d7eb10c25bba1daff4a45b0a40d984552ed
