[INFO] fetching crate sdl2-sys 0.34.4... [INFO] checking sdl2-sys-0.34.4 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate sdl2-sys 0.34.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sdl2-sys 0.34.4 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl2-sys 0.34.4 [INFO] finished tweaking crates.io crate sdl2-sys 0.34.4 [INFO] tweaked toml for crates.io crate sdl2-sys 0.34.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate sdl2-sys 0.34.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded clang-sys v0.29.2 [INFO] [stderr] Downloaded pkg-config v0.3.11 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded clap v2.27.1 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded filetime v0.1.14 [INFO] [stderr] Downloaded xattr v0.1.11 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded flate2 v1.0.3 [INFO] [stderr] Downloaded tar v0.4.13 [INFO] [stderr] Downloaded bindgen v0.53.2 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded unidiff v0.3.1 [INFO] [stderr] Downloaded cc v1.0.3 [INFO] [stderr] Downloaded cmake v0.1.26 [INFO] [stderr] Downloaded encoding_rs v0.8.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc77608449fab8499cd0291e5f45aa276d7c577688fdc143d615455610ae8937 [INFO] running `Command { std: "docker" "start" "-a" "dc77608449fab8499cd0291e5f45aa276d7c577688fdc143d615455610ae8937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc77608449fab8499cd0291e5f45aa276d7c577688fdc143d615455610ae8937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc77608449fab8499cd0291e5f45aa276d7c577688fdc143d615455610ae8937", kill_on_drop: false }` [INFO] [stdout] dc77608449fab8499cd0291e5f45aa276d7c577688fdc143d615455610ae8937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ed2575d2672435cc51255a468e2c00c2cc854638ff33f02185d7b9442cbabe0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ed2575d2672435cc51255a468e2c00c2cc854638ff33f02185d7b9442cbabe0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling sdl2-sys v0.34.4 (/opt/rustwide/workdir) [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2-sys` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2871:18 [INFO] [stdout] | [INFO] [stdout] 2871 | unsafe { &(*(::core::ptr::null::())).needed as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2881:18 [INFO] [stdout] | [INFO] [stdout] 2881 | unsafe { &(*(::core::ptr::null::())).src_format as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2891:18 [INFO] [stdout] | [INFO] [stdout] 2891 | unsafe { &(*(::core::ptr::null::())).dst_format as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2901:18 [INFO] [stdout] | [INFO] [stdout] 2901 | unsafe { &(*(::core::ptr::null::())).rate_incr as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2911:18 [INFO] [stdout] | [INFO] [stdout] 2911 | unsafe { &(*(::core::ptr::null::())).buf as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2921:18 [INFO] [stdout] | [INFO] [stdout] 2921 | unsafe { &(*(::core::ptr::null::())).len as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2931:18 [INFO] [stdout] | [INFO] [stdout] 2931 | unsafe { &(*(::core::ptr::null::())).len_cvt as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2941:18 [INFO] [stdout] | [INFO] [stdout] 2941 | unsafe { &(*(::core::ptr::null::())).len_mult as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2951:18 [INFO] [stdout] | [INFO] [stdout] 2951 | unsafe { &(*(::core::ptr::null::())).len_ratio as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2961:18 [INFO] [stdout] | [INFO] [stdout] 2961 | unsafe { &(*(::core::ptr::null::())).filters as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/sdl2-sys-651f3514ed331262/out/sdl_bindings.rs:2971:18 [INFO] [stdout] | [INFO] [stdout] 2971 | unsafe { &(*(::core::ptr::null::())).filter_index as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ed2575d2672435cc51255a468e2c00c2cc854638ff33f02185d7b9442cbabe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed2575d2672435cc51255a468e2c00c2cc854638ff33f02185d7b9442cbabe0", kill_on_drop: false }` [INFO] [stdout] 2ed2575d2672435cc51255a468e2c00c2cc854638ff33f02185d7b9442cbabe0