[INFO] fetching crate astrup 0.0.9... [INFO] building astrup-0.0.9 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate astrup 0.0.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate astrup 0.0.9 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68ca7c09a883cadeb0f8133063cb7206e04382f2c7da50668d0bd373a9075c26 [INFO] running `Command { std: "docker" "start" "-a" "68ca7c09a883cadeb0f8133063cb7206e04382f2c7da50668d0bd373a9075c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68ca7c09a883cadeb0f8133063cb7206e04382f2c7da50668d0bd373a9075c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ca7c09a883cadeb0f8133063cb7206e04382f2c7da50668d0bd373a9075c26", kill_on_drop: false }` [INFO] [stdout] 68ca7c09a883cadeb0f8133063cb7206e04382f2c7da50668d0bd373a9075c26 [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c5974c20c9a857c44a3f6a16f2af4c101ccffaea7c9158f5a44fa417644a82e [INFO] running `Command { std: "docker" "start" "-a" "0c5974c20c9a857c44a3f6a16f2af4c101ccffaea7c9158f5a44fa417644a82e", kill_on_drop: false }` [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 rand_core v0.4.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling glib v0.4.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling pango v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gtk` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name gtk /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gtk-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=692ae9559def69b8 -C extra-filename=-692ae9559def69b8 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-05dfd5b5d1225bed.rmeta --extern cairo=/opt/rustwide/target/debug/deps/libcairo-65fdf546c62cc50e.rmeta --extern cairo_sys=/opt/rustwide/target/debug/deps/libcairo_sys-4f479710f93d0ece.rmeta --extern gdk=/opt/rustwide/target/debug/deps/libgdk-04b7ab961d1d1c3c.rmeta --extern gdk_pixbuf=/opt/rustwide/target/debug/deps/libgdk_pixbuf-be01f39bc57ff7e9.rmeta --extern gdk_pixbuf_sys=/opt/rustwide/target/debug/deps/libgdk_pixbuf_sys-ffd75d466104b778.rmeta --extern gdk_sys=/opt/rustwide/target/debug/deps/libgdk_sys-80c64c135009efbd.rmeta --extern gio=/opt/rustwide/target/debug/deps/libgio-726aa67b82da971b.rmeta --extern gio_sys=/opt/rustwide/target/debug/deps/libgio_sys-9d9a62e417064356.rmeta --extern glib=/opt/rustwide/target/debug/deps/libglib-25544092487aff7e.rmeta --extern glib_sys=/opt/rustwide/target/debug/deps/libglib_sys-dd4eef45f32a8467.rmeta --extern gobject_sys=/opt/rustwide/target/debug/deps/libgobject_sys-f780b04ea1cc3ba1.rmeta --extern gtk_sys=/opt/rustwide/target/debug/deps/libgtk_sys-fa98000f807db325.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-9b0e9fb7873bef9b.rmeta --extern pango=/opt/rustwide/target/debug/deps/libpango-e26405c74bc677de.rmeta --cap-lints allow --cap-lints=forbid -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "0c5974c20c9a857c44a3f6a16f2af4c101ccffaea7c9158f5a44fa417644a82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c5974c20c9a857c44a3f6a16f2af4c101ccffaea7c9158f5a44fa417644a82e", kill_on_drop: false }` [INFO] [stdout] 0c5974c20c9a857c44a3f6a16f2af4c101ccffaea7c9158f5a44fa417644a82e