[INFO] fetching crate array3d 0.1.0... [INFO] checking array3d-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate array3d 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate array3d 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] defae0082725245bfa7de0e1a56ee427f8040ec0bac1eaa0c96e5ee8c7607dc0 [INFO] running `Command { std: "docker" "start" "-a" "defae0082725245bfa7de0e1a56ee427f8040ec0bac1eaa0c96e5ee8c7607dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "defae0082725245bfa7de0e1a56ee427f8040ec0bac1eaa0c96e5ee8c7607dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "defae0082725245bfa7de0e1a56ee427f8040ec0bac1eaa0c96e5ee8c7607dc0", kill_on_drop: false }` [INFO] [stdout] defae0082725245bfa7de0e1a56ee427f8040ec0bac1eaa0c96e5ee8c7607dc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48963a8888b9717a4c4cb8b8792f931725d79776f108109a62b3a7c2a51011c9 [INFO] running `Command { std: "docker" "start" "-a" "48963a8888b9717a4c4cb8b8792f931725d79776f108109a62b3a7c2a51011c9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking lininterp v0.1.3 [INFO] [stderr] Checking array3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, and `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`, and `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: type alias `Neighbours2d` is never used [INFO] [stdout] --> src/lib.rs:44:6 [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 `Neighbours3d` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | type Neighbours3d=Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Neighbours4d` is never used [INFO] [stdout] --> src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type Neighbours4d=Vec4>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `downsample_half`, `upsample_double_axis`, and `upsample_double_xyz` are never used [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 468 | impl Array3d [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 471 | fn downsample_half(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn upsample_double_axis(&self,axis:i32)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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: 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Neighbours2d` is never used [INFO] [stdout] --> src/lib.rs:44:6 [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 `Neighbours3d` is never used [INFO] [stdout] --> src/lib.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | type Neighbours3d=Vec3>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Neighbours4d` is never used [INFO] [stdout] --> src/lib.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type Neighbours4d=Vec4>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `downsample_half`, `upsample_double_axis`, and `upsample_double_xyz` are never used [INFO] [stdout] --> src/lib.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 468 | impl Array3d [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 471 | fn downsample_half(&self)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn upsample_double_axis(&self,axis:i32)->Array3d{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "48963a8888b9717a4c4cb8b8792f931725d79776f108109a62b3a7c2a51011c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48963a8888b9717a4c4cb8b8792f931725d79776f108109a62b3a7c2a51011c9", kill_on_drop: false }` [INFO] [stdout] 48963a8888b9717a4c4cb8b8792f931725d79776f108109a62b3a7c2a51011c9