[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 master#3f6250a7bb79e600d9036bbc7c8f65af43933643 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angluca/rustlings-zh-cn-rustacean on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6260381d51eae99a3020c7126a35bc077e5ca9fab79a0d2a68a18030940046ac
[INFO] running `Command { std: "docker" "start" "-a" "6260381d51eae99a3020c7126a35bc077e5ca9fab79a0d2a68a18030940046ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6260381d51eae99a3020c7126a35bc077e5ca9fab79a0d2a68a18030940046ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6260381d51eae99a3020c7126a35bc077e5ca9fab79a0d2a68a18030940046ac", kill_on_drop: false }`
[INFO] [stdout] 6260381d51eae99a3020c7126a35bc077e5ca9fab79a0d2a68a18030940046ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d3261434b95916728b07b7b9ef74958f3287949da74512fda79b3b52072b0e0
[INFO] running `Command { std: "docker" "start" "-a" "8d3261434b95916728b07b7b9ef74958f3287949da74512fda79b3b52072b0e0", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `my_macro`
[INFO] [stdout]  --> exercises/21_macros/macros1.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! my_macro {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `my_macro`
[INFO] [stdout]  --> exercises/21_macros/macros1.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     my_macro();
[INFO] [stdout]   |     ^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 9 |     my_macro!();
[INFO] [stdout]   |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "macros1") due to 1 previous error; 1 warning emitted
[INFO] [stdout] error: expected identifier, found `,`
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:14:40
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool {
[INFO] [stdout]    |                                        ^ expected identifier
[INFO] [stdout]    |
[INFO] [stdout] help: remove this comma
[INFO] [stdout]    |
[INFO] [stdout] 14 - fn compare_license_types(software1: ???, software2: ???) -> bool {
[INFO] [stdout] 14 + fn compare_license_types(software1: ??? software2: ???) -> bool {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected a trait, found type
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:14:56
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool {
[INFO] [stdout]    |                                                        ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/12_options/options1.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn maybe_icecream(hour_of_day: u16) -> Option<u16> {
[INFO] [stdout]   |    --------------                      ^^^^^^^^^^^ expected `Option<u16>`, found `()`
[INFO] [stdout]   |    |
[INFO] [stdout]   |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout]   = note:   expected enum `Option<u16>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `!`
[INFO] [stdout]   --> exercises/12_options/options2.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |                --------------- while parsing this struct
[INFO] [stdout] 14 |             assert_eq!(word, target);
[INFO] [stdout]    |             ---------^ expected one of `,`, `:`, or `}`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             while parsing this struct field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `)`
[INFO] [stdout]   --> exercises/12_options/options2.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |                --------------- while parsing this struct
[INFO] [stdout] 14 |             assert_eq!(word, target);
[INFO] [stdout]    |                                    ^ expected one of `,`, `:`, or `}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{`
[INFO] [stdout]   --> exercises/12_options/options2.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |         integer = optional_integers.pop() {
[INFO] [stdout]    |                                           ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "options1") due to 1 previous error
[INFO] [stdout] error[E0425]: cannot find value `word` in this scope
[INFO] [stdout]   --> exercises/12_options/options2.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let word = optional_target {
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found local variable `optional_target`
[INFO] [stdout]   --> exercises/12_options/options2.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "options2" test) due to 5 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0425, E0574.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `v` in this scope
[INFO] [stdout]  --> exercises/05_vecs/vecs1.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     (a, v)
[INFO] [stdout]   |         ^
[INFO] [stdout]   |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 8 -     (a, v)
[INFO] [stdout] 8 +     (a, a)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `software1` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     software1.licensing_info() == software2.licensing_info()
[INFO] [stdout]    |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `software2` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 |     software1.licensing_info() == software2.licensing_info()
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> 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] warning: struct `ColorRegularStruct` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct ColorRegularStruct {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ColorTupleStruct` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs1.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct ColorTupleStruct(u8, u8, u8);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnitStruct` is never constructed
[INFO] [stdout]   --> solutions/07_structs/structs1.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct UnitStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> 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] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "vecs1") due to 1 previous error
[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] [stderr] error: could not compile `exercises` (bin "traits4" test) due to 5 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics4" test) due to 1 previous error
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]  --> exercises/01_variables/variables2.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let x;
[INFO] [stdout]   |         ^
[INFO] [stdout] 4 |
[INFO] [stdout] 5 |     if x == 10 {
[INFO] [stdout]   |          -- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout]   = note: cannot satisfy `_: PartialEq<i32>`
[INFO] [stdout]   = note: `{integer}` implements `PartialEq<_>`
[INFO] [stdout] help: consider giving `x` an explicit type
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let x: /* Type */;
[INFO] [stdout]   |          ++++++++++++
[INFO] [stdout] help: consider swapping the equality
[INFO] [stdout]   |
[INFO] [stdout] 5 -     if x == 10 {
[INFO] [stdout] 5 +     if 10 == x {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "variables2") due to 1 previous error
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/from_str.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn from_str(s: &str) -> Result<Self, Self::Err> {}
[INFO] [stdout]    |        --------             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Person, ParsePersonError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Person, ParsePersonError>`
[INFO] [stdout]            found unit type `()`
[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_str" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8d3261434b95916728b07b7b9ef74958f3287949da74512fda79b3b52072b0e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d3261434b95916728b07b7b9ef74958f3287949da74512fda79b3b52072b0e0", kill_on_drop: false }`
[INFO] [stdout] 8d3261434b95916728b07b7b9ef74958f3287949da74512fda79b3b52072b0e0
