[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#8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angluca/rustlings-zh-cn-rustacean on toolchain 8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd" "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" "+8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c79a6052db4be0fc4be0944ed5eaf8dd5c630c6a3d3128721d43e6cd2dda0ca5
[INFO] running `Command { std: "docker" "start" "-a" "c79a6052db4be0fc4be0944ed5eaf8dd5c630c6a3d3128721d43e6cd2dda0ca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c79a6052db4be0fc4be0944ed5eaf8dd5c630c6a3d3128721d43e6cd2dda0ca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c79a6052db4be0fc4be0944ed5eaf8dd5c630c6a3d3128721d43e6cd2dda0ca5", kill_on_drop: false }`
[INFO] [stdout] c79a6052db4be0fc4be0944ed5eaf8dd5c630c6a3d3128721d43e6cd2dda0ca5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 318e51506f641c14aa6194d7ce480a62b9a1e9650670b416efbd70860ddd4af4
[INFO] running `Command { std: "docker" "start" "-a" "318e51506f641c14aa6194d7ce480a62b9a1e9650670b416efbd70860ddd4af4", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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] 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] warning: build failed, waiting for other jobs to finish...
[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] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `picky_eater` is never used
[INFO] [stdout]  --> solutions/03_if/if2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn picky_eater(food: &str) -> &str {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics3") due to 1 previous error
[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] [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] warning: function `generate_nametag_text` is never used
[INFO] [stdout]  --> solutions/13_error_handling/errors1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn generate_nametag_text(name: String) -> Result<String, String> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_first` is never used
[INFO] [stdout]  --> solutions/18_iterators/iterators2.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn capitalize_first(input: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_vector` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators2.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn capitalize_words_vector(words: &[&str]) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_string` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators2.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn capitalize_words_string(words: &[&str]) -> String {
[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] warning: function `generate_nametag_text` is never used
[INFO] [stdout]  --> exercises/13_error_handling/errors1.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn generate_nametag_text(name: String) -> Option<String> {
[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 `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] error[E0369]: cannot multiply `Result<i32, ParseIntError>` by `{integer}`
[INFO] [stdout]   --> exercises/13_error_handling/errors2.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     Ok(qty * cost_per_item + processing_fee)
[INFO] [stdout]    |        --- ^ ------------- {integer}
[INFO] [stdout]    |        |
[INFO] [stdout]    |        Result<i32, ParseIntError>
[INFO] [stdout]    |
[INFO] [stdout] note: `Result<i32, ParseIntError>` does not implement `Mul<{integer}>`
[INFO] [stdout]   --> /rustc/8c52f735abd1af9a73941b78fe7ed2ab08b9c0dd/library/core/src/result.rs:557:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Result<i32, ParseIntError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors2") due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "traits4" test) due to 5 previous errors
[INFO] [stdout] warning: variant `ParseInt` is never constructed
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum ParsePosNonzeroError {
[INFO] [stdout]    |      -------------------- variant in this enum
[INFO] [stdout] 16 |     Creation(CreationError),
[INFO] [stdout] 17 |     ParseInt(ParseIntError),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsePosNonzeroError` 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[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                    ------------ ^^^^^ expected `u32`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/quizzes/quiz3.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |             grade: "A+",
[INFO] [stdout]    |                    ^^^^ expected `f32`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Resize` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Resize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 7 |     println!("{:?}", Message::Resize);
[INFO] [stdout]   |                               ^^^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                                               ^^^^^ expected `u32`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Move` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Move` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     println!("{:?}", Message::Move);
[INFO] [stdout]   |                               ^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Echo` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Echo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     println!("{:?}", Message::Echo);
[INFO] [stdout]   |                               ^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ChangeColor` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant or associated item `ChangeColor` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     println!("{:?}", Message::ChangeColor);
[INFO] [stdout]    |                               ^^^^^^^^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Quit` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant or associated item `Quit` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     println!("{:?}", Message::Quit);
[INFO] [stdout]    |                               ^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "generics2" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "quiz3" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "enums1" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "318e51506f641c14aa6194d7ce480a62b9a1e9650670b416efbd70860ddd4af4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "318e51506f641c14aa6194d7ce480a62b9a1e9650670b416efbd70860ddd4af4", kill_on_drop: false }`
[INFO] [stdout] 318e51506f641c14aa6194d7ce480a62b9a1e9650670b416efbd70860ddd4af4
