[INFO] cloning repository https://github.com/svenstaro/minitraderoute [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svenstaro/minitraderoute" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminitraderoute", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminitraderoute'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d300053c9d2dc97f4dee8ec9f2519956c85a587f [INFO] testing svenstaro/minitraderoute/d300053c9d2dc97f4dee8ec9f2519956c85a587f against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenstaro%2Fminitraderoute" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/svenstaro/minitraderoute [INFO] finished tweaking git repo https://github.com/svenstaro/minitraderoute [INFO] tweaked toml for git repo https://github.com/svenstaro/minitraderoute written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/svenstaro/minitraderoute on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/svenstaro/minitraderoute 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d125b55583fa1d15d429d4c475fefffc9b81809455a912e9662a8e29d2bf72e0 [INFO] running `Command { std: "docker" "start" "-a" "d125b55583fa1d15d429d4c475fefffc9b81809455a912e9662a8e29d2bf72e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d125b55583fa1d15d429d4c475fefffc9b81809455a912e9662a8e29d2bf72e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d125b55583fa1d15d429d4c475fefffc9b81809455a912e9662a8e29d2bf72e0", kill_on_drop: false }` [INFO] [stdout] d125b55583fa1d15d429d4c475fefffc9b81809455a912e9662a8e29d2bf72e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ef5ae5cb507a28c7562a323cd98fd2a5e5a9d6301ddcdc6229295e53e3609ed [INFO] running `Command { std: "docker" "start" "-a" "4ef5ae5cb507a28c7562a323cd98fd2a5e5a9d6301ddcdc6229295e53e3609ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.28.1 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.1 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling wayland-client v0.28.1 [INFO] [stderr] Compiling wayland-protocols v0.28.1 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling cpal v0.12.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling font-kit v0.7.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling wayland-commons v0.28.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ultraviolet v0.4.6 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling pollster v0.2.0 [INFO] [stderr] Compiling raqote v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling alsa v0.4.2 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling wayland-cursor v0.28.1 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling shipyard v0.4.0 (https://github.com/leudz/shipyard.git#410ce9d5) [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.5 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling rodio v0.12.0 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling futures-executor v0.3.7 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling wgpu v0.6.0 [INFO] [stderr] Compiling pixels v0.2.0 (https://github.com/svenstaro/pixels.git?branch=fix-outofdate-swapchain#b8b4fee8) [INFO] [stderr] Compiling smithay-client-toolkit v0.12.0 [INFO] [stderr] Compiling winit_input_helper v0.8.0 [INFO] [stderr] Compiling minitraderoute v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [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: `audio::AudioEvent` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use audio::AudioEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `Rng` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_xoshiro::rand_core::SeedableRng` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand_xoshiro::rand_core::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_xoshiro::Xoroshiro128StarStar` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand_xoshiro::Xoroshiro128StarStar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raqote::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use raqote::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysicalSize` and `WindowEvent` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | dpi::{LogicalSize, PhysicalSize}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | event::{Event, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `OutputStream`, and `Sink` [INFO] [stdout] --> src/audio/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use rodio::{Decoder, OutputStream, OutputStreamHandle, Sink, Source}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/audio/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `cmp::min`, and `fs::File` [INFO] [stdout] --> src/audio/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::min, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] 7 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | sync::{mpsc::Receiver, Arc}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufReader` [INFO] [stdout] --> src/audio/mod.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashSet, collections::VecDeque, io::BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::*` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use components::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shipyard` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shipyard::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NewStation` and `ShipArrived` are never constructed [INFO] [stdout] --> src/audio/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum AudioEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 30 | NewStation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | ShipArrived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/components.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2 | pub x: u32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | pub y: u32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `image_data` are never read [INFO] [stdout] --> src/components.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Drawable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub image_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/audio/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | for events in queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 73 - for events in queue.pop_front() { [INFO] [stdout] 73 + while let Some(events) = queue.pop_front() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 73 - for events in queue.pop_front() { [INFO] [stdout] 73 + if let Some(events) = queue.pop_front() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4ef5ae5cb507a28c7562a323cd98fd2a5e5a9d6301ddcdc6229295e53e3609ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef5ae5cb507a28c7562a323cd98fd2a5e5a9d6301ddcdc6229295e53e3609ed", kill_on_drop: false }` [INFO] [stdout] 4ef5ae5cb507a28c7562a323cd98fd2a5e5a9d6301ddcdc6229295e53e3609ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52ff40e066919d13ee3010708e3b5a1b2d0d9f7a08b39e78b18a73ef028e4c01 [INFO] running `Command { std: "docker" "start" "-a" "52ff40e066919d13ee3010708e3b5a1b2d0d9f7a08b39e78b18a73ef028e4c01", kill_on_drop: false }` [INFO] [stderr] Compiling minitraderoute v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [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: `audio::AudioEvent` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use audio::AudioEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `Rng` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_xoshiro::rand_core::SeedableRng` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand_xoshiro::rand_core::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_xoshiro::Xoroshiro128StarStar` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand_xoshiro::Xoroshiro128StarStar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raqote::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use raqote::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysicalSize` and `WindowEvent` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | dpi::{LogicalSize, PhysicalSize}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | event::{Event, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder`, `OutputStream`, and `Sink` [INFO] [stdout] --> src/audio/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use rodio::{Decoder, OutputStream, OutputStreamHandle, Sink, Source}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/audio/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `cmp::min`, and `fs::File` [INFO] [stdout] --> src/audio/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::min, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] 7 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | sync::{mpsc::Receiver, Arc}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufReader` [INFO] [stdout] --> src/audio/mod.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashSet, collections::VecDeque, io::BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::*` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use components::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shipyard` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shipyard::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NewStation` and `ShipArrived` are never constructed [INFO] [stdout] --> src/audio/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum AudioEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 30 | NewStation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | ShipArrived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/components.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2 | pub x: u32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | pub y: u32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `image_data` are never read [INFO] [stdout] --> src/components.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Drawable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub image_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/audio/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | for events in queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 73 - for events in queue.pop_front() { [INFO] [stdout] 73 + while let Some(events) = queue.pop_front() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 73 - for events in queue.pop_front() { [INFO] [stdout] 73 + if let Some(events) = queue.pop_front() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "52ff40e066919d13ee3010708e3b5a1b2d0d9f7a08b39e78b18a73ef028e4c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ff40e066919d13ee3010708e3b5a1b2d0d9f7a08b39e78b18a73ef028e4c01", kill_on_drop: false }` [INFO] [stdout] 52ff40e066919d13ee3010708e3b5a1b2d0d9f7a08b39e78b18a73ef028e4c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fd53d00ae375b2a1ac6ab4a17e0e6d444f6cbde0d2f9fcb95707988356d3ae0 [INFO] running `Command { std: "docker" "start" "-a" "8fd53d00ae375b2a1ac6ab4a17e0e6d444f6cbde0d2f9fcb95707988356d3ae0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/main.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `audio::AudioEvent` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use audio::AudioEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RngCore` and `Rng` [INFO] [stderr] --> src/main.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::{Rng, RngCore}; [INFO] [stderr] | ^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand_xoshiro::rand_core::SeedableRng` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand_xoshiro::rand_core::SeedableRng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand_xoshiro::Xoroshiro128StarStar` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use rand_xoshiro::Xoroshiro128StarStar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `raqote::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use raqote::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PhysicalSize` and `WindowEvent` [INFO] [stderr] --> src/main.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | dpi::{LogicalSize, PhysicalSize}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | event::{Event, VirtualKeyCode, WindowEvent}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Decoder`, `OutputStream`, and `Sink` [INFO] [stderr] --> src/audio/mod.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use rodio::{Decoder, OutputStream, OutputStreamHandle, Sink, Source}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/audio/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc`, `cmp::min`, and `fs::File` [INFO] [stderr] --> src/audio/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | cmp::min, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 6 | collections::HashMap, [INFO] [stderr] 7 | fs::File, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | sync::{mpsc::Receiver, Arc}, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::BufReader` [INFO] [stderr] --> src/audio/mod.rs:13:56 [INFO] [stderr] | [INFO] [stderr] 13 | use std::{collections::HashSet, collections::VecDeque, io::BufReader}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `components::*` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use components::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `shipyard` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use shipyard::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `NewStation` and `ShipArrived` are never constructed [INFO] [stderr] --> src/audio/mod.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum AudioEvent { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 30 | NewStation, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 31 | ShipArrived, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AudioEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/components.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Position { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 2 | pub x: u32, [INFO] [stderr] | ^ [INFO] [stderr] 3 | pub y: u32, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `width`, `height`, and `image_data` are never read [INFO] [stderr] --> src/components.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Drawable { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | pub width: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | pub height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | pub image_data: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/audio/mod.rs:73:23 [INFO] [stderr] | [INFO] [stderr] 73 | for events in queue.pop_front() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 73 - for events in queue.pop_front() { [INFO] [stderr] 73 + while let Some(events) = queue.pop_front() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 73 - for events in queue.pop_front() { [INFO] [stderr] 73 + if let Some(events) = queue.pop_front() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `minitraderoute` (bin "minitraderoute" test) generated 18 warnings (run `cargo fix --bin "minitraderoute" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/minitraderoute-8640c8fed654c320) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8fd53d00ae375b2a1ac6ab4a17e0e6d444f6cbde0d2f9fcb95707988356d3ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd53d00ae375b2a1ac6ab4a17e0e6d444f6cbde0d2f9fcb95707988356d3ae0", kill_on_drop: false }` [INFO] [stdout] 8fd53d00ae375b2a1ac6ab4a17e0e6d444f6cbde0d2f9fcb95707988356d3ae0