[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#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angluca/rustlings-zh-cn-rustacean on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 61708f2c3714a43cd2ba70cb360e404ea215eb1ca9f4936e328ef1f70e2a8c8b
[INFO] running `Command { std: "docker" "start" "-a" "61708f2c3714a43cd2ba70cb360e404ea215eb1ca9f4936e328ef1f70e2a8c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61708f2c3714a43cd2ba70cb360e404ea215eb1ca9f4936e328ef1f70e2a8c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61708f2c3714a43cd2ba70cb360e404ea215eb1ca9f4936e328ef1f70e2a8c8b", kill_on_drop: false }`
[INFO] [stdout] 61708f2c3714a43cd2ba70cb360e404ea215eb1ca9f4936e328ef1f70e2a8c8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17e5a064bcdcf8c09eb3e54e5b0f8868f9485118d3fe0aaea561c471369dba10
[INFO] running `Command { std: "docker" "start" "-a" "17e5a064bcdcf8c09eb3e54e5b0f8868f9485118d3fe0aaea561c471369dba10", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[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 "iterators1" test) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "options2") due to 3 previous errors
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]  --> exercises/01_variables/variables1.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     x = 5;
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let x = 5;
[INFO] [stdout]   |     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]  --> exercises/01_variables/variables1.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 |     println!("x has the value {x}");
[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 "variables1" test) due to 2 previous errors
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> exercises/17_tests/tests3.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> exercises/17_tests/tests3.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Rectangle {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 7 |     // 不要修改此函数。
[INFO] [stdout] 8 |     fn new(width: i32, height: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "17e5a064bcdcf8c09eb3e54e5b0f8868f9485118d3fe0aaea561c471369dba10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17e5a064bcdcf8c09eb3e54e5b0f8868f9485118d3fe0aaea561c471369dba10", kill_on_drop: false }`
[INFO] [stdout] 17e5a064bcdcf8c09eb3e54e5b0f8868f9485118d3fe0aaea561c471369dba10
