[INFO] cloning repository https://github.com/jmeyers35/design-patterns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmeyers35/design-patterns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Fdesign-patterns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Fdesign-patterns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21ff9465eff5a1c297113b851219425a4774816d [INFO] checking jmeyers35/design-patterns against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Fdesign-patterns" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmeyers35/design-patterns [INFO] finished tweaking git repo https://github.com/jmeyers35/design-patterns [INFO] tweaked toml for git repo https://github.com/jmeyers35/design-patterns written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmeyers35/design-patterns on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jmeyers35/design-patterns 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 927bce637497c25f5af20edc005f92ced1174023f3d20f7ffd51c08b457466ec [INFO] running `Command { std: "docker" "start" "-a" "927bce637497c25f5af20edc005f92ced1174023f3d20f7ffd51c08b457466ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "927bce637497c25f5af20edc005f92ced1174023f3d20f7ffd51c08b457466ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "927bce637497c25f5af20edc005f92ced1174023f3d20f7ffd51c08b457466ec", kill_on_drop: false }` [INFO] [stdout] 927bce637497c25f5af20edc005f92ced1174023f3d20f7ffd51c08b457466ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4edc3f281a71e8158ca4783e71586e1bb20c29fc51112c296736e05044fac4b [INFO] running `Command { std: "docker" "start" "-a" "a4edc3f281a71e8158ca4783e71586e1bb20c29fc51112c296736e05044fac4b", kill_on_drop: false }` [INFO] [stderr] Checking design-patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `GenericStore` is never constructed [INFO] [stdout] --> src/bridge/bridge.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GenericStore [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bridge/bridge.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | / impl GenericStore [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | K: Eq + Hash + 'static, [INFO] [stdout] 25 | | V: 'static, [INFO] [stdout] | |_______________- associated function in this implementation [INFO] [stdout] 26 | { [INFO] [stdout] 27 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryStore` is never constructed [INFO] [stdout] --> src/bridge/bridge.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct MemoryStore [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bridge/bridge.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 65 | / impl MemoryStore [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | K: Eq + Hash, [INFO] [stdout] | |_________________- associated function in this implementation [INFO] [stdout] 68 | { [INFO] [stdout] 69 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `GetRequestBuilder` is never constructed [INFO] [stdout] --> src/builder/builder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GetRequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_type` is never read [INFO] [stdout] --> src/builder/builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | req_type: RequestType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/builder.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl GetRequestBuilder { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringBuf` is never constructed [INFO] [stdout] --> src/command/command.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct StringBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_mut`, and `current_state` are never used [INFO] [stdout] --> src/command/command.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringBuf { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_mut(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn current_state(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StringBufOperation` is never used [INFO] [stdout] --> src/command/command.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | trait StringBufOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddCharOperation` is never constructed [INFO] [stdout] --> src/command/command.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct AddCharOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/command/command.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl AddCharOperation { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 37 | fn new(buf: Rc>, c: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `StringMessage` is never constructed [INFO] [stdout] --> src/decorator/decorator.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StringMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `UppercaseMessage` is never constructed [INFO] [stdout] --> src/decorator/decorator.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UppercaseMessage [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BracketedMessage` is never constructed [INFO] [stdout] --> src/decorator/decorator.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct BracketedMessage [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decorator/decorator.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringMessage { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 10 | fn new(s: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decorator/decorator.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 28 | / impl UppercaseMessage [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: Message, [INFO] [stdout] | |_______________- associated function in this implementation [INFO] [stdout] 31 | { [INFO] [stdout] 32 | fn new(message: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decorator/decorator.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 54 | / impl BracketedMessage [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | T: Message, [INFO] [stdout] | |_______________- associated function in this implementation [INFO] [stdout] 57 | { [INFO] [stdout] 58 | fn new(message: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SimpleAttack` is never constructed [INFO] [stdout] --> src/strategy/strategy.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SimpleAttack { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `PenetratingAttack` is never constructed [INFO] [stdout] --> src/strategy/strategy.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PenetratingAttack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `design-patterns` (lib) due to 7 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: struct `GetRequestBuilder` is never constructed [INFO] [stdout] --> src/builder/builder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GetRequestBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_type` is never read [INFO] [stdout] --> src/builder/builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | req_type: RequestType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/builder.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl GetRequestBuilder { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `SimpleAttack` is never constructed [INFO] [stdout] --> src/strategy/strategy.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SimpleAttack { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `PenetratingAttack` is never constructed [INFO] [stdout] --> src/strategy/strategy.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PenetratingAttack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `design-patterns` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4edc3f281a71e8158ca4783e71586e1bb20c29fc51112c296736e05044fac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4edc3f281a71e8158ca4783e71586e1bb20c29fc51112c296736e05044fac4b", kill_on_drop: false }` [INFO] [stdout] a4edc3f281a71e8158ca4783e71586e1bb20c29fc51112c296736e05044fac4b