[INFO] cloning repository https://github.com/TigerKim9/no-library [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TigerKim9/no-library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerKim9%2Fno-library", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerKim9%2Fno-library'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7bd275ed41e71b66d42097a9d7571ed5d4f704a [INFO] checking TigerKim9/no-library against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerKim9%2Fno-library" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TigerKim9/no-library [INFO] finished tweaking git repo https://github.com/TigerKim9/no-library [INFO] tweaked toml for git repo https://github.com/TigerKim9/no-library written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TigerKim9/no-library on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TigerKim9/no-library 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c14db8bc29cb6ca6b87e118f47a2ffa3bce5dddb3ac37b09d7f9025c98dd0566 [INFO] running `Command { std: "docker" "start" "-a" "c14db8bc29cb6ca6b87e118f47a2ffa3bce5dddb3ac37b09d7f9025c98dd0566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c14db8bc29cb6ca6b87e118f47a2ffa3bce5dddb3ac37b09d7f9025c98dd0566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14db8bc29cb6ca6b87e118f47a2ffa3bce5dddb3ac37b09d7f9025c98dd0566", kill_on_drop: false }` [INFO] [stdout] c14db8bc29cb6ca6b87e118f47a2ffa3bce5dddb3ac37b09d7f9025c98dd0566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cab13bf17afa38999d9892929f9c9e1c67482e3aefc7790c5f77e628b0b328f [INFO] running `Command { std: "docker" "start" "-a" "3cab13bf17afa38999d9892929f9c9e1c67482e3aefc7790c5f77e628b0b328f", kill_on_drop: false }` [INFO] [stderr] Checking no_library v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `len`, `is_empty`, `peek`, and `peek_mut` are never used [INFO] [stdout] --> src/data_structures/linked_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinkedList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `peek`, `peek_mut`, `is_empty`, `len`, and `clear` are never used [INFO] [stdout] --> src/data_structures/stack.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Stack { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/data_structures/queue.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Queue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/data_structures/binary_tree.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BinaryTree { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn search(&self, data: &T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn search_recursive(&self, node: &Link, data: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn preorder(&self) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn preorder_recursive<'a>(&'a self, node: &'a Link, result: &mut Vec<&'a T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn postorder(&self) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn postorder_recursive<'a>(&'a self, node: &'a Link, result: &mut Vec<&'a T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data_structures/hash_map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HashMap { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn remove(&mut self, key: &K) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_sort` is never used [INFO] [stdout] --> src/algorithms/sorting.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn selection_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insertion_sort` is never used [INFO] [stdout] --> src/algorithms/sorting.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insertion_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heap_sort` is never used [INFO] [stdout] --> src/algorithms/sorting.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn heap_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heapify` is never used [INFO] [stdout] --> src/algorithms/sorting.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn heapify(arr: &mut [T], heap_size: usize, root: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_search` is never used [INFO] [stdout] --> src/algorithms/searching.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn linear_search(arr: &[T], target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search_recursive` is never used [INFO] [stdout] --> src/algorithms/searching.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn binary_search_recursive(arr: &[T], target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_search_recursive_helper` is never used [INFO] [stdout] --> src/algorithms/searching.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn binary_search_recursive_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump_search` is never used [INFO] [stdout] --> src/algorithms/searching.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn jump_search(arr: &[T], target: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolation_search` is never used [INFO] [stdout] --> src/algorithms/searching.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn interpolation_search(arr: &[i32], target: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_edge_undirected`, `dfs_iterative`, `has_cycle`, `has_cycle_helper`, `topological_sort`, and `topological_sort_helper` are never used [INFO] [stdout] --> src/algorithms/graph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_edge_undirected(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn dfs_iterative(&self, start: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn has_cycle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn has_cycle_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn topological_sort(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn topological_sort_helper(&self, vertex: usize, visited: &mut [bool], stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpEchoServer` is never constructed [INFO] [stdout] --> src/networking/tcp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TcpEchoServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `run`, and `handle_client` are never used [INFO] [stdout] --> src/networking/tcp.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpEchoServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | /// 지정된 주소에 바인딩된 서버를 생성합니다. [INFO] [stdout] 16 | pub fn bind(addr: &str) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn run(&self) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn handle_client(mut stream: TcpStream) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpClient` is never constructed [INFO] [stdout] --> src/networking/tcp.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct TcpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `send`, `receive`, and `send_and_receive` are never used [INFO] [stdout] --> src/networking/tcp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl TcpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 69 | /// 지정된 주소로 연결합니다. [INFO] [stdout] 70 | pub fn connect(addr: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn send(&mut self, data: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn receive(&mut self, buffer: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn send_and_receive(&mut self, message: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read_frame` and `write_frame` are never used [INFO] [stdout] --> src/networking/tcp.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl MessageFramer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn read_frame(stream: &mut TcpStream) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn write_frame(stream: &mut TcpStream, message: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/networking/http.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/networking/http.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl HttpRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/networking/http.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl HttpResponse { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn internal_error() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn set_text_body(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_html_body(&mut self, html: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn parse(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `is_empty`, and `peek_mut` are never used [INFO] [stdout] --> src/data_structures/linked_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinkedList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `peek_mut`, and `clear` are never used [INFO] [stdout] --> src/data_structures/stack.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Stack { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `postorder`, and `postorder_recursive` are never used [INFO] [stdout] --> src/data_structures/binary_tree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl BinaryTree { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn postorder(&self) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn postorder_recursive<'a>(&'a self, node: &'a Link, result: &mut Vec<&'a T>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `get_mut`, `contains_key`, `is_empty`, and `clear` are never used [INFO] [stdout] --> src/data_structures/hash_map.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl HashMap { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_edge_undirected` and `dfs_iterative` are never used [INFO] [stdout] --> src/algorithms/graph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_edge_undirected(&mut self, u: usize, v: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn dfs_iterative(&self, start: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpEchoServer` is never constructed [INFO] [stdout] --> src/networking/tcp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TcpEchoServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bind`, `run`, and `handle_client` are never used [INFO] [stdout] --> src/networking/tcp.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TcpEchoServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | /// 지정된 주소에 바인딩된 서버를 생성합니다. [INFO] [stdout] 16 | pub fn bind(addr: &str) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn run(&self) -> io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn handle_client(mut stream: TcpStream) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpClient` is never constructed [INFO] [stdout] --> src/networking/tcp.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct TcpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `send`, `receive`, and `send_and_receive` are never used [INFO] [stdout] --> src/networking/tcp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl TcpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 69 | /// 지정된 주소로 연결합니다. [INFO] [stdout] 70 | pub fn connect(addr: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn send(&mut self, data: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn receive(&mut self, buffer: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn send_and_receive(&mut self, message: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read_frame` and `write_frame` are never used [INFO] [stdout] --> src/networking/tcp.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl MessageFramer { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn read_frame(stream: &mut TcpStream) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn write_frame(stream: &mut TcpStream, message: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/networking/http.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/networking/http.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl HttpRequest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `not_found`, `internal_error`, `add_header`, `set_html_body`, `to_bytes`, and `parse` are never used [INFO] [stdout] --> src/networking/http.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl HttpResponse { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn internal_error() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_html_body(&mut self, html: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn parse(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "3cab13bf17afa38999d9892929f9c9e1c67482e3aefc7790c5f77e628b0b328f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cab13bf17afa38999d9892929f9c9e1c67482e3aefc7790c5f77e628b0b328f", kill_on_drop: false }` [INFO] [stdout] 3cab13bf17afa38999d9892929f9c9e1c67482e3aefc7790c5f77e628b0b328f