[INFO] cloning repository https://github.com/Kartik213/Rust-notes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kartik213/Rust-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik213%2FRust-notes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik213%2FRust-notes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8be76251ebd2b77d30571234bd86ca5b70d08e54
[INFO] checking Kartik213/Rust-notes/8be76251ebd2b77d30571234bd86ca5b70d08e54 against ed77b7b8699e342c2dc842c83cb5fe4025252ee8 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik213%2FRust-notes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kartik213/Rust-notes
[INFO] finished tweaking git repo https://github.com/Kartik213/Rust-notes
[INFO] tweaked toml for git repo https://github.com/Kartik213/Rust-notes written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kartik213/Rust-notes on toolchain ed77b7b8699e342c2dc842c83cb5fe4025252ee8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kartik213/Rust-notes 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" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio v1.46.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c
[INFO] running `Command { std: "docker" "start" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c" "/opt/rustwide/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c" "/opt/rustwide/cargo-home/bin/cargo" "+ed77b7b8699e342c2dc842c83cb5fe4025252ee8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tokio v1.46.0
[INFO] [stderr]     Checking rust-notes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::fmt::Formatter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format` and `iter::Sum`
[INFO] [stdout]   --> src/main.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::{collections::HashMap, fmt::format, fs, iter::Sum};
[INFO] [stdout]    |                                 ^^^^^^^^^^^      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::fmt::Formatter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format` and `iter::Sum`
[INFO] [stdout]   --> src/main.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::{collections::HashMap, fmt::format, fs, iter::Sum};
[INFO] [stdout]    |                                 ^^^^^^^^^^^      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter_nums`
[INFO] [stdout]    --> src/main.rs:588:9
[INFO] [stdout]     |
[INFO] [stdout] 588 |     let iter_nums = nums.iter();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter_nums`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mutable` is never read
[INFO] [stdout]    --> src/main.rs:401:23
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let mut mutable = 12; // Mutable `i32`
[INFO] [stdout]     |                       ^^ this value is reassigned later and never used
[INFO] [stdout] 402 |     mutable = 21;
[INFO] [stdout]     |     ------------ `mutable` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter_nums`
[INFO] [stdout]    --> src/main.rs:588:9
[INFO] [stdout]     |
[INFO] [stdout] 588 |     let iter_nums = nums.iter();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter_nums`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mutable` is never read
[INFO] [stdout]    --> src/main.rs:401:23
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let mut mutable = 12; // Mutable `i32`
[INFO] [stdout]     |                       ^^ this value is reassigned later and never used
[INFO] [stdout] 402 |     mutable = 21;
[INFO] [stdout]     |     ------------ `mutable` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]     --> src/main.rs:1071:5
[INFO] [stdout]      |
[INFO] [stdout] 1070 | struct User2 {
[INFO] [stdout]      |        ----- fields in this struct
[INFO] [stdout] 1071 |     name: String,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout] 1072 |     age: u32,
[INFO] [stdout]      |     ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]     --> src/main.rs:1071:5
[INFO] [stdout]      |
[INFO] [stdout] 1070 | struct User2 {
[INFO] [stdout]      |        ----- fields in this struct
[INFO] [stdout] 1071 |     name: String,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout] 1072 |     age: u32,
[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 `largest_i32` is never used
[INFO] [stdout]     --> src/main.rs:1116:4
[INFO] [stdout]      |
[INFO] [stdout] 1116 | fn largest_i32(a: i32, b: i32) -> i32 {
[INFO] [stdout]      |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_char` is never used
[INFO] [stdout]     --> src/main.rs:1124:4
[INFO] [stdout]      |
[INFO] [stdout] 1124 | fn largest_char(a: char, b: char) -> char {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_i32` is never used
[INFO] [stdout]     --> src/main.rs:1116:4
[INFO] [stdout]      |
[INFO] [stdout] 1116 | fn largest_i32(a: i32, b: i32) -> i32 {
[INFO] [stdout]      |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_char` is never used
[INFO] [stdout]     --> src/main.rs:1124:4
[INFO] [stdout]      |
[INFO] [stdout] 1124 | fn largest_char(a: char, b: char) -> char {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.53s
[INFO] running `Command { std: "docker" "inspect" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c", kill_on_drop: false }`
[INFO] [stdout] 2a85ae18baaa8d6a8a850a1d5c49148efca17e2a0f1dc97f75ee3e62dbdd273c
