[INFO] cloning repository https://github.com/jamesWalker55/svgthing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesWalker55/svgthing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjamesWalker55%2Fsvgthing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjamesWalker55%2Fsvgthing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f8e488c074ad2c6fcea4a44b8b2a5657b8fbabe [INFO] checking jamesWalker55/svgthing against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjamesWalker55%2Fsvgthing" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamesWalker55/svgthing on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamesWalker55/svgthing [INFO] finished tweaking git repo https://github.com/jamesWalker55/svgthing [INFO] tweaked toml for git repo https://github.com/jamesWalker55/svgthing written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jamesWalker55/svgthing 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f9bb6d31cd55ec8a4013bb0ad64dbdfa54b9b573dc2445a9d4305d29a54f12a [INFO] running `Command { std: "docker" "start" "-a" "9f9bb6d31cd55ec8a4013bb0ad64dbdfa54b9b573dc2445a9d4305d29a54f12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f9bb6d31cd55ec8a4013bb0ad64dbdfa54b9b573dc2445a9d4305d29a54f12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9bb6d31cd55ec8a4013bb0ad64dbdfa54b9b573dc2445a9d4305d29a54f12a", kill_on_drop: false }` [INFO] [stdout] 9f9bb6d31cd55ec8a4013bb0ad64dbdfa54b9b573dc2445a9d4305d29a54f12a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b97e6259793418118ae64d8940860448b0a302bc8f67a2ae7d782f0cb3b60e0 [INFO] running `Command { std: "docker" "start" "-a" "5b97e6259793418118ae64d8940860448b0a302bc8f67a2ae7d782f0cb3b60e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking roxmltree v0.19.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.3.0 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking unicode-ccc v0.3.0 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking fontconfig-parser v0.5.6 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking kurbo v0.11.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imagesize v0.13.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking core_maths v0.1.0 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking svgtypes v0.15.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking fontdb v0.22.0 [INFO] [stderr] Checking rustybuzz v0.18.0 [INFO] [stderr] Checking usvg v0.44.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bpaf_derive v0.5.10 [INFO] [stderr] Checking bpaf v0.9.11 [INFO] [stderr] Checking resvg v0.44.0 [INFO] [stderr] Checking svgthing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Color::RGB(r, g, b) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | Color::RGB(r, g, b) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | Color::RGB(r, g, b) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Color::RGB(r, g, b) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | Color::RGB(r, g, b) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | Color::RGB(r, g, b) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderTasks` is never constructed [INFO] [stdout] --> src/cli.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RenderTasks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderTasks` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Color::RGB(r, g, b) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | Color::RGB(r, g, b) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | Color::RGBA(r, g, b, a) => *r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | Color::RGB(r, g, b) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | Color::RGB(r, g, b) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | Color::RGBA(r, g, b, a) => *g, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | Color::RGB(r, g, b) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `svgthing` (bin "svgthing" test) due to 2 previous errors; 23 warnings emitted [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | Color::RGB(r, g, b) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/parser.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Color::RGBA(r, g, b, a) => *b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | Color::RGB(r, g, b) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/parser.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/parser.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | Color::RGBA(r, g, b, a) => Some(*a), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/cli.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ColorMapping { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub map: (), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorMapping` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/map_colors.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | for part in parser::xml_text(xml.into(), include_alpha).map_err(|x| format!("{}", x))? { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/map_colors.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | let result: Result = parser::xml_text(xml.into(), opt.include_alpha) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderTasks` is never constructed [INFO] [stdout] --> src/cli.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RenderTasks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderTasks` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/cli.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ColorMapping { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub map: (), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorMapping` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/map_colors.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | for part in parser::xml_text(xml.into(), include_alpha).map_err(|x| format!("{}", x))? { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/map_colors.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | let result: Result = parser::xml_text(xml.into(), opt.include_alpha) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `svgthing` (bin "svgthing") due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b97e6259793418118ae64d8940860448b0a302bc8f67a2ae7d782f0cb3b60e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b97e6259793418118ae64d8940860448b0a302bc8f67a2ae7d782f0cb3b60e0", kill_on_drop: false }` [INFO] [stdout] 5b97e6259793418118ae64d8940860448b0a302bc8f67a2ae7d782f0cb3b60e0