[INFO] cloning repository https://github.com/rust-lang/libc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang/libc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8941246864e2484fa9c2a8e1a8f573ef4311c5d [INFO] checking rust-lang/libc against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang/libc 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 git repo https://github.com/rust-lang/libc [INFO] finished tweaking git repo https://github.com/rust-lang/libc [INFO] tweaked toml for git repo https://github.com/rust-lang/libc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 garando_pos v0.1.0 [INFO] [stderr] Downloaded garando_errors v0.1.0 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded garando_syntax v0.1.0 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.0 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded ctest2 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] 03f9d7c860a77aad21a4efaa9142d323dbe4d3c0990b10e57de5d7789d03338f [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" "03f9d7c860a77aad21a4efaa9142d323dbe4d3c0990b10e57de5d7789d03338f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03f9d7c860a77aad21a4efaa9142d323dbe4d3c0990b10e57de5d7789d03338f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f9d7c860a77aad21a4efaa9142d323dbe4d3c0990b10e57de5d7789d03338f", kill_on_drop: false }` [INFO] [stdout] 03f9d7c860a77aad21a4efaa9142d323dbe4d3c0990b10e57de5d7789d03338f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0f730b8994e9197fbba2b49d8c7ea5dc53ee5385c26267aaf24ffc221bd7083c [INFO] running `Command { std: "docker" "start" "-a" "0f730b8994e9197fbba2b49d8c7ea5dc53ee5385c26267aaf24ffc221bd7083c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.93 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling garando_pos v0.1.0 [INFO] [stderr] Compiling garando_errors v0.1.0 [INFO] [stderr] Compiling garando_syntax v0.1.0 [INFO] [stderr] Compiling ctest2 v0.4.0 [INFO] [stderr] Compiling libc-test v0.2.93 (/opt/rustwide/workdir/libc-test) [INFO] [stderr] warning: /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.c: In function '__test_roundtrip_inotify_event': [INFO] [stderr] warning: /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.c:22242:13: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 [INFO] [stderr] warning: 22242 | ) { [INFO] [stderr] warning: | ^ [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | (&((*(0 as *const $ty)).$field)) as *const _ as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21024 | same(offset_of!(epoll_event, events), [INFO] [stdout] | ------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.rs:21027:43 [INFO] [stdout] | [INFO] [stdout] 21027 | same(mem::size_of_val(&(*foo).events) as u64, [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/libc-test-4b233e7afd981449/out/main.rs:21040:26 [INFO] [stdout] | [INFO] [stdout] 21040 | same(&(*foo).events as *const _ as *mut _, [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/libc-test-4b233e7afd981449/out/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | (&((*(0 as *const $ty)).$field)) as *const _ as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21054 | same(offset_of!(epoll_event, u64), [INFO] [stdout] | ---------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.rs:21057:43 [INFO] [stdout] | [INFO] [stdout] 21057 | same(mem::size_of_val(&(*foo).u64) as u64, [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/libc-test-4b233e7afd981449/out/main.rs:21070:26 [INFO] [stdout] | [INFO] [stdout] 21070 | same(&(*foo).u64 as *const _ as *mut _, [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/libc-test-4b233e7afd981449/out/main.rs:21089:51 [INFO] [stdout] | [INFO] [stdout] 21089 | let size = mem::size_of_val(&(*foo).events); [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/libc-test-4b233e7afd981449/out/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | (&((*(0 as *const $ty)).$field)) as *const _ as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21090 | let off = offset_of!(epoll_event, events) as usize; [INFO] [stdout] | ------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-4b233e7afd981449/out/main.rs:21096:51 [INFO] [stdout] | [INFO] [stdout] 21096 | let size = mem::size_of_val(&(*foo).u64); [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/libc-test-4b233e7afd981449/out/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | (&((*(0 as *const $ty)).$field)) as *const _ as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21097 | let off = offset_of!(epoll_event, u64) as usize; [INFO] [stdout] | ---------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 11s [INFO] running `Command { std: "docker" "inspect" "0f730b8994e9197fbba2b49d8c7ea5dc53ee5385c26267aaf24ffc221bd7083c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f730b8994e9197fbba2b49d8c7ea5dc53ee5385c26267aaf24ffc221bd7083c", kill_on_drop: false }` [INFO] [stdout] 0f730b8994e9197fbba2b49d8c7ea5dc53ee5385c26267aaf24ffc221bd7083c