[INFO] cloning repository https://github.com/y0unghe/grin-miner
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y0unghe/grin-miner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c44f432cc37f9cb64dfdc52d704583f709715268
[INFO] checking y0unghe/grin-miner against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/y0unghe/grin-miner on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/y0unghe/grin-miner
[INFO] finished tweaking git repo https://github.com/y0unghe/grin-miner
[INFO] tweaked toml for git repo https://github.com/y0unghe/grin-miner written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/y0unghe/grin-miner already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", 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] 273600fac585407fa1a4183726211df0daf65b1df0db29a3c800bde42ad07f51
[INFO] running `Command { std: "docker" "start" "-a" "273600fac585407fa1a4183726211df0daf65b1df0db29a3c800bde42ad07f51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "273600fac585407fa1a4183726211df0daf65b1df0db29a3c800bde42ad07f51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "273600fac585407fa1a4183726211df0daf65b1df0db29a3c800bde42ad07f51", kill_on_drop: false }`
[INFO] [stdout] 273600fac585407fa1a4183726211df0daf65b1df0db29a3c800bde42ad07f51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 937b3e2e41fbd8c05631b31bbe7004cf00333e01b00315d3e1b160482f5a6f02
[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" "937b3e2e41fbd8c05631b31bbe7004cf00333e01b00315d3e1b160482f5a6f02", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling serde v1.0.78
[INFO] [stderr]     Checking rustc-demangle v0.1.9
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]     Checking slog v2.1.1
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]    Compiling failure_derive v0.1.3
[INFO] [stderr]    Compiling libloading v0.4.3
[INFO] [stderr]    Compiling cl-sys v0.4.1
[INFO] [stderr]    Compiling fs_extra v1.1.0
[INFO] [stderr]     Checking utf8-ranges v1.0.1
[INFO] [stderr]     Checking crossbeam v0.3.2
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]     Checking futures v0.1.25
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]     Checking arc-swap v0.3.11
[INFO] [stderr]     Checking array-macro v1.0.2
[INFO] [stderr]    Compiling openssl v0.10.15
[INFO] [stderr]    Compiling native-tls v0.2.2
[INFO] [stderr]     Checking unicode-segmentation v1.2.1
[INFO] [stderr]     Checking hashbrown v0.3.0
[INFO] [stderr]     Checking maplit v1.0.1
[INFO] [stderr]     Checking xi-unicode v0.1.0
[INFO] [stderr]     Checking bufstream v0.1.3
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling cmake v0.1.34
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking term v0.5.1
[INFO] [stderr]    Compiling libz-sys v1.0.22
[INFO] [stderr]    Compiling openssl-sys v0.9.39
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking hashbrown v0.1.7
[INFO] [stderr]     Checking const-cstr v0.2.1
[INFO] [stderr]     Checking enum-map-internals v0.1.2
[INFO] [stderr]    Compiling ocl-core v0.10.0
[INFO] [stderr]     Checking slog-async v2.3.0
[INFO] [stderr]     Checking smallvec v0.6.5
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]    Compiling cuckoo_miner v2.0.0 (/opt/rustwide/workdir/cuckoo-miner)
[INFO] [stderr]    Compiling libgit2-sys v0.6.19
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stdout] warning: struct is never constructed: `Finder`
[INFO] [stdout]   --> cuckoo-miner/src/sanity.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Finder {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> cuckoo-miner/src/sanity.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `maybe_have`
[INFO] [stdout]   --> cuckoo-miner/src/sanity.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn maybe_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> Option<PathBuf> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking qutex v0.2.1
[INFO] [stderr]     Checking crossbeam-channel v0.3.8
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking isatty v0.1.9
[INFO] [stderr]     Checking memchr v2.0.2
[INFO] [stderr]     Checking dirs v1.0.3
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking signal-hook-registry v1.0.1
[INFO] [stderr]     Checking term_size v0.3.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]     Checking num-iter v0.1.37
[INFO] [stderr]     Checking aho-corasick v0.6.8
[INFO] [stderr]     Checking signal-hook v0.1.9
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking backtrace v0.3.9
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking regex v0.2.11
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking pancurses v0.16.1
[INFO] [stderr]    Compiling url v1.7.1
[INFO] [stderr]     Checking slog-term v2.4.0
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking ocl-core-vector v0.1.0
[INFO] [stderr]     Checking serde_json v1.0.27
[INFO] [stderr]     Checking toml v0.4.6
[INFO] [stderr]     Checking toml v0.5.0
[INFO] [stderr]    Compiling enum-map-derive v0.4.0
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]    Compiling darling_core v0.9.0
[INFO] [stderr]     Checking enum-map v0.5.0
[INFO] [stderr]    Compiling git2 v0.6.11
[INFO] [stderr]    Compiling serde_derive v1.0.78
[INFO] [stderr]    Compiling darling_macro v0.9.0
[INFO] [stderr]    Compiling darling v0.9.0
[INFO] [stderr]     Checking failure v0.1.3
[INFO] [stderr]    Compiling enumset_derive v0.4.0
[INFO] [stderr]    Compiling built v0.2.3
[INFO] [stderr]    Compiling grin_miner v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking enumset v0.4.0
[INFO] [stderr]     Checking cursive v0.12.0
[INFO] [stderr]     Checking ocl v0.19.1
[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/registry/src/github.com-1ecc6299db9ec823/ocl-0.19.1/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/registry/src/github.com-1ecc6299db9ec823/ocl-0.19.1/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/registry/src/github.com-1ecc6299db9ec823/ocl-0.19.1/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/registry/src/github.com-1ecc6299db9ec823/ocl-0.19.1/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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "937b3e2e41fbd8c05631b31bbe7004cf00333e01b00315d3e1b160482f5a6f02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "937b3e2e41fbd8c05631b31bbe7004cf00333e01b00315d3e1b160482f5a6f02", kill_on_drop: false }`
[INFO] [stdout] 937b3e2e41fbd8c05631b31bbe7004cf00333e01b00315d3e1b160482f5a6f02
