[INFO] cloning repository https://github.com/erg/rust-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erg/rust-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddbf0be48e966c57e4e9079b666da9a7b5660d2d [INFO] checking erg/rust-bindgen against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erg/rust-bindgen [INFO] finished tweaking git repo https://github.com/erg/rust-bindgen [INFO] tweaked toml for git repo https://github.com/erg/rust-bindgen written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erg/rust-bindgen on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erg/rust-bindgen 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/bindgen-integration/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/bindgen-tests/tests/quickchecking/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking erg/rust-bindgen against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferg%2Frust-bindgen" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erg/rust-bindgen [INFO] finished tweaking git repo https://github.com/erg/rust-bindgen [INFO] tweaked toml for git repo https://github.com/erg/rust-bindgen written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erg/rust-bindgen on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erg/rust-bindgen 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/bindgen-integration/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/bindgen-tests/tests/quickchecking/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.1 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded tempfile v3.7.1 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded clap v4.3.19 [INFO] [stderr] Downloaded clap_builder v4.3.19 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225229b9be16fc27a3ece69255505cb05b5471ce28bc3f72b0fc310a4f4e8f85 [INFO] running `Command { std: "docker" "start" "-a" "225229b9be16fc27a3ece69255505cb05b5471ce28bc3f72b0fc310a4f4e8f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225229b9be16fc27a3ece69255505cb05b5471ce28bc3f72b0fc310a4f4e8f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225229b9be16fc27a3ece69255505cb05b5471ce28bc3f72b0fc310a4f4e8f85", kill_on_drop: false }` [INFO] [stdout] 225229b9be16fc27a3ece69255505cb05b5471ce28bc3f72b0fc310a4f4e8f85 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c1873a7b820e51d6a7e8b89502e2dde890673f3684f2900427f78ea408f2f46 [INFO] running `Command { std: "docker" "start" "-a" "4c1873a7b820e51d6a7e8b89502e2dde890673f3684f2900427f78ea408f2f46", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bindgen-integration/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/bindgen-tests/tests/quickchecking/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling tests_expectations v0.1.0 (/opt/rustwide/workdir/bindgen-tests/tests/expectations) [INFO] [stderr] Checking block v0.1.6 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.64.0 (/opt/rustwide/workdir/bindgen) [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bindgen-tests v0.1.0 (/opt/rustwide/workdir/bindgen-tests) [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stdout] warning: `extern` block uses type `[i64; 2]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[f64; 2]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[f32; 4]`, which is not FFI-safe [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/vector.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn foo(arg1: __m128i, arg2: __m128d) -> __m128; [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "fastcall" is not a supported ABI for the current target [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/abi-override.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | extern "fastcall" { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/abi-override.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | extern "stdcall" { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tests_expectations` (test "abi-override") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-bitfield.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | let val: u8 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-bitfield.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | let val: u8 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-bitfield.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | let a: u8 = unsafe { ::std::mem::transmute(a) }; [INFO] [stdout] | ---------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-bitfield.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | let b: u8 = unsafe { ::std::mem::transmute(b) }; [INFO] [stdout] | ---------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ShouldDerivePartialEq` does not permit being left uninitialized [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let mut s: Self = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> bindgen-tests/tests/expectations/tests/derive-partialeq-union_1_0.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub bindgen_union_field: [u32; 38usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c1873a7b820e51d6a7e8b89502e2dde890673f3684f2900427f78ea408f2f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1873a7b820e51d6a7e8b89502e2dde890673f3684f2900427f78ea408f2f46", kill_on_drop: false }` [INFO] [stdout] 4c1873a7b820e51d6a7e8b89502e2dde890673f3684f2900427f78ea408f2f46