[INFO] fetching crate cifar-ten 0.3.0... [INFO] testing cifar-ten-0.3.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate cifar-ten 0.3.0 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate cifar-ten 0.3.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cifar-ten 0.3.0 [INFO] finished tweaking crates.io crate cifar-ten 0.3.0 [INFO] tweaked toml for crates.io crate cifar-ten 0.3.0 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] crate crates.io crate cifar-ten 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55f6a44e18417b154c9df56e0ced7722b79a5b405feaea66a6ecdcf7fda61d36 [INFO] running `Command { std: "docker" "start" "-a" "55f6a44e18417b154c9df56e0ced7722b79a5b405feaea66a6ecdcf7fda61d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f6a44e18417b154c9df56e0ced7722b79a5b405feaea66a6ecdcf7fda61d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f6a44e18417b154c9df56e0ced7722b79a5b405feaea66a6ecdcf7fda61d36", kill_on_drop: false }` [INFO] [stdout] 55f6a44e18417b154c9df56e0ced7722b79a5b405feaea66a6ecdcf7fda61d36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4daa9fd778ca1d5639d5f4c109d74af98e238441e6d30180e40444505ec707af [INFO] running `Command { std: "docker" "start" "-a" "4daa9fd778ca1d5639d5f4c109d74af98e238441e6d30180e40444505ec707af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling cifar-ten v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.35s [INFO] running `Command { std: "docker" "inspect" "4daa9fd778ca1d5639d5f4c109d74af98e238441e6d30180e40444505ec707af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4daa9fd778ca1d5639d5f4c109d74af98e238441e6d30180e40444505ec707af", kill_on_drop: false }` [INFO] [stdout] 4daa9fd778ca1d5639d5f4c109d74af98e238441e6d30180e40444505ec707af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f581a3356a34b4e941ded1beca3886f38adf8f90e53c9cef864dbb0ca21c442 [INFO] running `Command { std: "docker" "start" "-a" "2f581a3356a34b4e941ded1beca3886f38adf8f90e53c9cef864dbb0ca21c442", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling keyboard-types v0.5.0 [INFO] [stderr] Compiling show-image v0.6.5 [INFO] [stderr] Compiling cifar-ten v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ndarray` [INFO] [stdout] --> examples/preview_images.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ndarray` [INFO] [stdout] --> examples/preview_images.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `ndarray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ndarray::prelude::*`, `ndarray::prelude::*` [INFO] [stdout] --> examples/preview_images.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use ndarray::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> examples/preview_images.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | .slice(s![num, .., .., ..]) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `s` in this scope [INFO] [stdout] --> examples/preview_images.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | .slice(s![num, ..]) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> examples/preview_images.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let img: Array3 = train_data [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array1` in this scope [INFO] [stdout] --> examples/preview_images.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let label: Array1 = train_labels [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `return_label_from_one_hot` in this scope [INFO] [stdout] --> examples/preview_images.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | println!("The image is of a: {}", return_label_from_one_hot(label)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> examples/preview_images.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn display_img(img_arr: &Array3) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array3` in this scope [INFO] [stdout] --> examples/preview_images.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | fn convert_to_image(array: &Array3) -> RgbImage { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ndarray` found for struct `CifarResult` in the current scope [INFO] [stdout] --> examples/preview_images.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | .to_ndarray::() [INFO] [stdout] | ^^^^^^^^^^ method not found in `CifarResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cifar-ten` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f581a3356a34b4e941ded1beca3886f38adf8f90e53c9cef864dbb0ca21c442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f581a3356a34b4e941ded1beca3886f38adf8f90e53c9cef864dbb0ca21c442", kill_on_drop: false }` [INFO] [stdout] 2f581a3356a34b4e941ded1beca3886f38adf8f90e53c9cef864dbb0ca21c442