[INFO] cloning repository https://github.com/donggeuri0320/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/donggeuri0320/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4eed30495a8a61cb34af54bf681dc6dca1a94332 [INFO] checking donggeuri0320/rust_study against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donggeuri0320/rust_study on toolchain 74c3f5a146860c94ff4d179fc3bfa34f879adf41 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/donggeuri0320/rust_study [INFO] finished tweaking git repo https://github.com/donggeuri0320/rust_study [INFO] tweaked toml for git repo https://github.com/donggeuri0320/rust_study written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/donggeuri0320/rust_study 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" "+74c3f5a146860c94ff4d179fc3bfa34f879adf41" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking donggeuri0320/rust_study against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonggeuri0320%2Frust_study" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donggeuri0320/rust_study on toolchain 13cae6066db2d5e6c9bb508caceec8d34ca49980 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/donggeuri0320/rust_study [INFO] finished tweaking git repo https://github.com/donggeuri0320/rust_study [INFO] tweaked toml for git repo https://github.com/donggeuri0320/rust_study written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/donggeuri0320/rust_study 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" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded tokio v1.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c638f14082cb5374eb87bfdb2952ea43da4f4b839edeb7abe27a617c97cf24d [INFO] running `Command { std: "docker" "start" "-a" "0c638f14082cb5374eb87bfdb2952ea43da4f4b839edeb7abe27a617c97cf24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c638f14082cb5374eb87bfdb2952ea43da4f4b839edeb7abe27a617c97cf24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c638f14082cb5374eb87bfdb2952ea43da4f4b839edeb7abe27a617c97cf24d", kill_on_drop: false }` [INFO] [stdout] 0c638f14082cb5374eb87bfdb2952ea43da4f4b839edeb7abe27a617c97cf24d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+13cae6066db2d5e6c9bb508caceec8d34ca49980" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d3781cd4693bba50dfcb9fc463a14eb857794aea5fcafe5a4ec76f8fff73af9 [INFO] running `Command { std: "docker" "start" "-a" "8d3781cd4693bba50dfcb9fc463a14eb857794aea5fcafe5a4ec76f8fff73af9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Checking rust_study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/basic/index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/basic/index.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/basic/index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/basic/index.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/basic/index.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let len = hs_ref_borrow_calc_len(&s1); // 소유권을 넘기는 대신에 참조권한을 넘김! ( & 기호가 참조자 ) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/basic/index.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let r1 = &mut s2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/basic/index.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let r2 = &mut s2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> src/basic/index.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let user3 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/basic/index.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let black = Color(0, 0, 0); // 튜플 구조체 사용방법! [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/basic/index.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let rect2 = Rectangle::square(3); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lv` [INFO] [stdout] --> src/basic/index.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let lv = i.level(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/basic/index.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | fn longest<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/basic/index.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil)))))); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/basic/index.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | let c = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/basic/index.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | let d = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/basic/index.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 146 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | email: String, [INFO] [stdout] 148 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/basic/index.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [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] 183 | struct Color((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/basic/index.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> src/basic/index.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 261 | part: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce_and_return_part` is never used [INFO] [stdout] --> src/basic/index.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 272 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 273 | // announce 에 라이프타임을 생략가능하다! &self를 따라가기 때문에 announcement의 라이프타임은 'a 이 된다. [INFO] [stdout] 274 | fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/basic/index.rs:537:10 [INFO] [stdout] | [INFO] [stdout] 537 | Cons(i32, Box), [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] 537 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loopBreak` should have a snake case name [INFO] [stdout] --> src/basic/index.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut loopBreak = 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `loop_break` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whileBreak` should have a snake case name [INFO] [stdout] --> src/basic/index.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut whileBreak = 2; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `while_break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/basic/index.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let len = hs_ref_borrow_calc_len(&s1); // 소유권을 넘기는 대신에 참조권한을 넘김! ( & 기호가 참조자 ) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/basic/index.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let r1 = &mut s2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/basic/index.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let r2 = &mut s2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> src/basic/index.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let user3 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/basic/index.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let black = Color(0, 0, 0); // 튜플 구조체 사용방법! [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/basic/index.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let rect2 = Rectangle::square(3); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lv` [INFO] [stdout] --> src/basic/index.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let lv = i.level(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_lv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/basic/index.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | fn longest<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/basic/index.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Nil)))))); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/basic/index.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | let c = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/basic/index.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | let d = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/basic/index.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 146 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | email: String, [INFO] [stdout] 148 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/basic/index.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [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] 183 | struct Color((), (), ()); [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/basic/index.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> src/basic/index.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 261 | part: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce_and_return_part` is never used [INFO] [stdout] --> src/basic/index.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 272 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 273 | // announce 에 라이프타임을 생략가능하다! &self를 따라가기 때문에 announcement의 라이프타임은 'a 이 된다. [INFO] [stdout] 274 | fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/basic/index.rs:537:10 [INFO] [stdout] | [INFO] [stdout] 537 | Cons(i32, Box), [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] 537 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `loopBreak` should have a snake case name [INFO] [stdout] --> src/basic/index.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut loopBreak = 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `loop_break` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `whileBreak` should have a snake case name [INFO] [stdout] --> src/basic/index.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut whileBreak = 2; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `while_break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hs_closures1`, `hs_closures`, `hs_index`, `hs_smart_pointer2`, `hs_smart_pointer3`, `hs_smart_pointer`, `hs_thread1`, `hs_thread2`, `hs_thread3`, `hs_thread4`, `hs_thread5`, `hs_thread6`, `hs_thread` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{hs_index, hs_closures, hs_closures1, hs_thread, hs_thread1, hs_thread2, hs_thread3, hs_thread4, hs_thread5, hs_thread6, hs_smart_pointer, hs_smart_pointer2, hs_smart_pointer3, h... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hs_closures1`, `hs_closures`, `hs_index`, `hs_smart_pointer2`, `hs_smart_pointer3`, `hs_smart_pointer`, `hs_thread1`, `hs_thread2`, `hs_thread3`, `hs_thread4`, `hs_thread5`, `hs_thread6`, `hs_thread` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{hs_index, hs_closures, hs_closures1, hs_thread, hs_thread1, hs_thread2, hs_thread3, hs_thread4, hs_thread5, hs_thread6, hs_smart_pointer, hs_smart_pointer2, hs_smart_pointer3, h... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn worker() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker` is never used [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn worker() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "8d3781cd4693bba50dfcb9fc463a14eb857794aea5fcafe5a4ec76f8fff73af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3781cd4693bba50dfcb9fc463a14eb857794aea5fcafe5a4ec76f8fff73af9", kill_on_drop: false }` [INFO] [stdout] 8d3781cd4693bba50dfcb9fc463a14eb857794aea5fcafe5a4ec76f8fff73af9