[INFO] cloning repository https://github.com/pemudakoding/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/pemudakoding/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpemudakoding%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpemudakoding%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e949ed8bbfbb22687e4f250a045106013c1c62f
[INFO] checking pemudakoding/learn-rust against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpemudakoding%2Flearn-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pemudakoding/learn-rust
[INFO] finished tweaking git repo https://github.com/pemudakoding/learn-rust
[INFO] tweaked toml for git repo https://github.com/pemudakoding/learn-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pemudakoding/learn-rust on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pemudakoding/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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c996ca848234e8c0978eb00b2646be9fdb3cd3e33dfa5531a350d7b0e193ba71
[INFO] running `Command { std: "docker" "start" "-a" "c996ca848234e8c0978eb00b2646be9fdb3cd3e33dfa5531a350d7b0e193ba71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c996ca848234e8c0978eb00b2646be9fdb3cd3e33dfa5531a350d7b0e193ba71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c996ca848234e8c0978eb00b2646be9fdb3cd3e33dfa5531a350d7b0e193ba71", kill_on_drop: false }`
[INFO] [stdout] c996ca848234e8c0978eb00b2646be9fdb3cd3e33dfa5531a350d7b0e193ba71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a8de12c66909eff30d5bc0d1dac07557dd0e3b6e23a85d51d8954f85d8e8e4d
[INFO] running `Command { std: "docker" "start" "-a" "6a8de12c66909eff30d5bc0d1dac07557dd0e3b6e23a85d51d8954f85d8e8e4d", kill_on_drop: false }`
[INFO] [stderr]     Checking belajar-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `collections::btree_map::Range`, `fmt::format`, and `ops::Not`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::btree_map::Range, fmt::format, ops::Not};
[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 imports: `collections::btree_map::Range`, `fmt::format`, and `ops::Not`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::btree_map::Range, fmt::format, ops::Not};
[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 imports: `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`, `LinkedList`, and `VecDeque`
[INFO] [stdout]  --> src/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet, LinkedList, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `first::say_hello`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use first::say_hello;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `second::say_hello as say_hello_second`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use second::say_hello as say_hello_second;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ProductCategory::End`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::ProductCategory::End;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `hi`
[INFO] [stdout]     --> src/main.rs:1546:14
[INFO] [stdout]      |
[INFO] [stdout] 1546 | macro_rules! hi {
[INFO] [stdout]      |              ^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unit` is never used
[INFO] [stdout]    --> src/main.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn unit() {
[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 `MAXIMUM_RATE` is never used
[INFO] [stdout]    --> src/main.rs:234:7
[INFO] [stdout]     |
[INFO] [stdout] 234 | const MAXIMUM_RATE: i8 = 100;
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_a` is never used
[INFO] [stdout]    --> src/main.rs:249:4
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn function_a() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_b` is never used
[INFO] [stdout]    --> src/main.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn function_b() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_goodbye` is never used
[INFO] [stdout]    --> src/main.rs:463:4
[INFO] [stdout]     |
[INFO] [stdout] 463 | fn say_goodbye(first_name: &str, last_name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_loop` is never used
[INFO] [stdout]    --> src/main.rs:473:4
[INFO] [stdout]     |
[INFO] [stdout] 473 | fn factorial_loop(n: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `full_name` is never used
[INFO] [stdout]    --> src/main.rs:498:4
[INFO] [stdout]     |
[INFO] [stdout] 498 | fn full_name(first_name: &String, last_name: &String) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_value` is never used
[INFO] [stdout]    --> src/main.rs:513:4
[INFO] [stdout]     |
[INFO] [stdout] 513 | fn change_value(value: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]    --> src/main.rs:552:8
[INFO] [stdout]     |
[INFO] [stdout] 552 | struct Person {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hello` is never used
[INFO] [stdout]    --> src/main.rs:560:8
[INFO] [stdout]     |
[INFO] [stdout] 559 | impl Person {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 560 |     fn say_hello(&self, name: &str)  {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_person` is never used
[INFO] [stdout]    --> src/main.rs:565:4
[INFO] [stdout]     |
[INFO] [stdout] 565 | fn print_person(person: &Person) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoPoint` is never constructed
[INFO] [stdout]    --> src/main.rs:591:8
[INFO] [stdout]     |
[INFO] [stdout] 591 | struct GeoPoint(f64, f64);
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:594:8
[INFO] [stdout]     |
[INFO] [stdout] 593 | impl GeoPoint {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 594 |     fn new(long: f64, lat: f64) -> GeoPoint {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Nothing` is never constructed
[INFO] [stdout]    --> src/main.rs:616:8
[INFO] [stdout]     |
[INFO] [stdout] 616 | struct Nothing;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Level` is never used
[INFO] [stdout]    --> src/main.rs:639:6
[INFO] [stdout]     |
[INFO] [stdout] 639 | enum Level {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Payment` is never used
[INFO] [stdout]    --> src/main.rs:662:6
[INFO] [stdout]     |
[INFO] [stdout] 662 | enum Payment {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pay` is never used
[INFO] [stdout]    --> src/main.rs:669:8
[INFO] [stdout]     |
[INFO] [stdout] 668 | impl Payment {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 669 |     fn pay(&self, amount: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Age` is never used
[INFO] [stdout]    --> src/main.rs:763:6
[INFO] [stdout]     |
[INFO] [stdout] 763 | type Age = u8;
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `IdentityNumber` is never used
[INFO] [stdout]    --> src/main.rs:764:6
[INFO] [stdout]     |
[INFO] [stdout] 764 | type IdentityNumber = String;
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Customer` is never constructed
[INFO] [stdout]    --> src/main.rs:766:8
[INFO] [stdout]     |
[INFO] [stdout] 766 | struct Customer {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayHello` is never used
[INFO] [stdout]    --> src/main.rs:783:7
[INFO] [stdout]     |
[INFO] [stdout] 783 | trait CanSayHello {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayGoodBye` is never used
[INFO] [stdout]    --> src/main.rs:792:7
[INFO] [stdout]     |
[INFO] [stdout] 792 | trait CanSayGoodBye {
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_and_goodbye` is never used
[INFO] [stdout]    --> src/main.rs:817:4
[INFO] [stdout]     |
[INFO] [stdout] 817 | fn hello_and_goodbye(value: &(impl CanSayHello + CanSayGoodBye)) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello_trait` is never used
[INFO] [stdout]    --> src/main.rs:823:4
[INFO] [stdout]     |
[INFO] [stdout] 823 | fn say_hello_trait(person: &impl CanSayHello) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimplePerson` is never constructed
[INFO] [stdout]    --> src/main.rs:852:8
[INFO] [stdout]     |
[INFO] [stdout] 852 | struct SimplePerson {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_person` is never used
[INFO] [stdout]    --> src/main.rs:866:4
[INFO] [stdout]     |
[INFO] [stdout] 866 | fn create_person(name: String) -> impl CanSayGoodBye {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSay` is never used
[INFO] [stdout]    --> src/main.rs:877:7
[INFO] [stdout]     |
[INFO] [stdout] 877 | trait CanSay: CanSayHello + CanSayGoodBye {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]    --> src/main.rs:885:8
[INFO] [stdout]     |
[INFO] [stdout] 885 | struct Point<T = i32> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_x` and `get_y` are never used
[INFO] [stdout]    --> src/main.rs:892:8
[INFO] [stdout]     |
[INFO] [stdout] 890 | impl<T> Point<T> {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 891 |
[INFO] [stdout] 892 |     fn get_x(&self) -> &T {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 896 |     fn get_y(&self) -> &T {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Value` is never used
[INFO] [stdout]    --> src/main.rs:916:6
[INFO] [stdout]     |
[INFO] [stdout] 916 | enum Value<T> {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hi` is never constructed
[INFO] [stdout]    --> src/main.rs:931:8
[INFO] [stdout]     |
[INFO] [stdout] 931 | struct Hi<T: CanSayGoodBye> {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min` is never used
[INFO] [stdout]    --> src/main.rs:946:4
[INFO] [stdout]     |
[INFO] [stdout] 946 | fn min<T: PartialOrd>(value1: T, value2: T) -> T {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `GetValue` is never used
[INFO] [stdout]    --> src/main.rs:970:7
[INFO] [stdout]     |
[INFO] [stdout] 970 | trait GetValue<T> where T: PartialOrd {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Apple` is never constructed
[INFO] [stdout]    --> src/main.rs:980:8
[INFO] [stdout]     |
[INFO] [stdout] 980 | struct Apple {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double` is never used
[INFO] [stdout]     --> src/main.rs:1005:4
[INFO] [stdout]      |
[INFO] [stdout] 1005 | fn double(x:  Option<i32>) -> Option<i32> {
[INFO] [stdout]      |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Category` is never constructed
[INFO] [stdout]     --> src/main.rs:1043:8
[INFO] [stdout]      |
[INFO] [stdout] 1043 | struct Category {
[INFO] [stdout]      |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_with_filter` is never used
[INFO] [stdout]     --> src/main.rs:1080:4
[INFO] [stdout]      |
[INFO] [stdout] 1080 | fn print_with_filter(value: String, filter: fn(String) -> String) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_uppercase` is never used
[INFO] [stdout]     --> src/main.rs:1096:4
[INFO] [stdout]      |
[INFO] [stdout] 1096 | fn to_uppercase(value: String) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_database` is never used
[INFO] [stdout]     --> src/main.rs:1251:4
[INFO] [stdout]      |
[INFO] [stdout] 1251 | fn connect_database(host: Option<String>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_cache` is never used
[INFO] [stdout]     --> src/main.rs:1268:4
[INFO] [stdout]      |
[INFO] [stdout] 1268 | fn connect_cache(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_email` is never used
[INFO] [stdout]     --> src/main.rs:1275:4
[INFO] [stdout]      |
[INFO] [stdout] 1275 | fn connect_email(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_application` is never used
[INFO] [stdout]     --> src/main.rs:1282:4
[INFO] [stdout]      |
[INFO] [stdout] 1282 | fn connect_application(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]     --> src/main.rs:1326:4
[INFO] [stdout]      |
[INFO] [stdout] 1326 | fn longest<'a>(value1: &'a str, value2: &'a str) -> &'a str {
[INFO] [stdout]      |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Student` is never constructed
[INFO] [stdout]     --> src/main.rs:1356:8
[INFO] [stdout]      |
[INFO] [stdout] 1356 | struct Student<'a, 'b> {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `longest_name` is never used
[INFO] [stdout]     --> src/main.rs:1362:8
[INFO] [stdout]      |
[INFO] [stdout] 1361 | impl<'a, 'b> Student<'a, 'b> {
[INFO] [stdout]      | ---------------------------- method in this implementation
[INFO] [stdout] 1362 |     fn longest_name(&self, student: &Student<'a, '_>) -> &'a str {
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_student_name` is never used
[INFO] [stdout]     --> src/main.rs:1371:4
[INFO] [stdout]      |
[INFO] [stdout] 1371 | fn longest_student_name<'a, 'b>(student1: &Student<'a, '_>, student2: &Student<'a, '_>) -> &'a str {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]     --> src/main.rs:1401:8
[INFO] [stdout]      |
[INFO] [stdout] 1401 | struct Company {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_number` is never used
[INFO] [stdout]     --> src/main.rs:1440:4
[INFO] [stdout]      |
[INFO] [stdout] 1440 | fn display_number(value: i32) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_number_reference` is never used
[INFO] [stdout]     --> src/main.rs:1444:4
[INFO] [stdout]      |
[INFO] [stdout] 1444 | fn display_number_reference(value: &i32) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ProductCategory` is never used
[INFO] [stdout]     --> src/main.rs:1449:6
[INFO] [stdout]      |
[INFO] [stdout] 1449 | enum ProductCategory {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]     --> src/main.rs:1478:8
[INFO] [stdout]      |
[INFO] [stdout] 1478 | struct Book {
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Brand` is never used
[INFO] [stdout]     --> src/main.rs:1497:6
[INFO] [stdout]      |
[INFO] [stdout] 1497 | enum Brand {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `APPLICATION` is never used
[INFO] [stdout]     --> src/main.rs:1524:8
[INFO] [stdout]      |
[INFO] [stdout] 1524 | static APPLICATION: &str = "My application";
[INFO] [stdout]      |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]     --> src/main.rs:1531:12
[INFO] [stdout]      |
[INFO] [stdout] 1531 | static mut COUNTER: u32 = 0;
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increment` is never used
[INFO] [stdout]     --> src/main.rs:1533:11
[INFO] [stdout]      |
[INFO] [stdout] 1533 | unsafe fn increment() {
[INFO] [stdout]      |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/first.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/second.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/model.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hello` is never used
[INFO] [stdout]   --> src/model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 10 |   pub fn say_hello(&self, name: &str) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/third.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]     --> src/main.rs:1155:9
[INFO] [stdout]      |
[INFO] [stdout] 1155 |     let name = map.get("name");
[INFO] [stdout]      |         ^^^^ help: if this is intentional, prefix it with an underscore: `_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: `age`
[INFO] [stdout]     --> src/main.rs:1156:9
[INFO] [stdout]      |
[INFO] [stdout] 1156 |     let age = map.get("age");
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_age`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]     --> src/main.rs:1301:9
[INFO] [stdout]      |
[INFO] [stdout] 1301 |     let cache = connect_cache(Some(String::from("localhost")));
[INFO] [stdout]      |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]     --> src/main.rs:1318:13
[INFO] [stdout]      |
[INFO] [stdout] 1318 |         let x = 5;
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `laptop`
[INFO] [stdout]     --> src/main.rs:1507:9
[INFO] [stdout]      |
[INFO] [stdout] 1507 |     let laptop: Brand = Brand::Of("Laptop".to_string(), Rc::clone(&apple));
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_laptop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smartphone`
[INFO] [stdout]     --> src/main.rs:1511:13
[INFO] [stdout]      |
[INFO] [stdout] 1511 |         let smartphone: Brand = Brand::Of("Smartphone".to_string(), Rc::clone(&apple));
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smartphone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Regular` and `Platinum` are never constructed
[INFO] [stdout]    --> src/main.rs:640:5
[INFO] [stdout]     |
[INFO] [stdout] 639 | enum Level {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 640 |     Regular,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 641 |     Premium,
[INFO] [stdout] 642 |     Platinum,
[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 `CanSay` is never used
[INFO] [stdout]    --> src/main.rs:877:7
[INFO] [stdout]     |
[INFO] [stdout] 877 | trait CanSay: CanSayHello + CanSayGoodBye {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NONE` is never constructed
[INFO] [stdout]    --> src/main.rs:917:5
[INFO] [stdout]     |
[INFO] [stdout] 916 | enum Value<T> {
[INFO] [stdout]     |      ----- variant in this enum
[INFO] [stdout] 917 |     NONE,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_name` is never read
[INFO] [stdout]     --> src/main.rs:1358:5
[INFO] [stdout]      |
[INFO] [stdout] 1356 | struct Student<'a, 'b> {
[INFO] [stdout]      |        ------- field in this struct
[INFO] [stdout] 1357 |     name: &'a str,
[INFO] [stdout] 1358 |     last_name: &'b str,
[INFO] [stdout]      |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:1450:8
[INFO] [stdout]      |
[INFO] [stdout] 1450 |     Of(String, Box<ProductCategory>),
[INFO] [stdout]      |     -- ^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     fields in this variant
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ProductCategory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 1450 -     Of(String, Box<ProductCategory>),
[INFO] [stdout] 1450 +     Of((), ()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:1498:8
[INFO] [stdout]      |
[INFO] [stdout] 1498 |     Of(String, Rc<Brand>),
[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] 1498 -     Of(String, Rc<Brand>),
[INFO] [stdout] 1498 +     Of((), ()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_name`, `username`, `email`, and `age` are never read
[INFO] [stdout]  --> src/model.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct User {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 2 |   pub first_name: String,
[INFO] [stdout] 3 |   pub last_name: String,
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 4 |   pub username: String,
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 5 |   pub email: String,
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 6 |   pub age: u8,
[INFO] [stdout]   |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_Box` should have a snake case name
[INFO] [stdout]     --> src/main.rs:1431:4
[INFO] [stdout]      |
[INFO] [stdout] 1431 | fn test_Box() {
[INFO] [stdout]      |    ^^^^^^^^ help: convert the identifier to snake case: `test_box`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1542:24
[INFO] [stdout]      |
[INFO] [stdout] 1542 |         println!("{}", COUNTER);
[INFO] [stdout]      |                        ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "6a8de12c66909eff30d5bc0d1dac07557dd0e3b6e23a85d51d8954f85d8e8e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a8de12c66909eff30d5bc0d1dac07557dd0e3b6e23a85d51d8954f85d8e8e4d", kill_on_drop: false }`
[INFO] [stdout] 6a8de12c66909eff30d5bc0d1dac07557dd0e3b6e23a85d51d8954f85d8e8e4d
