[INFO] fetching crate scarlet 1.1.0... [INFO] testing scarlet-1.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate scarlet 1.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate scarlet 1.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scarlet 1.1.0 [INFO] finished tweaking crates.io crate scarlet 1.1.0 [INFO] tweaked toml for crates.io crate scarlet 1.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded geo-types v0.5.0 [INFO] [stderr] Downloaded rstar v0.7.1 [INFO] [stderr] Downloaded geo v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 030d6958db8145cc36a47aebda1ce9557b38ce74fb139829f80173fafe06fae4 [INFO] running `Command { std: "docker" "start" "-a" "030d6958db8145cc36a47aebda1ce9557b38ce74fb139829f80173fafe06fae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "030d6958db8145cc36a47aebda1ce9557b38ce74fb139829f80173fafe06fae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030d6958db8145cc36a47aebda1ce9557b38ce74fb139829f80173fafe06fae4", kill_on_drop: false }` [INFO] [stdout] 030d6958db8145cc36a47aebda1ce9557b38ce74fb139829f80173fafe06fae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e8c241d50e4c7fedd01416f9e0cca62d7f5f934196454cfb0cf6072d4b21ffc [INFO] running `Command { std: "docker" "start" "-a" "1e8c241d50e4c7fedd01416f9e0cca62d7f5f934196454cfb0cf6072d4b21ffc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling rstar v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling geo-types v0.5.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling geo v0.13.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling scarlet v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/color.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | fn from_xyz(XYZColor) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: XYZColor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/colormap.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn transform_single(&self, f64) -> T; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/visual_gamut.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | Err(e) => panic!("CIE spectral data could not be read: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / matrix![02.04159, -0.56501, -0.34473; [INFO] [stdout] 20 | | -0.96924, 01.87957, 00.04156; [INFO] [stdout] 21 | | 00.01344, -0.11836, 01.01517] [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / matrix![00.8951, 00.2664, -0.1614; [INFO] [stdout] 27 | | -0.7502, 01.7135, 00.0367; [INFO] [stdout] 28 | | 00.0389, -0.0685, 01.0296] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / matrix![0.7976749, 0.1351917, 0.0313534; [INFO] [stdout] 34 | | 0.2880402, 0.7118741, 0.0000857; [INFO] [stdout] 35 | | 0.0000000, 0.0000000, 0.8252100] [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / matrix![03.2406, -1.5372, -0.4986; [INFO] [stdout] 41 | | -0.9689, 01.8758, 00.0415; [INFO] [stdout] 42 | | 00.0557, -0.2040, 01.0570] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.51s [INFO] running `Command { std: "docker" "inspect" "1e8c241d50e4c7fedd01416f9e0cca62d7f5f934196454cfb0cf6072d4b21ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8c241d50e4c7fedd01416f9e0cca62d7f5f934196454cfb0cf6072d4b21ffc", kill_on_drop: false }` [INFO] [stdout] 1e8c241d50e4c7fedd01416f9e0cca62d7f5f934196454cfb0cf6072d4b21ffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c36f806d0929f53c525c3af063d4e2f69e35ba899dbb709048afe972b0903d7 [INFO] running `Command { std: "docker" "start" "-a" "4c36f806d0929f53c525c3af063d4e2f69e35ba899dbb709048afe972b0903d7", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/color.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | fn from_xyz(XYZColor) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: XYZColor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/colormap.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn transform_single(&self, f64) -> T; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/visual_gamut.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | Err(e) => panic!("CIE spectral data could not be read: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scarlet v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / matrix![02.04159, -0.56501, -0.34473; [INFO] [stdout] 20 | | -0.96924, 01.87957, 00.04156; [INFO] [stdout] 21 | | 00.01344, -0.11836, 01.01517] [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / matrix![00.8951, 00.2664, -0.1614; [INFO] [stdout] 27 | | -0.7502, 01.7135, 00.0367; [INFO] [stdout] 28 | | 00.0389, -0.0685, 01.0296] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / matrix![0.7976749, 0.1351917, 0.0313534; [INFO] [stdout] 34 | | 0.2880402, 0.7118741, 0.0000857; [INFO] [stdout] 35 | | 0.0000000, 0.0000000, 0.8252100] [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / matrix![03.2406, -1.5372, -0.4986; [INFO] [stdout] 41 | | -0.9689, 01.8758, 00.0415; [INFO] [stdout] 42 | | 00.0557, -0.2040, 01.0570] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/color.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stdout] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stdout] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/color.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | fn from_xyz(XYZColor) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: XYZColor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/colormap.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn transform_single(&self, f64) -> T; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/consts.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/visual_gamut.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 25 | Err(e) => panic!("CIE spectral data could not be read: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / matrix![02.04159, -0.56501, -0.34473; [INFO] [stdout] 20 | | -0.96924, 01.87957, 00.04156; [INFO] [stdout] 21 | | 00.01344, -0.11836, 01.01517] [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / matrix![00.8951, 00.2664, -0.1614; [INFO] [stdout] 27 | | -0.7502, 01.7135, 00.0367; [INFO] [stdout] 28 | | 00.0389, -0.0685, 01.0296] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / matrix![0.7976749, 0.1351917, 0.0313534; [INFO] [stdout] 34 | | 0.2880402, 0.7118741, 0.0000857; [INFO] [stdout] 35 | | 0.0000000, 0.0000000, 0.8252100] [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/consts.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / matrix![03.2406, -1.5372, -0.4986; [INFO] [stdout] 41 | | -0.9689, 01.8758, 00.0415; [INFO] [stdout] 42 | | 00.0557, -0.2040, 01.0570] [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.93s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c36f806d0929f53c525c3af063d4e2f69e35ba899dbb709048afe972b0903d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c36f806d0929f53c525c3af063d4e2f69e35ba899dbb709048afe972b0903d7", kill_on_drop: false }` [INFO] [stdout] 4c36f806d0929f53c525c3af063d4e2f69e35ba899dbb709048afe972b0903d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc8da33d6d65e0118fa615c1085e55437ac2d8cf84dcf854698699f3ce0055ff [INFO] running `Command { std: "docker" "start" "-a" "bc8da33d6d65e0118fa615c1085e55437ac2d8cf84dcf854698699f3ce0055ff", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/color.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/color.rs:263:17 [INFO] [stderr] | [INFO] [stderr] 263 | fn from_xyz(XYZColor) -> Self; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: XYZColor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/colormap.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | fn transform_single(&self, f64) -> T; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/visual_gamut.rs:25:71 [INFO] [stderr] | [INFO] [stderr] 25 | Err(e) => panic!("CIE spectral data could not be read: {}", e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | / matrix![02.04159, -0.56501, -0.34473; [INFO] [stderr] 20 | | -0.96924, 01.87957, 00.04156; [INFO] [stderr] 21 | | 00.01344, -0.11836, 01.01517] [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | / matrix![00.8951, 00.2664, -0.1614; [INFO] [stderr] 27 | | -0.7502, 01.7135, 00.0367; [INFO] [stderr] 28 | | 00.0389, -0.0685, 01.0296] [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / matrix![0.7976749, 0.1351917, 0.0313534; [INFO] [stderr] 34 | | 0.2880402, 0.7118741, 0.0000857; [INFO] [stderr] 35 | | 0.0000000, 0.0000000, 0.8252100] [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / matrix![03.2406, -1.5372, -0.4986; [INFO] [stderr] 41 | | -0.9689, 01.8758, 00.0415; [INFO] [stderr] 42 | | 00.0557, -0.2040, 01.0570] [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/color.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/color.rs:263:17 [INFO] [stderr] | [INFO] [stderr] 263 | fn from_xyz(XYZColor) -> Self; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: XYZColor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/colormap.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | fn transform_single(&self, f64) -> T; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/consts.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/visual_gamut.rs:25:71 [INFO] [stderr] | [INFO] [stderr] 25 | Err(e) => panic!("CIE spectral data could not be read: {}", e.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | / matrix![02.04159, -0.56501, -0.34473; [INFO] [stderr] 20 | | -0.96924, 01.87957, 00.04156; [INFO] [stderr] 21 | | 00.01344, -0.11836, 01.01517] [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | / matrix![00.8951, 00.2664, -0.1614; [INFO] [stderr] 27 | | -0.7502, 01.7135, 00.0367; [INFO] [stderr] 28 | | 00.0389, -0.0685, 01.0296] [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / matrix![0.7976749, 0.1351917, 0.0313534; [INFO] [stderr] 34 | | 0.2880402, 0.7118741, 0.0000857; [INFO] [stderr] 35 | | 0.0000000, 0.0000000, 0.8252100] [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/consts.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / matrix![03.2406, -1.5372, -0.4986; [INFO] [stderr] 41 | | -0.9689, 01.8758, 00.0415; [INFO] [stderr] 42 | | 00.0557, -0.2040, 01.0570] [INFO] [stderr] | |__________________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] = note: this warning originates in the macro `matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/scarlet-9b4ed7530bf12ec8) [INFO] [stdout] running 55 tests [INFO] [stdout] test color::tests::color_scheme ... ignored [INFO] [stdout] test bound::tests::test_hue_bounds ... ok [INFO] [stdout] test bound::tests::test_zero_one_bounds ... ok [INFO] [stdout] test color::tests::test_chromatic_adapation_to_same_light ... ok [INFO] [stdout] test color::tests::rgb_to_xyz ... ok [INFO] [stdout] test color::tests::test_rgb_to_string ... ok [INFO] [stdout] test color::tests::test_xyz_color_adaptation ... ok [INFO] [stdout] test color::tests::test_visual_distinguishability ... ok [INFO] [stdout] test colors::cielabcolor::tests::test_cielab_xyz_conversion ... ok [INFO] [stdout] test colorpoint::tests::test_cbrt_grad_func ... ok [INFO] [stdout] test colormap::tests::test_padding ... ok [INFO] [stdout] test colors::cielchcolor::tests::test_lch_xyz_conversion_different_illuminant ... ok [INFO] [stdout] test colors::cielabcolor::tests::test_out_of_gamut ... ok [INFO] [stdout] test colors::cielchcolor::tests::test_lch_xyz_conversion_same_illuminant ... ok [INFO] [stdout] test colors::hslcolor::tests::test_hsl_rgb_conversion ... ok [INFO] [stdout] test colors::cielchuvcolor::tests::test_cielchuv_xyz_conversion_d50 ... ok [INFO] [stdout] test colors::adobergbcolor::tests::test_adobe_rgb_xyz_conversion ... ok [INFO] [stdout] test colors::cieluvcolor::tests::test_cieluv_xyz_conversion_d50 ... ok [INFO] [stdout] test color::tests::test_rgb_from_name ... ok [INFO] [stdout] test colorpoint::tests::test_cielab_distance ... ok [INFO] [stdout] test colors::hslcolor::tests::test_hsl_string_parsing ... ok [INFO] [stdout] test colors::adobergbcolor::tests::test_adobe_rgb_clamping ... ok [INFO] [stdout] test material_colors::tests::test_equalized_scheme ... ignored [INFO] [stdout] test colorpoint::tests::test_grad_func ... ok [INFO] [stdout] test colorpoint::tests::test_padded_grad_func ... ok [INFO] [stdout] test cssnumeric::tests::test_errors ... ok [INFO] [stdout] test color::tests::test_to_string ... ok [INFO] [stdout] test colors::hsvcolor::tests::test_hsv_string_parsing ... ok [INFO] [stdout] test colors::rommrgbcolor::tests::test_error_accumulation_romm_rgb ... ok [INFO] [stdout] test colormap::tests::test_mpl_colormaps ... ok [INFO] [stdout] test colors::hsvcolor::tests::test_hsl_rgb_conversion ... ok [INFO] [stdout] test colorpoint::tests::test_grad_scale ... ok [INFO] [stdout] test colors::rommrgbcolor::tests::test_romm_rgb_xyz_conversion ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test color::tests::test_string_parsing_all ... ok [INFO] [stdout] test colormap::tests::test_linear_gradient ... ok [INFO] [stdout] test material_colors::tests::test_sample_colors ... ok [INFO] [stdout] test colors::cieluvcolor::tests::test_cieluv_xyz_conversion_d65 ... ok [INFO] [stdout] test color::tests::test_rgb_from_hex ... ok [INFO] [stdout] test colors::cielchuvcolor::tests::test_cielchuv_xyz_conversion_d65 ... ok [INFO] [stdout] test color::tests::test_ciede2000 ... ok [INFO] [stdout] test color::tests::test_rgb_from_func ... ok [INFO] [stdout] test colors::cielabcolor::tests::test_cielab_xyz_conversion_d50 ... ok [INFO] [stdout] test color::tests::xyz_to_rgb ... ok [INFO] [stdout] test colormap::tests::test_cbrt_gradient ... ok [INFO] [stdout] test color::tests::test_error_buildup_color_adaptation ... ok [INFO] [stderr] Doc-tests scarlet [INFO] [stdout] test csscolor::tests::test_rgb_num_parsing ... ok [INFO] [stdout] test csscolor::tests::test_rgb_str_parsing ... ok [INFO] [stdout] test cssnumeric::tests::test_css_parse_float ... ok [INFO] [stdout] test cssnumeric::tests::test_css_parse_percentages ... ok [INFO] [stdout] test cssnumeric::tests::test_css_parse_integer ... ok [INFO] [stdout] test csscolor::tests::test_hslv_str_parsing ... ok [INFO] [stdout] test colors::rommrgbcolor::tests::test_romm_rgb_xyz_conversion_with_gamut ... ok [INFO] [stdout] test colors::rommrgbcolor::tests::test_xyz_romm_rgb_conversion ... ok [INFO] [stdout] test color::tests::test_hue_chroma_lightness_saturation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/color.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | / ((self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | | && (self.z - other.z).abs() <= 1e-15) [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 201 | (self.x - other.x).abs() <= 1e-15 [INFO] [stderr] 202 | && (self.y - other.y).abs() <= 1e-15 [INFO] [stderr] 203 | && (self.z - other.z).abs() <= 1e-15 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/consts.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | { PartialPivLu::decompose(ADOBE_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/consts.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | { PartialPivLu::decompose(BRADFORD_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/consts.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | { PartialPivLu::decompose(ROMM_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/consts.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | { PartialPivLu::decompose(STANDARD_RGB_TRANSFORM.clone()).expect("Matrix is invertible.") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name scarlet --test /opt/rustwide/workdir/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern csv=/opt/rustwide/target/debug/deps/libcsv-0224cbc61dd9d92d.rlib --extern float_cmp=/opt/rustwide/target/debug/deps/libfloat_cmp-57b45ebe761631b1.rlib --extern geo=/opt/rustwide/target/debug/deps/libgeo-e7c4b26edba29331.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-ff2d4c059a61c830.rlib --extern maplit=/opt/rustwide/target/debug/deps/libmaplit-8dc8db0e74170826.rlib --extern num=/opt/rustwide/target/debug/deps/libnum-7bd1c1d927e80511.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-304a182fb235bf3f.rlib --extern rulinalg=/opt/rustwide/target/debug/deps/librulinalg-4dbe63bc66a8c659.rlib --extern scarlet=/opt/rustwide/target/debug/deps/libscarlet-82d6233486caf741.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-cf3c707e87a3eee3.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-9a0b5b6d517518ab.so -C embed-bitcode=no --cfg 'feature="default"' --error-format human` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "bc8da33d6d65e0118fa615c1085e55437ac2d8cf84dcf854698699f3ce0055ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc8da33d6d65e0118fa615c1085e55437ac2d8cf84dcf854698699f3ce0055ff", kill_on_drop: false }` [INFO] [stdout] bc8da33d6d65e0118fa615c1085e55437ac2d8cf84dcf854698699f3ce0055ff