[INFO] cloning repository https://github.com/rahadianprasetya/rust_basic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rahadianprasetya/rust_basic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahadianprasetya%2Frust_basic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahadianprasetya%2Frust_basic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aef1bffcda921beab17dc298c8a815b4576126aa
[INFO] checking rahadianprasetya/rust_basic against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frahadianprasetya%2Frust_basic" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rahadianprasetya/rust_basic
[INFO] finished tweaking git repo https://github.com/rahadianprasetya/rust_basic
[INFO] tweaked toml for git repo https://github.com/rahadianprasetya/rust_basic written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rahadianprasetya/rust_basic on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rahadianprasetya/rust_basic 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67
[INFO] running `Command { std: "docker" "start" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking belajar-rust-dasar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `Div`, `HashMap`, `HashSet`, `LinkedList`, `VecDeque`, and `vec`
[INFO] [stdout]  --> src/main.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     collections::{BTreeMap, BTreeSet, HashMap, HashSet, LinkedList, VecDeque},
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 5 |     fmt::Debug,
[INFO] [stdout] 6 |     ops::{Add, Deref, Div},
[INFO] [stdout]   |                       ^^^
[INFO] [stdout] 7 |     rc::Rc,
[INFO] [stdout] 8 |     vec,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `first::say_hallo`
[INFO] [stdout]    --> src/main.rs:982:5
[INFO] [stdout]     |
[INFO] [stdout] 982 | use first::say_hallo;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `second::say_hallo as say_hallo_second`
[INFO] [stdout]    --> src/main.rs:983:5
[INFO] [stdout]     |
[INFO] [stdout] 983 | use second::say_hallo as say_hallo_second;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pertamax::say_hai as hai_guys`
[INFO] [stdout]    --> src/main.rs:986:5
[INFO] [stdout]     |
[INFO] [stdout] 986 | use pertamax::say_hai as hai_guys;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `hi`
[INFO] [stdout]     --> src/main.rs:1796:14
[INFO] [stdout]      |
[INFO] [stdout] 1796 | 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: unused macro definition: `iterate`
[INFO] [stdout]     --> src/main.rs:1816:14
[INFO] [stdout]      |
[INFO] [stdout] 1816 | macro_rules! iterate {
[INFO] [stdout]      |              ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1815:8
[INFO] [stdout]      |
[INFO] [stdout] 1815 | #[warn(unused_macros)]
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]     --> src/main.rs:1784:5
[INFO] [stdout]      |
[INFO] [stdout] 1784 |     COUNTER += 1;
[INFO] [stdout]      |     ^^^^^^^ use of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]     --> src/main.rs:1783:1
[INFO] [stdout]      |
[INFO] [stdout] 1783 | unsafe fn increment() {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]      = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unit` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn unit() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[warn(dead_code)]
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_a` is never used
[INFO] [stdout]    --> src/main.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn function_a() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function_b` is never used
[INFO] [stdout]    --> src/main.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn function_b() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_goodbye` is never used
[INFO] [stdout]    --> src/main.rs:423:4
[INFO] [stdout]     |
[INFO] [stdout] 423 | 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:432:4
[INFO] [stdout]     |
[INFO] [stdout] 432 | fn factorial_loop(n: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_text` is never used
[INFO] [stdout]    --> src/main.rs:451:4
[INFO] [stdout]     |
[INFO] [stdout] 451 | fn print_text(value: String, times: u32) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_recursive` is never used
[INFO] [stdout]    --> src/main.rs:466:4
[INFO] [stdout]     |
[INFO] [stdout] 466 | fn factorial_recursive(n: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `full_name` is never used
[INFO] [stdout]    --> src/main.rs:480:4
[INFO] [stdout]     |
[INFO] [stdout] 480 | fn full_name(first_name: String, last_name: String) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reference_name` is never used
[INFO] [stdout]    --> src/main.rs:485:4
[INFO] [stdout]     |
[INFO] [stdout] 485 | fn reference_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:503:4
[INFO] [stdout]     |
[INFO] [stdout] 503 | 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:541:8
[INFO] [stdout]     |
[INFO] [stdout] 541 | struct Person {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hello` is never used
[INFO] [stdout]    --> src/main.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 548 | impl Person {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 549 |     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:586:4
[INFO] [stdout]     |
[INFO] [stdout] 586 | fn print_person(person: &Person) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GeoPoint` is never constructed
[INFO] [stdout]    --> src/main.rs:662:8
[INFO] [stdout]     |
[INFO] [stdout] 662 | struct GeoPoint(f64, f64);
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Nothing` is never constructed
[INFO] [stdout]    --> src/main.rs:671:8
[INFO] [stdout]     |
[INFO] [stdout] 671 | struct Nothing;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:679:8
[INFO] [stdout]     |
[INFO] [stdout] 678 | impl GeoPoint {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 679 |     fn new(lat: f64, long: f64) -> GeoPoint {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pda` is never constructed
[INFO] [stdout]    --> src/main.rs:691:8
[INFO] [stdout]     |
[INFO] [stdout] 691 | struct Pda(String, f64);
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `input` is never used
[INFO] [stdout]    --> src/main.rs:694:8
[INFO] [stdout]     |
[INFO] [stdout] 693 | impl Pda {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 694 |     fn input(nama: String, tma: f64) -> Pda {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pay` is never used
[INFO] [stdout]    --> src/main.rs:764:8
[INFO] [stdout]     |
[INFO] [stdout] 763 | impl Payment {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 764 |     fn pay(&self, amount: u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayHello` is never used
[INFO] [stdout]    --> src/main.rs:997:7
[INFO] [stdout]     |
[INFO] [stdout] 997 | trait CanSayHello {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/main.rs:996:8
[INFO] [stdout]     |
[INFO] [stdout] 996 | #[warn(dead_code)]
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hello_trait` is never used
[INFO] [stdout]     --> src/main.rs:1012:4
[INFO] [stdout]      |
[INFO] [stdout] 1012 | fn say_hello_trait(person: &impl CanSayHello) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CanSayGoodbye` is never used
[INFO] [stdout]     --> src/main.rs:1031:7
[INFO] [stdout]      |
[INFO] [stdout] 1031 | trait CanSayGoodbye {
[INFO] [stdout]      |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_and_good_bye` is never used
[INFO] [stdout]     --> src/main.rs:1046:4
[INFO] [stdout]      |
[INFO] [stdout] 1046 | fn hello_and_good_bye(value: &(impl CanSayHello + CanSayGoodbye)) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_person` is never used
[INFO] [stdout]     --> src/main.rs:1082:4
[INFO] [stdout]      |
[INFO] [stdout] 1082 | fn create_person(aran: String) -> impl CanSayGoodbye {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DoSomething` is never used
[INFO] [stdout]     --> src/main.rs:1093:7
[INFO] [stdout]      |
[INFO] [stdout] 1093 | trait DoSomething {
[INFO] [stdout]      |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HavingSomething` is never used
[INFO] [stdout]     --> src/main.rs:1097:7
[INFO] [stdout]      |
[INFO] [stdout] 1097 | trait HavingSomething {
[INFO] [stdout]      |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DoHave` is never used
[INFO] [stdout]     --> src/main.rs:1101:7
[INFO] [stdout]      |
[INFO] [stdout] 1101 | trait DoHave: DoSomething + HavingSomething {
[INFO] [stdout]      |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleMan` is never constructed
[INFO] [stdout]     --> src/main.rs:1108:8
[INFO] [stdout]      |
[INFO] [stdout] 1108 | struct SimpleMan {
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Category` is never constructed
[INFO] [stdout]     --> src/main.rs:1312:8
[INFO] [stdout]      |
[INFO] [stdout] 1312 | struct Category {
[INFO] [stdout]      |        ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1311:8
[INFO] [stdout]      |
[INFO] [stdout] 1311 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_with_filter` is never used
[INFO] [stdout]     --> src/main.rs:1351:4
[INFO] [stdout]      |
[INFO] [stdout] 1351 | 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:1363:4
[INFO] [stdout]      |
[INFO] [stdout] 1363 | fn to_uppercase(val: String) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hitung` is never constructed
[INFO] [stdout]     --> src/main.rs:1374:8
[INFO] [stdout]      |
[INFO] [stdout] 1374 | struct Hitung {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `kenaikan` is never used
[INFO] [stdout]     --> src/main.rs:1379:8
[INFO] [stdout]      |
[INFO] [stdout] 1378 | impl Hitung {
[INFO] [stdout]      | ----------- method in this implementation
[INFO] [stdout] 1379 |     fn kenaikan(&mut self) {
[INFO] [stdout]      |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_database` is never used
[INFO] [stdout]     --> src/main.rs:1539:4
[INFO] [stdout]      |
[INFO] [stdout] 1539 | fn connect_database(host: Option<String>) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1538:8
[INFO] [stdout]      |
[INFO] [stdout] 1538 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_cache` is never used
[INFO] [stdout]     --> src/main.rs:1557:4
[INFO] [stdout]      |
[INFO] [stdout] 1557 | fn connect_cache(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1556:8
[INFO] [stdout]      |
[INFO] [stdout] 1556 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `application_connect` is never used
[INFO] [stdout]     --> src/main.rs:1579:4
[INFO] [stdout]      |
[INFO] [stdout] 1579 | fn application_connect(host: Option<String>) -> Result<String, String> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1578:8
[INFO] [stdout]      |
[INFO] [stdout] 1578 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]     --> src/main.rs:1599:4
[INFO] [stdout]      |
[INFO] [stdout] 1599 | fn longest<'a>(val1: &'a str, val2: &'a str) -> &'a str {
[INFO] [stdout]      |    ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1598:8
[INFO] [stdout]      |
[INFO] [stdout] 1598 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Teacher` is never constructed
[INFO] [stdout]     --> src/main.rs:1610:8
[INFO] [stdout]      |
[INFO] [stdout] 1610 | struct Teacher<'a, ID>
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Company` is never constructed
[INFO] [stdout]     --> src/main.rs:1630:8
[INFO] [stdout]      |
[INFO] [stdout] 1630 | struct Company {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_number_dereference` is never used
[INFO] [stdout]     --> src/main.rs:1654:4
[INFO] [stdout]      |
[INFO] [stdout] 1654 | fn display_number_dereference(value: i32) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_number_reference` is never used
[INFO] [stdout]     --> src/main.rs:1658:4
[INFO] [stdout]      |
[INFO] [stdout] 1658 | fn display_number_reference(value: &i32) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Categ` is never used
[INFO] [stdout]     --> src/main.rs:1664:6
[INFO] [stdout]      |
[INFO] [stdout] 1664 | enum Categ {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1663:8
[INFO] [stdout]      |
[INFO] [stdout] 1663 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyValue` is never constructed
[INFO] [stdout]     --> src/main.rs:1689:8
[INFO] [stdout]      |
[INFO] [stdout] 1689 | struct MyValue<T> {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1688:8
[INFO] [stdout]      |
[INFO] [stdout] 1688 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_name` is never used
[INFO] [stdout]     --> src/main.rs:1708:4
[INFO] [stdout]      |
[INFO] [stdout] 1708 | fn send_name(name: &String) {
[INFO] [stdout]      |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]     --> src/main.rs:1721:8
[INFO] [stdout]      |
[INFO] [stdout] 1721 | struct Book {
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Brand` is never used
[INFO] [stdout]     --> src/main.rs:1741:6
[INFO] [stdout]      |
[INFO] [stdout] 1741 | enum Brand {
[INFO] [stdout]      |      ^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1740:8
[INFO] [stdout]      |
[INFO] [stdout] 1740 | #[warn(dead_code)]
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Seller` is never constructed
[INFO] [stdout]     --> src/main.rs:1763:8
[INFO] [stdout]      |
[INFO] [stdout] 1763 | struct Seller {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]     --> src/main.rs:1781:12
[INFO] [stdout]      |
[INFO] [stdout] 1781 | static mut COUNTER: u32 = 0;
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increment` is never used
[INFO] [stdout]     --> src/main.rs:1783:11
[INFO] [stdout]      |
[INFO] [stdout] 1783 | unsafe fn increment() {
[INFO] [stdout]      |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `say_hi` is never used
[INFO] [stdout]    --> src/main.rs:955:16
[INFO] [stdout]     |
[INFO] [stdout] 954 |     impl User {
[INFO] [stdout]     |     --------- method in this implementation
[INFO] [stdout] 955 |         pub fn say_hi(&self, name: &str) {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hallo` is never used
[INFO] [stdout]    --> src/main.rs:971:12
[INFO] [stdout]     |
[INFO] [stdout] 971 |     pub fn say_hallo() {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hallo` is never used
[INFO] [stdout]    --> src/main.rs:977:12
[INFO] [stdout]     |
[INFO] [stdout] 977 |     pub fn say_hallo() {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `say_hai` is never used
[INFO] [stdout]  --> src/pertamax.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn say_hai() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xyz` is never used
[INFO] [stdout]  --> src/include_file.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn xyz() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xxx` is never used
[INFO] [stdout]  --> src/include_file.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |         pub fn xxx() {
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `laptop`
[INFO] [stdout]     --> src/main.rs:1749:9
[INFO] [stdout]      |
[INFO] [stdout] 1749 |     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]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smart_phone`
[INFO] [stdout]     --> src/main.rs:1753:13
[INFO] [stdout]      |
[INFO] [stdout] 1753 |         let smart_phone: Brand = Brand::Of("Smartphone".to_string(), Rc::clone(&apple));
[INFO] [stdout]      |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smart_phone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]     --> src/main.rs:1784:5
[INFO] [stdout]      |
[INFO] [stdout] 1784 |     COUNTER += 1;
[INFO] [stdout]      |     ^^^^^^^ use of mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]     --> src/main.rs:1783:1
[INFO] [stdout]      |
[INFO] [stdout] 1783 | unsafe fn increment() {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]      = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:1665:8
[INFO] [stdout]      |
[INFO] [stdout] 1665 |     Of(String, Box<Categ>),
[INFO] [stdout]      |     -- ^^^^^^  ^^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     fields in this variant
[INFO] [stdout]      |
[INFO] [stdout]      = note: `Categ` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1663:8
[INFO] [stdout]      |
[INFO] [stdout] 1663 | #[warn(dead_code)]
[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] 1665 -     Of(String, Box<Categ>),
[INFO] [stdout] 1665 +     Of((), ()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]     --> src/main.rs:1742:8
[INFO] [stdout]      |
[INFO] [stdout] 1742 |     Of(String, Rc<Brand>),
[INFO] [stdout]      |     -- ^^^^^^  ^^^^^^^^^
[INFO] [stdout]      |     |
[INFO] [stdout]      |     fields in this variant
[INFO] [stdout]      |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]     --> src/main.rs:1740:8
[INFO] [stdout]      |
[INFO] [stdout] 1740 | #[warn(dead_code)]
[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] 1742 -     Of(String, Rc<Brand>),
[INFO] [stdout] 1742 +     Of((), ()),
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]     --> src/main.rs:1765:5
[INFO] [stdout]      |
[INFO] [stdout] 1763 | struct Seller {
[INFO] [stdout]      |        ------ field in this struct
[INFO] [stdout] 1764 |     name: RefCell<String>,
[INFO] [stdout] 1765 |     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]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67", kill_on_drop: false }`
[INFO] [stdout] 67a86ece25aff64ad89489d843b8828e8c3e931df00643e8c45515211d3afb67
