[INFO] fetching crate blend2d 0.3.0... [INFO] checking blend2d-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate blend2d 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate blend2d 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blend2d 0.3.0 [INFO] finished tweaking crates.io crate blend2d 0.3.0 [INFO] tweaked toml for crates.io crate blend2d 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate blend2d 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded failure v0.1.5 [INFO] [stderr] Downloaded backtrace v0.3.14 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded redox_syscall v0.1.52 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded aho-corasick v0.7.3 [INFO] [stderr] Downloaded regex-syntax v0.6.6 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded regex v1.1.5 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded clang-sys v0.28.0 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded env_logger v0.6.1 [INFO] [stderr] Downloaded memchr v2.2.0 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded log v0.4.6 [INFO] [stderr] Downloaded autocfg v0.1.2 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded bindgen v0.49.0 [INFO] [stderr] Downloaded blend2d-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 303d712544a52627520b2602b2e1e1708fd4733afef8917d5b1d61adac625bc7 [INFO] running `Command { std: "docker" "start" "-a" "303d712544a52627520b2602b2e1e1708fd4733afef8917d5b1d61adac625bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "303d712544a52627520b2602b2e1e1708fd4733afef8917d5b1d61adac625bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303d712544a52627520b2602b2e1e1708fd4733afef8917d5b1d61adac625bc7", kill_on_drop: false }` [INFO] [stdout] 303d712544a52627520b2602b2e1e1708fd4733afef8917d5b1d61adac625bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cf6d569ec587b73fd6dc886d2cadd3e7e774c396a265c10f7e3ef9aeece468a [INFO] running `Command { std: "docker" "start" "-a" "7cf6d569ec587b73fd6dc886d2cadd3e7e774c396a265c10f7e3ef9aeece468a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bindgen v0.49.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling clang-sys v0.28.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling blend2d-sys v0.3.0 [INFO] [stderr] Checking blend2d v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ArrayType` is imported redundantly [INFO] [stdout] --> src/geometry.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArrayType` is already imported here [INFO] [stdout] 11 | use crate::array::ArrayType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffi` is imported redundantly [INFO] [stdout] --> src/image.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use ffi::{self, BLImageCore}; [INFO] [stdout] | ^^^^ the item `ffi` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ArrayType` is imported redundantly [INFO] [stdout] --> src/geometry.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | use super::*; [INFO] [stdout] | -------- the item `ArrayType` is already imported here [INFO] [stdout] 11 | use crate::array::ArrayType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffi` is imported redundantly [INFO] [stdout] --> src/image.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use ffi::{self, BLImageCore}; [INFO] [stdout] | ^^^^ the item `ffi` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/error.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function definition [INFO] [stdout] --> src/error.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Err(Self) [INFO] [stdout] | --------- not a function definition [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> src/error.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function definition [INFO] [stdout] --> src/error.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Err(Self) [INFO] [stdout] | --------- not a function definition [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ref_count` and `impl_type` are never used [INFO] [stdout] --> src/variant.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe trait BlVariantImpl: Sized { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 87 | fn ref_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn impl_type(&self) -> ImplType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format` and `compression` are never read [INFO] [stdout] --> src/image.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct ImageInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 402 | format: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 403 | /// Image compression (as understood by codec). [INFO] [stdout] 404 | compression: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ref_count` and `impl_type` are never used [INFO] [stdout] --> src/variant.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe trait BlVariantImpl: Sized { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 87 | fn ref_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn impl_type(&self) -> ImplType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format` and `compression` are never read [INFO] [stdout] --> src/image.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct ImageInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 402 | format: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 403 | /// Image compression (as understood by codec). [INFO] [stdout] 404 | compression: [u8; 16], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/font.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | unsafe { &*(&self.impl_().faceInfo as *const _ as *const _) } [INFO] [stdout] | ^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | backing allocation comes from here [INFO] [stdout] | [INFO] [stdout] = note: casting from `BLFontFaceInfo` (16 bytes) to `font_defs::FontFaceInfo` (20 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/font.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | unsafe { &*(&self.impl_().faceInfo as *const _ as *const _) } [INFO] [stdout] | ^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | backing allocation comes from here [INFO] [stdout] | [INFO] [stdout] = note: casting from `BLFontFaceInfo` (16 bytes) to `font_defs::FontFaceInfo` (20 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blend2d` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blend2d` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7cf6d569ec587b73fd6dc886d2cadd3e7e774c396a265c10f7e3ef9aeece468a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf6d569ec587b73fd6dc886d2cadd3e7e774c396a265c10f7e3ef9aeece468a", kill_on_drop: false }` [INFO] [stdout] 7cf6d569ec587b73fd6dc886d2cadd3e7e774c396a265c10f7e3ef9aeece468a