[INFO] cloning repository https://github.com/gvo-cheryl/rust-guide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gvo-cheryl/rust-guide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgvo-cheryl%2Frust-guide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgvo-cheryl%2Frust-guide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa688c97340926ccaf776e7bc6ce0824e764fce0 [INFO] checking gvo-cheryl/rust-guide against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgvo-cheryl%2Frust-guide" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gvo-cheryl/rust-guide on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gvo-cheryl/rust-guide [INFO] finished tweaking git repo https://github.com/gvo-cheryl/rust-guide [INFO] tweaked toml for git repo https://github.com/gvo-cheryl/rust-guide written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gvo-cheryl/rust-guide 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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 716c5e892ab45944fa9032ae8eb389e5676aa725c6e8ef49dab9924051bdc1a9 [INFO] running `Command { std: "docker" "start" "-a" "716c5e892ab45944fa9032ae8eb389e5676aa725c6e8ef49dab9924051bdc1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "716c5e892ab45944fa9032ae8eb389e5676aa725c6e8ef49dab9924051bdc1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716c5e892ab45944fa9032ae8eb389e5676aa725c6e8ef49dab9924051bdc1a9", kill_on_drop: false }` [INFO] [stdout] 716c5e892ab45944fa9032ae8eb389e5676aa725c6e8ef49dab9924051bdc1a9 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 070dabb7298ec4500f38a23b56799758a78c4ede6edb042273407b6758e8aaa9 [INFO] running `Command { std: "docker" "start" "-a" "070dabb7298ec4500f38a23b56799758a78c4ede6edb042273407b6758e8aaa9", kill_on_drop: false }` [INFO] [stderr] Checking helloworld v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structure.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// 구조체 데이터의 소유권 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | let width = 30; [INFO] [stdout] | --------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structure.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// 메서드 [INFO] [stdout] 105 | | /// - 함수와 유사하며, fn 키워드와 이름으로 메서드를 선언하고 매개 변수와 반환 값을 가질 수 있으며 [INFO] [stdout] 106 | | /// 메서드가 다른 곳에서 호출될 때 실행되는 이부 코드를 포함한다. [INFO] [stdout] 107 | | /// - 함수와 달리 메서드는 구조체의 컨텍스트 내에서 정의되며, [INFO] [stdout] 108 | | /// 첫번째 매개변수는 항상 self 메서드가 속한 구조체의 인스턴스를 나타내며 호출된다. [INFO] [stdout] 109 | | /// [INFO] [stdout] 110 | | /// 1. 방법 정의 [INFO] [stdout] | |___________________^^ [INFO] [stdout] 111 | / let rect3 = Rectangle { [INFO] [stdout] 112 | | width: 30, [INFO] [stdout] 113 | | height:50, [INFO] [stdout] 114 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// scalar ----------------------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | let x: f32 = 2.0; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | /// compound ----------------------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | let tup_explicit: (i32, f64, u8) = (500, 6.4, 1); [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / /// 러스트에서 복제는 얕은 복사처럼 보이지만 [INFO] [stdout] 223 | | /// 소유권이 이전된 이후에 본래의 변수가 무효화 되기 때문에 [INFO] [stdout] 224 | | /// '이동'되었다고 보는 것이 맞다. [INFO] [stdout] | |______________________________________^ [INFO] [stdout] 225 | let s1 = String::from("hello"); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / /// 정수는 이미 알려진 크기를 갖은 채 스택에 완전히 저장되기 때문에, [INFO] [stdout] 240 | | /// 실제 값의 복사본을 빠르게 만들 수 있고, [INFO] [stdout] 241 | | /// 변수를 생성한 후 유효하지 않도록 방지할 이유가 없다. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] 242 | [INFO] [stdout] 243 | let s = String::from("hello"); // 사용 범위 안에 들어 온다. [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structure.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// 구조체 데이터의 소유권 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | let width = 30; [INFO] [stdout] | --------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structure.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// 메서드 [INFO] [stdout] 105 | | /// - 함수와 유사하며, fn 키워드와 이름으로 메서드를 선언하고 매개 변수와 반환 값을 가질 수 있으며 [INFO] [stdout] 106 | | /// 메서드가 다른 곳에서 호출될 때 실행되는 이부 코드를 포함한다. [INFO] [stdout] 107 | | /// - 함수와 달리 메서드는 구조체의 컨텍스트 내에서 정의되며, [INFO] [stdout] 108 | | /// 첫번째 매개변수는 항상 self 메서드가 속한 구조체의 인스턴스를 나타내며 호출된다. [INFO] [stdout] 109 | | /// [INFO] [stdout] 110 | | /// 1. 방법 정의 [INFO] [stdout] | |___________________^^ [INFO] [stdout] 111 | / let rect3 = Rectangle { [INFO] [stdout] 112 | | width: 30, [INFO] [stdout] 113 | | height:50, [INFO] [stdout] 114 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// scalar ----------------------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | let x: f32 = 2.0; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | /// compound ----------------------------- [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | let tup_explicit: (i32, f64, u8) = (500, 6.4, 1); [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / /// 러스트에서 복제는 얕은 복사처럼 보이지만 [INFO] [stdout] 223 | | /// 소유권이 이전된 이후에 본래의 변수가 무효화 되기 때문에 [INFO] [stdout] 224 | | /// '이동'되었다고 보는 것이 맞다. [INFO] [stdout] | |______________________________________^ [INFO] [stdout] 225 | let s1 = String::from("hello"); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / /// 정수는 이미 알려진 크기를 갖은 채 스택에 완전히 저장되기 때문에, [INFO] [stdout] 240 | | /// 실제 값의 복사본을 빠르게 만들 수 있고, [INFO] [stdout] 241 | | /// 변수를 생성한 후 유효하지 않도록 방지할 이유가 없다. [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] 242 | [INFO] [stdout] 243 | let s = String::from("hello"); // 사용 범위 안에 들어 온다. [INFO] [stdout] | ------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_update1` [INFO] [stdout] --> src/structure.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let user_update1 = User { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_update1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_update2` [INFO] [stdout] --> src/structure.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let user_update2 = User { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_update2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/structure.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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: `origin` [INFO] [stdout] --> src/structure.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/structure.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/structure.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let b = dbg!(a * 2) + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/structure.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | let square = dbg!(Rectangle::square(30)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_update1` [INFO] [stdout] --> src/structure.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let user_update1 = User { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_update1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_update2` [INFO] [stdout] --> src/structure.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let user_update2 = User { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_update2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/structure.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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: `origin` [INFO] [stdout] --> src/structure.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/structure.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/structure.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let b = dbg!(a * 2) + 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/borrowing.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let r1 = &mut ss; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/borrowing.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let r1 = &sss; // no prob [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/borrowing.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let r2 = &sss; // no prob [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r3` [INFO] [stdout] --> src/borrowing.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let r3 = &mut sss; // big prob [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_to_nothing` [INFO] [stdout] --> src/borrowing.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let reference_to_nothing = dangle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_return` [INFO] [stdout] --> src/borrowing.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | let str_return = first_word_string(&s); // &str String값으로 반환 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/structure.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | let square = dbg!(Rectangle::square(30)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/borrowing.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let r1 = &mut ss; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/borrowing.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let r1 = &sss; // no prob [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/borrowing.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let r2 = &sss; // no prob [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r3` [INFO] [stdout] --> src/borrowing.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let r3 = &mut sss; // big prob [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_to_nothing` [INFO] [stdout] --> src/borrowing.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let reference_to_nothing = dangle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let f: bool = false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let z: char = 'Z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_emo` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let heart_emo = '🥰'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_emo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_return` [INFO] [stdout] --> src/borrowing.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | let str_return = first_word_string(&s); // &str String값으로 반환 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let f: bool = false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let z: char = 'Z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_emo` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let heart_emo = '🥰'; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_emo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let s2 = s1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statements_expressions` is never used [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn statements_expressions() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn plus_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow` is never used [INFO] [stdout] --> src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn control_flow() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/main.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn takes_ownership(some_string: String) { // some_string comes into scope [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makes_copy` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn makes_copy(some_integer: i32) { // some_integer comes into scope [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structure.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | struct NoCopy(usize); [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NoCopy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/structure.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/structure.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | struct Point(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let s2 = s1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statements_expressions` is never used [INFO] [stdout] --> src/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn statements_expressions() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn plus_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow` is never used [INFO] [stdout] --> src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn control_flow() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/main.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `takes_ownership` is never used [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn takes_ownership(some_string: String) { // some_string comes into scope [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `makes_copy` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn makes_copy(some_integer: i32) { // some_integer comes into scope [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/structure.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | struct NoCopy(usize); [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `NoCopy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/structure.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/structure.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | struct Point(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "070dabb7298ec4500f38a23b56799758a78c4ede6edb042273407b6758e8aaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "070dabb7298ec4500f38a23b56799758a78c4ede6edb042273407b6758e8aaa9", kill_on_drop: false }` [INFO] [stdout] 070dabb7298ec4500f38a23b56799758a78c4ede6edb042273407b6758e8aaa9