[INFO] fetching crate vectorview 0.1.0... [INFO] testing vectorview-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate vectorview 0.1.0 into /workspace/builds/worker-6-tc1/source [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] validating manifest of crates.io crate vectorview 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding rpg-stat v3.0.0 (available: v2021.12.16) [INFO] [stderr] Adding svg v0.10.0 (available: v0.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d7238ee37f6fc5e2e6fcbc706d0de0ef1a6af7e102d61bc13e2ea523f332e7f [INFO] running `Command { std: "docker" "start" "-a" "7d7238ee37f6fc5e2e6fcbc706d0de0ef1a6af7e102d61bc13e2ea523f332e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7238ee37f6fc5e2e6fcbc706d0de0ef1a6af7e102d61bc13e2ea523f332e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7238ee37f6fc5e2e6fcbc706d0de0ef1a6af7e102d61bc13e2ea523f332e7f", kill_on_drop: false }` [INFO] [stdout] 7d7238ee37f6fc5e2e6fcbc706d0de0ef1a6af7e102d61bc13e2ea523f332e7f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2717efa5d9d6db3ce7aa808858212d55211c9468e48cec238c2e45198cecca0 [INFO] running `Command { std: "docker" "start" "-a" "a2717efa5d9d6db3ce7aa808858212d55211c9468e48cec238c2e45198cecca0", kill_on_drop: false }` [INFO] [stderr] Compiling svg v0.10.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.21s [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" "a2717efa5d9d6db3ce7aa808858212d55211c9468e48cec238c2e45198cecca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2717efa5d9d6db3ce7aa808858212d55211c9468e48cec238c2e45198cecca0", kill_on_drop: false }` [INFO] [stdout] a2717efa5d9d6db3ce7aa808858212d55211c9468e48cec238c2e45198cecca0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d742d15cc01f75ad8bbc18b9393e505786791487b1d0c136bd518964e36f01c9 [INFO] running `Command { std: "docker" "start" "-a" "d742d15cc01f75ad8bbc18b9393e505786791487b1d0c136bd518964e36f01c9", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [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" "d742d15cc01f75ad8bbc18b9393e505786791487b1d0c136bd518964e36f01c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d742d15cc01f75ad8bbc18b9393e505786791487b1d0c136bd518964e36f01c9", kill_on_drop: false }` [INFO] [stdout] d742d15cc01f75ad8bbc18b9393e505786791487b1d0c136bd518964e36f01c9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26d2fa3598ca5364737926d6f9865650eb4adaaa0d2be6becb744591af337692 [INFO] running `Command { std: "docker" "start" "-a" "26d2fa3598ca5364737926d6f9865650eb4adaaa0d2be6becb744591af337692", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/svg.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test tests::test_vector_expression ... FAILED [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test tests::test_vector_effect ... FAILED [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused import: `svg::Document` [INFO] [stdout] failures: [INFO] [stderr] --> src/svg.rs:2:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] ---- tests::test_vector_expression stdout ---- [INFO] [stderr] 2 | use svg::Document; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] thread 'tests::test_vector_expression' (17) panicked at src/lib.rs:32:43: [INFO] [stderr] [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] warning: unused import: `Filter` [INFO] [stdout] stack backtrace: [INFO] [stderr] --> src/svg.rs:3:35 [INFO] [stdout] 0: 0x5c39d2db26a2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 3 | use svg::node::element::{Ellipse, Filter, Rectangle, path::Data, Path}; [INFO] [stdout] 1: 0x5c39d2db26a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] | ^^^^^^ [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] [INFO] [stdout] 2: 0x5c39d2db26a2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] warning: unused import: `Teeth` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] --> src/prelude.rs:1:20 [INFO] [stdout] 3: 0x5c39d2db26a2 - ::fmt::h52160e9da139e442 [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 1 | use crate::enums::{Teeth, Expression}; [INFO] [stdout] 4: 0x5c39d2dc313f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] | ^^^^^ [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] [INFO] [stdout] 5: 0x5c39d2dc313f - core::fmt::write::hf09a056a304e021a [INFO] [stderr] warning: unused variable: `anger` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] --> src/svg.rs:43:139 [INFO] [stdout] 6: 0x5c39d2d7f741 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 43 | ...olor:&str, teeth_color:&str, anger:bool, teeth:Teeth) -> Group { [INFO] [stdout] 7: 0x5c39d2d7f741 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_anger` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] | [INFO] [stdout] 8: 0x5c39d2d8b812 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] [INFO] [stdout] 9: 0x5c39d2d9035f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] warning: unused variable: `hand` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] --> src/svg.rs:140:13 [INFO] [stdout] 10: 0x5c39d2d901f1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stderr] 140 | let hand = skin_color; [INFO] [stdout] 11: 0x5c39d2d36abe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] [INFO] [stdout] 12: 0x5c39d2d36abe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stderr] warning: unused variable: `jaw_w` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stderr] --> src/svg.rs:252:13 [INFO] [stdout] 13: 0x5c39d2d90a1f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 252 | let jaw_w:f64 = face_w / 3.0;//(face_w / 16.0) * 8.5; [INFO] [stdout] 14: 0x5c39d2d90a1f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_jaw_w` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stderr] [INFO] [stdout] 15: 0x5c39d2d9087a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stderr] warning: unused variable: `ear_h` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stderr] --> src/svg.rs:260:13 [INFO] [stdout] 16: 0x5c39d2d8b949 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 260 | let ear_h:f64 = nose_h; [INFO] [stdout] 17: 0x5c39d2d73c3d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_h` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stderr] [INFO] [stdout] 18: 0x5c39d2dcaf00 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stderr] warning: unused variable: `ear_rx` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stderr] --> src/svg.rs:261:13 [INFO] [stdout] 19: 0x5c39d2dca616 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stderr] 261 | let ear_rx:f64 = face_x + face_w - spacer; [INFO] [stdout] 20: 0x5c39d2d059e3 - core::result::Result::unwrap::h9d0f6feb8442f666 [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ear_rx` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stderr] [INFO] [stdout] 21: 0x5c39d2d059e3 - vectorview::tests::test_vector_expression::h68e2573ec4ef4706 [INFO] [stderr] warning: unused variable: `h` [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:32:43 [INFO] [stderr] --> src/svg.rs:339:45 [INFO] [stdout] 22: 0x5c39d2d05a87 - vectorview::tests::test_vector_expression::{{closure}}::h153afff126963262 [INFO] [stderr] | [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:23:32 [INFO] [stderr] 339 | fn get_fang(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64, amount:usize, current:usize) -> Path { [INFO] [stdout] 23: 0x5c39d2d0c436 - core::ops::function::FnOnce::call_once::hbd5a8f4ad8056e61 [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] [INFO] [stdout] 24: 0x5c39d2d368eb - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stderr] warning: unused variable: `opacity` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] --> src/prelude.rs:6:66 [INFO] [stdout] 25: 0x5c39d2d368eb - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stderr] 6 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] 26: 0x5c39d2d4c4c5 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stderr] [INFO] [stdout] 27: 0x5c39d2d4c4c5 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] --> src/svg.rs:19:44 [INFO] [stdout] 28: 0x5c39d2d4c4c5 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 19 | self.make_eye_default(x,y,w,h,color.clone()) [INFO] [stdout] 29: 0x5c39d2d4c4c5 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] | [INFO] [stdout] 30: 0x5c39d2d4c4c5 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stderr] = 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] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] 31: 0x5c39d2d4c4c5 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stderr] [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] 32: 0x5c39d2d4c4c5 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stderr] --> src/svg.rs:80:44 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stderr] | [INFO] [stdout] 33: 0x5c39d2d22cd4 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stderr] 80 | self.make_smile_mouth(x,y,w,h,color.clone(), teeth) [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] 34: 0x5c39d2d22cd4 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] = 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] 35: 0x5c39d2d2659a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stderr] [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] 36: 0x5c39d2d2659a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stderr] --> src/prelude.rs:8:68 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] | [INFO] [stdout] 37: 0x5c39d2d2659a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stderr] 8 | Expression::Smile =>self.make_simple_body(x,y,w,h,color.clone(),"#00004a","orange", "#76612d"), [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] 38: 0x5c39d2d2659a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] = 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] 39: 0x5c39d2d2659a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stderr] [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] 40: 0x5c39d2d2659a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stderr] --> src/prelude.rs:9:52 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] | [INFO] [stdout] 41: 0x5c39d2d2659a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stderr] 9 | _=> self.make_simple_body(x,y,w,h,color.clone(),"brown","purple", "green"), [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] 42: 0x5c39d2d86a8f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stderr] = 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] 43: 0x5c39d2d86a8f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stderr] [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] warning: `vectorview` (lib) generated 15 warnings (run `cargo fix --lib -p vectorview` to apply 8 suggestions) [INFO] [stdout] 44: 0x702f80c04aa4 - [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stdout] 45: 0x702f80c91a34 - clone [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stdout] 46: 0x0 - [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 11 | use crate::prelude::*; [INFO] [stdout] ---- tests::test_vector_effect stdout ---- [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] thread 'tests::test_vector_effect' (16) panicked at src/lib.rs:44:44: [INFO] [stderr] warning: unused variable: `opacity` [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] --> src/lib.rs:18:70 [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x5c39d2db26a2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] 18 | fn make_image(&self, x:f64, y:f64, w:f64, h:f64, color:&str, opacity:f64) -> Group { [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opacity` [INFO] [stdout] 1: 0x5c39d2db26a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] warning: field `0` is never read [INFO] [stdout] 2: 0x5c39d2db26a2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] --> src/lib.rs:16:21 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] | [INFO] [stdout] 3: 0x5c39d2db26a2 - ::fmt::h52160e9da139e442 [INFO] [stderr] 16 | pub struct Test(u32); [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] | ---- ^^^ [INFO] [stdout] 4: 0x5c39d2dc313f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] | | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] | field in this struct [INFO] [stdout] 5: 0x5c39d2dc313f - core::fmt::write::hf09a056a304e021a [INFO] [stderr] | [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] = help: consider removing this field [INFO] [stdout] 6: 0x5c39d2d7f741 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] [INFO] [stdout] 7: 0x5c39d2d7f741 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stderr] warning: `vectorview` (lib test) generated 18 warnings (15 duplicates) (run `cargo fix --lib -p vectorview --tests` to apply 1 suggestion) [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] 8: 0x5c39d2d8b812 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] 9: 0x5c39d2d9035f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vectorview-8bbcd3e44ea7685b) [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 10: 0x5c39d2d901f1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c39d2d36abe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5c39d2d36abe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c39d2d90a1f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5c39d2d90a1f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c39d2d9087a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c39d2d8b949 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c39d2d73c3d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c39d2dcaf00 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5c39d2dca616 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5c39d2d054ab - core::result::Result::unwrap::h9d0f6feb8442f666 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x5c39d2d054ab - vectorview::tests::test_vector_effect::h1711158d23622bad [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:44:44 [INFO] [stdout] 22: 0x5c39d2d057a7 - vectorview::tests::test_vector_effect::{{closure}}::h5ce1d4d09a360de4 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:35:28 [INFO] [stdout] 23: 0x5c39d2d0c3e6 - core::ops::function::FnOnce::call_once::h8e704dac3f8a35dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5c39d2d368eb - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c39d2d368eb - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c39d2d4c4c5 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c39d2d4c4c5 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c39d2d4c4c5 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c39d2d4c4c5 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c39d2d4c4c5 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c39d2d4c4c5 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c39d2d4c4c5 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c39d2d22cd4 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c39d2d22cd4 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c39d2d2659a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c39d2d2659a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c39d2d2659a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c39d2d2659a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c39d2d2659a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c39d2d2659a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c39d2d2659a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5c39d2d86a8f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5c39d2d86a8f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x702f80c04aa4 - [INFO] [stdout] 45: 0x702f80c91a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_vector_effect [INFO] [stdout] tests::test_vector_expression [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26d2fa3598ca5364737926d6f9865650eb4adaaa0d2be6becb744591af337692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d2fa3598ca5364737926d6f9865650eb4adaaa0d2be6becb744591af337692", kill_on_drop: false }` [INFO] [stdout] 26d2fa3598ca5364737926d6f9865650eb4adaaa0d2be6becb744591af337692