[INFO] cloning repository https://github.com/Vieran/Learn_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vieran/Learn_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVieran%2FLearn_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVieran%2FLearn_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8cf679cf82061a5667a985c6913363cb41f48e16
[INFO] checking Vieran/Learn_Rust against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVieran%2FLearn_Rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Vieran/Learn_Rust
[INFO] finished tweaking git repo https://github.com/Vieran/Learn_Rust
[INFO] tweaked toml for git repo https://github.com/Vieran/Learn_Rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Vieran/Learn_Rust on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Vieran/Learn_Rust 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 185414b5e8c67d9492468a9bdb48b0acfd7abdaea2498c5e0c508c968dec906f
[INFO] running `Command { std: "docker" "start" "-a" "185414b5e8c67d9492468a9bdb48b0acfd7abdaea2498c5e0c508c968dec906f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "185414b5e8c67d9492468a9bdb48b0acfd7abdaea2498c5e0c508c968dec906f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "185414b5e8c67d9492468a9bdb48b0acfd7abdaea2498c5e0c508c968dec906f", kill_on_drop: false }`
[INFO] [stdout] 185414b5e8c67d9492468a9bdb48b0acfd7abdaea2498c5e0c508c968dec906f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53b5935adfa51eb061ba968c235ec85c6f183feac2c85c3c089eab9c81925ca7
[INFO] running `Command { std: "docker" "start" "-a" "53b5935adfa51eb061ba968c235ec85c6f183feac2c85c3c089eab9c81925ca7", kill_on_drop: false }`
[INFO] [stderr]     Checking basic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/part2.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SUBLIST_COMPARISION` should have an upper camel case name
[INFO] [stdout]  --> src/task2_Sublist.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum SUBLIST_COMPARISION {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SublistComparision`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/part4.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> src/part4.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |             format!("{} {}", "Hello", $name);
[INFO] [stdout]    |                                             ^
[INFO] [stdout] ...
[INFO] [stdout] 16 |         assert_eq!(my_macro!("world!"), "Hello world!");
[INFO] [stdout]    |                    ------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `my_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> src/part4.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |             format!("{} {}", "Hello", $name);
[INFO] [stdout]    |                                             ^
[INFO] [stdout] ...
[INFO] [stdout] 21 |         assert_eq!(my_macro!("goodbye!"), "Hello goodbye!");
[INFO] [stdout]    |                    --------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: this warning originates in the macro `my_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SUBLIST_COMPARISION` should have an upper camel case name
[INFO] [stdout]  --> src/task2_Sublist.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum SUBLIST_COMPARISION {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SublistComparision`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/part1.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut price;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_apple_price` is never used
[INFO] [stdout]  --> src/part1.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn calculate_apple_price(amount: i32) -> i32{
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string_slice` is never used
[INFO] [stdout]   --> src/part2.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn string_slice<W: Write>(arg: &str, mut writer: &mut W) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `string` is never used
[INFO] [stdout]   --> src/part2.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn string<W: Write>(arg: String, mut writer: &mut W) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_string` is never used
[INFO] [stdout]   --> src/part2.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn test_string(writer: &mut impl Write) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `times_two` is never used
[INFO] [stdout]  --> src/part3.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn times_two(num: i32) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SUBLIST_COMPARISION` is never used
[INFO] [stdout]  --> src/task2_Sublist.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum SUBLIST_COMPARISION {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sublist_wrong` is never used
[INFO] [stdout]   --> src/task2_Sublist.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn sublist_wrong(a: &Vec<i32>, b: &Vec<i32>) -> SUBLIST_COMPARISION {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sublist` is never used
[INFO] [stdout]   --> src/task2_Sublist.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn sublist(a: &Vec<i32>, b: &Vec<i32>) -> SUBLIST_COMPARISION {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `minesweeper` is never used
[INFO] [stdout]  --> src/task2_Minesweeper.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn minesweeper(r: usize, c: usize, mine_index: Vec<[i32; 2]>, result_board: &mut Vec<Vec<i32>>) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parallel_letter_frequency` is never used
[INFO] [stdout]  --> src/task2_ParallelLetterFrequency.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn parallel_letter_frequency(cnt: &mut Vec<u32>, text: &String) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_Sublist` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod task2_Sublist;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `task2_sublist`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_Minesweeper` should have a snake case name
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod task2_Minesweeper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_minesweeper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_ParallelLetterFrequency` should have a snake case name
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod task2_ParallelLetterFrequency;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_parallel_letter_frequency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/part2.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     write!(&mut writer, "{}\n", arg);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/part2.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     write!(&mut writer, "{}\n", arg);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/part1.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut price;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sublist_wrong` is never used
[INFO] [stdout]   --> src/task2_Sublist.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn sublist_wrong(a: &Vec<i32>, b: &Vec<i32>) -> SUBLIST_COMPARISION {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_Sublist` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod task2_Sublist;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `task2_sublist`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_Minesweeper` should have a snake case name
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod task2_Minesweeper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_minesweeper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `task2_ParallelLetterFrequency` should have a snake case name
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod task2_ParallelLetterFrequency;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_parallel_letter_frequency`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/part2.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     write!(&mut writer, "{}\n", arg);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/part2.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     write!(&mut writer, "{}\n", arg);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: basic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "53b5935adfa51eb061ba968c235ec85c6f183feac2c85c3c089eab9c81925ca7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53b5935adfa51eb061ba968c235ec85c6f183feac2c85c3c089eab9c81925ca7", kill_on_drop: false }`
[INFO] [stdout] 53b5935adfa51eb061ba968c235ec85c6f183feac2c85c3c089eab9c81925ca7
