[INFO] fetching crate xcb-rs 0.1.0... [INFO] testing xcb-rs-0.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate xcb-rs 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate xcb-rs 0.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xcb-rs 0.1.0 [INFO] finished tweaking crates.io crate xcb-rs 0.1.0 [INFO] tweaked toml for crates.io crate xcb-rs 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc51aa0268ab59aaf8f2ef3ba1a8110dbc99dff85eebc4e8abb0a1fe30399bc2 [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" "dc51aa0268ab59aaf8f2ef3ba1a8110dbc99dff85eebc4e8abb0a1fe30399bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc51aa0268ab59aaf8f2ef3ba1a8110dbc99dff85eebc4e8abb0a1fe30399bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc51aa0268ab59aaf8f2ef3ba1a8110dbc99dff85eebc4e8abb0a1fe30399bc2", kill_on_drop: false }` [INFO] [stdout] dc51aa0268ab59aaf8f2ef3ba1a8110dbc99dff85eebc4e8abb0a1fe30399bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8eea0e1d48ccf41ba37bf8f7d83f8b2f362b39692fb5ac322e3950157b1a0dc [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" "b8eea0e1d48ccf41ba37bf8f7d83f8b2f362b39692fb5ac322e3950157b1a0dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling xcb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/x/x.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | CString::new(display_name).unwrap().as_ptr() [INFO] [stdout] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.43s [INFO] running `Command { std: "docker" "inspect" "b8eea0e1d48ccf41ba37bf8f7d83f8b2f362b39692fb5ac322e3950157b1a0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8eea0e1d48ccf41ba37bf8f7d83f8b2f362b39692fb5ac322e3950157b1a0dc", kill_on_drop: false }` [INFO] [stdout] b8eea0e1d48ccf41ba37bf8f7d83f8b2f362b39692fb5ac322e3950157b1a0dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eef45a2c372e8151fb1600ac80873b11b21b1ccbfc63a6e6410688d466c0c192 [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" "eef45a2c372e8151fb1600ac80873b11b21b1ccbfc63a6e6410688d466c0c192", kill_on_drop: false }` [INFO] [stderr] Compiling xcb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/x/x.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | CString::new(display_name).unwrap().as_ptr() [INFO] [stdout] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/x/x.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | CString::new(display_name).unwrap().as_ptr() [INFO] [stdout] | ----------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.xcb_rs.36k4rli4-cgu.6.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2" "/opt/rustwide/target/debug/deps/xcb_rs-60803d81f8899dd2.wg3ibwo372h2u4b.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lxcb" "-lxcb-composite" "-lxcb" "-lxcb-cursor" "-lxcb-damage" "-lxcb-dpms" "-lxcb-dri2" "-lxcb-dri3" "-lxcb" "-lxcb-ewmh" "-lxcb-glx" "-lxcb-icccm" "-lxcb-image" "-lxcb-keysyms" "-lxcb-present" "-lxcb-randr" "-lxcb-record" "-lxcb-render" "-lxcb-render-util" "-lxcb-res" "-lxcb-screensaver" "-lxcb-shape" "-lxcb-shm" "-lxcb-sync" "-lxcb" "-lxcb-xf86dri" "-lxcb-xfixes" "-lxcb-xinerama" "-lxcb-xinput" "-lxcb-xkb" "-lxcb" "-lxcb-xrm" "-lxcb" "-lxcb-xtest" "-lxcb-xv" "-lxcb-xvmc" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-2eeb146fbbc48d30.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-bf52c83b5218000c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-1b1cab3f10607987.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-2e1c807fd8d214f1.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a6c04fd1ac45a934.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c9f124f6e94019e0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lxcb-composite [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-cursor [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-damage [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-dpms [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-ewmh [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-icccm [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-image [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-keysyms [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-record [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-render-util [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-res [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-screensaver [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xf86dri [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xinerama [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xinput [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xkb [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xrm [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xtest [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xv [INFO] [stdout] /usr/bin/ld: cannot find -lxcb-xvmc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xcb-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "eef45a2c372e8151fb1600ac80873b11b21b1ccbfc63a6e6410688d466c0c192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef45a2c372e8151fb1600ac80873b11b21b1ccbfc63a6e6410688d466c0c192", kill_on_drop: false }` [INFO] [stdout] eef45a2c372e8151fb1600ac80873b11b21b1ccbfc63a6e6410688d466c0c192