[INFO] fetching crate vectorview 0.1.0... [INFO] checking vectorview-0.1.0 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] extracting crate vectorview 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate vectorview 0.1.0 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vectorview 0.1.0 [INFO] finished tweaking crates.io crate vectorview 0.1.0 [INFO] tweaked toml for crates.io crate vectorview 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.16) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.2) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding rpg-stat v3.0.0 (latest: v2021.12.16) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding strum v0.22.0 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.22.0 (latest: v0.26.4) [INFO] [stderr] Adding svg v0.10.0 (latest: v0.17.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svg v0.10.0 [INFO] [stderr] Downloaded rpg-stat v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b23703cefdfa3d8e3b550060702b88e7c7fb00cc38ff436afd9e1551ec0ad195 [INFO] running `Command { std: "docker" "start" "-a" "b23703cefdfa3d8e3b550060702b88e7c7fb00cc38ff436afd9e1551ec0ad195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b23703cefdfa3d8e3b550060702b88e7c7fb00cc38ff436afd9e1551ec0ad195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23703cefdfa3d8e3b550060702b88e7c7fb00cc38ff436afd9e1551ec0ad195", kill_on_drop: false }` [INFO] [stdout] b23703cefdfa3d8e3b550060702b88e7c7fb00cc38ff436afd9e1551ec0ad195 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4763190d065814eb8d14522f989ad8a9dd130b8beca583e97454d3a84b0b8e61 [INFO] running `Command { std: "docker" "start" "-a" "4763190d065814eb8d14522f989ad8a9dd130b8beca583e97454d3a84b0b8e61", kill_on_drop: false }` [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking vectorview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/svg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Document` [INFO] [stdout] --> src/svg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svg::Document; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/svg.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::node::element::{Ellipse, Filter, Rectangle, path::Data, Path}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Teeth` [INFO] [stdout] --> src/prelude.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Teeth, Expression}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/svg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Document` [INFO] [stdout] --> src/svg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svg::Document; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/svg.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::node::element::{Ellipse, Filter, Rectangle, path::Data, Path}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Teeth` [INFO] [stdout] --> src/prelude.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Teeth, Expression}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anger` [INFO] [stdout] --> src/svg.rs:43:139 [INFO] [stdout] | [INFO] [stdout] 43 | ...olor:&str, teeth_color:&str, anger:bool, teeth:Teeth) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_anger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/svg.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let hand = skin_color; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jaw_w` [INFO] [stdout] --> src/svg.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let jaw_w:f64 = face_w / 3.0;//(face_w / 16.0) * 8.5; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jaw_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_h` [INFO] [stdout] --> src/svg.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let ear_h:f64 = nose_h; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_rx` [INFO] [stdout] --> src/svg.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let ear_rx:f64 = face_x + face_w - spacer; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anger` [INFO] [stdout] --> src/svg.rs:43:139 [INFO] [stdout] | [INFO] [stdout] 43 | ...olor:&str, teeth_color:&str, anger:bool, teeth:Teeth) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_anger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/svg.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | fn get_fang(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64, amount:usize, current:usize) -> Path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/svg.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let hand = skin_color; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jaw_w` [INFO] [stdout] --> src/svg.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let jaw_w:f64 = face_w / 3.0;//(face_w / 16.0) * 8.5; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jaw_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_h` [INFO] [stdout] --> src/svg.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let ear_h:f64 = nose_h; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_rx` [INFO] [stdout] --> src/svg.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let ear_rx:f64 = face_x + face_w - spacer; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/svg.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | fn get_fang(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64, amount:usize, current:usize) -> Path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/prelude.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | self.make_eye_default(x,y,w,h,color.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | self.make_smile_mouth(x,y,w,h,color.clone(), teeth) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | Expression::Smile =>self.make_simple_body(x,y,w,h,color.clone(),"#00004a","orange", "#76612d"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _=> self.make_simple_body(x,y,w,h,color.clone(),"brown","purple", "green"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/prelude.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/lib.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Test(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | self.make_eye_default(x,y,w,h,color.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | self.make_smile_mouth(x,y,w,h,color.clone(), teeth) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | Expression::Smile =>self.make_simple_body(x,y,w,h,color.clone(),"#00004a","orange", "#76612d"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _=> self.make_simple_body(x,y,w,h,color.clone(),"brown","purple", "green"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4763190d065814eb8d14522f989ad8a9dd130b8beca583e97454d3a84b0b8e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4763190d065814eb8d14522f989ad8a9dd130b8beca583e97454d3a84b0b8e61", kill_on_drop: false }` [INFO] [stdout] 4763190d065814eb8d14522f989ad8a9dd130b8beca583e97454d3a84b0b8e61 [INFO] checking vectorview-0.1.0 against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] extracting crate vectorview 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate vectorview 0.1.0 on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vectorview 0.1.0 [INFO] finished tweaking crates.io crate vectorview 0.1.0 [INFO] tweaked toml for crates.io crate vectorview 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.16) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.2) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding rpg-stat v3.0.0 (latest: v2021.12.16) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding strum v0.22.0 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.22.0 (latest: v0.26.4) [INFO] [stderr] Adding svg v0.10.0 (latest: v0.17.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 658b1c35aa0ec520c2d0230c97c4d4a4d72b8c4c04396933778a051f4e6d619b [INFO] running `Command { std: "docker" "start" "-a" "658b1c35aa0ec520c2d0230c97c4d4a4d72b8c4c04396933778a051f4e6d619b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "658b1c35aa0ec520c2d0230c97c4d4a4d72b8c4c04396933778a051f4e6d619b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "658b1c35aa0ec520c2d0230c97c4d4a4d72b8c4c04396933778a051f4e6d619b", kill_on_drop: false }` [INFO] [stdout] 658b1c35aa0ec520c2d0230c97c4d4a4d72b8c4c04396933778a051f4e6d619b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d25e5db073a1b32d04646e0f269bc6a237430bcee42cb179eb4bb026f3aa443a [INFO] running `Command { std: "docker" "start" "-a" "d25e5db073a1b32d04646e0f269bc6a237430bcee42cb179eb4bb026f3aa443a", kill_on_drop: false }` [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking vectorview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/svg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Document` [INFO] [stdout] --> src/svg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svg::Document; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/svg.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::node::element::{Ellipse, Filter, Rectangle, path::Data, Path}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Teeth` [INFO] [stdout] --> src/prelude.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Teeth, Expression}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/svg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svg::Document` [INFO] [stdout] --> src/svg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use svg::Document; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/svg.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use svg::node::element::{Ellipse, Filter, Rectangle, path::Data, Path}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Teeth` [INFO] [stdout] --> src/prelude.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::{Teeth, Expression}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anger` [INFO] [stdout] --> src/svg.rs:43:139 [INFO] [stdout] | [INFO] [stdout] 43 | ...olor:&str, teeth_color:&str, anger:bool, teeth:Teeth) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_anger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/svg.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let hand = skin_color; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jaw_w` [INFO] [stdout] --> src/svg.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let jaw_w:f64 = face_w / 3.0;//(face_w / 16.0) * 8.5; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jaw_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_h` [INFO] [stdout] --> src/svg.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let ear_h:f64 = nose_h; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_rx` [INFO] [stdout] --> src/svg.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let ear_rx:f64 = face_x + face_w - spacer; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/svg.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | fn get_fang(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64, amount:usize, current:usize) -> Path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anger` [INFO] [stdout] --> src/svg.rs:43:139 [INFO] [stdout] | [INFO] [stdout] 43 | ...olor:&str, teeth_color:&str, anger:bool, teeth:Teeth) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_anger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/svg.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let hand = skin_color; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jaw_w` [INFO] [stdout] --> src/svg.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let jaw_w:f64 = face_w / 3.0;//(face_w / 16.0) * 8.5; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jaw_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_h` [INFO] [stdout] --> src/svg.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let ear_h:f64 = nose_h; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/prelude.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ear_rx` [INFO] [stdout] --> src/svg.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let ear_rx:f64 = face_x + face_w - spacer; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | self.make_eye_default(x,y,w,h,color.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | self.make_smile_mouth(x,y,w,h,color.clone(), teeth) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | Expression::Smile =>self.make_simple_body(x,y,w,h,color.clone(),"#00004a","orange", "#76612d"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _=> self.make_simple_body(x,y,w,h,color.clone(),"brown","purple", "green"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/svg.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | fn get_fang(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64, amount:usize, current:usize) -> Path { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/prelude.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opacity` [INFO] [stdout] --> src/lib.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Test(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | self.make_eye_default(x,y,w,h,color.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/svg.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | self.make_smile_mouth(x,y,w,h,color.clone(), teeth) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | Expression::Smile =>self.make_simple_body(x,y,w,h,color.clone(),"#00004a","orange", "#76612d"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/prelude.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _=> self.make_simple_body(x,y,w,h,color.clone(),"brown","purple", "green"), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d25e5db073a1b32d04646e0f269bc6a237430bcee42cb179eb4bb026f3aa443a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25e5db073a1b32d04646e0f269bc6a237430bcee42cb179eb4bb026f3aa443a", kill_on_drop: false }` [INFO] [stdout] d25e5db073a1b32d04646e0f269bc6a237430bcee42cb179eb4bb026f3aa443a