[INFO] crate drm-rs 0.1.3 is already in cache [INFO] documenting drm-rs-0.1.3 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate drm-rs 0.1.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate drm-rs 0.1.3 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate drm-rs 0.1.3 [INFO] finished tweaking crates.io crate drm-rs 0.1.3 [INFO] tweaked toml for crates.io crate drm-rs 0.1.3 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b52d4448c4418503234d53fa4bdf9c665a274092d83d15d69ec2fd73786aba [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" "53b52d4448c4418503234d53fa4bdf9c665a274092d83d15d69ec2fd73786aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b52d4448c4418503234d53fa4bdf9c665a274092d83d15d69ec2fd73786aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b52d4448c4418503234d53fa4bdf9c665a274092d83d15d69ec2fd73786aba", kill_on_drop: false }` [INFO] [stdout] 53b52d4448c4418503234d53fa4bdf9c665a274092d83d15d69ec2fd73786aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 436f58132d6d55696650028f2c8298816bf91c49dfe90c010805efe351201ee1 [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" "436f58132d6d55696650028f2c8298816bf91c49dfe90c010805efe351201ee1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Documenting drm-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | pub const DRM_MODE_TYPE_BUILTIN: c_int = (1<<0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | pub const DRM_MODE_TYPE_CLOCK_C: c_int = ((1<<1) | DRM_MODE_TYPE_BUILTIN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | pub const DRM_MODE_TYPE_CRTC_C: c_int = ((1<<2) | DRM_MODE_TYPE_BUILTIN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | pub const DRM_MODE_TYPE_PREFERRED: c_int = (1<<3); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | pub const DRM_MODE_TYPE_DEFAULT: c_int = (1<<4); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | pub const DRM_MODE_TYPE_USERDEF: c_int = (1<<5); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | pub const DRM_MODE_TYPE_DRIVER: c_int = (1<<6); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub const DRM_MODE_FLAG_PHSYNC: c_int = (1<<0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | pub const DRM_MODE_FLAG_NHSYNC: c_int = (1<<1); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | pub const DRM_MODE_FLAG_PVSYNC: c_int = (1<<2); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | pub const DRM_MODE_FLAG_NVSYNC: c_int = (1<<3); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | pub const DRM_MODE_FLAG_INTERLACE: c_int = (1<<4); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | pub const DRM_MODE_FLAG_DBLSCAN: c_int = (1<<5); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | pub const DRM_MODE_FLAG_CSYNC: c_int = (1<<6); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | pub const DRM_MODE_FLAG_PCSYNC: c_int = (1<<7); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub const DRM_MODE_FLAG_NCSYNC: c_int = (1<<8); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub const DRM_MODE_FLAG_HSKEW: c_int = (1<<9); /* hskew provided */ [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | pub const DRM_MODE_FLAG_BCAST: c_int = (1<<10); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | pub const DRM_MODE_FLAG_PIXMUX: c_int = (1<<11); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub const DRM_MODE_FLAG_DBLCLK: c_int = (1<<12); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub const DRM_MODE_FLAG_CLKDIV2: c_int = (1<<13); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub const DRM_MODE_FLAG_3D_MASK: c_int = (0x1f<<14); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | pub const DRM_MODE_FLAG_3D_NONE: c_int = (0<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | pub const DRM_MODE_FLAG_3D_FRAME_PACKING: c_int = (1<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | pub const DRM_MODE_FLAG_3D_FIELD_ALTERNATIVE: c_int = (2<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | pub const DRM_MODE_FLAG_3D_LINE_ALTERNATIVE: c_int = (3<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | pub const DRM_MODE_FLAG_3D_SIDE_BY_SIDE_FULL: c_int = (4<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | pub const DRM_MODE_FLAG_3D_L_DEPTH: c_int = (5<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:69:59 [INFO] [stdout] | [INFO] [stdout] 69 | pub const DRM_MODE_FLAG_3D_L_DEPTH_GFX_GFX_DEPTH: c_int = (6<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | pub const DRM_MODE_FLAG_3D_TOP_AND_BOTTOM: c_int = (7<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/drm_mode.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | pub const DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF: c_int = (8<<14); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | pub const DRM_MODE_PROP_PENDING: c_int = (1<<0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | pub const DRM_MODE_PROP_RANGE: c_int = (1<<1); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | pub const DRM_MODE_PROP_IMMUTABLE: c_int = (1<<2); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | pub const DRM_MODE_PROP_ENUM: c_int = (1<<3) /* enumerated type with text strings */; [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub const DRM_MODE_PROP_BLOB: c_int = (1<<4); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | pub const DRM_MODE_CURSOR_BO: c_int = (1<<0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | pub const DRM_MODE_CURSOR_MOVE: c_int = (1<<1); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[u32; 4]`, which is not FFI-safe [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | pixel_format: uint32_t, bo_handles: [uint32_t; 4], [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [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 `[u32; 4]`, which is not FFI-safe [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:403:18 [INFO] [stdout] | [INFO] [stdout] 403 | pitches: [uint32_t; 4], offsets: [uint32_t; 4], [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 `[u32; 4]`, which is not FFI-safe [INFO] [stdout] --> src/ffi/xf86drm_mode.rs:403:42 [INFO] [stdout] | [INFO] [stdout] 403 | pitches: [uint32_t; 4], offsets: [uint32_t; 4], [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: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "436f58132d6d55696650028f2c8298816bf91c49dfe90c010805efe351201ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "436f58132d6d55696650028f2c8298816bf91c49dfe90c010805efe351201ee1", kill_on_drop: false }` [INFO] [stdout] 436f58132d6d55696650028f2c8298816bf91c49dfe90c010805efe351201ee1