[INFO] fetching crate amdgpu_top_json 0.11.0...
[INFO] testing amdgpu_top_json-0.11.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate amdgpu_top_json 0.11.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate amdgpu_top_json 0.11.0
[INFO] finished tweaking crates.io crate amdgpu_top_json 0.11.0
[INFO] tweaked toml for crates.io crate amdgpu_top_json 0.11.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate amdgpu_top_json 0.11.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate amdgpu_top_json 0.11.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libamdgpu_top v0.11.0
[INFO] [stderr]   Downloaded libdrm_amdgpu_sys v0.8.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63b413f51a33ccba99cebd1457635bcdb0e1d01ab7519de7e85672e4866a7568
[INFO] running `Command { std: "docker" "start" "-a" "63b413f51a33ccba99cebd1457635bcdb0e1d01ab7519de7e85672e4866a7568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63b413f51a33ccba99cebd1457635bcdb0e1d01ab7519de7e85672e4866a7568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63b413f51a33ccba99cebd1457635bcdb0e1d01ab7519de7e85672e4866a7568", kill_on_drop: false }`
[INFO] [stdout] 63b413f51a33ccba99cebd1457635bcdb0e1d01ab7519de7e85672e4866a7568
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fad0b758fabfa0dc0547e9bbc48f5b2d7a6579f224fadb3428ef8ae32432c4d7
[INFO] running `Command { std: "docker" "start" "-a" "fad0b758fabfa0dc0547e9bbc48f5b2d7a6579f224fadb3428ef8ae32432c4d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libdrm_amdgpu_sys v0.8.8
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling libamdgpu_top v0.11.0
[INFO] [stdout] error[E0432]: unresolved import `crate::drmVersion`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/app.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::drmVersion;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ no `drmVersion` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::drmModePropType`, `crate::drmModeConnectorType`, `crate::drmModeConnection`, `crate::drmModeCrtc`, `crate::drmModeModeInfo`, `crate::drm_mode_property_enum`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:5:5
[INFO] [stdout]     |
[INFO] [stdout]   5 |     drmModePropType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no `drmModePropType` in the root
[INFO] [stdout]   6 |     drmModeConnectorType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ no `drmModeConnectorType` in the root
[INFO] [stdout]   7 |     drmModeConnection,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ no `drmModeConnection` in the root
[INFO] [stdout]   8 |     drmModeCrtc,
[INFO] [stdout]     |     ^^^^^^^^^^^ no `drmModeCrtc` in the root
[INFO] [stdout]   9 |     drmModeModeInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ no `drmModeModeInfo` in the root
[INFO] [stdout]  10 |     drm_mode_property_enum,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^ no `drm_mode_property_enum` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::xdna::ioctl::bindings::drm_mode_property_enum` exists but is inaccessible
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/xdna/bindings.rs:980:1
[INFO] [stdout]     |
[INFO] [stdout] 980 | pub struct drm_mode_property_enum {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_drm_version_struct` found for struct `DeviceHandle` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/app.rs:374:25
[INFO] [stdout]     |
[INFO] [stdout] 374 |         self.amdgpu_dev.get_drm_version_struct().ok()
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^ method not found in `DeviceHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `libdrm_amdgpu_sys::LibDrmAmdgpu` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/device_path.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let libdrm_amdgpu = LibDrmAmdgpu::new().ok();
[INFO] [stdout]    |                                           ^^^ function or associated item not found in `libdrm_amdgpu_sys::LibDrmAmdgpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:49:60
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut s = self.enums.iter().fold(String::new(), |mut s, enum_| {
[INFO] [stdout]    |                                                            ^^^^^
[INFO] [stdout] 50 |             let _ = write!(s, "{:?}={}, ", enum_.name(), enum_.value);
[INFO] [stdout]    |                            - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut s = self.enums.iter().fold(String::new(), |mut s: /* Type */, enum_| {
[INFO] [stdout]    |                                                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:49:67
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut s = self.enums.iter().fold(String::new(), |mut s, enum_| {
[INFO] [stdout]    |                                                                   ^^^^^
[INFO] [stdout] 50 |             let _ = write!(s, "{:?}={}, ", enum_.name(), enum_.value);
[INFO] [stdout]    |                                            ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut s = self.enums.iter().fold(String::new(), |mut s, enum_: /* Type */| {
[INFO] [stdout]    |                                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_all_client_caps` found for struct `libdrm_amdgpu_sys::LibDrm` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     libdrm.set_all_client_caps(fd);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ method not found in `libdrm_amdgpu_sys::LibDrm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_drm_mode_resources` found for struct `libdrm_amdgpu_sys::LibDrm` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let Some(drm_mode_res) = libdrm.get_drm_mode_resources(fd) else { return Vec::new() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^ method not found in `libdrm_amdgpu_sys::LibDrm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let current_connectors = drm_mode_res.get_drm_mode_all_connector_current(fd);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:76:79
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let conn_info: Vec<ConnectorInfo> = current_connectors.iter().filter_map(|conn| {
[INFO] [stdout]    |                                                                               ^^^^
[INFO] [stdout] 77 |         let connector_id = conn.connector_id();
[INFO] [stdout]    |                            ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let conn_info: Vec<ConnectorInfo> = current_connectors.iter().filter_map(|conn: /* Type */| {
[INFO] [stdout]    |                                                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(_, _)`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libamdgpu_top-0.11.0/src/drm_mode.rs:86:71
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mode_props: Vec<(ModeProp, u64)> = mode_props.iter().map(|(prop, value)| {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 87 |             let prop_type = prop.property_type();
[INFO] [stdout]    |                             ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mode_props: Vec<(ModeProp, u64)> = mode_props.iter().map(|(prop, value): (_, _)| {
[INFO] [stdout]    |                                                                                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libamdgpu_top` (lib) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "fad0b758fabfa0dc0547e9bbc48f5b2d7a6579f224fadb3428ef8ae32432c4d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fad0b758fabfa0dc0547e9bbc48f5b2d7a6579f224fadb3428ef8ae32432c4d7", kill_on_drop: false }`
[INFO] [stdout] fad0b758fabfa0dc0547e9bbc48f5b2d7a6579f224fadb3428ef8ae32432c4d7
