[INFO] cloning repository https://github.com/load28/awesome_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/load28/awesome_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fload28%2Fawesome_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fload28%2Fawesome_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e56f40169ddc55266b8d4964b287e72a5db8cec [INFO] checking load28/awesome_rust against master#74c3f5a146860c94ff4d179fc3bfa34f879adf41 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fload28%2Fawesome_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/load28/awesome_rust 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] started tweaking git repo https://github.com/load28/awesome_rust [INFO] finished tweaking git repo https://github.com/load28/awesome_rust [INFO] tweaked toml for git repo https://github.com/load28/awesome_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/load28/awesome_rust 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 load28/awesome_rust against try#13cae6066db2d5e6c9bb508caceec8d34ca49980 for pr-120248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fload28%2Fawesome_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/load28/awesome_rust 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] started tweaking git repo https://github.com/load28/awesome_rust [INFO] finished tweaking git repo https://github.com/load28/awesome_rust [INFO] tweaked toml for git repo https://github.com/load28/awesome_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/load28/awesome_rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0311775438d4f6f1ec6afeacd6ee76760e485678f91efcc61aa76f59f938cdcc [INFO] running `Command { std: "docker" "start" "-a" "0311775438d4f6f1ec6afeacd6ee76760e485678f91efcc61aa76f59f938cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0311775438d4f6f1ec6afeacd6ee76760e485678f91efcc61aa76f59f938cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0311775438d4f6f1ec6afeacd6ee76760e485678f91efcc61aa76f59f938cdcc", kill_on_drop: false }` [INFO] [stdout] 0311775438d4f6f1ec6afeacd6ee76760e485678f91efcc61aa76f59f938cdcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b835d2a146fa4d20530077d72f8d709c8d1279f2df3ad97d26fd3c4c3f7904d6 [INFO] running `Command { std: "docker" "start" "-a" "b835d2a146fa4d20530077d72f8d709c8d1279f2df3ad97d26fd3c4c3f7904d6", kill_on_drop: false }` [INFO] [stderr] Checking untitled1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/rust_enum.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let none: Option = None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let one = a[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let two = a[1]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let s = "hello"; // 스트링 리터럴 (문자열은 고정된 크기 - 컴파일 타입에서 고정된 사이즈를 가지고 있기 때문에 스택에 저장 !, String 타입 ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s4` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let s4 = s3.clone(); // 클론을 통해서 깊은 복사를 수행 할 수 있음 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let y = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let b = &a[1..]; // 스트링 리터럴이 불변인 이유는 불변 참조자를 통해서 슬라이스가 만들어지기 때문이다 ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership` is never used [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn take_ownership(some: String) -> (String, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `addr` are never read [INFO] [stdout] --> src/rust_enum.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | addr: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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/rust_enum.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Black(i8, i8, i8), [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] 39 | Black((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White`, `Green`, and `Palate` are never constructed [INFO] [stdout] --> src/rust_enum.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | enum RGB { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 38 | White(i8, i8, i8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Black(i8, i8, i8), [INFO] [stdout] 40 | Green(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Palate { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 10 + 1; // 더하기 연산도 하나의 표현식이기 때문에 결과를 반환한다 [INFO] [stdout] | ^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = 10 + 1; // 더하기 연산도 하나의 표현식이기 때문에 결과를 반환한다 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ipAddr` should have a snake case name [INFO] [stdout] --> src/rust_enum.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_ipAddr() -> IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_ip_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/rust_enum.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let none: Option = None; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let one = a[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `two` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let two = a[1]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let s = "hello"; // 스트링 리터럴 (문자열은 고정된 크기 - 컴파일 타입에서 고정된 사이즈를 가지고 있기 때문에 스택에 저장 !, String 타입 ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s4` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let s4 = s3.clone(); // 클론을 통해서 깊은 복사를 수행 할 수 있음 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let y = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let b = &a[1..]; // 스트링 리터럴이 불변인 이유는 불변 참조자를 통해서 슬라이스가 만들어지기 때문이다 ... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership` is never used [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn take_ownership(some: String) -> (String, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `addr` are never read [INFO] [stdout] --> src/rust_enum.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | addr: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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/rust_enum.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Black(i8, i8, i8), [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] 39 | Black((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White`, `Green`, and `Palate` are never constructed [INFO] [stdout] --> src/rust_enum.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | enum RGB { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 38 | White(i8, i8, i8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Black(i8, i8, i8), [INFO] [stdout] 40 | Green(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Palate { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 10 + 1; // 더하기 연산도 하나의 표현식이기 때문에 결과를 반환한다 [INFO] [stdout] | ^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = 10 + 1; // 더하기 연산도 하나의 표현식이기 때문에 결과를 반환한다 [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ipAddr` should have a snake case name [INFO] [stdout] --> src/rust_enum.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_ipAddr() -> IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_ip_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "b835d2a146fa4d20530077d72f8d709c8d1279f2df3ad97d26fd3c4c3f7904d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b835d2a146fa4d20530077d72f8d709c8d1279f2df3ad97d26fd3c4c3f7904d6", kill_on_drop: false }` [INFO] [stdout] b835d2a146fa4d20530077d72f8d709c8d1279f2df3ad97d26fd3c4c3f7904d6