[INFO] updating cached repository https://github.com/c0gent/ocl-segfault
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 698e6b28edfa12de3f4044574573ef4a4c6b6d35
[INFO] checking c0gent/ocl-segfault against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-12/source/Cargo.toml
[INFO] crate git repo https://github.com/c0gent/ocl-segfault already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] e9018199dc6f3e3e303e8afb7aa6a1e2d62c8a993d7ef62c72b90f3603c2347b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "e9018199dc6f3e3e303e8afb7aa6a1e2d62c8a993d7ef62c72b90f3603c2347b"`
[INFO] [stderr]    Compiling num-integer v0.1.38
[INFO] [stderr]    Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling proc-macro2 v0.4.5
[INFO] [stderr]     Checking term v0.5.1
[INFO] [stderr]     Checking qutex v0.2.1
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking criterion-plot v0.2.3
[INFO] [stderr]     Checking num-traits v0.2.4
[INFO] [stderr]    Compiling ocl-core v0.9.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]    Compiling pest_derive v1.0.7
[INFO] [stderr]     Checking clap v2.31.2
[INFO] [stderr]     Checking serde_json v1.0.19
[INFO] [stderr]     Checking backtrace-sys v0.1.23
[INFO] [stderr]     Checking backtrace v0.3.8
[INFO] [stderr]     Checking regex v0.2.11
[INFO] [stderr]    Compiling quote v0.6.3
[INFO] [stderr]     Checking failure v0.1.1
[INFO] [stderr]    Compiling syn v0.14.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking ocl-core-vector v0.1.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr]     Checking criterion-stats v0.2.3
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking itertools-num v0.1.1
[INFO] [stderr]     Checking chrono v0.4.2
[INFO] [stderr]     Checking simplelog v0.5.2
[INFO] [stderr]     Checking handlebars v0.31.0
[INFO] [stderr]    Compiling serde_derive v1.0.66
[INFO] [stderr]     Checking ocl v0.18.0 (https://github.com/cogciprocate/ocl#1e103b2f)
[INFO] [stderr] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stderr]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1609:13
[INFO] [stderr]      |
[INFO] [stderr] 1606 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stderr]      |                                                                       ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1609 |             &self.cmd.buffer.obj_core, true, flags, offset, len, ewait, enew)?;
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1614 |             queue.clone()))
[INFO] [stderr]      |             ----- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stderr]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1613:57
[INFO] [stderr]      |
[INFO] [stderr] 1606 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stderr]      |                                                                       ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1613 |         Ok(MemMap::new(mm_core, len, None, unmap_event, self.cmd.buffer.obj_core.clone(),
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stderr] 1614 |             queue.clone()))
[INFO] [stderr]      |             ----- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stderr]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1635:13
[INFO] [stderr]      |
[INFO] [stderr] 1630 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stderr]      |                                                                       ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1635 |             &self.cmd.buffer.obj_core, false, flags, offset, len, ewait,
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1646 |             self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/))
[INFO] [stderr]      |                                               ----- mutable borrow later used here
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `self.cmd.buffer.obj_core` as immutable because it is also borrowed as mutable
[INFO] [stderr]     --> /opt/rustwide/cargo-home/git/checkouts/ocl-51b7c5264cbf134c/1e103b2/ocl/src/standard/buffer.rs:1646:13
[INFO] [stderr]      |
[INFO] [stderr] 1630 |         let (offset, len, queue, flags, ewait, enew, /*is_mapped*/) = self.enq_details()?;
[INFO] [stderr]      |                                                                       ---- mutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 1646 |             self.cmd.buffer.obj_core.clone(), queue.clone(), /*is_mapped*/))
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^          ----- mutable borrow later used here
[INFO] [stderr]      |             |
[INFO] [stderr]      |             immutable borrow occurs here
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0502`.
[INFO] [stderr] error: could not compile `ocl`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "e9018199dc6f3e3e303e8afb7aa6a1e2d62c8a993d7ef62c72b90f3603c2347b"`
[INFO] running `"docker" "rm" "-f" "e9018199dc6f3e3e303e8afb7aa6a1e2d62c8a993d7ef62c72b90f3603c2347b"`
[INFO] [stdout] e9018199dc6f3e3e303e8afb7aa6a1e2d62c8a993d7ef62c72b90f3603c2347b
