[INFO] cloning repository https://github.com/onlycs/pathforger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onlycs/pathforger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlycs%2Fpathforger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlycs%2Fpathforger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51145cf62e937ad4a041807c6156a5e06652d107 [INFO] building onlycs/pathforger/51145cf62e937ad4a041807c6156a5e06652d107 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonlycs%2Fpathforger" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/onlycs/pathforger [INFO] finished tweaking git repo https://github.com/onlycs/pathforger [INFO] tweaked toml for git repo https://github.com/onlycs/pathforger written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/onlycs/pathforger on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/onlycs/pathforger 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/onlycs/ioutrack` [INFO] [stderr] Updating git repository `https://github.com/onlycs/lapjv-rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/onlycs/thiserror` [INFO] [stderr] Updating git repository `https://github.com/PaulKlinger/lapjv-rust` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded katexit v0.1.4 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded nt_client v0.2.0 [INFO] [stderr] Downloaded nshare v0.9.0 [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded wide v0.7.30 [INFO] [stderr] Downloaded ndarray-linalg v0.16.0 [INFO] [stderr] Downloaded uom v0.36.0 [INFO] [stderr] Downloaded serde v1.0.213 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded serde_json v1.0.132 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded rmpv v1.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.213 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded lax v0.16.0 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.23.1 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded tokio v1.41.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e512722fbdddd79e5649d34e4ca5436540f70395cdceeb8f3197f91c0c476880 [INFO] running `Command { std: "docker" "start" "-a" "e512722fbdddd79e5649d34e4ca5436540f70395cdceeb8f3197f91c0c476880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e512722fbdddd79e5649d34e4ca5436540f70395cdceeb8f3197f91c0c476880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e512722fbdddd79e5649d34e4ca5436540f70395cdceeb8f3197f91c0c476880", kill_on_drop: false }` [INFO] [stdout] e512722fbdddd79e5649d34e4ca5436540f70395cdceeb8f3197f91c0c476880 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c540427ee07deb088fc193cbb0315b92983b6a1a23acc4f8c16810fd2c3c89df [INFO] running `Command { std: "docker" "start" "-a" "c540427ee07deb088fc193cbb0315b92983b6a1a23acc4f8c16810fd2c3c89df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling lapjv v0.2.1 (https://github.com/PaulKlinger/lapjv-rust?rev=12527061a3#12527061) [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lapjv v0.2.1 (https://github.com/onlycs/lapjv-rust#46760b51) [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 (https://github.com/onlycs/thiserror#568f594c) [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling wide v0.7.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling lapack-sys v0.14.0 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling katexit v0.1.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 (https://github.com/onlycs/thiserror#568f594c) [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling rmpv v1.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling lax v0.16.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling nt_client v0.2.0 [INFO] [stderr] Compiling ndarray-linalg v0.16.0 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling nshare v0.9.0 [INFO] [stderr] Compiling ioutrack v0.3.0 (https://github.com/onlycs/ioutrack#772899ff) [INFO] [stderr] Compiling pathforger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DataPoint` and `Enemy` [INFO] [stdout] --> src/game/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use enemy::{DataPoint, Enemy}; [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: `std::sync::Arc` [INFO] [stdout] --> src/game/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/game/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `game` and `networktables` [INFO] [stdout] --> src/prelude.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) use crate::{game, networktables, photon_serde}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/prelude.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub use itertools::{max, min, Itertools}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `concatenate` and `stack` [INFO] [stdout] --> src/prelude.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub use ndarray::{concatenate, prelude::*, stack}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `angular_velocity::radian_per_second as radps` [INFO] [stdout] --> src/prelude.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | angular_velocity::radian_per_second as radps, f64::*, length::meter, time::second, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/util/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `preprocessor::PreprocessorResponse` [INFO] [stdout] --> src/util/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use preprocessor::PreprocessorResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_float_methods` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_float_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/util/preprocessor.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let timestamp = time::instant_of(res.metadata.capture_time); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt1` [INFO] [stdout] --> src/game/enemy.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let ((vx1, vy1), dt1) = self.velocity(n + 1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dt1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELD_WIDTH` is never used [INFO] [stdout] --> src/game/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const FIELD_WIDTH: fn() -> Length = || Length::new::(8.21); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELD_LENGTH` is never used [INFO] [stdout] --> src/game/consts.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const FIELD_LENGTH: fn() -> Length = || Length::new::(16.54); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ACCEL` is never used [INFO] [stdout] --> src/game/consts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MAX_ACCEL: fn() -> Acceleration = || Acceleration::new::(5.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPEED` is never used [INFO] [stdout] --> src/game/consts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_SPEED: fn() -> Velocity = || Velocity::new::(14.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPoint` is never constructed [INFO] [stdout] --> src/game/enemy.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enemy` is never constructed [INFO] [stdout] --> src/game/enemy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Enemy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `velocity`, `acceleration`, `entry`, `pose`, `last_update`, and `add_dp` are never used [INFO] [stdout] --> src/game/enemy.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Enemy { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn velocity(&self, n: usize) -> ((Velocity, Velocity), Time) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn acceleration(&self, n: usize) -> ((Acceleration, Acceleration), Time) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn entry(&self, n: usize) -> DataPoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn pose(&self) -> Pose2d { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn last_update(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_dp(&mut self, dp: DataPoint) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker` is never used [INFO] [stdout] --> src/networktables/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn worker<'a, C0, C1, C2>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhotonWorkerError` is never used [INFO] [stdout] --> src/networktables/error.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PhotonWorkerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeserializeError` is never used [INFO] [stdout] --> src/photon_serde/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum DeserializeError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Deserialize` is never used [INFO] [stdout] --> src/photon_serde/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Deserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/photon_serde/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn deserialize(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiducialId` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct FiducialId(pub Option); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quaternion` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Quaternion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translate3d` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Translate3d { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform3d` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct Transform3d { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetectedObject` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct DetectedObject { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetTransforms` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TargetTransforms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetCorner` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct TargetCorner { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PNPResult` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct PNPResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhotonPipelineMetadata` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:180:16 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PhotonPipelineMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhotonTrackedTarget` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct PhotonTrackedTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiTargetPNP` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct MultiTargetPNP { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhotonResult` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct PhotonResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rotate2d` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct Rotate2d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pose2d` is never constructed [INFO] [stdout] --> src/photon_serde/mod.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Pose2d { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreprocessorResponse` is never constructed [INFO] [stdout] --> src/util/preprocessor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PreprocessorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `photon` is never used [INFO] [stdout] --> src/util/preprocessor.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn photon(res: PhotonResult) -> PreprocessorResponse { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROGRAM_START` is never used [INFO] [stdout] --> src/util/time.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | static mut PROGRAM_START: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/util/time.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn initialize() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instant_of` is never used [INFO] [stdout] --> src/util/time.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instant_of(dur: Duration) -> Instant { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `duration_of` is never used [INFO] [stdout] --> src/util/time.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn duration_of(inst: Instant) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "c540427ee07deb088fc193cbb0315b92983b6a1a23acc4f8c16810fd2c3c89df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c540427ee07deb088fc193cbb0315b92983b6a1a23acc4f8c16810fd2c3c89df", kill_on_drop: false }` [INFO] [stdout] c540427ee07deb088fc193cbb0315b92983b6a1a23acc4f8c16810fd2c3c89df [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6a20848a66323f5756a94f1ee8e6cf18410ab26154baa5ae6b2bd2aa58b14d [INFO] running `Command { std: "docker" "start" "-a" "8d6a20848a66323f5756a94f1ee8e6cf18410ab26154baa5ae6b2bd2aa58b14d", kill_on_drop: false }` [INFO] [stderr] Compiling pathforger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DataPoint` and `Enemy` [INFO] [stdout] --> src/game/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use enemy::{DataPoint, Enemy}; [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: `std::sync::Arc` [INFO] [stdout] --> src/game/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/game/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `game` and `networktables` [INFO] [stdout] --> src/prelude.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) use crate::{game, networktables, photon_serde}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/prelude.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub use itertools::{max, min, Itertools}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `concatenate` and `stack` [INFO] [stdout] --> src/prelude.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub use ndarray::{concatenate, prelude::*, stack}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `angular_velocity::radian_per_second as radps` [INFO] [stdout] --> src/prelude.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | angular_velocity::radian_per_second as radps, f64::*, length::meter, time::second, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/util/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `preprocessor::PreprocessorResponse` [INFO] [stdout] --> src/util/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use preprocessor::PreprocessorResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_float_methods` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_float_methods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/util/preprocessor.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let timestamp = time::instant_of(res.metadata.capture_time); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt1` [INFO] [stdout] --> src/game/enemy.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | let ((vx1, vy1), dt1) = self.velocity(n + 1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dt1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELD_WIDTH` is never used [INFO] [stdout] --> src/game/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const FIELD_WIDTH: fn() -> Length = || Length::new::(8.21); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELD_LENGTH` is never used [INFO] [stdout] --> src/game/consts.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const FIELD_LENGTH: fn() -> Length = || Length::new::(16.54); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ACCEL` is never used [INFO] [stdout] --> src/game/consts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MAX_ACCEL: fn() -> Acceleration = || Acceleration::new::(5.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPEED` is never used [INFO] [stdout] --> src/game/consts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MAX_SPEED: fn() -> Velocity = || Velocity::new::(14.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataPoint` is never constructed [INFO] [stdout] --> src/game/enemy.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataPoint { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enemy` is never constructed [INFO] [stdout] --> src/game/enemy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Enemy { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `velocity`, `acceleration`, `entry`, `pose`, `last_update`, and `add_dp` are never used [INFO] [stdout] --> src/game/enemy.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Enemy { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn velocity(&self, n: usize) -> ((Velocity, Velocity), Time) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn acceleration(&self, n: usize) -> ((Acceleration, Acceleration), Time) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn entry(&self, n: usize) -> DataPoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn pose(&self) -> Pose2d { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn last_update(&self) -> Instant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_dp(&mut self, dp: DataPoint) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worker` is never used [INFO] [stdout] --> src/networktables/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn worker<'a, C0, C1, C2>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhotonWorkerError` is never used [INFO] [stdout] --> src/networktables/error.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PhotonWorkerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreprocessorResponse` is never constructed [INFO] [stdout] --> src/util/preprocessor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PreprocessorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `photon` is never used [INFO] [stdout] --> src/util/preprocessor.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn photon(res: PhotonResult) -> PreprocessorResponse { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROGRAM_START` is never used [INFO] [stdout] --> src/util/time.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | static mut PROGRAM_START: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/util/time.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn initialize() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instant_of` is never used [INFO] [stdout] --> src/util/time.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instant_of(dur: Duration) -> Instant { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `duration_of` is never used [INFO] [stdout] --> src/util/time.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn duration_of(inst: Instant) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "8d6a20848a66323f5756a94f1ee8e6cf18410ab26154baa5ae6b2bd2aa58b14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6a20848a66323f5756a94f1ee8e6cf18410ab26154baa5ae6b2bd2aa58b14d", kill_on_drop: false }` [INFO] [stdout] 8d6a20848a66323f5756a94f1ee8e6cf18410ab26154baa5ae6b2bd2aa58b14d