[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#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngluca%2Frustlings-zh-cn-rustacean" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angluca/rustlings-zh-cn-rustacean on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c022fe19847d10ab2c7d9e8901bba44eda4eb8fcc6d468fed1bfd18d131d0b9c
[INFO] running `Command { std: "docker" "start" "-a" "c022fe19847d10ab2c7d9e8901bba44eda4eb8fcc6d468fed1bfd18d131d0b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c022fe19847d10ab2c7d9e8901bba44eda4eb8fcc6d468fed1bfd18d131d0b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c022fe19847d10ab2c7d9e8901bba44eda4eb8fcc6d468fed1bfd18d131d0b9c", kill_on_drop: false }`
[INFO] [stdout] c022fe19847d10ab2c7d9e8901bba44eda4eb8fcc6d468fed1bfd18d131d0b9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2185b73303c8404fd332287a43c027ad8b520ddd372b2a8a789095a8a1bb04f0
[INFO] running `Command { std: "docker" "start" "-a" "2185b73303c8404fd332287a43c027ad8b520ddd372b2a8a789095a8a1bb04f0", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `calculate_price_of_apples` is never used
[INFO] [stdout]  --> solutions/quizzes/quiz1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn calculate_price_of_apples(n_apples: u64) -> u64 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors3.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let cost = total_cost(pretend_user_input)?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |           +++++++++++++++++++++++++++++++++++++++++
[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 "errors3") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     placeholder("blue");
[INFO] [stdout]    |     ^^^^^^^^^^^ ------ unexpected argument of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 16 -     placeholder("blue");
[INFO] [stdout] 16 +     placeholder();
[INFO] [stdout]    |
[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] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> exercises/08_enums/enums3.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn process(&mut self, message: Message) {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> exercises/08_enums/enums3.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Resize { width: u64, height: u64 },
[INFO] [stdout]   |     ------   ^^^^^       ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> exercises/08_enums/enums3.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Move(Point),
[INFO] [stdout]   |     ---- ^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     Move(Point),
[INFO] [stdout] 8 +     Move(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> exercises/08_enums/enums3.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Echo(String),
[INFO] [stdout]   |     ---- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Echo(String),
[INFO] [stdout] 9 +     Echo(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> exercises/08_enums/enums3.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ChangeColor(u8, u8, u8),
[INFO] [stdout]    |     ----------- ^^  ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 10 -     ChangeColor(u8, u8, u8),
[INFO] [stdout] 10 +     ChangeColor((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `resize`, `move_position`, `echo`, `change_color`, and `quit` are never used
[INFO] [stdout]   --> exercises/08_enums/enums3.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl State {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 25 |     fn resize(&mut self, width: u64, height: u64) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn move_position(&mut self, point: Point) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn echo(&mut self, s: String) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn change_color(&mut self, red: u8, green: u8, blue: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn quit(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     placeholder("red".to_string());
[INFO] [stdout]    |     ^^^^^^^^^^^ ----------------- unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 18 -     placeholder("red".to_string());
[INFO] [stdout] 18 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut scores = HashMap::<&str, TeamScores>::new();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_1_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let team_1_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: unused variable: `team_2_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let team_2_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_1_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let team_1_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_2_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let team_2_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     placeholder(String::from("hi"));
[INFO] [stdout]    |     ^^^^^^^^^^^ ------------------ unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 20 -     placeholder(String::from("hi"));
[INFO] [stdout] 20 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     placeholder("rust is fun!".to_owned());
[INFO] [stdout]    |     ^^^^^^^^^^^ ------------------------- unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 22 -     placeholder("rust is fun!".to_owned());
[INFO] [stdout] 22 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     placeholder("nice weather".into());
[INFO] [stdout]    |     ^^^^^^^^^^^ --------------------- unexpected argument
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 24 -     placeholder("nice weather".into());
[INFO] [stdout] 24 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     placeholder(format!("Interpolation {}", "Station"));
[INFO] [stdout]    |     ^^^^^^^^^^^ -------------------------------------- unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 26 -     placeholder(format!("Interpolation {}", "Station"));
[INFO] [stdout] 26 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     placeholder(&String::from("abc")[0..1]);
[INFO] [stdout]    |     ^^^^^^^^^^^ -------------------------- unexpected argument of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 30 -     placeholder(&String::from("abc")[0..1]);
[INFO] [stdout] 30 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     placeholder("  hello there ".trim());
[INFO] [stdout]    |     ^^^^^^^^^^^ ----------------------- unexpected argument of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 32 -     placeholder("  hello there ".trim());
[INFO] [stdout] 32 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     placeholder("Happy Monday!".replace("Mon", "Tues"));
[INFO] [stdout]    |     ^^^^^^^^^^^ -------------------------------------- unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 34 -     placeholder("Happy Monday!".replace("Mon", "Tues"));
[INFO] [stdout] 34 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     placeholder("mY sHiFt KeY iS sTiCkY".to_lowercase());
[INFO] [stdout]    |     ^^^^^^^^^^^ --------------------------------------- unexpected argument of type `String`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn placeholder() {}
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 36 -     placeholder("mY sHiFt KeY iS sTiCkY".to_lowercase());
[INFO] [stdout] 36 +     placeholder();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "arc1") due to 2 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "strings4" test) due to 10 previous errors
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut scores = HashMap::<&str, TeamScores>::new();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_1_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let team_1_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_2_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let team_2_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_1_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let team_1_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_2_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let team_2_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TeamScores` is never constructed
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct TeamScores {
[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 `build_scores_table` is never used
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn build_scores_table(results: &str) -> HashMap<&str, TeamScores> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cents_per_gram`
[INFO] [stdout]   --> exercises/07_structs/structs3.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn get_fees(&self, cents_per_gram: u32) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cents_per_gram`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Package` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs3.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Package {
[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 items `new`, `is_international`, and `get_fees` are never used
[INFO] [stdout]   --> exercises/07_structs/structs3.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Package {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 15 |     fn new(sender_country: String, recipient_country: String, weight_in_grams: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn is_international(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn get_fees(&self, cents_per_gram: u32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Command`
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use super::Command;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected type, found `{`
[INFO] [stdout]   --> exercises/02_functions/functions4.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn sale_price(price: i64) -> {
[INFO] [stdout]    |                              ^ expected type
[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] [stderr] error: could not compile `exercises` (bin "functions4") due to 1 previous error
[INFO] [stdout] error[E0425]: cannot find function `transformer` in this scope
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let output = transformer(input);
[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 "quiz2" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/12_options/options1.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(icecreams, 5); // 不要修改此行代码。
[INFO] [stdout]    |                               ^ expected `Option<u16>`, found integer
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<u16>`
[INFO] [stdout]               found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `Some`
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(icecreams, Some(5)); // 不要修改此行代码。
[INFO] [stdout]    |                               +++++ +
[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 "options1" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "2185b73303c8404fd332287a43c027ad8b520ddd372b2a8a789095a8a1bb04f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2185b73303c8404fd332287a43c027ad8b520ddd372b2a8a789095a8a1bb04f0", kill_on_drop: false }`
[INFO] [stdout] 2185b73303c8404fd332287a43c027ad8b520ddd372b2a8a789095a8a1bb04f0
