[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 1.54.0 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-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c0gent/ocl-segfault on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "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-9/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" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d11e2452b30586d652e059b7e8953c494a23555d5b7250406971d36ecca11198
[INFO] running `Command { std: "docker" "start" "-a" "d11e2452b30586d652e059b7e8953c494a23555d5b7250406971d36ecca11198", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d11e2452b30586d652e059b7e8953c494a23555d5b7250406971d36ecca11198", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d11e2452b30586d652e059b7e8953c494a23555d5b7250406971d36ecca11198", kill_on_drop: false }`
[INFO] [stdout] d11e2452b30586d652e059b7e8953c494a23555d5b7250406971d36ecca11198
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fae7ebd286580d8527995ae6da0df51c6511a73a25b31523dc4a220bc7d845a0
[INFO] running `Command { std: "docker" "start" "-a" "fae7ebd286580d8527995ae6da0df51c6511a73a25b31523dc4a220bc7d845a0", 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 cfg-if v0.1.3
[INFO] [stderr]    Compiling cl-sys v0.4.1 (https://github.com/cogciprocate/ocl#1e103b2f)
[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 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 backtrace v0.3.8
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling num-complex v0.1.43
[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`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "fae7ebd286580d8527995ae6da0df51c6511a73a25b31523dc4a220bc7d845a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fae7ebd286580d8527995ae6da0df51c6511a73a25b31523dc4a220bc7d845a0", kill_on_drop: false }`
[INFO] [stdout] fae7ebd286580d8527995ae6da0df51c6511a73a25b31523dc4a220bc7d845a0
