[INFO] fetching crate wlcs 0.1.0... [INFO] testing wlcs-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wlcs 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wlcs 0.1.0 [INFO] finished tweaking crates.io crate wlcs 0.1.0 [INFO] tweaked toml for crates.io crate wlcs 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wlcs 0.1.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding nix v0.27.1 (available: v0.30.1) [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] 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 container_of v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b28502bbb7210efc73363232ced9eda72aa28e2256a5e5dff01cc9ae8d557f43 [INFO] running `Command { std: "docker" "start" "-a" "b28502bbb7210efc73363232ced9eda72aa28e2256a5e5dff01cc9ae8d557f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b28502bbb7210efc73363232ced9eda72aa28e2256a5e5dff01cc9ae8d557f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28502bbb7210efc73363232ced9eda72aa28e2256a5e5dff01cc9ae8d557f43", kill_on_drop: false }` [INFO] [stdout] b28502bbb7210efc73363232ced9eda72aa28e2256a5e5dff01cc9ae8d557f43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 38f007cf727c7009b5f5fc32b315240b272c6787dd691771142ec9213e64a8f5 [INFO] running `Command { std: "docker" "start" "-a" "38f007cf727c7009b5f5fc32b315240b272c6787dd691771142ec9213e64a8f5", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling container_of v0.5.1 [INFO] [stderr] Compiling wlcs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_wrappers.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | std::ptr::addr_of_mut!((*handle).wlcs_display_server) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_wrappers.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / unsafe extern "C" fn create_server_ffi( [INFO] [stdout] 77 | | _argc: c_int, [INFO] [stdout] 78 | | _argv: *mut *const c_char, [INFO] [stdout] 79 | | ) -> *mut WlcsDisplayServer { [INFO] [stdout] | |___________________________^ [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(unsafe_op_in_unsafe_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_wrappers.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | std::ptr::addr_of_mut!((*handle).wlcs_pointer) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_wrappers.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe extern "C" fn create_pointer_ffi(ptr: *mut WlcsDisplayServer) -> *mut WlcsPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_wrappers.rs:245:32 [INFO] [stdout] | [INFO] [stdout] 245 | std::ptr::addr_of_mut!((*handle).wlcs_touch) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_wrappers.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 | unsafe extern "C" fn create_touch_ffi(ptr: *mut WlcsDisplayServer) -> *mut WlcsTouch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wlcs` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "38f007cf727c7009b5f5fc32b315240b272c6787dd691771142ec9213e64a8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f007cf727c7009b5f5fc32b315240b272c6787dd691771142ec9213e64a8f5", kill_on_drop: false }` [INFO] [stdout] 38f007cf727c7009b5f5fc32b315240b272c6787dd691771142ec9213e64a8f5