[INFO] cloning repository https://github.com/Kerollmops/linen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kerollmops/linen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerollmops%2Flinen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerollmops%2Flinen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d6af6fbe97e6ec2448ac45b3ce42d89b43c0a9e [INFO] testing Kerollmops/linen against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKerollmops%2Flinen" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kerollmops/linen on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kerollmops/linen [INFO] finished tweaking git repo https://github.com/Kerollmops/linen [INFO] tweaked toml for git repo https://github.com/Kerollmops/linen written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/Kerollmops/linen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-lang-nursery/rust-bindgen.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded which v1.0.3 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded libloading v0.4.2 [INFO] [stderr] Downloaded cexpr v0.2.2 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded clang-sys v0.21.0 [INFO] [stderr] Downloaded cl-sys v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a3d9aa40f651b854cac0e84853ee5a3e5d368aad7e410e8ae147fb813f7819c [INFO] running `Command { std: "docker" "start" "-a" "1a3d9aa40f651b854cac0e84853ee5a3e5d368aad7e410e8ae147fb813f7819c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a3d9aa40f651b854cac0e84853ee5a3e5d368aad7e410e8ae147fb813f7819c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3d9aa40f651b854cac0e84853ee5a3e5d368aad7e410e8ae147fb813f7819c", kill_on_drop: false }` [INFO] [stdout] 1a3d9aa40f651b854cac0e84853ee5a3e5d368aad7e410e8ae147fb813f7819c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4ec8edc8f0579f886d8845a6ae975686dcea7cf0b3826e2581e8a84f21902af [INFO] running `Command { std: "docker" "start" "-a" "a4ec8edc8f0579f886d8845a6ae975686dcea7cf0b3826e2581e8a84f21902af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libloading v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bindgen v0.31.3 (https://github.com/rust-lang-nursery/rust-bindgen.git?branch=master#433e9c05) [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling cl-sys v0.4.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling clang-sys v0.21.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling which v1.0.3 [INFO] [stderr] Compiling clap v2.27.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling linen-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `CL_PLATFORM_VERSION` [INFO] [stdout] --> core/src/platform.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | CL_PLATFORM_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl_sys::clCreateContext` [INFO] [stdout] --> core/src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use opencl_sys::clCreateContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> core/src/buffer.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | unimplemented!(), [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 22 | size, [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> core/src/buffer.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 43 | unimplemented!(), [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 44 | slice.len(), [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> core/src/context.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn simple(device: &Device) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `devices` [INFO] [stdout] --> core/src/context.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new<'a, I>(devices: I) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_devices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> core/src/buffer.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut error = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> core/src/buffer.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let buffer = unsafe { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> core/src/buffer.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn uninitialized(context: &Context, size: usize, flags: ()) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> core/src/buffer.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut error = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> core/src/buffer.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let buffer = unsafe { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> core/src/buffer.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from_slice(context: &Context, slice: &[u8], flags: ()) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/buffer.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut error = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/buffer.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut error = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> core/src/buffer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | inner: cl_mem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling linen v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.linen_core.8f8f9f61-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601.3255o6yjuzd7a1nh.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblinen_core-45427e77cdca94ce.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-f5fd2281d7a1cc23.rlib" "/opt/rustwide/target/debug/deps/liblibc-e445f3aa891a8bd2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/linen_core-373fd095c4c82601" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linen-core` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4ec8edc8f0579f886d8845a6ae975686dcea7cf0b3826e2581e8a84f21902af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ec8edc8f0579f886d8845a6ae975686dcea7cf0b3826e2581e8a84f21902af", kill_on_drop: false }` [INFO] [stdout] a4ec8edc8f0579f886d8845a6ae975686dcea7cf0b3826e2581e8a84f21902af