[INFO] fetching crate array3d 0.1.0... [INFO] checking array3d-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate array3d 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate array3d 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate array3d 0.1.0 [INFO] finished tweaking crates.io crate array3d 0.1.0 [INFO] tweaked toml for crates.io crate array3d 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lininterp v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6305b8dd01d6cbd65bef1d5870155b445e47c8536a7444cbffb483314d8523a0 [INFO] running `Command { std: "docker" "start" "-a" "6305b8dd01d6cbd65bef1d5870155b445e47c8536a7444cbffb483314d8523a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6305b8dd01d6cbd65bef1d5870155b445e47c8536a7444cbffb483314d8523a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6305b8dd01d6cbd65bef1d5870155b445e47c8536a7444cbffb483314d8523a0", kill_on_drop: false }` [INFO] [stdout] 6305b8dd01d6cbd65bef1d5870155b445e47c8536a7444cbffb483314d8523a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1679e86e8b846696c03e792b96f2fa50e224e791d3205167b483adc13f6b9707 [INFO] running `Command { std: "docker" "start" "-a" "1679e86e8b846696c03e792b96f2fa50e224e791d3205167b483adc13f6b9707", kill_on_drop: false }` [INFO] [stderr] Checking lininterp v0.1.3 [INFO] [stderr] Checking array3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, `BitXor` [INFO] [stdout] --> src/lib.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add,Sub,Mul,Div,Rem,BitOr,BitAnd,BitXor,Index,IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Axis_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Axis_t=i32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `AxisT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, `BitXor` [INFO] [stdout] --> src/lib.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Add,Sub,Mul,Div,Rem,BitOr,BitAnd,BitXor,Index,IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Axis_t` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Axis_t=i32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `AxisT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/lib.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | self.fold_half(|pos:V3i,cell:[[[&T;2];2];2]|->T{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/lib.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | self.fold_half(|pos:V3i,cell:[[[&T;2];2];2]|->T{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours2d` [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | type Neighbours2d=Vec2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours3d` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | type Neighbours3d=Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours4d` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | type Neighbours4d=Vec4>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downsample_half` [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | fn downsample_half(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upsample_double_axis` [INFO] [stdout] --> src/lib.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | fn upsample_double_axis(&self,axis:i32)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upsample_double_xyz` [INFO] [stdout] --> src/lib.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | fn upsample_double_xyz(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | ...xis_t)->&mut T{match i{ XAxis=>&mut self.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:71 [INFO] [stdout] | [INFO] [stdout] 35 | ...h i{ XAxis=>&mut self.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:90 [INFO] [stdout] | [INFO] [stdout] 35 | ...lf.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours2d` [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | type Neighbours2d=Vec2>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours3d` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | type Neighbours3d=Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Neighbours4d` [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | type Neighbours4d=Vec4>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `downsample_half` [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | fn downsample_half(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upsample_double_axis` [INFO] [stdout] --> src/lib.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | fn upsample_double_axis(&self,axis:i32)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upsample_double_xyz` [INFO] [stdout] --> src/lib.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | fn upsample_double_xyz(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | const XAxis:Axis_t=0; const YAxis:Axis_t=1; const ZAxis:Axis_t=2; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 32 | fn index(&self,i:Axis_t)->&T{match i{ XAxis=>&self.x,YAxis=>&self.y,ZAxis=>&self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `XAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | ...xis_t)->&mut T{match i{ XAxis=>&mut self.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `XAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `YAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:71 [INFO] [stdout] | [INFO] [stdout] 35 | ...h i{ XAxis=>&mut self.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `YAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant in pattern `ZAxis` should have an upper case name [INFO] [stdout] --> src/lib.rs:35:90 [INFO] [stdout] | [INFO] [stdout] 35 | ...lf.x,YAxis=>&mut self.y,ZAxis=>&mut self.z,_=>panic!("Vec3 index out of range")}} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case (notice the capitalization): `ZAXIS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "1679e86e8b846696c03e792b96f2fa50e224e791d3205167b483adc13f6b9707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1679e86e8b846696c03e792b96f2fa50e224e791d3205167b483adc13f6b9707", kill_on_drop: false }` [INFO] [stdout] 1679e86e8b846696c03e792b96f2fa50e224e791d3205167b483adc13f6b9707