[INFO] cloning repository https://github.com/romangorisek/rust-book-chap-6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romangorisek/rust-book-chap-6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromangorisek%2Frust-book-chap-6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromangorisek%2Frust-book-chap-6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9420675c808666c92920ddcf29ab8ceffd21e40 [INFO] checking romangorisek/rust-book-chap-6 against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromangorisek%2Frust-book-chap-6" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romangorisek/rust-book-chap-6 on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romangorisek/rust-book-chap-6 [INFO] finished tweaking git repo https://github.com/romangorisek/rust-book-chap-6 [INFO] tweaked toml for git repo https://github.com/romangorisek/rust-book-chap-6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/romangorisek/rust-book-chap-6 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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 romangorisek/rust-book-chap-6 against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromangorisek%2Frust-book-chap-6" "/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/romangorisek/rust-book-chap-6 on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romangorisek/rust-book-chap-6 [INFO] finished tweaking git repo https://github.com/romangorisek/rust-book-chap-6 [INFO] tweaked toml for git repo https://github.com/romangorisek/rust-book-chap-6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romangorisek/rust-book-chap-6 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca706542ec7a63f0d8dafa775992b2e271d5616fc07b634648d59a98b20ea0b2 [INFO] running `Command { std: "docker" "start" "-a" "ca706542ec7a63f0d8dafa775992b2e271d5616fc07b634648d59a98b20ea0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca706542ec7a63f0d8dafa775992b2e271d5616fc07b634648d59a98b20ea0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca706542ec7a63f0d8dafa775992b2e271d5616fc07b634648d59a98b20ea0b2", kill_on_drop: false }` [INFO] [stdout] ca706542ec7a63f0d8dafa775992b2e271d5616fc07b634648d59a98b20ea0b2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bc6ba87089faeead6ff612d1f1664f9816d7f12ce9148dd984e338f0448f352 [INFO] running `Command { std: "docker" "start" "-a" "0bc6ba87089faeead6ff612d1f1664f9816d7f12ce9148dd984e338f0448f352", kill_on_drop: false }` [INFO] [stderr] Checking enums v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> src/main.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | fn route(ip_kind: IpAddrKind) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `V6` is never constructed [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum IpAddrKind2 { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | V4(String), [INFO] [stdout] 10 | V6(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | address: 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: enum `Message` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `some_function` is never used [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 27 | fn some_function() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alabama`, `Arizona`, `Arkansas`, and `California` are never constructed [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum UsState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Alaska, [INFO] [stdout] 36 | Arizona, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Arkansas, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 43 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn route(ip_kind: IpAddrKind) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> src/main.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | fn route(ip_kind: IpAddrKind) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `V6` is never constructed [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum IpAddrKind2 { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | V4(String), [INFO] [stdout] 10 | V6(String), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | address: 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: enum `Message` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `some_function` is never used [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 27 | fn some_function() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alabama`, `Arizona`, `Arkansas`, and `California` are never constructed [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum UsState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Alaska, [INFO] [stdout] 36 | Arizona, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Arkansas, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 43 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/main.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn route(ip_kind: IpAddrKind) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "0bc6ba87089faeead6ff612d1f1664f9816d7f12ce9148dd984e338f0448f352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc6ba87089faeead6ff612d1f1664f9816d7f12ce9148dd984e338f0448f352", kill_on_drop: false }` [INFO] [stdout] 0bc6ba87089faeead6ff612d1f1664f9816d7f12ce9148dd984e338f0448f352