[INFO] fetching crate cfcli 0.4.0... [INFO] checking cfcli-0.4.0 against 40527f3e444fde1deb361751bdef9b9e11d1b971+rustflags=--cfg crater_hack --force-warn invalid-c-variadic-arguments for pr-162478 [INFO] extracting crate cfcli 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cfcli 0.4.0 [INFO] finished tweaking crates.io crate cfcli 0.4.0 [INFO] tweaked toml for crates.io crate cfcli 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cfcli 0.4.0 on toolchain 40527f3e444fde1deb361751bdef9b9e11d1b971 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cfcli 0.4.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" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `cfcli` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d [INFO] running `Command { std: "docker" "start" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid --cfg crater_hack --force-warn invalid-c-variadic-arguments" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d" "/opt/rustwide/cargo-home/bin/cargo" "+40527f3e444fde1deb361751bdef9b9e11d1b971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `cfcli` (manifest) generated 1 warning [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking no_std_io2 v0.8.1 [INFO] [stderr] Compiling heapless v0.9.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking parse_int v0.9.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking udev v0.8.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking serde_with v3.16.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking etcetera v0.10.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking console v0.16.1 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking ihex v3.0.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `AtFlags`. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.4/src/unistd.rs:929:56 [INFO] [stdout] | [INFO] [stdout] 929 | args_p.as_ptr(), env_p.as_ptr(), flags); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AtFlags` does not implement `VaArgSafe` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.26.4/src/unistd.rs:929:56 [INFO] [stdout] | [INFO] [stdout] 929 | args_p.as_ptr(), env_p.as_ptr(), flags); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe` [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 #162483 [INFO] [stdout] = note: requested on the command line with `--force-warn invalid-c-variadic-arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scroll v0.13.0 [INFO] [stderr] error: could not compile `nix` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `&mut [u8]`. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-2.6.3/src/linux_native/ioctl.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ioctl_readwrite_buf!( [INFO] [stdout] 19 | | hidraw_ioc_set_feature, [INFO] [stdout] 20 | | HIDRAW_IOC_MAGIC, [INFO] [stdout] 21 | | HIDRAW_SET_FEATURE, [INFO] [stdout] 22 | | u8 [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ioctl_readwrite_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `&mut [u8]` does not implement `VaArgSafe` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-2.6.3/src/linux_native/ioctl.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ioctl_readwrite_buf!( [INFO] [stdout] 19 | | hidraw_ioc_set_feature, [INFO] [stdout] 20 | | HIDRAW_IOC_MAGIC, [INFO] [stdout] 21 | | HIDRAW_SET_FEATURE, [INFO] [stdout] 22 | | u8 [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe` [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 #162483 [INFO] [stdout] = note: requested on the command line with `--force-warn invalid-c-variadic-arguments` [INFO] [stdout] = note: this warning originates in the macro `ioctl_readwrite_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: CRATER ERROR: C-variadic argument with type `&mut [u8]`. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-2.6.3/src/linux_native/ioctl.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / ioctl_readwrite_buf!( [INFO] [stdout] 25 | | hidraw_ioc_get_feature, [INFO] [stdout] 26 | | HIDRAW_IOC_MAGIC, [INFO] [stdout] 27 | | HIDRAW_GET_FEATURE, [INFO] [stdout] 28 | | u8 [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ioctl_readwrite_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `&mut [u8]` does not implement `VaArgSafe` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-2.6.3/src/linux_native/ioctl.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / ioctl_readwrite_buf!( [INFO] [stdout] 25 | | hidraw_ioc_get_feature, [INFO] [stdout] 26 | | HIDRAW_IOC_MAGIC, [INFO] [stdout] 27 | | HIDRAW_GET_FEATURE, [INFO] [stdout] 28 | | u8 [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: values passed as C-variadic arguments must implement `core::ffi::VaArgSafe` [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 #162483 [INFO] [stdout] = note: this warning originates in the macro `ioctl_readwrite_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hidapi` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d", kill_on_drop: false }` [INFO] [stdout] fd51657708a0083bdb9c14064df380337837c75fe366e940792536ecf841441d