[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727
[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 bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4a0ea9d4eb322e338e776e271c38790dfc299ccdfa12a7df9dab6198148f0cbf
[INFO] running `Command { std: "docker" "start" "-a" "4a0ea9d4eb322e338e776e271c38790dfc299ccdfa12a7df9dab6198148f0cbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a0ea9d4eb322e338e776e271c38790dfc299ccdfa12a7df9dab6198148f0cbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a0ea9d4eb322e338e776e271c38790dfc299ccdfa12a7df9dab6198148f0cbf", kill_on_drop: false }`
[INFO] [stdout] 4a0ea9d4eb322e338e776e271c38790dfc299ccdfa12a7df9dab6198148f0cbf
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce56387342e365b1812531da4b95be5ef9e539a930dc227ab3711950d36ce1b9
[INFO] running `Command { std: "docker" "start" "-a" "ce56387342e365b1812531da4b95be5ef9e539a930dc227ab3711950d36ce1b9", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `nice_slice` in this scope
[INFO] [stdout]   --> exercises/04_primitive_types/primitive_types4.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |         assert_eq!([2, 3, 4], nice_slice);
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `APPLE` is never used
[INFO] [stdout]  --> solutions/10_modules/modules2.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |         pub const APPLE: &str = "Apple";
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CARROT` is never used
[INFO] [stdout]   --> solutions/10_modules/modules2.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |         pub const CARROT: &str = "Carrot";
[INFO] [stdout]    |                   ^^^^^^
[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_types4" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `licensing_info`
[INFO] [stdout]   --> exercises/15_traits/traits3.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout]  5 |     fn licensing_info(&self) -> String;
[INFO] [stdout]    |     ----------------------------------- `licensing_info` from trait
[INFO] [stdout] ...
[INFO] [stdout] 16 | impl Licensed for SomeSoftware {} // 不要编辑此行代码。
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `licensing_info` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `licensing_info`
[INFO] [stdout]   --> exercises/15_traits/traits3.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout]  5 |     fn licensing_info(&self) -> String;
[INFO] [stdout]    |     ----------------------------------- `licensing_info` from trait
[INFO] [stdout] ...
[INFO] [stdout] 17 | impl Licensed for OtherSoftware {} // 不要编辑此行代码。
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `licensing_info` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `my_macro` in this scope
[INFO] [stdout]   --> exercises/21_macros/macros3.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     my_macro!();
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: have you added the `#[macro_use]` on the module/import?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "traits3") due to 2 previous errors
[INFO] [stdout] warning: unused macro definition: `my_macro`
[INFO] [stdout]  --> exercises/21_macros/macros3.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     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] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Mercury(Rc<Sun>),
[INFO] [stdout]    |     ------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` 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] 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] 12 -     Mercury(Rc<Sun>),
[INFO] [stdout] 12 +     Mercury(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Venus(Rc<Sun>),
[INFO] [stdout]    |     ----- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 13 -     Venus(Rc<Sun>),
[INFO] [stdout] 13 +     Venus(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Earth(Rc<Sun>),
[INFO] [stdout]    |     ----- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 14 -     Earth(Rc<Sun>),
[INFO] [stdout] 14 +     Earth(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Mars(Rc<Sun>),
[INFO] [stdout]    |     ---- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 15 -     Mars(Rc<Sun>),
[INFO] [stdout] 15 +     Mars(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Jupiter(Rc<Sun>),
[INFO] [stdout]    |     ------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 16 -     Jupiter(Rc<Sun>),
[INFO] [stdout] 16 +     Jupiter(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Saturn(Rc<Sun>),
[INFO] [stdout]    |     ------ ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 17 -     Saturn(Rc<Sun>),
[INFO] [stdout] 17 +     Saturn(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Uranus(Rc<Sun>),
[INFO] [stdout]    |     ------ ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 18 -     Uranus(Rc<Sun>),
[INFO] [stdout] 18 +     Uranus(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Neptune(Rc<Sun>),
[INFO] [stdout]    |     ------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Planet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 19 -     Neptune(Rc<Sun>),
[INFO] [stdout] 19 +     Neptune(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "macros3" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] warning: trait `SomeTrait` is never used
[INFO] [stdout]  --> solutions/15_traits/traits5.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait SomeTrait {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OtherTrait` is never used
[INFO] [stdout]  --> solutions/15_traits/traits5.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait OtherTrait {
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SomeStruct` is never constructed
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct SomeStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherStruct` is never constructed
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct OtherStruct;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_func` is never used
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn some_func(item: impl SomeTrait + OtherTrait) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trim_me` is never used
[INFO] [stdout]  --> solutions/09_strings/strings3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trim_me(input: &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] warning: function `compose_me` is never used
[INFO] [stdout]  --> solutions/09_strings/strings3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn compose_me(input: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_me` is never used
[INFO] [stdout]   --> solutions/09_strings/strings3.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn replace_me(input: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] error[E0277]: a value of type `Vec<i32>` cannot be built from an iterator over elements of type `()`
[INFO] [stdout]   --> exercises/05_vecs/vecs2.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .collect()
[INFO] [stdout]    |          ^^^^^^^ value of type `Vec<i32>` cannot be built from `std::iter::Iterator<Item=()>`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `FromIterator<()>` is not implemented for `Vec<i32>`
[INFO] [stdout]       but trait `FromIterator<i32>` is implemented for it
[INFO] [stdout]   --> /rustc/bca37a20bd376ce3fd138e7cdee7fe704e0f8814/library/alloc/src/vec/mod.rs:3790:0
[INFO] [stdout]    = help: for that trait implementation, expected `i32`, found `()`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> exercises/05_vecs/vecs2.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |       input
[INFO] [stdout]    |       ----- this expression has type `&[i32]`
[INFO] [stdout] 33 |           .iter()
[INFO] [stdout]    |            ------ `Iterator::Item` is `&i32` here
[INFO] [stdout] 34 |           .map(|element| {
[INFO] [stdout]    |  __________^
[INFO] [stdout] 35 | |             // ???
[INFO] [stdout] 36 | |         })
[INFO] [stdout]    | |__________^ `Iterator::Item` changed to `()` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]   --> /rustc/bca37a20bd376ce3fd138e7cdee7fe704e0f8814/library/core/src/iter/traits/iterator.rs:2019:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> exercises/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 `Order` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs2.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Order {
[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 `create_order_template` is never used
[INFO] [stdout]   --> exercises/07_structs/structs2.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_order_template() -> Order {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> exercises/05_vecs/vecs2.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut output = Vec::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: `element`
[INFO] [stdout]  --> exercises/05_vecs/vecs2.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     for element in input {
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     vec.push(88);
[INFO] [stdout]   |     ^^^ cannot borrow as mutable
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut vec = vec;
[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_semantics1" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "vecs2") due to 1 previous error; 2 warnings emitted
[INFO] [stderr] error: could not compile `exercises` (bin "variables2" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ce56387342e365b1812531da4b95be5ef9e539a930dc227ab3711950d36ce1b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce56387342e365b1812531da4b95be5ef9e539a930dc227ab3711950d36ce1b9", kill_on_drop: false }`
[INFO] [stdout] ce56387342e365b1812531da4b95be5ef9e539a930dc227ab3711950d36ce1b9
