[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] testing Vieran/Learn_Rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVieran%2FLearn_Rust" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vieran/Learn_Rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-84/source/Cargo.toml [INFO] crate git repo https://github.com/Vieran/Learn_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76baa8bd41495f3d26c1bee49da29fefcfdd896bfa05c36e3abc48e38dce3bc7 [INFO] running `Command { std: "docker" "start" "-a" "76baa8bd41495f3d26c1bee49da29fefcfdd896bfa05c36e3abc48e38dce3bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76baa8bd41495f3d26c1bee49da29fefcfdd896bfa05c36e3abc48e38dce3bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76baa8bd41495f3d26c1bee49da29fefcfdd896bfa05c36e3abc48e38dce3bc7", kill_on_drop: false }` [INFO] [stdout] 76baa8bd41495f3d26c1bee49da29fefcfdd896bfa05c36e3abc48e38dce3bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf5cb70b2c99565c829b2d47de64b83e0a15db5ff524ae4d3dabab15e248db1 [INFO] running `Command { std: "docker" "start" "-a" "7bf5cb70b2c99565c829b2d47de64b83e0a15db5ff524ae4d3dabab15e248db1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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 is never used: `calculate_apple_price` [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 is never used: `string_slice` [INFO] [stdout] --> src/part2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn string_slice(arg: &str, mut writer: &mut W) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string` [INFO] [stdout] --> src/part2.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn string(arg: String, mut writer: &mut W) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_string` [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 is never used: `times_two` [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: variant is never constructed: `EQUAL` [INFO] [stdout] --> src/task2_Sublist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | EQUAL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SUBLIST_COMPARISION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/task2_Sublist.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SUBLIST` [INFO] [stdout] --> src/task2_Sublist.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | SUBLIST, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SUBLIST_COMPARISION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/task2_Sublist.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SUPERLIST` [INFO] [stdout] --> src/task2_Sublist.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | SUPERLIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SUBLIST_COMPARISION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/task2_Sublist.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UNEQUAL` [INFO] [stdout] --> src/task2_Sublist.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | UNEQUAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SUBLIST_COMPARISION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/task2_Sublist.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sublist_wrong` [INFO] [stdout] --> src/task2_Sublist.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sublist_wrong(a: &Vec, b: &Vec) -> SUBLIST_COMPARISION { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sublist` [INFO] [stdout] --> src/task2_Sublist.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn sublist(a: &Vec, b: &Vec) -> SUBLIST_COMPARISION { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minesweeper` [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>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parallel_letter_frequency` [INFO] [stdout] --> src/task2_ParallelLetterFrequency.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn parallel_letter_frequency(cnt: &mut Vec, 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: `#[warn(unused_must_use)]` on by default [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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "7bf5cb70b2c99565c829b2d47de64b83e0a15db5ff524ae4d3dabab15e248db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf5cb70b2c99565c829b2d47de64b83e0a15db5ff524ae4d3dabab15e248db1", kill_on_drop: false }` [INFO] [stdout] 7bf5cb70b2c99565c829b2d47de64b83e0a15db5ff524ae4d3dabab15e248db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb0baabd8a497bce20827043c7225a52b6b33d95d118ed0c5a7739d13a68f3f2 [INFO] running `Command { std: "docker" "start" "-a" "bb0baabd8a497bce20827043c7225a52b6b33d95d118ed0c5a7739d13a68f3f2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling basic v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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 [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 [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 is never used: `sublist_wrong` [INFO] [stdout] --> src/task2_Sublist.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn sublist_wrong(a: &Vec, b: &Vec) -> 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: `#[warn(unused_must_use)]` on by default [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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "bb0baabd8a497bce20827043c7225a52b6b33d95d118ed0c5a7739d13a68f3f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb0baabd8a497bce20827043c7225a52b6b33d95d118ed0c5a7739d13a68f3f2", kill_on_drop: false }` [INFO] [stdout] bb0baabd8a497bce20827043c7225a52b6b33d95d118ed0c5a7739d13a68f3f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21369c596585a0446445e04a14f1cc2077971616859f4727c73eb41f15b9648f [INFO] running `Command { std: "docker" "start" "-a" "21369c596585a0446445e04a14f1cc2077971616859f4727c73eb41f15b9648f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/part4.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/part4.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | format!("{} {}", "Hello", $name); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 16 | assert_eq!(my_macro!("world!"), "Hello world!"); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `my_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/part4.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | format!("{} {}", "Hello", $name); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 21 | assert_eq!(my_macro!("goodbye!"), "Hello goodbye!"); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `my_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `SUBLIST_COMPARISION` should have an upper camel case name [INFO] [stderr] --> src/task2_Sublist.rs:4:6 [INFO] [stderr] | [INFO] [stderr] 4 | enum SUBLIST_COMPARISION { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SublistComparision` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/part1.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut price; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sublist_wrong` [INFO] [stderr] --> src/task2_Sublist.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn sublist_wrong(a: &Vec, b: &Vec) -> SUBLIST_COMPARISION { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: module `task2_Sublist` should have a snake case name [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | mod task2_Sublist; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `task2_sublist` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: module `task2_Minesweeper` should have a snake case name [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mod task2_Minesweeper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_minesweeper` [INFO] [stderr] [INFO] [stderr] warning: module `task2_ParallelLetterFrequency` should have a snake case name [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | mod task2_ParallelLetterFrequency; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `task2_parallel_letter_frequency` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/part2.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | write!(&mut writer, "{}\n", arg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/part2.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | write!(&mut writer, "{}\n", arg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `basic` (bin "basic" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/basic-aa1cc3e22a2c9afe) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] blue [INFO] [stdout] red [INFO] [stdout] hi [INFO] [stdout] rust is fun! [INFO] [stdout] nice weather [INFO] [stdout] Interpolation Station [INFO] [stdout] a [INFO] [stdout] hello there [INFO] [stdout] Happy Tuesday! [INFO] [stdout] my shift key is sticky [INFO] [stdout] test part1::part1_test ... ok [INFO] [stdout] test part2::tests::test_string_print ... ok [INFO] [stdout] test part3::tests::returns_twice_of_negative_numbers ... ok [INFO] [stdout] test part2::tests::test_string_output ... ok [INFO] [stdout] test part3::tests::returns_twice_of_positive_numbers ... ok [INFO] [stdout] test part4::tests::test_my_macro_goodbye ... ok [INFO] [stdout] test part4::tests::test_my_macro_world ... ok [INFO] [stdout] test task2_Minesweeper::tests::test_minesweeper ... ok [INFO] [stdout] test task2_Sublist::tests::sublist_test ... ok [INFO] [stdout] test task2_ParallelLetterFrequency::tests::parallel_letter_frequency_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21369c596585a0446445e04a14f1cc2077971616859f4727c73eb41f15b9648f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21369c596585a0446445e04a14f1cc2077971616859f4727c73eb41f15b9648f", kill_on_drop: false }` [INFO] [stdout] 21369c596585a0446445e04a14f1cc2077971616859f4727c73eb41f15b9648f