[INFO] cloning repository https://github.com/rifkyfu32/karatan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rifkyfu32/karatan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifkyfu32%2Fkaratan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifkyfu32%2Fkaratan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 184c6bd1a8bfb5f8228bf59a209691bfdf603dc7 [INFO] checking rifkyfu32/karatan against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifkyfu32%2Fkaratan" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rifkyfu32/karatan [INFO] finished tweaking git repo https://github.com/rifkyfu32/karatan [INFO] tweaked toml for git repo https://github.com/rifkyfu32/karatan written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rifkyfu32/karatan on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rifkyfu32/karatan 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking rifkyfu32/karatan against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frifkyfu32%2Fkaratan" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rifkyfu32/karatan [INFO] finished tweaking git repo https://github.com/rifkyfu32/karatan [INFO] tweaked toml for git repo https://github.com/rifkyfu32/karatan written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rifkyfu32/karatan on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rifkyfu32/karatan 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8538df52111a12b9422b971fa6ef8839fac8b1da779188a0a00d33ec0fa40377 [INFO] running `Command { std: "docker" "start" "-a" "8538df52111a12b9422b971fa6ef8839fac8b1da779188a0a00d33ec0fa40377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8538df52111a12b9422b971fa6ef8839fac8b1da779188a0a00d33ec0fa40377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8538df52111a12b9422b971fa6ef8839fac8b1da779188a0a00d33ec0fa40377", kill_on_drop: false }` [INFO] [stdout] 8538df52111a12b9422b971fa6ef8839fac8b1da779188a0a00d33ec0fa40377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d44d9fd2c7099e28286bf76fc555d3da27dc8941595d168dcc6260b3eae56334 [INFO] running `Command { std: "docker" "start" "-a" "d44d9fd2c7099e28286bf76fc555d3da27dc8941595d168dcc6260b3eae56334", kill_on_drop: false }` [INFO] [stderr] Checking belajar-dasar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`, `LinkedList`, and `VecDeque` [INFO] [stdout] --> src/main.rs:772:19 [INFO] [stdout] | [INFO] [stdout] 772 | collections::{BTreeMap, BTreeSet, HashMap, HashSet, LinkedList, VecDeque}, [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_hello as say_hello_first` [INFO] [stdout] --> src/main.rs:779:5 [INFO] [stdout] | [INFO] [stdout] 779 | use first::say_hello as say_hello_first; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `first::second::third::say_hello as say_hello_first_chain` [INFO] [stdout] --> src/main.rs:780:5 [INFO] [stdout] | [INFO] [stdout] 780 | use first::second::third::say_hello as say_hello_first_chain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `second::say_hello as say_hello_second` [INFO] [stdout] --> src/main.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | use second::say_hello as say_hello_second; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hi` [INFO] [stdout] --> src/main.rs:1614:14 [INFO] [stdout] | [INFO] [stdout] 1614 | 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:1630:14 [INFO] [stdout] | [INFO] [stdout] 1630 | macro_rules! iterate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | 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` is never used [INFO] [stdout] --> src/main.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | const MAXIMUM: u8 = 20; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_a` is never used [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn function_a() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_b` is never used [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn function_b() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_hello` is never used [INFO] [stdout] --> src/main.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn say_hello(name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_goodbye` is never used [INFO] [stdout] --> src/main.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | 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:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn factorial_loop(n: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_recursive` is never used [INFO] [stdout] --> src/main.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn factorial_recursive(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_text` is never used [INFO] [stdout] --> src/main.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn print_text(value: String, counter: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_number` is never used [INFO] [stdout] --> src/main.rs:436:4 [INFO] [stdout] | [INFO] [stdout] 436 | fn print_number(number: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hi` is never used [INFO] [stdout] --> src/main.rs:439:4 [INFO] [stdout] | [INFO] [stdout] 439 | fn hi(name: String) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_name` is never used [INFO] [stdout] --> src/main.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn full_name(first_name: String, last_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_name_ownership` is never used [INFO] [stdout] --> src/main.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn full_name_ownership(first_name: String, last_name: String) -> (String, String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_name_reference` is never used [INFO] [stdout] --> src/main.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn full_name_reference(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:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | 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:525:8 [INFO] [stdout] | [INFO] [stdout] 525 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_person` is never used [INFO] [stdout] --> src/main.rs:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | fn print_person(person: &Person) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoPoint` is never constructed [INFO] [stdout] --> src/main.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 581 | struct GeoPoint(f64, f64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nothing` is never constructed [INFO] [stdout] --> src/main.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | struct Nothing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `say_hello` is never used [INFO] [stdout] --> src/main.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 597 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 598 | fn say_hello(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 612 | impl GeoPoint { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 613 | fn new(lat: f64, lon: f64) -> GeoPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Level` is never used [INFO] [stdout] --> src/main.rs:623:6 [INFO] [stdout] | [INFO] [stdout] 623 | enum Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payment` is never used [INFO] [stdout] --> src/main.rs:634:6 [INFO] [stdout] | [INFO] [stdout] 634 | enum Payment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pay` is never used [INFO] [stdout] --> src/main.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 639 | impl Payment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 640 | 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:735:6 [INFO] [stdout] | [INFO] [stdout] 735 | type Age = u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IdentityNumber` is never used [INFO] [stdout] --> src/main.rs:736:6 [INFO] [stdout] | [INFO] [stdout] 736 | type IdentityNumber = String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/main.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 737 | struct Customer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CanSayHello` is never used [INFO] [stdout] --> src/main.rs:788:7 [INFO] [stdout] | [INFO] [stdout] 788 | trait CanSayHello { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_param` is never used [INFO] [stdout] --> src/main.rs:819:4 [INFO] [stdout] | [INFO] [stdout] 819 | fn trait_param(person: &impl CanSayHello) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CanSayGoodbye` is never used [INFO] [stdout] --> src/main.rs:832:7 [INFO] [stdout] | [INFO] [stdout] 832 | trait CanSayGoodbye { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_goodbye` is never used [INFO] [stdout] --> src/main.rs:845:4 [INFO] [stdout] | [INFO] [stdout] 845 | fn hello_goodbye(person: &(impl CanSayHello + CanSayGoodbye)) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimplePerson` is never constructed [INFO] [stdout] --> src/main.rs:861:8 [INFO] [stdout] | [INFO] [stdout] 861 | struct SimplePerson { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_simple` is never used [INFO] [stdout] --> src/main.rs:873:4 [INFO] [stdout] | [INFO] [stdout] 873 | fn create_simple(name: String) -> impl CanSayGoodbye { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CanSay` is never used [INFO] [stdout] --> src/main.rs:882:7 [INFO] [stdout] | [INFO] [stdout] 882 | trait CanSay: CanSayHello + CanSayGoodbye { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:904:8 [INFO] [stdout] | [INFO] [stdout] 904 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/main.rs:915:6 [INFO] [stdout] | [INFO] [stdout] 915 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hi` is never constructed [INFO] [stdout] --> src/main.rs:925:8 [INFO] [stdout] | [INFO] [stdout] 925 | struct Hi { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/main.rs:937:4 [INFO] [stdout] | [INFO] [stdout] 937 | fn min(value1: T, value2: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_x` and `get_y` are never used [INFO] [stdout] --> src/main.rs:948:8 [INFO] [stdout] | [INFO] [stdout] 947 | impl Point { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 948 | fn get_x(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 951 | fn get_y(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `GetValue` is never used [INFO] [stdout] --> src/main.rs:960:7 [INFO] [stdout] | [INFO] [stdout] 960 | trait GetValue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Apple` is never constructed [INFO] [stdout] --> src/main.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 984 | struct Apple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double` is never used [INFO] [stdout] --> src/main.rs:1003:4 [INFO] [stdout] | [INFO] [stdout] 1003 | fn double(x: Option) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/main.rs:1071:8 [INFO] [stdout] | [INFO] [stdout] 1071 | struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_with_filter` is never used [INFO] [stdout] --> src/main.rs:1100:4 [INFO] [stdout] | [INFO] [stdout] 1100 | fn print_with_filter(value: &str, filter: fn(&str) -> String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_uppercase_custom` is never used [INFO] [stdout] --> src/main.rs:1110:4 [INFO] [stdout] | [INFO] [stdout] 1110 | fn to_uppercase_custom(value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> src/main.rs:1130:8 [INFO] [stdout] | [INFO] [stdout] 1130 | struct Counter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increment` is never used [INFO] [stdout] --> src/main.rs:1134:8 [INFO] [stdout] | [INFO] [stdout] 1133 | impl Counter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 1134 | fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_database` is never used [INFO] [stdout] --> src/main.rs:1278:4 [INFO] [stdout] | [INFO] [stdout] 1278 | fn connect_database(host: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_cache` is never used [INFO] [stdout] --> src/main.rs:1288:4 [INFO] [stdout] | [INFO] [stdout] 1288 | fn connect_cache(host: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_email` is never used [INFO] [stdout] --> src/main.rs:1302:4 [INFO] [stdout] | [INFO] [stdout] 1302 | fn connect_email(host: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_application` is never used [INFO] [stdout] --> src/main.rs:1308:4 [INFO] [stdout] | [INFO] [stdout] 1308 | fn connect_application(host: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_application_operator` is never used [INFO] [stdout] --> src/main.rs:1329:4 [INFO] [stdout] | [INFO] [stdout] 1329 | fn connect_application_operator(host: Option) -> Result<&'static str, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/main.rs:1354:4 [INFO] [stdout] | [INFO] [stdout] 1354 | 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:1384:8 [INFO] [stdout] | [INFO] [stdout] 1384 | struct Student<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longets_student_name` is never used [INFO] [stdout] --> src/main.rs:1387:4 [INFO] [stdout] | [INFO] [stdout] 1387 | fn longets_student_name<'a>(value1: &'a Student, value2: &'a Student) -> &'a Student<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `longets_name` is never used [INFO] [stdout] --> src/main.rs:1402:8 [INFO] [stdout] | [INFO] [stdout] 1401 | impl<'a> Student<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 1402 | fn longets_name(&self, student: &Student<'a>) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Teacher` is never constructed [INFO] [stdout] --> src/main.rs:1417:8 [INFO] [stdout] | [INFO] [stdout] 1417 | struct Teacher<'a, ID> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Company` is never constructed [INFO] [stdout] --> src/main.rs:1438:8 [INFO] [stdout] | [INFO] [stdout] 1438 | struct Company { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Variant` is never used [INFO] [stdout] --> src/main.rs:1457:6 [INFO] [stdout] | [INFO] [stdout] 1457 | enum Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyValue` is never constructed [INFO] [stdout] --> src/main.rs:1485:8 [INFO] [stdout] | [INFO] [stdout] 1485 | struct MyValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Book` is never constructed [INFO] [stdout] --> src/main.rs:1511:8 [INFO] [stdout] | [INFO] [stdout] 1511 | struct Book { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Brand` is never used [INFO] [stdout] --> src/main.rs:1542:6 [INFO] [stdout] | [INFO] [stdout] 1542 | enum Brand { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Seller` is never constructed [INFO] [stdout] --> src/main.rs:1568:8 [INFO] [stdout] | [INFO] [stdout] 1568 | struct Seller { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERSION` is never used [INFO] [stdout] --> src/main.rs:1594:8 [INFO] [stdout] | [INFO] [stdout] 1594 | static VERSION: &str = "1.0.0"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTER` is never used [INFO] [stdout] --> src/main.rs:1599:12 [INFO] [stdout] | [INFO] [stdout] 1599 | static mut COUNTER: i32 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment` is never used [INFO] [stdout] --> src/main.rs:1602:11 [INFO] [stdout] | [INFO] [stdout] 1602 | unsafe fn increment() { [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:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 7 | 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:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | 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: 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.26s [INFO] running `Command { std: "docker" "inspect" "d44d9fd2c7099e28286bf76fc555d3da27dc8941595d168dcc6260b3eae56334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d44d9fd2c7099e28286bf76fc555d3da27dc8941595d168dcc6260b3eae56334", kill_on_drop: false }` [INFO] [stdout] d44d9fd2c7099e28286bf76fc555d3da27dc8941595d168dcc6260b3eae56334