[INFO] cloning repository https://github.com/Dipzz-newbie/Learning-basic-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dipzz-newbie/Learning-basic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipzz-newbie%2FLearning-basic-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipzz-newbie%2FLearning-basic-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 354f10d9f7e01b16259de0fcd3489dc55b00402c
[INFO] testing Dipzz-newbie/Learning-basic-rust against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDipzz-newbie%2FLearning-basic-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dipzz-newbie/Learning-basic-rust
[INFO] finished tweaking git repo https://github.com/Dipzz-newbie/Learning-basic-rust
[INFO] tweaked toml for git repo https://github.com/Dipzz-newbie/Learning-basic-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dipzz-newbie/Learning-basic-rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dipzz-newbie/Learning-basic-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e0fb29662a966a54afab6dab74dcbbee3f2c05a4f6f083759452d2072e50419
[INFO] running `Command { std: "docker" "start" "-a" "9e0fb29662a966a54afab6dab74dcbbee3f2c05a4f6f083759452d2072e50419", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e0fb29662a966a54afab6dab74dcbbee3f2c05a4f6f083759452d2072e50419", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e0fb29662a966a54afab6dab74dcbbee3f2c05a4f6f083759452d2072e50419", kill_on_drop: false }`
[INFO] [stdout] 9e0fb29662a966a54afab6dab74dcbbee3f2c05a4f6f083759452d2072e50419
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 920520da997c8c254d7244648456e7e2962ef1dd3e8938497205f0cd08be25bd
[INFO] running `Command { std: "docker" "start" "-a" "920520da997c8c254d7244648456e7e2962ef1dd3e8938497205f0cd08be25bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling belajar-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `LinkedList`, `VecDeque`, and `string`
[INFO] [stdout]  --> src/main.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::{LinkedList, VecDeque}, string};
[INFO] [stdout]   |                         ^^^^^^^^^^  ^^^^^^^^   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::User`
[INFO] [stdout]    --> src/main.rs:977:5
[INFO] [stdout]     |
[INFO] [stdout] 977 | use model::User; // menggunakan struct User dari module model
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `first::say_hello`
[INFO] [stdout]    --> src/main.rs:999:5
[INFO] [stdout]     |
[INFO] [stdout] 999 | use first::say_hello; // menggunakan fungsi say_hello dari module first
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `second::say_hello as say_hello_second`
[INFO] [stdout]     --> src/main.rs:1000:5
[INFO] [stdout]      |
[INFO] [stdout] 1000 | use second::say_hello as say_hello_second; // menggunakan fungsi say_hello dari module second dengan alias say_hello_second
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]     --> src/main.rs:1551:5
[INFO] [stdout]      |
[INFO] [stdout] 1551 | use std::collections::HashMap;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]     --> src/main.rs:1566:5
[INFO] [stdout]      |
[INFO] [stdout] 1566 | use std::collections::BTreeMap;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]     --> src/main.rs:1581:5
[INFO] [stdout]      |
[INFO] [stdout] 1581 | use std::collections::HashSet;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeSet`
[INFO] [stdout]     --> src/main.rs:1599:5
[INFO] [stdout]      |
[INFO] [stdout] 1599 | use std::collections::BTreeSet;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `hi`
[INFO] [stdout]     --> src/main.rs:2133:14
[INFO] [stdout]      |
[INFO] [stdout] 2133 | macro_rules! hi {
[INFO] [stdout]      |              ^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `iterate`
[INFO] [stdout]     --> src/main.rs:2156:14
[INFO] [stdout]      |
[INFO] [stdout] 2156 | macro_rules! iterate {
[INFO] [stdout]      |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MINIMAL` is never used
[INFO] [stdout]    --> src/main.rs:172:7
[INFO] [stdout]     |
[INFO] [stdout] 172 | const MINIMAL:i32 = 100;
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `names` is never used
[INFO] [stdout]    --> src/main.rs:474:4
[INFO] [stdout]     |
[INFO] [stdout] 474 | fn names(firstname: &str, lastname:&str) {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_loop` is never used
[INFO] [stdout]    --> src/main.rs:486:4
[INFO] [stdout]     |
[INFO] [stdout] 486 | fn factorial_loop(n: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recurvise` is never used
[INFO] [stdout]    --> src/main.rs:504:4
[INFO] [stdout]     |
[INFO] [stdout] 504 | fn recurvise(value: String, times:u32) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_recur` is never used
[INFO] [stdout]    --> src/main.rs:521:4
[INFO] [stdout]     |
[INFO] [stdout] 521 | fn factorial_recur(n: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `full_name` is never used
[INFO] [stdout]    --> src/main.rs:536:4
[INFO] [stdout]     |
[INFO] [stdout] 536 | fn full_name(first_name: String, last_name: String) -> (String, String, String) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `full_name_ref` is never used
[INFO] [stdout]    --> src/main.rs:558:4
[INFO] [stdout]     |
[INFO] [stdout] 558 | fn full_name_ref(first_name: &String, last_name: &String) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value_brow` is never used
[INFO] [stdout]    --> src/main.rs:581:4
[INFO] [stdout]     |
[INFO] [stdout] 581 | fn value_brow(value: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `full_name_dng` is never used
[INFO] [stdout]    --> src/main.rs:601:4
[INFO] [stdout]     |
[INFO] [stdout] 601 | fn full_name_dng(first_name: &String, last_name: &String) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]    --> src/main.rs:641:8
[INFO] [stdout]     |
[INFO] [stdout] 641 | struct Person {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_person` is never used
[INFO] [stdout]    --> src/main.rs:652:4
[INFO] [stdout]     |
[INFO] [stdout] 652 | fn print_person(person: &Person) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoPoint` is never constructed
[INFO] [stdout]    --> src/main.rs:699:8
[INFO] [stdout]     |
[INFO] [stdout] 699 | struct GeoPoint(f64, f64); // struct tuple
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Nothing` is never constructed
[INFO] [stdout]    --> src/main.rs:707:8
[INFO] [stdout]     |
[INFO] [stdout] 707 | struct Nothing;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hello` is never used
[INFO] [stdout]    --> src/main.rs:722:8
[INFO] [stdout]     |
[INFO] [stdout] 718 | impl Person {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 722 |     fn say_hello(&self, name: &str) { // &self adalah reference dari struct itu sendiri
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:744:8
[INFO] [stdout]     |
[INFO] [stdout] 742 | impl GeoPoint { // harus memilik nilai struct apabila ingin membuat method
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 743 |     // associated function adalah fungsi yang dimiliki oleh tipe data tertentu
[INFO] [stdout] 744 |     fn new(lat: f64, long: f64) -> GeoPoint {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Level` is never used
[INFO] [stdout]    --> src/main.rs:756:6
[INFO] [stdout]     |
[INFO] [stdout] 756 | enum Level {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Payment` is never used
[INFO] [stdout]    --> src/main.rs:772:6
[INFO] [stdout]     |
[INFO] [stdout] 772 | enum Payment{
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pay` is never used
[INFO] [stdout]    --> src/main.rs:783:8
[INFO] [stdout]     |
[INFO] [stdout] 782 | impl Payment {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 783 |     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:935:6
[INFO] [stdout]     |
[INFO] [stdout] 935 | type Age = u8; // membuat alias tipe data age sebagai u8
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `IdentityNumber` is never used
[INFO] [stdout]    --> src/main.rs:936:6
[INFO] [stdout]     |
[INFO] [stdout] 936 | type IdentityNumber = String; // membuat alias tipe data IdentityCard sebagai String
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Employee` is never constructed
[INFO] [stdout]    --> src/main.rs:938:8
[INFO] [stdout]     |
[INFO] [stdout] 938 | struct Employee {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayHello` is never used
[INFO] [stdout]     --> src/main.rs:1019:7
[INFO] [stdout]      |
[INFO] [stdout] 1019 | trait CanSayHello {
[INFO] [stdout]      |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayGoodBye` is never used
[INFO] [stdout]     --> src/main.rs:1025:7
[INFO] [stdout]      |
[INFO] [stdout] 1025 | trait CanSayGoodBye {
[INFO] [stdout]      |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello_trait` is never used
[INFO] [stdout]     --> src/main.rs:1054:4
[INFO] [stdout]      |
[INFO] [stdout] 1054 | fn say_hello_trait(value: &impl CanSayHello) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_and_goodbye` is never used
[INFO] [stdout]     --> src/main.rs:1059:4
[INFO] [stdout]      |
[INFO] [stdout] 1059 | fn hello_and_goodbye(value: &(impl CanSayHello + CanSayGoodBye)) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimplePerson` is never constructed
[INFO] [stdout]     --> src/main.rs:1098:8
[INFO] [stdout]      |
[INFO] [stdout] 1098 | struct SimplePerson {
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_person` is never used
[INFO] [stdout]     --> src/main.rs:1111:4
[INFO] [stdout]      |
[INFO] [stdout] 1111 | fn create_person() -> impl CanSayGoodBye {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSay` is never used
[INFO] [stdout]     --> src/main.rs:1124:7
[INFO] [stdout]      |
[INFO] [stdout] 1124 | trait CanSay: CanSayHello + CanSayGoodBye {
[INFO] [stdout]      |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMan` is never constructed
[INFO] [stdout]     --> src/main.rs:1131:8
[INFO] [stdout]      |
[INFO] [stdout] 1131 | struct SimpleMan {
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createuser` is never used
[INFO] [stdout]     --> src/main.rs:1166:4
[INFO] [stdout]      |
[INFO] [stdout] 1166 | fn createuser() -> impl CanSay{
[INFO] [stdout]      |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]     --> src/main.rs:1183:8
[INFO] [stdout]      |
[INFO] [stdout] 1183 | struct Point<T = i32> { // default data generic nya i32 bila tidak di sebut kan type datanya
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Value` is never used
[INFO] [stdout]     --> src/main.rs:1198:6
[INFO] [stdout]      |
[INFO] [stdout] 1198 | enum Value<T> {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hi` is never constructed
[INFO] [stdout]     --> src/main.rs:1220:8
[INFO] [stdout]      |
[INFO] [stdout] 1220 | struct Hi<T =SimpleMan> where T: CanSayHello { // menggunakan nilai default dengan type data dari SimpleMan Ketika type data nya tidak di...
[INFO] [stdout]      |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min` is never used
[INFO] [stdout]     --> src/main.rs:1236:4
[INFO] [stdout]      |
[INFO] [stdout] 1236 | fn min<T>(value1: T, value2: T) -> T where T:PartialOrd {
[INFO] [stdout]      |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_x` and `get_y` are never used
[INFO] [stdout]     --> src/main.rs:1252:8
[INFO] [stdout]      |
[INFO] [stdout] 1251 | impl<T> Point<T> {
[INFO] [stdout]      | ---------------- methods in this implementation
[INFO] [stdout] 1252 |     fn get_x(&self) -> &T {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1255 |     fn get_y(&self) -> &T {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `GetValue` is never used
[INFO] [stdout]     --> src/main.rs:1271:7
[INFO] [stdout]      |
[INFO] [stdout] 1271 | trait GetValue<T> where T: PartialOrd { // menggunakan where clause 
[INFO] [stdout]      |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double` is never used
[INFO] [stdout]     --> src/main.rs:1328:4
[INFO] [stdout]      |
[INFO] [stdout] 1328 | 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:1400:8
[INFO] [stdout]      |
[INFO] [stdout] 1400 | struct Category {
[INFO] [stdout]      |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_with_filter` is never used
[INFO] [stdout]     --> src/main.rs:1437:4
[INFO] [stdout]      |
[INFO] [stdout] 1437 | 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:1452:4
[INFO] [stdout]      |
[INFO] [stdout] 1452 | fn to_uppercase(value: String) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]     --> src/main.rs:1484:8
[INFO] [stdout]      |
[INFO] [stdout] 1484 | struct Counter {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `increment` is never used
[INFO] [stdout]     --> src/main.rs:1489:8
[INFO] [stdout]      |
[INFO] [stdout] 1488 | impl Counter {
[INFO] [stdout]      | ------------ method in this implementation
[INFO] [stdout] 1489 |     fn increment(&mut self) {
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_connect_database` is never used
[INFO] [stdout]     --> src/main.rs:1655:4
[INFO] [stdout]      |
[INFO] [stdout] 1655 | fn try_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:1676:4
[INFO] [stdout]      |
[INFO] [stdout] 1676 | 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:1687:4
[INFO] [stdout]      |
[INFO] [stdout] 1687 | fn connect_email(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_application_simple` is never used
[INFO] [stdout]     --> src/main.rs:1747:4
[INFO] [stdout]      |
[INFO] [stdout] 1747 | fn connect_application_simple(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:1794:4
[INFO] [stdout]      |
[INFO] [stdout] 1794 | fn longest<'a>(value1: &'a str, value2: &'a str) -> &'a str { // lifetime anotation biasanya ditulis dengan tanda petik (') diikuti denga...
[INFO] [stdout]      |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Student` is never constructed
[INFO] [stdout]     --> src/main.rs:1814:8
[INFO] [stdout]      |
[INFO] [stdout] 1814 | struct Student<'a> {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `longest_name` is never used
[INFO] [stdout]     --> src/main.rs:1823:8
[INFO] [stdout]      |
[INFO] [stdout] 1822 | impl<'a> Student<'a> {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] 1823 |     fn longest_name(&self, student: &'a Student) -> &'a str {
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct_annotation` is never used
[INFO] [stdout]     --> src/main.rs:1838:4
[INFO] [stdout]      |
[INFO] [stdout] 1838 | fn struct_annotation<'a> (student1: &'a Student, student2: &'a Student) -> &'a str {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Teacher` is never constructed
[INFO] [stdout]     --> src/main.rs:1870:8
[INFO] [stdout]      |
[INFO] [stdout] 1870 | struct Teacher<'a, ID> where ID: Ord {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]     --> src/main.rs:1890:8
[INFO] [stdout]      |
[INFO] [stdout] 1890 | struct Company {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func` is never used
[INFO] [stdout]     --> src/main.rs:1926:4
[INFO] [stdout]      |
[INFO] [stdout] 1926 | fn func(value: i32){
[INFO] [stdout]      |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ProductCatergory` is never used
[INFO] [stdout]     --> src/main.rs:1931:6
[INFO] [stdout]      |
[INFO] [stdout] 1931 | enum ProductCatergory {
[INFO] [stdout]      |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_box_recursive` is never used
[INFO] [stdout]     --> src/main.rs:1977:4
[INFO] [stdout]      |
[INFO] [stdout] 1977 | fn test_box_recursive(value: &ProductCatergory) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyValue` is never constructed
[INFO] [stdout]     --> src/main.rs:1995:8
[INFO] [stdout]      |
[INFO] [stdout] 1995 | struct MyValue<T> {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello_ref` is never used
[INFO] [stdout]     --> src/main.rs:2014:4
[INFO] [stdout]      |
[INFO] [stdout] 2014 | fn say_hello_ref(isi: &str) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]     --> src/main.rs:2026:8
[INFO] [stdout]      |
[INFO] [stdout] 2026 | struct Book {
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Brand` is never used
[INFO] [stdout]     --> src/main.rs:2052:6
[INFO] [stdout]      |
[INFO] [stdout] 2052 | enum Brand {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Seller` is never constructed
[INFO] [stdout]     --> src/main.rs:2080:8
[INFO] [stdout]      |
[INFO] [stdout] 2080 | struct Seller {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MYAPLICATION` is never used
[INFO] [stdout]     --> src/main.rs:2100:8
[INFO] [stdout]      |
[INFO] [stdout] 2100 | static MYAPLICATION: &str = "My Application"; // static variable adalah variabel yang memiliki masa hidup selama program berjalan
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `VALUE` is never used
[INFO] [stdout]     --> src/main.rs:2108:12
[INFO] [stdout]      |
[INFO] [stdout] 2108 | static mut VALUE:u32 = 0;
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increment` is never used
[INFO] [stdout]     --> src/main.rs:2110:4
[INFO] [stdout]      |
[INFO] [stdout] 2110 | fn increment() {
[INFO] [stdout]      |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/main.rs:961:16
[INFO] [stdout]     |
[INFO] [stdout] 961 |     pub struct User {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hello` is never used
[INFO] [stdout]    --> src/main.rs:970:16
[INFO] [stdout]     |
[INFO] [stdout] 969 |     impl User {
[INFO] [stdout]     |     --------- method in this implementation
[INFO] [stdout] 970 |         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/first.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/first.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |         pub fn say_hello() {
[INFO] [stdout]   |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/second.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello` is never used
[INFO] [stdout]  --> src/third.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn say_hello() {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "920520da997c8c254d7244648456e7e2962ef1dd3e8938497205f0cd08be25bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "920520da997c8c254d7244648456e7e2962ef1dd3e8938497205f0cd08be25bd", kill_on_drop: false }`
[INFO] [stdout] 920520da997c8c254d7244648456e7e2962ef1dd3e8938497205f0cd08be25bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24b48fa583af2f62643b028d77374b4f7478dbaed76d1eca04fa6f41774253f9
[INFO] running `Command { std: "docker" "start" "-a" "24b48fa583af2f62643b028d77374b4f7478dbaed76d1eca04fa6f41774253f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling belajar-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `laptop`
[INFO] [stdout]     --> src/main.rs:2061:9
[INFO] [stdout]      |
[INFO] [stdout] 2061 |     let laptop = Rc::new(Brand::Of("Laptop".to_string(), Rc::clone(&apple))); // menggunakan Rc::clone untuk membuat kepemilikan yang dap...
[INFO] [stdout]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_laptop`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phone`
[INFO] [stdout]     --> src/main.rs:2066:13
[INFO] [stdout]      |
[INFO] [stdout] 2066 | ...   let phone = Rc::new(Brand::Of("Smartphone".to_string(), Rc::clone(&apple))); // menggunakan Rc::clone untuk membuat kepemilikan yan...
[INFO] [stdout]      |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:1932:8
[INFO] [stdout]      |
[INFO] [stdout] 1932 |     Of(String, Box<ProductCatergory>), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stdout]      |     -- ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     fields in this variant
[INFO] [stdout]      |
[INFO] [stdout]      = note: `ProductCatergory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[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] 1932 -     Of(String, Box<ProductCatergory>), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stdout] 1932 +     Of((), ()), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:2053:8
[INFO] [stdout]      |
[INFO] [stdout] 2053 |     Of(String, Rc<Brand>), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[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] 2053 -     Of(String, Rc<Brand>), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[INFO] [stdout] 2053 +     Of((), ()), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]     --> src/main.rs:2082:5
[INFO] [stdout]      |
[INFO] [stdout] 2080 | struct Seller {
[INFO] [stdout]      |        ------ field in this struct
[INFO] [stdout] 2081 |     nama: RefCell<String>,
[INFO] [stdout] 2082 |     active: RefCell<bool>
[INFO] [stdout]      |     ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `Seller` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.87s
[INFO] running `Command { std: "docker" "inspect" "24b48fa583af2f62643b028d77374b4f7478dbaed76d1eca04fa6f41774253f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24b48fa583af2f62643b028d77374b4f7478dbaed76d1eca04fa6f41774253f9", kill_on_drop: false }`
[INFO] [stdout] 24b48fa583af2f62643b028d77374b4f7478dbaed76d1eca04fa6f41774253f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 30e866755fa7b3221473ecb93050fb33806b367fa71f2153a53ae823dbc9b0ce
[INFO] running `Command { std: "docker" "start" "-a" "30e866755fa7b3221473ecb93050fb33806b367fa71f2153a53ae823dbc9b0ce", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `laptop`
[INFO] [stderr]     --> src/main.rs:2061:9
[INFO] [stderr]      |
[INFO] [stderr] 2061 |     let laptop = Rc::new(Brand::Of("Laptop".to_string(), Rc::clone(&apple))); // menggunakan Rc::clone untuk membuat kepemilikan yang dap...
[INFO] [stderr]      |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_laptop`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `phone`
[INFO] [stderr]     --> src/main.rs:2066:13
[INFO] [stderr]      |
[INFO] [stderr] 2066 | ...   let phone = Rc::new(Brand::Of("Smartphone".to_string(), Rc::clone(&apple))); // menggunakan Rc::clone untuk membuat kepemilikan yan...
[INFO] [stderr]      |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_phone`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]     --> src/main.rs:1932:8
[INFO] [stderr]      |
[INFO] [stderr] 1932 |     Of(String, Box<ProductCatergory>), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stderr]      |     -- ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |     |
[INFO] [stderr]      |     fields in this variant
[INFO] [stderr]      |
[INFO] [stderr]      = note: `ProductCatergory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]      = note: `#[warn(dead_code)]` on by default
[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] 1932 -     Of(String, Box<ProductCatergory>), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stderr] 1932 +     Of((), ()), // menggunakan box untuk menyimpan nilai enum secara rekursif
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]     --> src/main.rs:2053:8
[INFO] [stderr]      |
[INFO] [stderr] 2053 |     Of(String, Rc<Brand>), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[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] 2053 -     Of(String, Rc<Brand>), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[INFO] [stderr] 2053 +     Of((), ()), // menggunakan Rc untuk menyimpan nilai enum secara rekursif
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: field `active` is never read
[INFO] [stderr]     --> src/main.rs:2082:5
[INFO] [stderr]      |
[INFO] [stderr] 2080 | struct Seller {
[INFO] [stderr]      |        ------ field in this struct
[INFO] [stderr] 2081 |     nama: RefCell<String>,
[INFO] [stderr] 2082 |     active: RefCell<bool>
[INFO] [stderr]      |     ^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `Seller` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `belajar-rust` (bin "belajar-rust" test) generated 5 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/belajar_rust-ece71b3e86a88d54)
[INFO] [stdout] 
[INFO] [stdout] running 102 tests
[INFO] [stdout] test _test_name ... ok
[INFO] [stdout] test compared_real ... ok
[INFO] [stdout] test _test_namedng ... ok
[INFO] [stdout] test array ... ok
[INFO] [stdout] test clone ... ok
[INFO] [stdout] test change_value ... ok
[INFO] [stdout] test compared ... ok
[INFO] [stdout] test constant ... ok
[INFO] [stdout] test factorial_test ... ok
[INFO] [stdout] test for_loop ... ok
[INFO] [stdout] test function_a ... ok
[INFO] [stdout] test method ... ok
[INFO] [stdout] test name_call ... ok
[INFO] [stdout] test person_shorthand ... ok
[INFO] [stdout] test ownership ... ok
[INFO] [stdout] test function_b ... ok
[INFO] [stdout] test range_ite ... ok
[INFO] [stdout] test fungsi_test ... ok
[INFO] [stdout] test range_inc ... ok
[INFO] [stdout] test dereference_test_new ... ok
[INFO] [stdout] test perulangan ... ok
[INFO] [stdout] test recurvise_test ... ok
[INFO] [stdout] test slice_array ... ok
[INFO] [stdout] test string_slice ... ok
[INFO] [stdout] test struct_var ... ok
[INFO] [stdout] test test_attribute_derive ... ok
[INFO] [stdout] test test_box ... ok
[INFO] [stdout] test test_box_enum ... ok
[INFO] [stdout] test test_btreeset ... ok
[INFO] [stdout] test test_btreemap ... ok
[INFO] [stdout] test test_compare ... ok
[INFO] [stdout] test test_connect_application ... ok
[INFO] [stdout] test test_closure ... ok
[INFO] [stdout] test test_connect_cache ... ok
[INFO] [stdout] test test_dereference ... ok
[INFO] [stdout] test test_closure_with_struct ... ok
[INFO] [stdout] test test_dereference_ref ... ok
[INFO] [stdout] test factorial_recur_test ... ok
[INFO] [stdout] test test_desc_struct ... ok
[INFO] [stdout] test test_drop ... ok
[INFO] [stdout] test test_dangling_operation ... ok
[INFO] [stdout] test test_enum ... ok
[INFO] [stdout] test test_closure_scope ... ok
[INFO] [stdout] test test_formating_debug ... ok
[INFO] [stdout] test test_function_enum ... ok
[INFO] [stdout] test test_generic_enum ... ok
[INFO] [stdout] test test_generic_struct_with_enum ... ok
[INFO] [stdout] test iteration_while ... ok
[INFO] [stdout] test test_generic_struct ... ok
[INFO] [stdout] test if_express ... ok
[INFO] [stdout] test test_hashmap ... ok
[INFO] [stdout] test test_iterator ... ok
[INFO] [stdout] test test_hashset ... ok
[INFO] [stdout] test test_impl_trait ... ok
[INFO] [stdout] test test_iterator_method ... ok
[INFO] [stdout] test test_filter ... ok
[INFO] [stdout] test test_linkedlist ... ok
[INFO] [stdout] test test_lifetime ... ok
[INFO] [stdout] test test_match_desc ... ok
[INFO] [stdout] test test_have_function ... ok
[INFO] [stdout] test name ... ok
[INFO] [stdout] test test_if_generic ... ok
[INFO] [stdout] test test_match_desc_ignore ... ok
[INFO] [stdout] test stack_heap ... ok
[INFO] [stdout] test test_match_range ... ok
[INFO] [stdout] test test_module ... ok
[INFO] [stdout] test test_method ... ok
[INFO] [stdout] test test_multiple_ownership ... ok
[INFO] [stdout] test test_module_call ... ok
[INFO] [stdout] test test_new_kordinator ... ok
[INFO] [stdout] test test_name ... ok
[INFO] [stdout] test test_operation ... ok
[INFO] [stdout] test test_operation_min ... ok
[INFO] [stdout] test test_option ... ok
[INFO] [stdout] test test_pattern_match ... ok
[INFO] [stdout] test test_pattern_matching ... ok
[INFO] [stdout] test test_reffcell ... ok
[INFO] [stdout] test test_point ... ok
[INFO] [stdout] test test_repitition_macro ... ok
[INFO] [stdout] test test_static_variable ... ok
[INFO] [stdout] test test_static_variable_unsafe ... ok
[INFO] [stdout] test test_string_manipulation ... ok
[INFO] [stdout] test test_struct_annotation ... ok
[INFO] [stdout] test test_struct_annotation_generic_structur ... ok
[INFO] [stdout] test test_trait ... ok
[INFO] [stdout] test test_type_alias ... ok
[INFO] [stdout] test test_unit ... ok
[INFO] [stdout] test test_var_match ... ok
[INFO] [stdout] test test_use ... ok
[INFO] [stdout] test test_vecdeque ... ok
[INFO] [stdout] test test_vector ... ok
[INFO] [stdout] test tuple_desc ... ok
[INFO] [stdout] test tuple ... ok
[INFO] [stdout] test tuple_struct ... ok
[INFO] [stdout] test unit ... ok
[INFO] [stdout] test two_demiensional_array ... ok
[INFO] [stdout] test unit_struct ... ok
[INFO] [stdout] test variable_scope ... ok
[INFO] [stdout] test whileloop ... ok
[INFO] [stdout] test test_trait_inheritance ... ok
[INFO] [stdout] test test_connect_database ... FAILED
[INFO] [stdout] test test_macro ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_connect_database stdout ----
[INFO] [stdout] Connecting to database at localhost:5432
[INFO] [stdout] 
[INFO] [stdout] thread 'test_connect_database' panicked at src/main.rs:1661:13:
[INFO] [stdout] Host is not provided
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x635d1646b9c2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x635d1646b9c2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x635d1646b9c2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x635d1646b9c2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x635d164923c3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x635d164923c3 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x635d16468ba3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x635d16468ba3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x635d1646b812 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x635d1646cf2c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x635d1646cd82 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x635d16434e64 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x635d16434e64 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x635d1646d90b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x635d1646d90b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x635d1646d6a6 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x635d1646beb9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x635d1646d36d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x635d16490b80 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x635d163f5533 - belajar_rust::try_connect_database::hcc9417d70974ea33
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:1661:13
[INFO] [stdout]   20:     0x635d163e9484 - belajar_rust::test_connect_database::h40324055624397a8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:1669:5
[INFO] [stdout]   21:     0x635d163e9484 - belajar_rust::test_connect_database::{{closure}}::hddf7393b1e686757
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:1667:27
[INFO] [stdout]   22:     0x635d163e9484 - core::ops::function::FnOnce::call_once::h0cb0a74812274048
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x635d1643a5eb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x635d1643a5eb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   25:     0x635d164397de - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stderr] error: test failed, to rerun pass `--bin belajar-rust`
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   26:     0x635d164397de - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x635d164397de - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   28:     0x635d164397de - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   29:     0x635d164397de - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x635d164397de - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   31:     0x635d164397de - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   32:     0x635d163fd354 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   33:     0x635d163fd354 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x635d16400d2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x635d16400d2a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x635d16400d2a - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   37:     0x635d16400d2a - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   38:     0x635d16400d2a - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x635d16400d2a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x635d16400d2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x635d16470867 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x635d16470867 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x635d16470867 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   44:     0x74c7a0e6daa4 - <unknown>
[INFO] [stdout]   45:     0x74c7a0efaa34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_connect_database
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 101 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "30e866755fa7b3221473ecb93050fb33806b367fa71f2153a53ae823dbc9b0ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30e866755fa7b3221473ecb93050fb33806b367fa71f2153a53ae823dbc9b0ce", kill_on_drop: false }`
[INFO] [stdout] 30e866755fa7b3221473ecb93050fb33806b367fa71f2153a53ae823dbc9b0ce
