[INFO] fetching crate astrup 0.0.9... [INFO] checking astrup-0.0.9 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate astrup 0.0.9 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate astrup 0.0.9 [INFO] finished tweaking crates.io crate astrup 0.0.9 [INFO] tweaked toml for crates.io crate astrup 0.0.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate astrup 0.0.9 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding c_vec v1.2.1 (available: v1.3.3) [INFO] [stderr] Adding cairo-rs v0.3.0 (available: v0.21.1) [INFO] [stderr] Adding gio v0.3.0 (available: v0.21.1) [INFO] [stderr] Adding gtk v0.3.0 (available: v0.18.2) [INFO] [stderr] Adding ndarray v0.11.2 (available: v0.16.1) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding palette v0.2.1 (available: v0.7.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08c0d922b8547582d930fbc5fa7ce767063ad449fe8a2df819f949c4386680c5 [INFO] running `Command { std: "docker" "start" "-a" "08c0d922b8547582d930fbc5fa7ce767063ad449fe8a2df819f949c4386680c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08c0d922b8547582d930fbc5fa7ce767063ad449fe8a2df819f949c4386680c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c0d922b8547582d930fbc5fa7ce767063ad449fe8a2df819f949c4386680c5", kill_on_drop: false }` [INFO] [stdout] 08c0d922b8547582d930fbc5fa7ce767063ad449fe8a2df819f949c4386680c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb10fee4dc427f164fbd7848274c67603ee622a362f6c32d29bf564552f3dbf [INFO] running `Command { std: "docker" "start" "-a" "9fb10fee4dc427f164fbd7848274c67603ee622a362f6c32d29bf564552f3dbf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking glib v0.4.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking pango v0.3.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking astrup v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hor_marks` and `ver_marks` are never read [INFO] [stdout] --> src/canvas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Canvas { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | hor_marks: Vec, // TODO: Use these in stead of axis [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | ver_marks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canvas` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_matrix` is never read [INFO] [stdout] --> src/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | font_matrix: Matrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hor_marks` and `ver_marks` are never read [INFO] [stdout] --> src/canvas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Canvas { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | hor_marks: Vec, // TODO: Use these in stead of axis [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | ver_marks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Canvas` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_matrix` is never read [INFO] [stdout] --> src/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | font_matrix: Matrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/view.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | let drawing_area = Box::new(DrawingArea::new)(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/view.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | let drawing_area = Box::new(DrawingArea::new)(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.93s [INFO] running `Command { std: "docker" "inspect" "9fb10fee4dc427f164fbd7848274c67603ee622a362f6c32d29bf564552f3dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb10fee4dc427f164fbd7848274c67603ee622a362f6c32d29bf564552f3dbf", kill_on_drop: false }` [INFO] [stdout] 9fb10fee4dc427f164fbd7848274c67603ee622a362f6c32d29bf564552f3dbf