[INFO] fetching crate vectorview 0.1.0... [INFO] checking vectorview-0.1.0 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate vectorview 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate vectorview 0.1.0 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396614905a27bbe27541fb3b8da02e9619a1a4cd981e6c63ca44c153094bda35 [INFO] running `Command { std: "docker" "start" "-a" "396614905a27bbe27541fb3b8da02e9619a1a4cd981e6c63ca44c153094bda35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396614905a27bbe27541fb3b8da02e9619a1a4cd981e6c63ca44c153094bda35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396614905a27bbe27541fb3b8da02e9619a1a4cd981e6c63ca44c153094bda35", kill_on_drop: false }` [INFO] [stdout] 396614905a27bbe27541fb3b8da02e9619a1a4cd981e6c63ca44c153094bda35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b645daaa3a7d08e3459267f639835d6a15621d78b12b5a839c24f75d4d4d095f [INFO] running `Command { std: "docker" "start" "-a" "b645daaa3a7d08e3459267f639835d6a15621d78b12b5a839c24f75d4d4d095f", 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: `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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorview` (lib) due to 5 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vectorview` (lib test) due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b645daaa3a7d08e3459267f639835d6a15621d78b12b5a839c24f75d4d4d095f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b645daaa3a7d08e3459267f639835d6a15621d78b12b5a839c24f75d4d4d095f", kill_on_drop: false }` [INFO] [stdout] b645daaa3a7d08e3459267f639835d6a15621d78b12b5a839c24f75d4d4d095f