[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 try#9cfe725f0995b018340c519db1b2f3cf8a7e0631 for pr-81174 [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 9cfe725f0995b018340c519db1b2f3cf8a7e0631 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "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" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded dirs v1.0.3 [INFO] [stderr] Downloaded bufstream v0.1.3 [INFO] [stderr] Downloaded cl-sys v0.4.1 [INFO] [stderr] Downloaded qutex v0.2.1 [INFO] [stderr] Downloaded ocl-core-vector v0.1.0 [INFO] [stderr] Downloaded serde v1.0.78 [INFO] [stderr] Downloaded serde_json v1.0.27 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded pancurses v0.16.1 [INFO] [stderr] Downloaded pdcurses-sys v0.7.1 [INFO] [stderr] Downloaded serde_derive v1.0.78 [INFO] [stderr] Downloaded array-macro v1.0.2 [INFO] [stderr] Downloaded cmake v0.1.34 [INFO] [stderr] Downloaded const-cstr v0.2.1 [INFO] [stderr] Downloaded hashbrown v0.3.0 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded slog v2.1.1 [INFO] [stderr] Downloaded slog-term v2.4.0 [INFO] [stderr] Downloaded hashbrown v0.1.7 [INFO] [stderr] Downloaded libz-sys v1.0.22 [INFO] [stderr] Downloaded built v0.2.3 [INFO] [stderr] Downloaded ocl v0.19.1 [INFO] [stderr] Downloaded enum-map-derive v0.4.0 [INFO] [stderr] Downloaded ocl-core v0.10.0 [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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "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] 02bb0828467eddd3d43e4b11906b51592cfd1c229630b42902480b74bf887cab [INFO] running `Command { std: "docker" "start" "-a" "02bb0828467eddd3d43e4b11906b51592cfd1c229630b42902480b74bf887cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02bb0828467eddd3d43e4b11906b51592cfd1c229630b42902480b74bf887cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02bb0828467eddd3d43e4b11906b51592cfd1c229630b42902480b74bf887cab", kill_on_drop: false }` [INFO] [stdout] 02bb0828467eddd3d43e4b11906b51592cfd1c229630b42902480b74bf887cab [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=forbid" "-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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1b36e9789c864b055becdc2f9fd3adb2fae6764e34f72b6daf799ff16db9610f [INFO] running `Command { std: "docker" "start" "-a" "1b36e9789c864b055becdc2f9fd3adb2fae6764e34f72b6daf799ff16db9610f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking slog v2.1.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.1 [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] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking array-macro v1.0.2 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking xi-unicode v0.1.0 [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking hashbrown v0.3.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking bufstream v0.1.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling cmake v0.1.34 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking hashbrown v0.1.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking enum-map-internals v0.1.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking const-cstr v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking qutex v0.2.1 [INFO] [stderr] Compiling ocl-core v0.10.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling libz-sys v1.0.22 [INFO] [stderr] Compiling cuckoo_miner v2.0.0 (/opt/rustwide/workdir/cuckoo-miner) [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>(&mut self, cmd: S) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking signal-hook-registry v1.0.1 [INFO] [stderr] Checking dirs v1.0.3 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking signal-hook v0.1.9 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking num v0.2.0 [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] Checking enum-map v0.5.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling built v0.2.3 [INFO] [stderr] Compiling enumset_derive v0.4.0 [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] [stderr] Checking grin_miner_plugin v2.0.0 (/opt/rustwide/workdir/plugin) [INFO] [stderr] Checking grin_miner_util v2.0.0 (/opt/rustwide/workdir/util) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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: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] warning: 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant is never used: `DEFAULT_MIN_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const DEFAULT_MIN_EDGE_BITS: u8 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECOND_POW_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const SECOND_POW_EDGE_BITS: u8 = 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLOCK_TIME_SEC` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const BLOCK_TIME_SEC: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOUR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | const HOUR_HEIGHT: u64 = 3600 / BLOCK_TIME_SEC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DAY_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const DAY_HEIGHT: u64 = 24 * HOUR_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEEK_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const WEEK_HEIGHT: u64 = 7 * DAY_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `YEAR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const YEAR_HEIGHT: u64 = 52 * WEEK_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const BASE_EDGE_BITS: u8 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `graph_weight` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn graph_weight(height: u64, edge_bits: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_adjusted` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn from_proof_adjusted(height: u64, proof: &Proof) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_scaled` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn from_proof_scaled(proof: &Proof, scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(mut in_nonces: Vec, edge_bits: u8) -> Proof { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_difficulty` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn to_difficulty(&self, height: u64, sec_scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1b36e9789c864b055becdc2f9fd3adb2fae6764e34f72b6daf799ff16db9610f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b36e9789c864b055becdc2f9fd3adb2fae6764e34f72b6daf799ff16db9610f", kill_on_drop: false }` [INFO] [stdout] 1b36e9789c864b055becdc2f9fd3adb2fae6764e34f72b6daf799ff16db9610f