[INFO] cloning repository https://github.com/LennyHirsch/testing_compression_formats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LennyHirsch/testing_compression_formats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennyHirsch%2Ftesting_compression_formats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennyHirsch%2Ftesting_compression_formats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb808865c2183e96c09c741baf617e754fb36bdd [INFO] checking LennyHirsch/testing_compression_formats against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLennyHirsch%2Ftesting_compression_formats" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LennyHirsch/testing_compression_formats [INFO] finished tweaking git repo https://github.com/LennyHirsch/testing_compression_formats [INFO] tweaked toml for git repo https://github.com/LennyHirsch/testing_compression_formats written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LennyHirsch/testing_compression_formats on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LennyHirsch/testing_compression_formats 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded jobserver v0.1.26 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Downloaded hdf5-types v0.8.1 [INFO] [stderr] Downloaded zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded paste v1.0.12 [INFO] [stderr] Downloaded hdf5-derive v0.8.1 [INFO] [stderr] Downloaded winreg v0.10.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded proc-macro2 v1.0.63 [INFO] [stderr] Downloaded hdf5-sys v0.8.1 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded half v2.3.1 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded png v0.17.9 [INFO] [stderr] Downloaded hdf5 v0.8.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded syn v2.0.22 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded zstd-sys v2.0.8+zstd.1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd6445be219c7710979b652d570b3b14254e4765a5764a61991a8bc1e8c11007 [INFO] running `Command { std: "docker" "start" "-a" "cd6445be219c7710979b652d570b3b14254e4765a5764a61991a8bc1e8c11007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd6445be219c7710979b652d570b3b14254e4765a5764a61991a8bc1e8c11007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6445be219c7710979b652d570b3b14254e4765a5764a61991a8bc1e8c11007", kill_on_drop: false }` [INFO] [stdout] cd6445be219c7710979b652d570b3b14254e4765a5764a61991a8bc1e8c11007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25dba227e8929ef5f8cf08acfd47f0b9184aecf1756f88bb6be3aad50c0e9d71 [INFO] running `Command { std: "docker" "start" "-a" "25dba227e8929ef5f8cf08acfd47f0b9184aecf1756f88bb6be3aad50c0e9d71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Compiling hdf5-types v0.8.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling hdf5 v0.8.1 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling hdf5-derive v0.8.1 [INFO] [stderr] Compiling hdf5-sys v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.4 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking testing_compression_formats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use hdf5::{File, H5Type, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::{arr2, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_hdf5` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn write_hdf5() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Colors` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum Colors { [INFO] [stdout] | ------ `Colors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Color` [INFO] [stdout] 15 | #[repr(C)] [INFO] [stdout] 16 | pub struct Color { [INFO] [stdout] | ----- `Color` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Pixel` [INFO] [stdout] 23 | #[repr(C)] [INFO] [stdout] 24 | pub struct Pixel { [INFO] [stdout] | ----- `Pixel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use hdf5::{File, H5Type, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/main.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::{arr2, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_hdf5` is never used [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn write_hdf5() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Colors` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum Colors { [INFO] [stdout] | ------ `Colors` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Color` [INFO] [stdout] 15 | #[repr(C)] [INFO] [stdout] 16 | pub struct Color { [INFO] [stdout] | ----- `Color` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(H5Type, Clone, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Pixel` [INFO] [stdout] 23 | #[repr(C)] [INFO] [stdout] 24 | pub struct Pixel { [INFO] [stdout] | ----- `Pixel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.94s [INFO] running `Command { std: "docker" "inspect" "25dba227e8929ef5f8cf08acfd47f0b9184aecf1756f88bb6be3aad50c0e9d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25dba227e8929ef5f8cf08acfd47f0b9184aecf1756f88bb6be3aad50c0e9d71", kill_on_drop: false }` [INFO] [stdout] 25dba227e8929ef5f8cf08acfd47f0b9184aecf1756f88bb6be3aad50c0e9d71