[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-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0gent%2Focl-segfault" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded qutex v0.2.1
[INFO] [stderr]   Downloaded simplelog v0.5.2
[INFO] [stderr]   Downloaded serde_json v1.0.19
[INFO] [stderr]   Downloaded proc-macro2 v0.4.5
[INFO] [stderr]   Downloaded handlebars v0.31.0
[INFO] [stderr]   Downloaded syn v0.14.2
[INFO] [stderr]   Downloaded pest_derive v1.0.7
[INFO] [stderr]   Downloaded criterion-plot v0.2.3
[INFO] [stderr]   Downloaded criterion-stats v0.2.3
[INFO] [stderr]   Downloaded serde_derive v1.0.66
[INFO] [stderr]   Downloaded criterion v0.2.3
[INFO] [stderr]   Downloaded itertools-num v0.1.1
[INFO] [stderr]   Downloaded num-integer v0.1.38
[INFO] [stderr]   Downloaded synstructure v0.6.1
[INFO] [stderr]   Downloaded backtrace v0.3.8
[INFO] [stderr]   Downloaded failure_derive v0.1.1
[INFO] [stderr]   Downloaded num-traits v0.2.4
[INFO] [stderr]   Downloaded chrono v0.4.2
[INFO] [stderr]   Downloaded backtrace-sys v0.1.23
[INFO] [stderr]   Downloaded failure v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46d999b0d0937378ef842438b34151a19596380cd08877509c666c4f9ad7e876
[INFO] running `Command { std: "docker" "start" "-a" "46d999b0d0937378ef842438b34151a19596380cd08877509c666c4f9ad7e876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46d999b0d0937378ef842438b34151a19596380cd08877509c666c4f9ad7e876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46d999b0d0937378ef842438b34151a19596380cd08877509c666c4f9ad7e876", kill_on_drop: false }`
[INFO] [stdout] 46d999b0d0937378ef842438b34151a19596380cd08877509c666c4f9ad7e876
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e99cc4b483aa612453d10b311858bba798c1f1313b847fc12cb814cf9ed796a
[INFO] running `Command { std: "docker" "start" "-a" "6e99cc4b483aa612453d10b311858bba798c1f1313b847fc12cb814cf9ed796a", 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 quote v0.3.15
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling semver v0.1.20
[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 synom v0.11.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.8
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling futures v0.1.21
[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 backtrace-sys v0.1.23
[INFO] [stderr]    Compiling synstructure v0.6.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 qutex v0.2.1
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling backtrace v0.3.8
[INFO] [stderr]    Compiling num-complex v0.1.43
[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` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "6e99cc4b483aa612453d10b311858bba798c1f1313b847fc12cb814cf9ed796a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e99cc4b483aa612453d10b311858bba798c1f1313b847fc12cb814cf9ed796a", kill_on_drop: false }`
[INFO] [stdout] 6e99cc4b483aa612453d10b311858bba798c1f1313b847fc12cb814cf9ed796a
