[INFO] cloning repository https://github.com/dj-ryan/sat-sight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dj-ryan/sat-sight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdj-ryan%2Fsat-sight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdj-ryan%2Fsat-sight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1579e8047aa14f828b1a41f58bed41eb7402f69c [INFO] building dj-ryan/sat-sight against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdj-ryan%2Fsat-sight" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dj-ryan/sat-sight [INFO] finished tweaking git repo https://github.com/dj-ryan/sat-sight [INFO] tweaked toml for git repo https://github.com/dj-ryan/sat-sight written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dj-ryan/sat-sight on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dj-ryan/sat-sight 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20c68c387e06af1653073003e10828055c24c9e74ee0eba853a256972eceb528 [INFO] running `Command { std: "docker" "start" "-a" "20c68c387e06af1653073003e10828055c24c9e74ee0eba853a256972eceb528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20c68c387e06af1653073003e10828055c24c9e74ee0eba853a256972eceb528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c68c387e06af1653073003e10828055c24c9e74ee0eba853a256972eceb528", kill_on_drop: false }` [INFO] [stdout] 20c68c387e06af1653073003e10828055c24c9e74ee0eba853a256972eceb528 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9858a0a2d86ed1f80bf601112365c493a16407d557a0b6970373771bf825121 [INFO] running `Command { std: "docker" "start" "-a" "c9858a0a2d86ed1f80bf601112365c493a16407d557a0b6970373771bf825121", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling wide v0.7.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling sat-sight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::io::Reader as ImageReader; [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::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/sat_sight.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_lat_lon_tuples`, `get_stars_from_image`, `get_viewable_stars`, `increase_contrast`, `parse_star_file`, and `pin_prick_image` [INFO] [stdout] --> src/main.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | ...e, parse_star_file, Star, get_viewable_stars, pin_prick_image, extract_lat_lon_tuples, viewable_stars, get_pix, increase_contrast, get_stars_from_image, p... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> src/sat_sight.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, _fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FOV` (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 219 - pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] 219 + pub fn get_pix(stars: Vec, FOV: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_size` [INFO] [stdout] --> src/sat_sight.rs:219:44 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, _screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `WINDOW_SIZE` [INFO] [stdout] | [INFO] [stdout] 219 - pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] 219 + pub fn get_pix(stars: Vec, fov: f32, WINDOW_SIZE: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lat_delta` is never read [INFO] [stdout] --> src/sat_sight.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mut lat_delta = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lon_delta` is never read [INFO] [stdout] --> src/sat_sight.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut lon_delta = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUDGE_SIGMA` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const FUDGE_SIGMA: f32 = 10.0; [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 `IMAGE_SIZE` is never used [INFO] [stdout] --> src/sat_sight.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const IMAGE_SIZE: f32 = 648.0; // image is square [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOV` is never used [INFO] [stdout] --> src/sat_sight.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FOV: f32 = 15.0; // Field of view of the camera in degrees [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_vectors` is never used [INFO] [stdout] --> src/sat_sight.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn rotate_vectors(axis: Vector3, theta: f64, vectors: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gnomonic_porjection` is never used [INFO] [stdout] --> src/sat_sight.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn gnomonic_porjection(lambda_view: f64, phi_view: f64, lambda: f64, phi: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viewable_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_viewable_stars(fov: f32, window_size: u32, looking_direction: (f32, f32), stars: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_between_angle_and_pixel` is never used [INFO] [stdout] --> src/sat_sight.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn convert_between_angle_and_pixel(fov: f32, screen_size: u32, lat1: f32, lon1: f32, lat2: f32, lon2: f32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle_between_directions` is never used [INFO] [stdout] --> src/sat_sight.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn angle_between_directions(dir1: (f32, f32), dir2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle_to_pixel_offset` is never used [INFO] [stdout] --> src/sat_sight.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn angle_to_pixel_offset(angle: f32, fov: f32, window_size: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance_between_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn calculate_distance_between_stars(star1: &Star, star2: &Star) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_baring_between_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn calculate_baring_between_stars(star1: &Star, star2: &Star) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_lat_lon_tuples` is never used [INFO] [stdout] --> src/sat_sight.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn extract_lat_lon_tuples(stars: &[Star]) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_prick_image` is never used [INFO] [stdout] --> src/sat_sight.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn pin_prick_image(image: &GrayImage, coordinates: &Vec<(u32, u32)>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_star_fingure_prints` is never used [INFO] [stdout] --> src/sat_sight.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn calculate_star_fingure_prints(stars: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cartesian_to_corrdinates` is never used [INFO] [stdout] --> src/sat_sight.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn cartesian_to_corrdinates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_star_file` is never used [INFO] [stdout] --> src/sat_sight.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_star_file(file: File) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_contrast` is never used [INFO] [stdout] --> src/sat_sight.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn increase_contrast(image: &mut GrayImage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stars_from_image` is never used [INFO] [stdout] --> src/sat_sight.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn get_stars_from_image(img: &GrayImage) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.01s [INFO] running `Command { std: "docker" "inspect" "c9858a0a2d86ed1f80bf601112365c493a16407d557a0b6970373771bf825121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9858a0a2d86ed1f80bf601112365c493a16407d557a0b6970373771bf825121", kill_on_drop: false }` [INFO] [stdout] c9858a0a2d86ed1f80bf601112365c493a16407d557a0b6970373771bf825121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e487acdcc70ecbe95e6b97e606fdedad9c8a274c7190016f8bc9c33ccf99048 [INFO] running `Command { std: "docker" "start" "-a" "1e487acdcc70ecbe95e6b97e606fdedad9c8a274c7190016f8bc9c33ccf99048", kill_on_drop: false }` [INFO] [stderr] Compiling sat-sight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::io::Reader as ImageReader; [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::fs` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/sat_sight.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_lat_lon_tuples`, `get_stars_from_image`, `get_viewable_stars`, `increase_contrast`, `parse_star_file`, and `pin_prick_image` [INFO] [stdout] --> src/main.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | ...e, parse_star_file, Star, get_viewable_stars, pin_prick_image, extract_lat_lon_tuples, viewable_stars, get_pix, increase_contrast, get_stars_from_image, p... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> src/sat_sight.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, _fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FOV` (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 219 - pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] 219 + pub fn get_pix(stars: Vec, FOV: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_size` [INFO] [stdout] --> src/sat_sight.rs:219:44 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_pix(stars: Vec, fov: f32, _screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `WINDOW_SIZE` [INFO] [stdout] | [INFO] [stdout] 219 - pub fn get_pix(stars: Vec, fov: f32, screen_size: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] 219 + pub fn get_pix(stars: Vec, fov: f32, WINDOW_SIZE: u32, looking_direction: (f32, f32)) -> Vec<(u32, u32)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lat_delta` is never read [INFO] [stdout] --> src/sat_sight.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mut lat_delta = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `lon_delta` is never read [INFO] [stdout] --> src/sat_sight.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut lon_delta = 0.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUDGE_SIGMA` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const FUDGE_SIGMA: f32 = 10.0; [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 `IMAGE_SIZE` is never used [INFO] [stdout] --> src/sat_sight.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const IMAGE_SIZE: f32 = 648.0; // image is square [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOV` is never used [INFO] [stdout] --> src/sat_sight.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FOV: f32 = 15.0; // Field of view of the camera in degrees [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_vectors` is never used [INFO] [stdout] --> src/sat_sight.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn rotate_vectors(axis: Vector3, theta: f64, vectors: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gnomonic_porjection` is never used [INFO] [stdout] --> src/sat_sight.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn gnomonic_porjection(lambda_view: f64, phi_view: f64, lambda: f64, phi: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_viewable_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_viewable_stars(fov: f32, window_size: u32, looking_direction: (f32, f32), stars: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_between_angle_and_pixel` is never used [INFO] [stdout] --> src/sat_sight.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn convert_between_angle_and_pixel(fov: f32, screen_size: u32, lat1: f32, lon1: f32, lat2: f32, lon2: f32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle_between_directions` is never used [INFO] [stdout] --> src/sat_sight.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn angle_between_directions(dir1: (f32, f32), dir2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle_to_pixel_offset` is never used [INFO] [stdout] --> src/sat_sight.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn angle_to_pixel_offset(angle: f32, fov: f32, window_size: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance_between_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn calculate_distance_between_stars(star1: &Star, star2: &Star) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_baring_between_stars` is never used [INFO] [stdout] --> src/sat_sight.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn calculate_baring_between_stars(star1: &Star, star2: &Star) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_lat_lon_tuples` is never used [INFO] [stdout] --> src/sat_sight.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn extract_lat_lon_tuples(stars: &[Star]) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pin_prick_image` is never used [INFO] [stdout] --> src/sat_sight.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn pin_prick_image(image: &GrayImage, coordinates: &Vec<(u32, u32)>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_star_fingure_prints` is never used [INFO] [stdout] --> src/sat_sight.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn calculate_star_fingure_prints(stars: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cartesian_to_corrdinates` is never used [INFO] [stdout] --> src/sat_sight.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn cartesian_to_corrdinates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_star_file` is never used [INFO] [stdout] --> src/sat_sight.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn parse_star_file(file: File) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increase_contrast` is never used [INFO] [stdout] --> src/sat_sight.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn increase_contrast(image: &mut GrayImage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stars_from_image` is never used [INFO] [stdout] --> src/sat_sight.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 555 | pub fn get_stars_from_image(img: &GrayImage) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "1e487acdcc70ecbe95e6b97e606fdedad9c8a274c7190016f8bc9c33ccf99048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e487acdcc70ecbe95e6b97e606fdedad9c8a274c7190016f8bc9c33ccf99048", kill_on_drop: false }` [INFO] [stdout] 1e487acdcc70ecbe95e6b97e606fdedad9c8a274c7190016f8bc9c33ccf99048