[INFO] fetching crate ggrust 0.1.0... [INFO] testing ggrust-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ggrust 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ggrust 0.1.0 [INFO] finished tweaking crates.io crate ggrust 0.1.0 [INFO] tweaked toml for crates.io crate ggrust 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ggrust 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding csscolorparser v0.5.0 (available: v0.7.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a37d17a96bd321d471ca418ca911a33ac68b8bc4f1d60b63eb725e4ee729ebbe [INFO] running `Command { std: "docker" "start" "-a" "a37d17a96bd321d471ca418ca911a33ac68b8bc4f1d60b63eb725e4ee729ebbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a37d17a96bd321d471ca418ca911a33ac68b8bc4f1d60b63eb725e4ee729ebbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37d17a96bd321d471ca418ca911a33ac68b8bc4f1d60b63eb725e4ee729ebbe", kill_on_drop: false }` [INFO] [stdout] a37d17a96bd321d471ca418ca911a33ac68b8bc4f1d60b63eb725e4ee729ebbe [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23377f7d6dd4e8e85dbc2fde0867519848d3223aaf448b3e33904d44effe800 [INFO] running `Command { std: "docker" "start" "-a" "d23377f7d6dd4e8e85dbc2fde0867519848d3223aaf448b3e33904d44effe800", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling ggplot-derive v0.1.1 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling csscolorparser v0.5.0 [INFO] [stderr] Compiling ggplot-error v1.0.0 [INFO] [stderr] Compiling ggrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `plotters_svg::SVGBackend` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_svg::SVGBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plotters::prelude::*` [INFO] [stdout] --> src/backend/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GGError` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use ggplot_error::{GGError, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | let style: Result> = hex.chars().map(|c| hex_to_u8(hex)).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ggplot` is never used [INFO] [stdout] --> src/backend/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn ggplot() -> GGPlot { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `joint_between`, `joint_end`, and `joint_start` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GGLine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | /// The size of a line, must positive [INFO] [stdout] 22 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | joint_between: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Define the joint at start of line [INFO] [stdout] 28 | joint_end: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | /// Define the joint at end of line [INFO] [stdout] 30 | joint_start: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGLine` 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 `fill` and `lines` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GGPolygon { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPolygon` 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 `size`, `edge`, and `fill` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct GGPoint { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 72 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | edge: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPoint` 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 `font_family` is never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct GGText { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | font_family: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGText` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.05s [INFO] running `Command { std: "docker" "inspect" "d23377f7d6dd4e8e85dbc2fde0867519848d3223aaf448b3e33904d44effe800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23377f7d6dd4e8e85dbc2fde0867519848d3223aaf448b3e33904d44effe800", kill_on_drop: false }` [INFO] [stdout] d23377f7d6dd4e8e85dbc2fde0867519848d3223aaf448b3e33904d44effe800 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6ec98aab93c2ad86dd810903f8f9e153ad7a667d3c9e56237e1128852354388 [INFO] running `Command { std: "docker" "start" "-a" "d6ec98aab93c2ad86dd810903f8f9e153ad7a667d3c9e56237e1128852354388", kill_on_drop: false }` [INFO] [stderr] Compiling ggrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `plotters_svg::SVGBackend` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plotters_svg::SVGBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plotters::prelude::*` [INFO] [stdout] --> src/backend/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use plotters::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GGError` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use ggplot_error::{GGError, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | let style: Result> = hex.chars().map(|c| hex_to_u8(hex)).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ggplot` is never used [INFO] [stdout] --> src/backend/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn ggplot() -> GGPlot { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `joint_between`, `joint_end`, and `joint_start` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GGLine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | /// The size of a line, must positive [INFO] [stdout] 22 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | joint_between: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Define the joint at start of line [INFO] [stdout] 28 | joint_end: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | /// Define the joint at end of line [INFO] [stdout] 30 | joint_start: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGLine` 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 `fill` and `lines` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GGPolygon { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPolygon` 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 `size`, `edge`, and `fill` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct GGPoint { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 72 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | edge: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPoint` 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 `font_family` is never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct GGText { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | font_family: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGText` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GGError` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use ggplot_error::{GGError, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:51:54 [INFO] [stdout] | [INFO] [stdout] 51 | let style: Result> = hex.chars().map(|c| hex_to_u8(hex)).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ggplot` is never used [INFO] [stdout] --> src/backend/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn ggplot() -> GGPlot { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `joint_between`, `joint_end`, and `joint_start` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GGLine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 21 | /// The size of a line, must positive [INFO] [stdout] 22 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | joint_between: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Define the joint at start of line [INFO] [stdout] 28 | joint_end: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | /// Define the joint at end of line [INFO] [stdout] 30 | joint_start: GGLineJoint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGLine` 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 `fill` and `lines` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GGPolygon { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | lines: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPolygon` 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 `size`, `edge`, and `fill` are never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct GGPoint { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 72 | size: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | edge: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | fill: Color, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGPoint` 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 `font_family` is never read [INFO] [stdout] --> src/plot/aesthetic/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct GGText { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 87 | font_family: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GGText` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plot/aesthetic/line_style.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn iter(&self) -> GGLineDrawOrBlank<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "d6ec98aab93c2ad86dd810903f8f9e153ad7a667d3c9e56237e1128852354388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ec98aab93c2ad86dd810903f8f9e153ad7a667d3c9e56237e1128852354388", kill_on_drop: false }` [INFO] [stdout] d6ec98aab93c2ad86dd810903f8f9e153ad7a667d3c9e56237e1128852354388 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98a2978a830d83064564e1282958b24e4b12780ba4ed5a41f838770f9091231a [INFO] running `Command { std: "docker" "start" "-a" "98a2978a830d83064564e1282958b24e4b12780ba4ed5a41f838770f9091231a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `plotters_svg::SVGBackend` [INFO] [stdout] [INFO] [stderr] --> src/backend/mod.rs:1:5 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test backend::main ... ok [INFO] [stderr] 1 | use plotters_svg::SVGBackend; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 2 tests [INFO] [stderr] warning: unused import: `plotters::prelude::*` [INFO] [stdout] test ready ... ok [INFO] [stderr] --> src/backend/mod.rs:2:5 [INFO] [stdout] test aesthetic::test ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 2 | use plotters::prelude::*; [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused import: `GGError` [INFO] [stderr] --> src/lib.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use ggplot_error::{GGError, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/plot/aesthetic/line_style.rs:51:54 [INFO] [stderr] | [INFO] [stderr] 51 | let style: Result> = hex.chars().map(|c| hex_to_u8(hex)).collect(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `ggplot` is never used [INFO] [stderr] --> src/backend/mod.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn ggplot() -> GGPlot { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `size`, `joint_between`, `joint_end`, and `joint_start` are never read [INFO] [stderr] --> src/plot/aesthetic/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct GGLine { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 21 | /// The size of a line, must positive [INFO] [stderr] 22 | size: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | joint_between: GGLineJoint, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 27 | /// Define the joint at start of line [INFO] [stderr] 28 | joint_end: GGLineJoint, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 29 | /// Define the joint at end of line [INFO] [stderr] 30 | joint_start: GGLineJoint, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GGLine` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `fill` and `lines` are never read [INFO] [stderr] --> src/plot/aesthetic/mod.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct GGPolygon { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 47 | fill: Color, [INFO] [stderr] | ^^^^ [INFO] [stderr] 48 | lines: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GGPolygon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `size`, `edge`, and `fill` are never read [INFO] [stderr] --> src/plot/aesthetic/mod.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct GGPoint { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 72 | size: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 73 | edge: Color, [INFO] [stderr] | ^^^^ [INFO] [stderr] 74 | fill: Color, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GGPoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `font_family` is never read [INFO] [stderr] --> src/plot/aesthetic/mod.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct GGText { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 87 | font_family: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GGText` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/plot/aesthetic/line_style.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn iter(&self) -> GGLineDrawOrBlank { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | pub fn iter(&self) -> GGLineDrawOrBlank<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GGError` [INFO] [stderr] --> src/lib.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use ggplot_error::{GGError, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ggrust` (lib) generated 10 warnings (run `cargo fix --lib -p ggrust` to apply 4 suggestions) [INFO] [stderr] warning: `ggrust` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p ggrust --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ggrust-2f89eef35cea8746) [INFO] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-45e6a591f14b3bc4) [INFO] [stderr] Doc-tests ggrust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98a2978a830d83064564e1282958b24e4b12780ba4ed5a41f838770f9091231a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a2978a830d83064564e1282958b24e4b12780ba4ed5a41f838770f9091231a", kill_on_drop: false }` [INFO] [stdout] 98a2978a830d83064564e1282958b24e4b12780ba4ed5a41f838770f9091231a