[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] testing pemudakoding/learn-rust against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpemudakoding%2Flearn-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pemudakoding/learn-rust on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94760a73b546518cb1d5556ed7129d5bb7df00004e751e593bc1ffb1827c82e6
[INFO] running `Command { std: "docker" "start" "-a" "94760a73b546518cb1d5556ed7129d5bb7df00004e751e593bc1ffb1827c82e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94760a73b546518cb1d5556ed7129d5bb7df00004e751e593bc1ffb1827c82e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94760a73b546518cb1d5556ed7129d5bb7df00004e751e593bc1ffb1827c82e6", kill_on_drop: false }`
[INFO] [stdout] 94760a73b546518cb1d5556ed7129d5bb7df00004e751e593bc1ffb1827c82e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 726cbcdd6d224456864f3ac2557cb59f1795b05684653984497ca21133245578
[INFO] running `Command { std: "docker" "start" "-a" "726cbcdd6d224456864f3ac2557cb59f1795b05684653984497ca21133245578", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "726cbcdd6d224456864f3ac2557cb59f1795b05684653984497ca21133245578", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "726cbcdd6d224456864f3ac2557cb59f1795b05684653984497ca21133245578", kill_on_drop: false }`
[INFO] [stdout] 726cbcdd6d224456864f3ac2557cb59f1795b05684653984497ca21133245578
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f5942adcc2b8e6caf6aa05e25722c51fa0066c53c6ca626d9420af26a2b4b5e
[INFO] running `Command { std: "docker" "start" "-a" "3f5942adcc2b8e6caf6aa05e25722c51fa0066c53c6ca626d9420af26a2b4b5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s
[INFO] running `Command { std: "docker" "inspect" "3f5942adcc2b8e6caf6aa05e25722c51fa0066c53c6ca626d9420af26a2b4b5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f5942adcc2b8e6caf6aa05e25722c51fa0066c53c6ca626d9420af26a2b4b5e", kill_on_drop: false }`
[INFO] [stdout] 3f5942adcc2b8e6caf6aa05e25722c51fa0066c53c6ca626d9420af26a2b4b5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 27039a7ef0235bc87be772ab475df35d33f6e8e352c6e6d72792984711a65fdc
[INFO] running `Command { std: "docker" "start" "-a" "27039a7ef0235bc87be772ab475df35d33f6e8e352c6e6d72792984711a65fdc", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `collections::btree_map::Range`, `fmt::format`, and `ops::Not`
[INFO] [stderr]  --> src/main.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::btree_map::Range, fmt::format, ops::Not};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]     --> src/main.rs:1155:9
[INFO] [stderr]      |
[INFO] [stderr] 1155 |     let name = map.get("name");
[INFO] [stderr]      |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `age`
[INFO] [stderr]     --> src/main.rs:1156:9
[INFO] [stderr]      |
[INFO] [stderr] 1156 |     let age = map.get("age");
[INFO] [stderr]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_age`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cache`
[INFO] [stderr]     --> src/main.rs:1301:9
[INFO] [stderr]      |
[INFO] [stderr] 1301 |     let cache = connect_cache(Some(String::from("localhost")));
[INFO] [stderr]      |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]     --> src/main.rs:1318:13
[INFO] [stderr]      |
[INFO] [stderr] 1318 |         let x = 5;
[INFO] [stderr]      |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `laptop`
[INFO] [stderr]     --> src/main.rs:1507:9
[INFO] [stderr]      |
[INFO] [stderr] 1507 |     let laptop: Brand = Brand::Of("Laptop".to_string(), Rc::clone(&apple));
[INFO] [stderr]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_laptop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `smartphone`
[INFO] [stderr]     --> src/main.rs:1511:13
[INFO] [stderr]      |
[INFO] [stderr] 1511 |         let smartphone: Brand = Brand::Of("Smartphone".to_string(), Rc::clone(&apple));
[INFO] [stderr]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smartphone`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Regular` and `Platinum` are never constructed
[INFO] [stderr]    --> src/main.rs:640:5
[INFO] [stderr]     |
[INFO] [stderr] 639 | enum Level {
[INFO] [stderr]     |      ----- variants in this enum
[INFO] [stderr] 640 |     Regular,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 641 |     Premium,
[INFO] [stderr] 642 |     Platinum,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CanSay` is never used
[INFO] [stderr]    --> src/main.rs:877:7
[INFO] [stderr]     |
[INFO] [stderr] 877 | trait CanSay: CanSayHello + CanSayGoodBye {
[INFO] [stderr]     |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `NONE` is never constructed
[INFO] [stderr]    --> src/main.rs:917:5
[INFO] [stderr]     |
[INFO] [stderr] 916 | enum Value<T> {
[INFO] [stderr]     |      ----- variant in this enum
[INFO] [stderr] 917 |     NONE,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `last_name` is never read
[INFO] [stderr]     --> src/main.rs:1358:5
[INFO] [stderr]      |
[INFO] [stderr] 1356 | struct Student<'a, 'b> {
[INFO] [stderr]      |        ------- field in this struct
[INFO] [stderr] 1357 |     name: &'a str,
[INFO] [stderr] 1358 |     last_name: &'b str,
[INFO] [stderr]      |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]     --> src/main.rs:1450:8
[INFO] [stderr]      |
[INFO] [stderr] 1450 |     Of(String, Box<ProductCategory>),
[INFO] [stderr]      |     -- ^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |     |
[INFO] [stderr]      |     fields in this variant
[INFO] [stderr]      |
[INFO] [stderr]      = note: `ProductCategory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]      |
[INFO] [stderr] 1450 -     Of(String, Box<ProductCategory>),
[INFO] [stderr] 1450 +     Of((), ()),
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]     --> src/main.rs:1498:8
[INFO] [stderr]      |
[INFO] [stderr] 1498 |     Of(String, Rc<Brand>),
[INFO] [stderr]      |     -- ^^^^^^  ^^^^^^^^^
[INFO] [stderr]      |     |
[INFO] [stderr]      |     fields in this variant
[INFO] [stderr]      |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]      |
[INFO] [stderr] 1498 -     Of(String, Rc<Brand>),
[INFO] [stderr] 1498 +     Of((), ()),
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: fields `last_name`, `username`, `email`, and `age` are never read
[INFO] [stderr]  --> src/model.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub struct User {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 2 |   pub first_name: String,
[INFO] [stderr] 3 |   pub last_name: String,
[INFO] [stderr]   |       ^^^^^^^^^
[INFO] [stderr] 4 |   pub username: String,
[INFO] [stderr]   |       ^^^^^^^^
[INFO] [stderr] 5 |   pub email: String,
[INFO] [stderr]   |       ^^^^^
[INFO] [stderr] 6 |   pub age: u8,
[INFO] [stderr]   |       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_Box` should have a snake case name
[INFO] [stderr]     --> src/main.rs:1431:4
[INFO] [stderr]      |
[INFO] [stderr] 1431 | fn test_Box() {
[INFO] [stderr]      |    ^^^^^^^^ help: convert the identifier to snake case: `test_box`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]     --> src/main.rs:1542:24
[INFO] [stderr]      |
[INFO] [stderr] 1542 |         println!("{}", COUNTER);
[INFO] [stderr]      |                        ^^^^^^^ shared reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = 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] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `belajar-rust` (bin "belajar-rust" test) generated 16 warnings (run `cargo fix --bin "belajar-rust" -p belajar-rust --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/belajar_rust-e80a6491b35824f6)
[INFO] [stdout] 
[INFO] [stdout] running 97 tests
[INFO] [stdout] test array ... ok
[INFO] [stdout] test array_iteration ... ok
[INFO] [stdout] test clone ... ok
[INFO] [stdout] test constant ... ok
[INFO] [stdout] test data_copy ... ok
[INFO] [stdout] test destructuring_tuple ... ok
[INFO] [stdout] test for_loop ... ok
[INFO] [stdout] test augmented_assignment ... ok
[INFO] [stdout] test char_type ... ok
[INFO] [stdout] test accessing_array ... ok
[INFO] [stdout] test explicit ... ok
[INFO] [stdout] test count_array_length ... ok
[INFO] [stdout] test accessing_tuple ... ok
[INFO] [stdout] test hello_test ... ok
[INFO] [stdout] test loop_expression ... ok
[INFO] [stdout] test loop_return_value ... ok
[INFO] [stdout] test loop_label ... ok
[INFO] [stdout] test mutable_table ... ok
[INFO] [stdout] test static_typing ... ok
[INFO] [stdout] test mutable_array ... ok
[INFO] [stdout] test number_conversion ... ok
[INFO] [stdout] test ownership_rules ... ok
[INFO] [stdout] test ownership_movement ... ok
[INFO] [stdout] test shadowing ... ok
[INFO] [stdout] test stack_heap ... ok
[INFO] [stdout] test string_slice ... ok
[INFO] [stdout] test range ... ok
[INFO] [stdout] test slice_reference ... ok
[INFO] [stdout] test number ... ok
[INFO] [stdout] test string_type ... ok
[INFO] [stdout] test test_Box ... ok
[INFO] [stdout] test test_application_error ... ok
[INFO] [stdout] test test_box_enum ... ok
[INFO] [stdout] test test_btree_set ... ok
[INFO] [stdout] test test_btree_map ... ok
[INFO] [stdout] test test_change_value ... ok
[INFO] [stdout] test test_closure_as_parameter ... ok
[INFO] [stdout] test test_closure ... ok
[INFO] [stdout] test test_dangling_reference ... ok
[INFO] [stdout] test test_drop_book ... ok
[INFO] [stdout] test test_compare ... ok
[INFO] [stdout] test test_full_name ... ok
[INFO] [stdout] test test_customer ... ok
[INFO] [stdout] test test_enum ... ok
[INFO] [stdout] test test_factorial_loop ... ok
[INFO] [stdout] test test_dereference ... ok
[INFO] [stdout] test test_format ... ok
[INFO] [stdout] test test_function_as_closure ... ok
[INFO] [stdout] test test_generic_bound ... ok
[INFO] [stdout] test test_generic_enum ... ok
[INFO] [stdout] test test_generic_method ... ok
[INFO] [stdout] test test_generic_struct ... ok
[INFO] [stdout] test test_hash_map ... ok
[INFO] [stdout] test test_iterator_method ... ok
[INFO] [stdout] test test_iterator ... ok
[INFO] [stdout] test test_lifetime_annotation ... ok
[INFO] [stdout] test test_macro ... ok
[INFO] [stdout] test test_match_value ... ok
[INFO] [stdout] test test_lifetime_annotation_dangling_reference ... ok
[INFO] [stdout] test test_method ... ok
[INFO] [stdout] test test_match_expression ... ok
[INFO] [stdout] test test_module ... ok
[INFO] [stdout] test test_method_new ... ok
[INFO] [stdout] test test_hash_set ... ok
[INFO] [stdout] test test_operator_add ... ok
[INFO] [stdout] test test_recoverable_error ... ok
[INFO] [stdout] test test_option ... ok
[INFO] [stdout] test test_return_trait ... ok
[INFO] [stdout] test test_panic ... ok
[INFO] [stdout] test test_payment ... ok
[INFO] [stdout] test test_static ... ok
[INFO] [stdout] test test_range_pattern ... ok
[INFO] [stdout] test test_say_goodbye ... ok
[INFO] [stdout] test test_struct_patterns ... ok
[INFO] [stdout] test test_say_hello ... ok
[INFO] [stdout] test test_student ... ok
[INFO] [stdout] test test_trait ... ok
[INFO] [stdout] test test_nothing ... ok
[INFO] [stdout] test test_vec_linked_list ... ok
[INFO] [stdout] test test_multiple_ownership ... ok
[INFO] [stdout] test test_unsafe ... ok
[INFO] [stdout] test test_vector ... ok
[INFO] [stdout] test test_use ... ok
[INFO] [stdout] test test_unit ... ok
[INFO] [stdout] test test_variable ... ok
[INFO] [stdout] test test_variable_mut ... ok
[INFO] [stdout] test test_vec_deque ... ok
[INFO] [stdout] test tuple_struct ... ok
[INFO] [stdout] test two_dimensional_array ... ok
[INFO] [stdout] test while_loop ... ok
[INFO] [stdout] test tuple ... ok
[INFO] [stdout] test struct_person ... ok
[INFO] [stdout] test if_expression ... ok
[INFO] [stdout] test range_inclusive ... ok
[INFO] [stdout] test string ... ok
[INFO] [stdout] test test_generic_function ... ok
[INFO] [stdout] test test_attribute_derive ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 97 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "27039a7ef0235bc87be772ab475df35d33f6e8e352c6e6d72792984711a65fdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27039a7ef0235bc87be772ab475df35d33f6e8e352c6e6d72792984711a65fdc", kill_on_drop: false }`
[INFO] [stdout] 27039a7ef0235bc87be772ab475df35d33f6e8e352c6e6d72792984711a65fdc
