[INFO] cloning repository https://github.com/xiyuxx/design_pattern [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiyuxx/design_pattern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiyuxx%2Fdesign_pattern", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiyuxx%2Fdesign_pattern'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f924895334597d166a1c86e46fdfe9c2cf508679 [INFO] checking xiyuxx/design_pattern against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiyuxx%2Fdesign_pattern" "/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/xiyuxx/design_pattern on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] finished tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] tweaked toml for git repo https://github.com/xiyuxx/design_pattern written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xiyuxx/design_pattern 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "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 xiyuxx/design_pattern against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiyuxx%2Fdesign_pattern" "/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/xiyuxx/design_pattern on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] finished tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] tweaked toml for git repo https://github.com/xiyuxx/design_pattern written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xiyuxx/design_pattern 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "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 xiyuxx/design_pattern against try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiyuxx%2Fdesign_pattern" "/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/xiyuxx/design_pattern on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] finished tweaking git repo https://github.com/xiyuxx/design_pattern [INFO] tweaked toml for git repo https://github.com/xiyuxx/design_pattern written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xiyuxx/design_pattern 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07cd0da34cbd47005e8b1d4820e6a9ff983aeaab29550939f1b00fcbc52d5d96 [INFO] running `Command { std: "docker" "start" "-a" "07cd0da34cbd47005e8b1d4820e6a9ff983aeaab29550939f1b00fcbc52d5d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07cd0da34cbd47005e8b1d4820e6a9ff983aeaab29550939f1b00fcbc52d5d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cd0da34cbd47005e8b1d4820e6a9ff983aeaab29550939f1b00fcbc52d5d96", kill_on_drop: false }` [INFO] [stdout] 07cd0da34cbd47005e8b1d4820e6a9ff983aeaab29550939f1b00fcbc52d5d96 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f972dd2abf3750051414c719a7440cf4d0ae56daa4b6430b46a748006c7ef8c3 [INFO] running `Command { std: "docker" "start" "-a" "f972dd2abf3750051414c719a7440cf4d0ae56daa4b6430b46a748006c7ef8c3", kill_on_drop: false }` [INFO] [stderr] Checking design_pattern v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Show` is never used [INFO] [stdout] --> src/creation/factory_mthod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait Show { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/creation/factory_mthod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/creation/factory_mthod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Product { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 22 | fn new(name: String) -> Product { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Factory` is never used [INFO] [stdout] --> src/creation/factory_mthod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | trait Factory { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TVFactory` is never constructed [INFO] [stdout] --> src/creation/factory_mthod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct TVFactory {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AirConditionFactory` is never constructed [INFO] [stdout] --> src/creation/factory_mthod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct AirConditionFactory {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `fn` [INFO] [stdout] --> src/main.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use design_pattern::creation::abstract_factory::{Factory,Phone,Watch} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `fn` [INFO] [stdout] --> src/main.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use design_pattern::creation::abstract_factory::{Factory,Phone,Watch} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Factory`, `Phone`, and `Watch` [INFO] [stdout] --> src/main.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use design_pattern::creation::abstract_factory::{Factory,Phone,Watch} [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Factory`, `Phone`, and `Watch` [INFO] [stdout] --> src/main.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use design_pattern::creation::abstract_factory::{Factory,Phone,Watch} [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `design_pattern` (bin "design_pattern") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `design_pattern` (bin "design_pattern" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f972dd2abf3750051414c719a7440cf4d0ae56daa4b6430b46a748006c7ef8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f972dd2abf3750051414c719a7440cf4d0ae56daa4b6430b46a748006c7ef8c3", kill_on_drop: false }` [INFO] [stdout] f972dd2abf3750051414c719a7440cf4d0ae56daa4b6430b46a748006c7ef8c3