[INFO] fetching crate vectorview 0.1.0... [INFO] checking vectorview-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate vectorview 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate vectorview 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.22.0 [INFO] [stderr] Downloaded strum_macros v0.22.0 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4285abd7f0e5c58fd71f56f5b2fab9ad20452e9c406a993910a41362158ce812 [INFO] running `Command { std: "docker" "start" "-a" "4285abd7f0e5c58fd71f56f5b2fab9ad20452e9c406a993910a41362158ce812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4285abd7f0e5c58fd71f56f5b2fab9ad20452e9c406a993910a41362158ce812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4285abd7f0e5c58fd71f56f5b2fab9ad20452e9c406a993910a41362158ce812", kill_on_drop: false }` [INFO] [stdout] 4285abd7f0e5c58fd71f56f5b2fab9ad20452e9c406a993910a41362158ce812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b970d67d5400515bb4c02426b334e8d7d0295e4753a86b113fdad7c0c29639 [INFO] running `Command { std: "docker" "start" "-a" "a6b970d67d5400515bb4c02426b334e8d7d0295e4753a86b113fdad7c0c29639", 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: `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 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 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: `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: 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: 18 warnings emitted [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [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 2` [INFO] running `Command { std: "docker" "inspect" "a6b970d67d5400515bb4c02426b334e8d7d0295e4753a86b113fdad7c0c29639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b970d67d5400515bb4c02426b334e8d7d0295e4753a86b113fdad7c0c29639", kill_on_drop: false }` [INFO] [stdout] a6b970d67d5400515bb4c02426b334e8d7d0295e4753a86b113fdad7c0c29639