[INFO] cloning repository https://github.com/mgpai22/tuna-gpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgpai22/tuna-gpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Ftuna-gpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Ftuna-gpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96c51834919818bbc8ed72e9c334416caa961bd1 [INFO] checking mgpai22/tuna-gpu against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgpai22%2Ftuna-gpu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mgpai22/tuna-gpu [INFO] finished tweaking git repo https://github.com/mgpai22/tuna-gpu [INFO] tweaked toml for git repo https://github.com/mgpai22/tuna-gpu written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mgpai22/tuna-gpu on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mgpai22/tuna-gpu 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81566e70f2935d76a0ebee753940535aa8eb116199b186a23f896c215eccb64a [INFO] running `Command { std: "docker" "start" "-a" "81566e70f2935d76a0ebee753940535aa8eb116199b186a23f896c215eccb64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81566e70f2935d76a0ebee753940535aa8eb116199b186a23f896c215eccb64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81566e70f2935d76a0ebee753940535aa8eb116199b186a23f896c215eccb64a", kill_on_drop: false }` [INFO] [stdout] 81566e70f2935d76a0ebee753940535aa8eb116199b186a23f896c215eccb64a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8b75fccc16b97b5daf6c9f2441d223d4fc5557cff1fc648320445670c5a54f [INFO] running `Command { std: "docker" "start" "-a" "3f8b75fccc16b97b5daf6c9f2441d223d4fc5557cff1fc648320445670c5a54f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling opencl-sys v0.2.4 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling ocl-core v0.11.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling schemars v0.8.13 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking ocl-core-vector v0.1.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking dyn-clone v1.0.13 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.92 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking fraction v0.10.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking rustacuda_core v0.1.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking qutex v0.2.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking cbor_event v2.4.0 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.13 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Checking ed25519-bip32 v0.4.1 [INFO] [stderr] Checking rustacuda v0.1.3 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking sha256 v1.4.0 [INFO] [stderr] Checking cl3 v0.9.2 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking opencl3 v0.9.3 [INFO] [stderr] Checking ocl v0.19.4 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking cardano-multiplatform-lib v3.1.3 [INFO] [stderr] Checking tuna_gpu_miner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CString` and `c_void` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{c_void, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::successors` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::successors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{io, process, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CL_DEVICE_NAME` and `cl_context` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use opencl3::device::{cl_context, CL_DEVICE_NAME, CL_DEVICE_TYPE_GPU, Device}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Platform` [INFO] [stdout] --> src/main.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use opencl3::platform::{get_platforms, Platform}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceId` and `get_device_info` [INFO] [stdout] --> src/main.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use ocl::core::{ClPlatformIdPtr, DeviceId, get_device_info}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ocl::enums::Status` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ocl::enums::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clEnqueueNDRangeKernel`, `clEnqueueReadBuffer`, `clEnqueueWriteBuffer`, and `clFinish` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use ocl::ffi::{cl_uint, clEnqueueNDRangeKernel, clEnqueueReadBuffer, clEnqueueWriteBuffer, clFinish}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::context::context::create_context` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use opencl3::context::context::create_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::device` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use opencl3::device; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::memory::Buffer` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use opencl3::memory::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::types::CL_TRUE` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use opencl3::types::CL_TRUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `random` [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | use rand::{random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnceCell` [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | use once_cell::sync::{Lazy, OnceCell}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | const npar: i32 = (1<<20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - const npar: i32 = (1<<20); [INFO] [stdout] 181 + const npar: i32 = 1<<20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString` and `c_void` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{c_void, CString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::successors` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::successors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/main.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{io, process, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CL_DEVICE_NAME` and `cl_context` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use opencl3::device::{cl_context, CL_DEVICE_NAME, CL_DEVICE_TYPE_GPU, Device}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Platform` [INFO] [stdout] --> src/main.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use opencl3::platform::{get_platforms, Platform}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceId` and `get_device_info` [INFO] [stdout] --> src/main.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use ocl::core::{ClPlatformIdPtr, DeviceId, get_device_info}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ocl::enums::Status` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ocl::enums::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clEnqueueNDRangeKernel`, `clEnqueueReadBuffer`, `clEnqueueWriteBuffer`, and `clFinish` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use ocl::ffi::{cl_uint, clEnqueueNDRangeKernel, clEnqueueReadBuffer, clEnqueueWriteBuffer, clFinish}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::context::context::create_context` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use opencl3::context::context::create_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::device` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use opencl3::device; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::memory::Buffer` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use opencl3::memory::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opencl3::types::CL_TRUE` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use opencl3::types::CL_TRUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `random` [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | use rand::{random, Rng}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnceCell` [INFO] [stdout] --> src/main.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | use once_cell::sync::{Lazy, OnceCell}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | const npar: i32 = (1<<20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - const npar: i32 = (1<<20); [INFO] [stdout] 181 + const npar: i32 = 1<<20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `MutexGuard<'_, Option<(Arc, Context)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | global_queue.clone() [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(Arc, opencl3::context::Context): Clone` [INFO] [stdout] which is required by `Option<(Arc, opencl3::context::Context)>: Clone` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/tuna_gpu_miner-1ea056f0d5adf0ab.long-type-4415433478054304989.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sha256_crypt` in this scope [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 184 | fn sha256_init(){ [INFO] [stdout] | ---------------- similarly named function `sha256_init` defined here [INFO] [stdout] ... [INFO] [stdout] 214 | sha256_crypt(bytes.as_ptr(), 67, 2, 6, 1, result.as_mut_ptr()); // no idea how to implement this in rust [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sha256_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClPlatformIdPtr` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use ocl::core::{ClPlatformIdPtr, DeviceId, get_device_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_queue` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let command_queue = CommandQueue::create_with_properties( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/main.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let obj = unsafe { create_clobj(&context, kernel) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `MutexGuard<'_, Option<(Arc, Context)>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | global_queue.clone() [INFO] [stdout] | ^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(Arc, opencl3::context::Context): Clone` [INFO] [stdout] which is required by `Option<(Arc, opencl3::context::Context)>: Clone` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/tuna_gpu_miner-cceedbda240e0806.long-type-11987897755664098358.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tuna_gpu_miner` (bin "tuna_gpu_miner") due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `sha256_crypt` in this scope [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 184 | fn sha256_init(){ [INFO] [stdout] | ---------------- similarly named function `sha256_init` defined here [INFO] [stdout] ... [INFO] [stdout] 214 | sha256_crypt(bytes.as_ptr(), 67, 2, 6, 1, result.as_mut_ptr()); // no idea how to implement this in rust [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sha256_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClPlatformIdPtr` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use ocl::core::{ClPlatformIdPtr, DeviceId, get_device_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_queue` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let command_queue = CommandQueue::create_with_properties( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/main.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let obj = unsafe { create_clobj(&context, kernel) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tuna_gpu_miner` (bin "tuna_gpu_miner" test) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3f8b75fccc16b97b5daf6c9f2441d223d4fc5557cff1fc648320445670c5a54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8b75fccc16b97b5daf6c9f2441d223d4fc5557cff1fc648320445670c5a54f", kill_on_drop: false }` [INFO] [stdout] 3f8b75fccc16b97b5daf6c9f2441d223d4fc5557cff1fc648320445670c5a54f