[INFO] cloning repository https://github.com/mmihira/prowst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmihira/prowst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmihira%2Fprowst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmihira%2Fprowst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91b833f2af64687cb1c470a5d6db2304f066e350 [INFO] testing mmihira/prowst against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmihira%2Fprowst" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmihira/prowst [INFO] finished tweaking git repo https://github.com/mmihira/prowst [INFO] tweaked toml for git repo https://github.com/mmihira/prowst written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmihira/prowst on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmihira/prowst 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded uuid v0.5.0 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96f880713d2175932991208c006411afe9cd04f25871929761d193eedda20f04 [INFO] running `Command { std: "docker" "start" "-a" "96f880713d2175932991208c006411afe9cd04f25871929761d193eedda20f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96f880713d2175932991208c006411afe9cd04f25871929761d193eedda20f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f880713d2175932991208c006411afe9cd04f25871929761d193eedda20f04", kill_on_drop: false }` [INFO] [stdout] 96f880713d2175932991208c006411afe9cd04f25871929761d193eedda20f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b07e351285fd77cdba8e4ad700f6556676187112e19113ff9f929bdc77423d [INFO] running `Command { std: "docker" "start" "-a" "07b07e351285fd77cdba8e4ad700f6556676187112e19113ff9f929bdc77423d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling uuid v0.5.0 [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling prowst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/material/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use time; [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::collections::HashMap` [INFO] [stdout] --> src/material_map/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/material_map/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/simulation_engine/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/simulation_engine/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/simulation_engine/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::RGB` [INFO] [stdout] --> src/simulation_engine/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use material::RGB; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::State` [INFO] [stdout] --> src/simulation_engine/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use material::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndependentSample` and `Range` [INFO] [stdout] --> src/simulation_engine/trait_update_cell_positions.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/simulation_engine/trait_update_cell_positions.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | for x in (0..self.buffer_width) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - for x in (0..self.buffer_width) { [INFO] [stdout] 29 + for x in 0..self.buffer_width { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/brushes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/counter/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/simulation_engine/trait_update_cell_positions.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | fn update_cell_positions(&mut self, elapsed: &time::Duration) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let surface = Surface::new(512, 512, PixelFormatEnum::RGB24).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Calc` and `Dead` are never constructed [INFO] [stdout] --> src/material/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Calc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Dead [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are 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: method `speed` is never used [INFO] [stdout] --> src/material/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 21 | impl Material{ [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn speed(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contents_at_index` and `rgb_at_index` are never used [INFO] [stdout] --> src/material_map/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MaterialMap { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn contents_at_index (&self, y: usize, x: usize) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn rgb_at_index(&self, y: usize, x: usize) -> RGB { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t_count` and `p_count` are never read [INFO] [stdout] --> src/simulation_engine/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SimulationEngine { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | t_count: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | p_count: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bulk_move`, `block_to_right`, `block_to_left`, and `block_above` are never used [INFO] [stdout] --> src/simulation_engine/trait_update_cell_positions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait UpdateCellPositions { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn bulk_move(&mut self, y: usize, x: usize); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | fn block_to_right(&self, y: usize, x: usize, count: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn block_to_left(&self, y: usize, x: usize, count: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | fn block_above(&self, y: usize, x: usize, count: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcEQMipq/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtime-d6b41104a3951ff7,libsdl2-4f9558092f260334,librand-49057baa0fac0d87,libc_vec-c227f82583194290,libsdl2_sys-495753d14144c561,libbitflags-c3fec785a714c1e5,liblazy_static-1238278df2e6f6c3,liblibc-0845bc97193c8bfb,libnum-395e47030b27194e,libnum_iter-0498572919d81802,libnum_integer-183f9fd297fb7603,libnum_traits-05240de819698c12}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcEQMipq/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/prowst-d15d667bfd80cf47" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prowst` (bin "prowst") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07b07e351285fd77cdba8e4ad700f6556676187112e19113ff9f929bdc77423d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b07e351285fd77cdba8e4ad700f6556676187112e19113ff9f929bdc77423d", kill_on_drop: false }` [INFO] [stdout] 07b07e351285fd77cdba8e4ad700f6556676187112e19113ff9f929bdc77423d