[INFO] cloning repository https://github.com/theghostyced/learning-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theghostyced/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5fd7c9aec3fdd25088c157e354c619acff8716b [INFO] checking theghostyced/learning-rust against master#3cdcdaf31b45f8045164aae9604573d23091970b for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-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/theghostyced/learning-rust on toolchain 3cdcdaf31b45f8045164aae9604573d23091970b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3cdcdaf31b45f8045164aae9604573d23091970b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theghostyced/learning-rust [INFO] finished tweaking git repo https://github.com/theghostyced/learning-rust [INFO] tweaked toml for git repo https://github.com/theghostyced/learning-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/theghostyced/learning-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" "+3cdcdaf31b45f8045164aae9604573d23091970b" "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 theghostyced/learning-rust against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-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/theghostyced/learning-rust on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theghostyced/learning-rust [INFO] finished tweaking git repo https://github.com/theghostyced/learning-rust [INFO] tweaked toml for git repo https://github.com/theghostyced/learning-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/theghostyced/learning-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" "+05804f728f276cf7ecedbf71c814df440d37f293" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking theghostyced/learning-rust against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheghostyced%2Flearning-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/theghostyced/learning-rust on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theghostyced/learning-rust [INFO] finished tweaking git repo https://github.com/theghostyced/learning-rust [INFO] tweaked toml for git repo https://github.com/theghostyced/learning-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/theghostyced/learning-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" "+05804f728f276cf7ecedbf71c814df440d37f293" "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" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e02a9def1b295b6a931776264200ffe68ad72b047cabe6d97df3f1cacd18040 [INFO] running `Command { std: "docker" "start" "-a" "2e02a9def1b295b6a931776264200ffe68ad72b047cabe6d97df3f1cacd18040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e02a9def1b295b6a931776264200ffe68ad72b047cabe6d97df3f1cacd18040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e02a9def1b295b6a931776264200ffe68ad72b047cabe6d97df3f1cacd18040", kill_on_drop: false }` [INFO] [stdout] 2e02a9def1b295b6a931776264200ffe68ad72b047cabe6d97df3f1cacd18040 [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" "+05804f728f276cf7ecedbf71c814df440d37f293" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7f6d454918c132016ba9f967bc270285d15ddf3c7d930997b8c6c2de5c26cfb [INFO] running `Command { std: "docker" "start" "-a" "f7f6d454918c132016ba9f967bc270285d15ddf3c7d930997b8c6c2de5c26cfb", kill_on_drop: false }` [INFO] [stderr] Checking learning-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/bin/a12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 3 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/bin/a22.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn clamp(n: i32, lower: i32, upper: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div` is never used [INFO] [stdout] --> src/bin/a22.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn div(a: i32, b: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/bin/a22.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn concat(first: &str, second: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/bin/a23.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part_1() -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/bin/a23.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_2() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_3` is never used [INFO] [stdout] --> src/bin/a23.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_3() -> Access { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Access` is never used [INFO] [stdout] --> src/bin/a23.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Access { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_access` is never used [INFO] [stdout] --> src/bin/a23.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn maybe_access(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/bin/a23.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn root() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `name` are never read [INFO] [stdout] --> src/bin/a21.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: variants `Maintanence`, `Marketing`, `Supervisor`, `Kitchen`, and `Assembly` are never constructed [INFO] [stdout] --> src/bin/a18b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum EmployeeType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Maintanence, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | Marketing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Managers, [INFO] [stdout] 6 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | Kitchen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Assembly [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Terminated` is never constructed [INFO] [stdout] --> src/bin/a18b.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | enum EmployeeStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 12 | Active, [INFO] [stdout] 13 | Terminated [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `name` are never read [INFO] [stdout] --> src/bin/a21.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: variants `Maintanence`, `Marketing`, `Supervisor`, `Kitchen`, and `Assembly` are never constructed [INFO] [stdout] --> src/bin/a18b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum EmployeeType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Maintanence, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | Marketing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Managers, [INFO] [stdout] 6 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | Kitchen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Assembly [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Terminated` is never constructed [INFO] [stdout] --> src/bin/a18b.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | enum EmployeeStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 12 | Active, [INFO] [stdout] 13 | Terminated [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/a9.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | let (x, y) = cartesian_coordinate(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Black` is never constructed [INFO] [stdout] --> src/bin/a12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 3 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/a9.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | let (x, y) = cartesian_coordinate(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "f7f6d454918c132016ba9f967bc270285d15ddf3c7d930997b8c6c2de5c26cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7f6d454918c132016ba9f967bc270285d15ddf3c7d930997b8c6c2de5c26cfb", kill_on_drop: false }` [INFO] [stdout] f7f6d454918c132016ba9f967bc270285d15ddf3c7d930997b8c6c2de5c26cfb