[INFO] cloning repository https://github.com/c0gent/ocl-segfault [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c0gent/ocl-segfault" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 698e6b28edfa12de3f4044574573ef4a4c6b6d35 [INFO] testing c0gent/ocl-segfault against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/c0gent/ocl-segfault [INFO] finished tweaking git repo https://github.com/c0gent/ocl-segfault [INFO] tweaked toml for git repo https://github.com/c0gent/ocl-segfault written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/c0gent/ocl-segfault already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b4fc507b04485b018ab05e0ddc6efc782f45603f958cf8b82c864280689bd01 [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" "6b4fc507b04485b018ab05e0ddc6efc782f45603f958cf8b82c864280689bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b4fc507b04485b018ab05e0ddc6efc782f45603f958cf8b82c864280689bd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4fc507b04485b018ab05e0ddc6efc782f45603f958cf8b82c864280689bd01", kill_on_drop: false }` [INFO] [stdout] 6b4fc507b04485b018ab05e0ddc6efc782f45603f958cf8b82c864280689bd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e11a38167cfddaf810c201c473094a656e77989a6c75b3791db95a639ee54ab4 [INFO] running `Command { std: "docker" "start" "-a" "e11a38167cfddaf810c201c473094a656e77989a6c75b3791db95a639ee54ab4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling ocl-core v0.9.0 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ocl-core-vector v0.1.0 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stderr] Compiling qutex v0.2.1 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling ocl v0.18.0 (https://github.com/cogciprocate/ocl#1e103b2f) [INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1609:13 [INFO] [stdout] | [INFO] [stdout] 1606 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1609 | &self.cmd.buffer.obj_core, true, flags, offset, len, ewait, enew)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1614 | queue.clone())) [INFO] [stdout] | ------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1613:57 [INFO] [stdout] | [INFO] [stdout] 1606 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1613 | Ok(MemMap::new(mm_core, len, None, unmap_event, self.cmd.buffer.obj_core.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 1614 | queue.clone())) [INFO] [stdout] | ------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1635:13 [INFO] [stdout] | [INFO] [stdout] 1630 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1635 | &self.cmd.buffer.obj_core, false, flags, offset, len, ewait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1646 | self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/)) [INFO] [stdout] | ------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1646:13 [INFO] [stdout] | [INFO] [stdout] 1630 | let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?; [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1646 | self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- mutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ocl` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "e11a38167cfddaf810c201c473094a656e77989a6c75b3791db95a639ee54ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11a38167cfddaf810c201c473094a656e77989a6c75b3791db95a639ee54ab4", kill_on_drop: false }` [INFO] [stdout] e11a38167cfddaf810c201c473094a656e77989a6c75b3791db95a639ee54ab4