[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-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-3/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-2021-08-01" "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/cogciprocate/ocl`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded chrono v0.4.2
[INFO] [stderr]   Downloaded qutex v0.2.1
[INFO] [stderr]   Downloaded itertools-num v0.1.1
[INFO] [stderr]   Downloaded proc-macro2 v0.4.5
[INFO] [stderr]   Downloaded criterion v0.2.3
[INFO] [stderr]   Downloaded criterion-stats v0.2.3
[INFO] [stderr]   Downloaded handlebars v0.31.0
[INFO] [stderr]   Downloaded criterion-plot v0.2.3
[INFO] [stderr]   Downloaded thread-scoped v1.0.2
[INFO] [stderr]   Downloaded pest_derive v1.0.7
[INFO] [stderr]   Downloaded backtrace v0.3.8
[INFO] [stderr]   Downloaded serde_derive v1.0.66
[INFO] [stderr]   Downloaded pest v1.0.6
[INFO] [stderr]   Downloaded serde v1.0.66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f77a4499363bd2a0d99c1db8058baaeb8ed8ae1a7fa9b903f1c68b80a9368e91
[INFO] running `Command { std: "docker" "start" "-a" "f77a4499363bd2a0d99c1db8058baaeb8ed8ae1a7fa9b903f1c68b80a9368e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f77a4499363bd2a0d99c1db8058baaeb8ed8ae1a7fa9b903f1c68b80a9368e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f77a4499363bd2a0d99c1db8058baaeb8ed8ae1a7fa9b903f1c68b80a9368e91", kill_on_drop: false }`
[INFO] [stdout] f77a4499363bd2a0d99c1db8058baaeb8ed8ae1a7fa9b903f1c68b80a9368e91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb043d2dfac4def178b7d7bd66b76edd9a48698b1e83a8d58e10d595e2949e71
[INFO] running `Command { std: "docker" "start" "-a" "cb043d2dfac4def178b7d7bd66b76edd9a48698b1e83a8d58e10d595e2949e71", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.4
[INFO] [stderr]    Compiling cc v1.0.17
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling rustc-demangle v0.1.8
[INFO] [stderr]    Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling futures v0.1.21
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling crossbeam v0.3.2
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling ocl-core v0.9.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.23
[INFO] [stderr]    Compiling qutex v0.2.1
[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 enum_primitive v0.1.1
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling backtrace v0.3.8
[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" "cb043d2dfac4def178b7d7bd66b76edd9a48698b1e83a8d58e10d595e2949e71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb043d2dfac4def178b7d7bd66b76edd9a48698b1e83a8d58e10d595e2949e71", kill_on_drop: false }`
[INFO] [stdout] cb043d2dfac4def178b7d7bd66b76edd9a48698b1e83a8d58e10d595e2949e71
