[INFO] cloning repository https://github.com/matt24smith/scrnsvr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt24smith/scrnsvr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt24smith%2Fscrnsvr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt24smith%2Fscrnsvr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a085c8d3d1bf02d520482907aeeb5fa913209333 [INFO] checking matt24smith/scrnsvr against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt24smith%2Fscrnsvr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matt24smith/scrnsvr on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matt24smith/scrnsvr [INFO] finished tweaking git repo https://github.com/matt24smith/scrnsvr [INFO] tweaked toml for git repo https://github.com/matt24smith/scrnsvr written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/matt24smith/scrnsvr 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6dba848d71e3508213e4a040087ceaa2013037a53fd72759f5d00366aa80f66 [INFO] running `Command { std: "docker" "start" "-a" "e6dba848d71e3508213e4a040087ceaa2013037a53fd72759f5d00366aa80f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6dba848d71e3508213e4a040087ceaa2013037a53fd72759f5d00366aa80f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dba848d71e3508213e4a040087ceaa2013037a53fd72759f5d00366aa80f66", kill_on_drop: false }` [INFO] [stdout] e6dba848d71e3508213e4a040087ceaa2013037a53fd72759f5d00366aa80f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f841f0bfb323385fc807facf9b1f76e4acd6bd2c4aaedac8530758d14d3ad3da [INFO] running `Command { std: "docker" "start" "-a" "f841f0bfb323385fc807facf9b1f76e4acd6bd2c4aaedac8530758d14d3ad3da", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling scrnsvr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` block uses type `CString`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn XOpenDisplay(dpy: CString) -> *mut Display; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a `*const std::ffi::c_char` instead, and use `CStr::as_ptr()` [INFO] [stdout] = note: `CStr`/`CString` do not have a guaranteed layout [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | fn XOpenDisplay(dpy: CString) -> *mut Display; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | fn XCloseDisplay(dpy: *mut Display); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn XScreenSaverAllocInfo() -> *mut XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn XFree(info: *mut XScreenSaverInfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_timer(dpy: *mut Display, info: *mut XScreenSaverInfo) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_timer(dpy: *mut Display, info: *mut XScreenSaverInfo) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `CString`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn XOpenDisplay(dpy: CString) -> *mut Display; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a `*const std::ffi::c_char` instead, and use `CStr::as_ptr()` [INFO] [stdout] = note: `CStr`/`CString` do not have a guaranteed layout [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | fn XOpenDisplay(dpy: CString) -> *mut Display; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | fn XCloseDisplay(dpy: *mut Display); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn XScreenSaverAllocInfo() -> *mut XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn XFree(info: *mut XScreenSaverInfo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Display`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_timer(dpy: *mut Display, info: *mut XScreenSaverInfo) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `XScreenSaverInfo`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_timer(dpy: *mut Display, info: *mut XScreenSaverInfo) -> c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct XScreenSaverInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "f841f0bfb323385fc807facf9b1f76e4acd6bd2c4aaedac8530758d14d3ad3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f841f0bfb323385fc807facf9b1f76e4acd6bd2c4aaedac8530758d14d3ad3da", kill_on_drop: false }` [INFO] [stdout] f841f0bfb323385fc807facf9b1f76e4acd6bd2c4aaedac8530758d14d3ad3da