[INFO] cloning repository https://github.com/yasuyuky/cairocard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasuyuky/cairocard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fcairocard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fcairocard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca8d4b93add373a53d5dcfd38ec1cb16092a2136 [INFO] checking yasuyuky/cairocard against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasuyuky%2Fcairocard" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yasuyuky/cairocard [INFO] finished tweaking git repo https://github.com/yasuyuky/cairocard [INFO] tweaked toml for git repo https://github.com/yasuyuky/cairocard written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yasuyuky/cairocard on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yasuyuky/cairocard 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61ea0f5468a3b145d56c1fe7777ac1697c8673e14cc860def33a7f47f0d7609b [INFO] running `Command { std: "docker" "start" "-a" "61ea0f5468a3b145d56c1fe7777ac1697c8673e14cc860def33a7f47f0d7609b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61ea0f5468a3b145d56c1fe7777ac1697c8673e14cc860def33a7f47f0d7609b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ea0f5468a3b145d56c1fe7777ac1697c8673e14cc860def33a7f47f0d7609b", kill_on_drop: false }` [INFO] [stdout] 61ea0f5468a3b145d56c1fe7777ac1697c8673e14cc860def33a7f47f0d7609b [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0622521cc1323aa4c965ce5d8c47cc456fb8c3db694cdd5754f4daead739b43b [INFO] running `Command { std: "docker" "start" "-a" "0622521cc1323aa4c965ce5d8c47cc456fb8c3db694cdd5754f4daead739b43b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Checking futures-channel v0.3.17 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.9 [INFO] [stderr] Compiling pango-sys v0.14.0 [INFO] [stderr] Compiling pangocairo-sys v0.14.0 [INFO] [stderr] Checking glib v0.14.8 [INFO] [stderr] Checking pango v0.14.8 [INFO] [stderr] Checking cairo-rs v0.14.9 [INFO] [stderr] Checking pangocairo v0.14.0 [INFO] [stderr] Checking cairocard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | style: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, 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 `fontweight`, `imports`, and `svgs` are never read [INFO] [stdout] --> src/template.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CardTemplate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub fontweight: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub imports: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub texts: HashMap, [INFO] [stdout] 16 | pub svgs: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `scale`, and `pos` are never read [INFO] [stdout] --> src/template.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SvgElement { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub scale: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub pos: (f64, f64), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SvgElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `scale` are never read [INFO] [stdout] --> src/template.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Dimension { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub offset: (isize, isize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | #[serde(default = "default_scale")] [INFO] [stdout] 42 | pub scale: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | style: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, 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 `fontweight`, `imports`, and `svgs` are never read [INFO] [stdout] --> src/template.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CardTemplate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub fontweight: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub imports: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub texts: HashMap, [INFO] [stdout] 16 | pub svgs: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `scale`, and `pos` are never read [INFO] [stdout] --> src/template.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SvgElement { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub scale: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub pos: (f64, f64), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SvgElement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `scale` are never read [INFO] [stdout] --> src/template.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Dimension { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub offset: (isize, isize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | #[serde(default = "default_scale")] [INFO] [stdout] 42 | pub scale: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | template: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | values: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[structopt(short = "s", long = "style", default_value = ".svgcard.css")] [INFO] [stdout] 21 | | style: PathBuf, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | template: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | values: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | output: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[structopt(short = "s", long = "style", default_value = ".svgcard.css")] [INFO] [stdout] 21 | | style: PathBuf, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairocard` (bin "cairocard" test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cairocard` (bin "cairocard") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0622521cc1323aa4c965ce5d8c47cc456fb8c3db694cdd5754f4daead739b43b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0622521cc1323aa4c965ce5d8c47cc456fb8c3db694cdd5754f4daead739b43b", kill_on_drop: false }` [INFO] [stdout] 0622521cc1323aa4c965ce5d8c47cc456fb8c3db694cdd5754f4daead739b43b