[INFO] cloning repository https://github.com/aztecrex/rust-swf-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aztecrex/rust-swf-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faztecrex%2Frust-swf-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faztecrex%2Frust-swf-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76c752d5be2b0eb059d1101b38dbcb613878de00 [INFO] checking aztecrex/rust-swf-demo against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faztecrex%2Frust-swf-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aztecrex/rust-swf-demo [INFO] finished tweaking git repo https://github.com/aztecrex/rust-swf-demo [INFO] tweaked toml for git repo https://github.com/aztecrex/rust-swf-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aztecrex/rust-swf-demo 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/aztecrex/rust-swf-demo 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] [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0bcd7b287952d28bcb112560e9127e38024db452c2a82f0504b9e584fbfe2b0d [INFO] running `Command { std: "docker" "start" "-a" "0bcd7b287952d28bcb112560e9127e38024db452c2a82f0504b9e584fbfe2b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bcd7b287952d28bcb112560e9127e38024db452c2a82f0504b9e584fbfe2b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcd7b287952d28bcb112560e9127e38024db452c2a82f0504b9e584fbfe2b0d", kill_on_drop: false }` [INFO] [stdout] 0bcd7b287952d28bcb112560e9127e38024db452c2a82f0504b9e584fbfe2b0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d731abc6f86fd1a4747def5fcbbdd21fef45757138273c8b15168c54038b3305 [INFO] running `Command { std: "docker" "start" "-a" "d731abc6f86fd1a4747def5fcbbdd21fef45757138273c8b15168c54038b3305", kill_on_drop: false }` [INFO] [stderr] Checking swf-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `InvoiceFlow` is never constructed [INFO] [stdout] --> src/workflow.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct InvoiceFlow { [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] error: struct `InvoiceFlow` is never constructed [INFO] [stdout] --> src/workflow.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct InvoiceFlow { [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: fields `0` and `1` are never read [INFO] [stdout] --> src/workflow.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Charge(String, Dollars); [INFO] [stdout] | ------ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Charge` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/workflow.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Charge(String, Dollars); [INFO] [stdout] | ------ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Charge` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/workflow.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Entry(String, Dollars); [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `invoice_for`, `last_invoice_for`, `charges`, `previous_balance`, `activity`, and `invoice` are never read [INFO] [stdout] --> src/workflow.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct InvoiceFlow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | account_id: AccountId, [INFO] [stdout] 28 | invoice_for: Timestamp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | last_invoice_for: Have>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | charges: Have>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | previous_balance: Have>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | activity: Have>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | invoice: Have, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvoiceFlow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/workflow.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Entry(String, Dollars); [INFO] [stdout] | ----- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `invoice_for`, `last_invoice_for`, `charges`, `previous_balance`, `activity`, and `invoice` are never read [INFO] [stdout] --> src/workflow.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct InvoiceFlow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | account_id: AccountId, [INFO] [stdout] 28 | invoice_for: Timestamp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | last_invoice_for: Have>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | charges: Have>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | previous_balance: Have>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | activity: Have>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | invoice: Have, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvoiceFlow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swf-demo` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `swf-demo` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d731abc6f86fd1a4747def5fcbbdd21fef45757138273c8b15168c54038b3305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d731abc6f86fd1a4747def5fcbbdd21fef45757138273c8b15168c54038b3305", kill_on_drop: false }` [INFO] [stdout] d731abc6f86fd1a4747def5fcbbdd21fef45757138273c8b15168c54038b3305