[INFO] cloning repository https://github.com/quietlychris/tsuga_linalg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quietlychris/tsuga_linalg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquietlychris%2Ftsuga_linalg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquietlychris%2Ftsuga_linalg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13d0bfcffd009723413905fdc1e95a97cd03409c [INFO] checking quietlychris/tsuga_linalg against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquietlychris%2Ftsuga_linalg" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quietlychris/tsuga_linalg on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quietlychris/tsuga_linalg [INFO] finished tweaking git repo https://github.com/quietlychris/tsuga_linalg [INFO] tweaked toml for git repo https://github.com/quietlychris/tsuga_linalg written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/quietlychris/tsuga_linalg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0ec222255d2c381d1738865084004ceb3b5dd982c5131b71b51f28c849bee99 [INFO] running `Command { std: "docker" "start" "-a" "c0ec222255d2c381d1738865084004ceb3b5dd982c5131b71b51f28c849bee99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ec222255d2c381d1738865084004ceb3b5dd982c5131b71b51f28c849bee99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ec222255d2c381d1738865084004ceb3b5dd982c5131b71b51f28c849bee99", kill_on_drop: false }` [INFO] [stdout] c0ec222255d2c381d1738865084004ceb3b5dd982c5131b71b51f28c849bee99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4122d6e6e27c1836b74c74947536176d0511432c93f1c808cbfa4641f0ac865 [INFO] running `Command { std: "docker" "start" "-a" "f4122d6e6e27c1836b74c74947536176d0511432c93f1c808cbfa4641f0ac865", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking futures-core-preview v0.2.3 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling ocl-core v0.11.2 [INFO] [stderr] Checking futures-sink-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-util-preview v0.2.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking qutex v0.2.3 [INFO] [stderr] Checking futures-executor-preview v0.2.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking futures-stable-preview v0.2.3 [INFO] [stderr] Checking futures-async-runtime-preview v0.2.3 [INFO] [stderr] Checking futures-preview v0.2.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking ocl-core-vector v0.1.0 [INFO] [stderr] Checking ndarray-rand v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking ocl v0.19.3 [INFO] [stderr] Checking ocl-extras v0.1.1 [INFO] [stderr] Checking tsuga_linalg v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/functions.rs (2 fixes) [INFO] [stderr] Fixed src/supports.rs (3 fixes) [INFO] [stderr] Fixed src/test.rs (5 fixes) [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/test.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let b: Array2 = array![[2.,1.,0.666],[0.5,1.,0.333]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::functions::array [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/test.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let a: Array2 = array![[1.,2.,3.],[4.,5.,6.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::functions::array [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/test.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let b: Array2 = array![[1.,1.],[1.,1.],[1.,1.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::functions::array [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/test.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let a: Array2 = array![[1.,2.,3.],[4.,5.,6.]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::functions::array [INFO] [stdout] ndarray::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | let a: Array2 = array![[1.,2.,3.],[4.,5.,6.]]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array2; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/test.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | let b: Array2 = array![[1.,1.],[1.,1.],[1.,1.]]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array2; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matmul` in this scope [INFO] [stdout] --> src/test.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let c = matmul(&mut ocl_pq, &a, &b).expect("Couldn't multiply a.dot(b)"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::matmul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/test.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let a = Array::random((60_000, 784), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> src/test.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let a = Array::random((60_000, 784), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 112| use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/test.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let b = Array::random((784, 10), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> src/test.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | let b = Array::random((784, 10), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 112| use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/test.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let a_start = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Instant; [INFO] [stdout] | [INFO] [stdout] 112| use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/test.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let b_start = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Instant; [INFO] [stdout] | [INFO] [stdout] 112| use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matmul` in this scope [INFO] [stdout] --> src/test.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let _c = matmul(&mut ocl_pq, &a, &b).expect("Couldn't multiply a.dot(b)"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::matmul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `multiply_by_scalar` in this scope [INFO] [stdout] --> src/test.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let half_v = match multiply_by_scalar(&mut ocl_pq,v.clone(),scalar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::multiply_by_scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/test.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | let a: Array2 = array![[1.,2.,3.],[4.,5.,6.]]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array2; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/test.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | let b: Array2 = array![[2.,1.,0.666],[0.5,1.,0.333]]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::Array2; [INFO] [stdout] | [INFO] [stdout] 112| use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hadamard` in this scope [INFO] [stdout] --> src/test.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let c = hadamard(&mut ocl_pq, &a, &b).expect("Couldn't multiply a*b"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112| use crate::functions::hadamard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/test.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let a = Array::random((8,10), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112 | use crate::functions::Array; [INFO] [stdout] | [INFO] [stdout] 112 | use ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> src/test.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let a = Array::random((8,10), Uniform::new(0., 1.)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 112 | use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112 | use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transpose` in this scope [INFO] [stdout] --> src/test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let c = transpose(&mut ocl_pq, &a).expect("Couldn't transpose a"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112 | use crate::functions::transpose; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array` [INFO] [stdout] --> src/test.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let a = Array::random((8,10), Uniform::new(0.49,0.51)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112 | use crate::functions::Array; [INFO] [stdout] | [INFO] [stdout] 112 | use ndarray::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> src/test.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | let a = Array::random((8,10), Uniform::new(0.49,0.51)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 112 | use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_ocl_proque` in this scope [INFO] [stdout] --> src/test.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | let mut ocl_pq: ocl::ProQue = build_ocl_proque("Intel".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112 | use crate::supports::build_ocl_proque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sigmoid` in this scope [INFO] [stdout] --> src/test.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let c = sigmoid(&mut ocl_pq, &a).expect("Couldn't run the sigmoid(a) operation"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 112 | use crate::functions::sigmoid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/test.rs (6 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsuga_linalg` due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `sigmoid_op` [INFO] [stdout] --> src/test.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn sigmoid_op(x: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Context` [INFO] [stdout] --> src/supports.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WORK_SIZE` should have a snake case name [INFO] [stdout] --> src/functions.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let WORK_SIZE: usize = input.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `work_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WORK_SIZE` should have a snake case name [INFO] [stdout] --> src/functions.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let WORK_SIZE: usize = n*m; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `work_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f4122d6e6e27c1836b74c74947536176d0511432c93f1c808cbfa4641f0ac865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4122d6e6e27c1836b74c74947536176d0511432c93f1c808cbfa4641f0ac865", kill_on_drop: false }` [INFO] [stdout] f4122d6e6e27c1836b74c74947536176d0511432c93f1c808cbfa4641f0ac865