[INFO] cloning repository https://github.com/oliveira-caio/reconhecimento_letras [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oliveira-caio/reconhecimento_letras" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foliveira-caio%2Freconhecimento_letras", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foliveira-caio%2Freconhecimento_letras'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2d027745f3820af7c4f564c5640a4e5445bfa26 [INFO] testing oliveira-caio/reconhecimento_letras against try#311784882baa42a9638298cb325fa01a062c9d0f+cargoflags=-Zbuild-dir-new-layout for pr-149852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foliveira-caio%2Freconhecimento_letras" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oliveira-caio/reconhecimento_letras [INFO] finished tweaking git repo https://github.com/oliveira-caio/reconhecimento_letras [INFO] tweaked toml for git repo https://github.com/oliveira-caio/reconhecimento_letras written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oliveira-caio/reconhecimento_letras on toolchain 311784882baa42a9638298cb325fa01a062c9d0f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding image v0.23.14 (available: v0.25.9) [INFO] [stderr] Adding ndarray-rand v0.14.0 (available: v0.16.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e54d5321d957afe7780dde623f30f103d6cedff112ad5a8e3c3d13e8b7b903d [INFO] running `Command { std: "docker" "start" "-a" "5e54d5321d957afe7780dde623f30f103d6cedff112ad5a8e3c3d13e8b7b903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e54d5321d957afe7780dde623f30f103d6cedff112ad5a8e3c3d13e8b7b903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e54d5321d957afe7780dde623f30f103d6cedff112ad5a8e3c3d13e8b7b903d", kill_on_drop: false }` [INFO] [stdout] 5e54d5321d957afe7780dde623f30f103d6cedff112ad5a8e3c3d13e8b7b903d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f0c1775767cdfc691b64e262276fa7a0c698050c6a659dafe0dc223fc536c1ae [INFO] running `Command { std: "docker" "start" "-a" "f0c1775767cdfc691b64e262276fa7a0c698050c6a659dafe0dc223fc536c1ae", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling ndarray v0.17.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling ndarray-image v0.3.0 [INFO] [stderr] Compiling reconhecimento_letras v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/augmentation.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let new_arr = arr.clone().into_shape((size, size)).unwrap().reversed_axes() * 255.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `ArrayBase, Dim<[usize; 2]>, _>` in the current scope [INFO] [stdout] --> src/augmentation.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | let mut random_matrix = Array2::random(img.raw_dim(), StandardNormal); [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayBase, Dim<[usize; 2]>, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ArrayBase, Dim<[usize; 2]>, _>` consider using one of the following associated functions: [INFO] [stdout] ndarray::impl_constructors::>>::eye [INFO] [stdout] ndarray::impl_constructors::>>::from_diag [INFO] [stdout] ndarray::impl_constructors::>>::from_diag_elem [INFO] [stdout] ndarray::impl_constructors::>::from_elem [INFO] [stdout] and 7 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/impl_constructors.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn eye(n: Ix) -> Self [INFO] [stdout] 201 | | where [INFO] [stdout] 202 | | S: DataMut, [INFO] [stdout] 203 | | A: Clone + Zero + One, [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | / pub fn from_diag(diag: &ArrayBase) -> Self [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | A: Clone + Zero, [INFO] [stdout] 226 | | S: DataMut, [INFO] [stdout] 227 | | S2: Data, [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 246 | / pub fn from_diag_elem(n: usize, elem: A) -> Self [INFO] [stdout] 247 | | where [INFO] [stdout] 248 | | S: DataMut, [INFO] [stdout] 249 | | A: Clone + Zero, [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 327 | / pub fn from_elem(shape: Sh, elem: A) -> Self [INFO] [stdout] 328 | | where [INFO] [stdout] 329 | | A: Clone, [INFO] [stdout] 330 | | Sh: ShapeBuilder, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: there is a method `ndim` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/alias_asref.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn ndim(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/augmentation.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let mut copy = image.clone().into_shape((n, n)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ndarray::impl_methods::>::into_shape`: Use `.into_shape_with_order()` or `.to_shape()` [INFO] [stdout] --> src/augmentation.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | copy.into_shape((n*n, 1)).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `ArrayBase, Dim<[usize; 2]>, _>` in the current scope [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | Array2::random((size, 1), StandardNormal) [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayBase, Dim<[usize; 2]>, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ArrayBase, Dim<[usize; 2]>, _>` consider using one of the following associated functions: [INFO] [stdout] ndarray::impl_constructors::>>::eye [INFO] [stdout] ndarray::impl_constructors::>>::from_diag [INFO] [stdout] ndarray::impl_constructors::>>::from_diag_elem [INFO] [stdout] ndarray::impl_constructors::>::from_elem [INFO] [stdout] and 7 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/impl_constructors.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn eye(n: Ix) -> Self [INFO] [stdout] 201 | | where [INFO] [stdout] 202 | | S: DataMut, [INFO] [stdout] 203 | | A: Clone + Zero + One, [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | / pub fn from_diag(diag: &ArrayBase) -> Self [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | A: Clone + Zero, [INFO] [stdout] 226 | | S: DataMut, [INFO] [stdout] 227 | | S2: Data, [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 246 | / pub fn from_diag_elem(n: usize, elem: A) -> Self [INFO] [stdout] 247 | | where [INFO] [stdout] 248 | | S: DataMut, [INFO] [stdout] 249 | | A: Clone + Zero, [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 327 | / pub fn from_elem(shape: Sh, elem: A) -> Self [INFO] [stdout] 328 | | where [INFO] [stdout] 329 | | A: Clone, [INFO] [stdout] 330 | | Sh: ShapeBuilder, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: there is a method `ndim` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/alias_asref.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn ndim(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `ArrayBase, Dim<[usize; 2]>, _>` in the current scope [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Array2::random((rows, columns), StandardNormal) [INFO] [stdout] | ^^^^^^ function or associated item not found in `ArrayBase, Dim<[usize; 2]>, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ArrayBase, Dim<[usize; 2]>, _>` consider using one of the following associated functions: [INFO] [stdout] ndarray::impl_constructors::>>::eye [INFO] [stdout] ndarray::impl_constructors::>>::from_diag [INFO] [stdout] ndarray::impl_constructors::>>::from_diag_elem [INFO] [stdout] ndarray::impl_constructors::>::from_elem [INFO] [stdout] and 7 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/impl_constructors.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn eye(n: Ix) -> Self [INFO] [stdout] 201 | | where [INFO] [stdout] 202 | | S: DataMut, [INFO] [stdout] 203 | | A: Clone + Zero + One, [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 223 | / pub fn from_diag(diag: &ArrayBase) -> Self [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | A: Clone + Zero, [INFO] [stdout] 226 | | S: DataMut, [INFO] [stdout] 227 | | S2: Data, [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 246 | / pub fn from_diag_elem(n: usize, elem: A) -> Self [INFO] [stdout] 247 | | where [INFO] [stdout] 248 | | S: DataMut, [INFO] [stdout] 249 | | A: Clone + Zero, [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 327 | / pub fn from_elem(shape: Sh, elem: A) -> Self [INFO] [stdout] 328 | | where [INFO] [stdout] 329 | | A: Clone, [INFO] [stdout] 330 | | Sh: ShapeBuilder, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: there is a method `ndim` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/alias_asref.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn ndim(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reconhecimento_letras` (bin "reconhecimento_letras") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0c1775767cdfc691b64e262276fa7a0c698050c6a659dafe0dc223fc536c1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c1775767cdfc691b64e262276fa7a0c698050c6a659dafe0dc223fc536c1ae", kill_on_drop: false }` [INFO] [stdout] f0c1775767cdfc691b64e262276fa7a0c698050c6a659dafe0dc223fc536c1ae