[INFO] cloning repository https://github.com/dthelegend/street-fighter-ai-reloaded [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dthelegend/street-fighter-ai-reloaded" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthelegend%2Fstreet-fighter-ai-reloaded", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthelegend%2Fstreet-fighter-ai-reloaded'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 209c63b96b131578b101d75e0c94dc4c6b315798 [INFO] checking dthelegend/street-fighter-ai-reloaded against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthelegend%2Fstreet-fighter-ai-reloaded" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dthelegend/street-fighter-ai-reloaded on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dthelegend/street-fighter-ai-reloaded [INFO] finished tweaking git repo https://github.com/dthelegend/street-fighter-ai-reloaded [INFO] tweaked toml for git repo https://github.com/dthelegend/street-fighter-ai-reloaded written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dthelegend/street-fighter-ai-reloaded 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.11 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.2 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded pyo3-macros v0.19.2 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded shlex v1.2.0 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded errno v0.3.4 [INFO] [stderr] Downloaded libffi v3.2.0 [INFO] [stderr] Downloaded printf-compat v0.1.1 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded clang-sys v1.6.1 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.8 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded pyo3-ffi v0.19.2 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded regex v1.9.6 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded pyo3-build-config v0.19.2 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded pyo3 v0.19.2 [INFO] [stderr] Downloaded rustix v0.38.17 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded linux-raw-sys v0.4.8 [INFO] [stderr] Downloaded printf v0.1.0 [INFO] [stderr] Downloaded libffi-sys v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9fe8b4659ad99a414df1f7942b930e85c9a4045e4dbe6979a352cf1b7368bc9 [INFO] running `Command { std: "docker" "start" "-a" "f9fe8b4659ad99a414df1f7942b930e85c9a4045e4dbe6979a352cf1b7368bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9fe8b4659ad99a414df1f7942b930e85c9a4045e4dbe6979a352cf1b7368bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9fe8b4659ad99a414df1f7942b930e85c9a4045e4dbe6979a352cf1b7368bc9", kill_on_drop: false }` [INFO] [stdout] f9fe8b4659ad99a414df1f7942b930e85c9a4045e4dbe6979a352cf1b7368bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56c8e85752879cb81ecf60e9612973eace91d6e920ec13d8c81b9584cbcd2314 [INFO] running `Command { std: "docker" "start" "-a" "56c8e85752879cb81ecf60e9612973eace91d6e920ec13d8c81b9584cbcd2314", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling libffi-sys v2.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling printf v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking printf-compat v0.1.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Compiling street-fighter-ai-reloaded v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking libffi v3.2.0 [INFO] [stdout] warning: unused imports: `Mutex` and `rc::Rc` [INFO] [stdout] --> src/retro/libretrocore.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::{c_void, c_uint}, sync::{Mutex, Arc}, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `rc::Rc` [INFO] [stdout] --> src/retro/libretrocore.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::{c_void, c_uint}, sync::{Mutex, Arc}, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/retro/libretrocore.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 163 | else { Some(unsafe { std::slice::from_raw_parts(data as *const u8, (width * height) as usize) }) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/retro/libretrocore.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/retro/libretrocore.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/retro/libretrocore.rs:223:67 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retro/libretrocore.rs:223:82 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/retro/libretrocore.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/retro/libretrocore.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processed_data` [INFO] [stdout] --> src/retro/libretrocore.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let processed_data = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl GlobalLibretroEnvironmentManager { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn unload_rom(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_path` and `rom_path` are never read [INFO] [stdout] --> src/retro/libretrocore.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct InitialisedCoreWithRom { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 320 | core_api: Arc, [INFO] [stdout] 321 | core_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 322 | rom_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisedCoreWithRom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl InitialisedCoreWithRom { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 328 | fn unload_rom(self) -> InitialisedCore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/retro/libretrocore.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 163 | else { Some(unsafe { std::slice::from_raw_parts(data as *const u8, (width * height) as usize) }) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/retro/libretrocore.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/retro/libretrocore.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/retro/libretrocore.rs:223:67 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retro/libretrocore.rs:223:82 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/retro/libretrocore.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/retro/libretrocore.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processed_data` [INFO] [stdout] --> src/retro/libretrocore.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let processed_data = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl GlobalLibretroEnvironmentManager { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn unload_rom(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_path` and `rom_path` are never read [INFO] [stdout] --> src/retro/libretrocore.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct InitialisedCoreWithRom { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 320 | core_api: Arc, [INFO] [stdout] 321 | core_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 322 | rom_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisedCoreWithRom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl InitialisedCoreWithRom { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 328 | fn unload_rom(self) -> InitialisedCore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.41s [INFO] running `Command { std: "docker" "inspect" "56c8e85752879cb81ecf60e9612973eace91d6e920ec13d8c81b9584cbcd2314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c8e85752879cb81ecf60e9612973eace91d6e920ec13d8c81b9584cbcd2314", kill_on_drop: false }` [INFO] [stdout] 56c8e85752879cb81ecf60e9612973eace91d6e920ec13d8c81b9584cbcd2314 [INFO] checking dthelegend/street-fighter-ai-reloaded against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthelegend%2Fstreet-fighter-ai-reloaded" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dthelegend/street-fighter-ai-reloaded on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dthelegend/street-fighter-ai-reloaded [INFO] finished tweaking git repo https://github.com/dthelegend/street-fighter-ai-reloaded [INFO] tweaked toml for git repo https://github.com/dthelegend/street-fighter-ai-reloaded written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dthelegend/street-fighter-ai-reloaded 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c021e1aeae20259d3cb49fb2247d13f34ea3d04a517060ae48f6409a9693e7e [INFO] running `Command { std: "docker" "start" "-a" "8c021e1aeae20259d3cb49fb2247d13f34ea3d04a517060ae48f6409a9693e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c021e1aeae20259d3cb49fb2247d13f34ea3d04a517060ae48f6409a9693e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c021e1aeae20259d3cb49fb2247d13f34ea3d04a517060ae48f6409a9693e7e", kill_on_drop: false }` [INFO] [stdout] 8c021e1aeae20259d3cb49fb2247d13f34ea3d04a517060ae48f6409a9693e7e [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=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f9ae590c168138a94ddbeb31a7a6f11e62e15cd22b00ac2451ddb49bb58f8da [INFO] running `Command { std: "docker" "start" "-a" "5f9ae590c168138a94ddbeb31a7a6f11e62e15cd22b00ac2451ddb49bb58f8da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling libffi-sys v2.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling printf v0.1.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking printf-compat v0.1.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Compiling street-fighter-ai-reloaded v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking libffi v3.2.0 [INFO] [stdout] warning: unused imports: `Mutex` and `rc::Rc` [INFO] [stdout] --> src/retro/libretrocore.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::{c_void, c_uint}, sync::{Mutex, Arc}, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `rc::Rc` [INFO] [stdout] --> src/retro/libretrocore.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::{c_void, c_uint}, sync::{Mutex, Arc}, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/retro/libretrocore.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 163 | else { Some(unsafe { std::slice::from_raw_parts(data as *const u8, (width * height) as usize) }) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/retro/libretrocore.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/retro/libretrocore.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/retro/libretrocore.rs:223:67 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retro/libretrocore.rs:223:82 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/retro/libretrocore.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/retro/libretrocore.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processed_data` [INFO] [stdout] --> src/retro/libretrocore.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let processed_data = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl GlobalLibretroEnvironmentManager { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn unload_rom(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_path` and `rom_path` are never read [INFO] [stdout] --> src/retro/libretrocore.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct InitialisedCoreWithRom { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 320 | core_api: Arc, [INFO] [stdout] 321 | core_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 322 | rom_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisedCoreWithRom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl InitialisedCoreWithRom { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 328 | fn unload_rom(self) -> InitialisedCore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/retro/libretrocore.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn initialise(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | let Self { core_api, core_path } = self; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Ok(InitialisedCore { [INFO] [stdout] | ____________^ [INFO] [stdout] 281 | | core_api, [INFO] [stdout] 282 | | core_path, [INFO] [stdout] 283 | | frame_format: PixelFormat::RetroPixelFormatUnknown [INFO] [stdout] 284 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/retro/libretrocore.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 163 | else { Some(unsafe { std::slice::from_raw_parts(data as *const u8, (width * height) as usize) }) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/retro/libretrocore.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/retro/libretrocore.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/retro/libretrocore.rs:223:67 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/retro/libretrocore.rs:223:82 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe extern "C" fn on_input_state(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/retro/libretrocore.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/retro/libretrocore.rs:228:49 [INFO] [stdout] | [INFO] [stdout] 228 | unsafe extern "C" fn on_audio_sample(left: i16, right: i16) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processed_data` [INFO] [stdout] --> src/retro/libretrocore.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let processed_data = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/street-fighter-ai-reloaded-a288013c7fbd3616/out/bindings.rs:3:162482 [INFO] [stdout] | [INFO] [stdout] 3 | ...> (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { let __library = library . into () ; let retro_set_environment = __library . get (b"retro_set_environment\0") . map (| sym | * sym) ; let retro_set_video_refresh = __library . get (b"retro_set_video_refresh\0") . map (| sym | * sym) ; let retro_set_audio_sample = __library . get (b"retro_set_audio_sample\0") . map (| sym | * sym) ; let retro_set_audio_sample_batch = __library . get (b"retro_set_audio_sample_batch\0") . map (| sym | * sym) ; let retro_set_input_poll = __library . get (b"retro_set_input_poll\0") . map (| sym | * sym) ; let retro_set_input_state = __library . get (b"retro_set_input_state\0") . map (| sym | * sym) ; let retro_init = __library . get (b"retro_init\0") . map (| sym | * sym) ; let retro_deinit = __library . get (b"retro_deinit\0") . map (| sym | * sym) ; let retro_api_version = __library . get (b"retro_api_version\0") . map (| sym | * sym) ; let retro_get_system_info = __library . get (b"retro_get_system_info\0") . map (| sym | * sym) ; let retro_get_system_av_info = __library . get (b"retro_get_system_av_info\0") . map (| sym | * sym) ; let retro_set_controller_port_device = __library . get (b"retro_set_controller_port_device\0") . map (| sym | * sym) ; let retro_reset = __library . get (b"retro_reset\0") . map (| sym | * sym) ; let retro_run = __library . get (b"retro_run\0") . map (| sym | * sym) ; let retro_serialize_size = __library . get (b"retro_serialize_size\0") . map (| sym | * sym) ; let retro_serialize = __library . get (b"retro_serialize\0") . map (| sym | * sym) ; let retro_unserialize = __library . get (b"retro_unserialize\0") . map (| sym | * sym) ; let retro_cheat_reset = __library . get (b"retro_cheat_reset\0") . map (| sym | * sym) ; let retro_cheat_set = __library . get (b"retro_cheat_set\0") . map (| sym | * sym) ; let retro_load_game = __library . get (b"retro_load_game\0") . map (| sym | * sym) ; let retro_load_game_special = __library . get (b"retro_load_game_special\0") . map (| sym | * sym) ; let retro_unload_game = __library . get (b"retro_unload_game\0") . map (| sym | * sym) ; let retro_get_region = __library . get (b"retro_get_region\0") . map (| sym | * sym) ; let retro_get_memory_data = __library . get (b"retro_get_memory_data\0") . map (| sym | * sym) ; let retro_get_memory_size = __library . get (b"retro_get_memory_size\0") . map (| sym | * sym) ; Ok (LibretroAPI { __library , retro_set_environment , retro_set_video_refresh , retro_set_audio_sample , retro_set_audio_sample_batch , retro_set_input_poll , retro_set_input_state , retro_init , retro_deinit , retro_api_version , retro_get_system_info , retro_get_system_av_info , retro_set_controller_port_device , retro_reset , retro_run , retro_serialize_size , retro_serialize , retro_unserialize , retro_cheat_reset , retro_cheat_set , retro_load_game , retro_load_game_special , retro_unload_game , retro_get_region , retro_get_memory_data , retro_get_memory_size }) }... [INFO] [stdout] | ----------- --------- --------------------- ----------------------- ---------------------- ---------------------------- -------------------- --------------------- ---------- ------------ ----------------- --------------------- ------------------------ -------------------------------- ----------- --------- -------------------- --------------- ----------------- ----------------- --------------- --------------- ----------------------- ----------------- ---------------- --------------------- --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | | | [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `street-fighter-ai-reloaded` (lib) due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl GlobalLibretroEnvironmentManager { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn unload_rom(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `core_path` and `rom_path` are never read [INFO] [stdout] --> src/retro/libretrocore.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct InitialisedCoreWithRom { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 320 | core_api: Arc, [INFO] [stdout] 321 | core_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 322 | rom_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisedCoreWithRom` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_rom` is never used [INFO] [stdout] --> src/retro/libretrocore.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl InitialisedCoreWithRom { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 328 | fn unload_rom(self) -> InitialisedCore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/retro/libretrocore.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn initialise(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | let Self { core_api, core_path } = self; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Ok(InitialisedCore { [INFO] [stdout] | ____________^ [INFO] [stdout] 281 | | core_api, [INFO] [stdout] 282 | | core_path, [INFO] [stdout] 283 | | frame_format: PixelFormat::RetroPixelFormatUnknown [INFO] [stdout] 284 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/street-fighter-ai-reloaded-a288013c7fbd3616/out/bindings.rs:3:162482 [INFO] [stdout] | [INFO] [stdout] 3 | ...> (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { let __library = library . into () ; let retro_set_environment = __library . get (b"retro_set_environment\0") . map (| sym | * sym) ; let retro_set_video_refresh = __library . get (b"retro_set_video_refresh\0") . map (| sym | * sym) ; let retro_set_audio_sample = __library . get (b"retro_set_audio_sample\0") . map (| sym | * sym) ; let retro_set_audio_sample_batch = __library . get (b"retro_set_audio_sample_batch\0") . map (| sym | * sym) ; let retro_set_input_poll = __library . get (b"retro_set_input_poll\0") . map (| sym | * sym) ; let retro_set_input_state = __library . get (b"retro_set_input_state\0") . map (| sym | * sym) ; let retro_init = __library . get (b"retro_init\0") . map (| sym | * sym) ; let retro_deinit = __library . get (b"retro_deinit\0") . map (| sym | * sym) ; let retro_api_version = __library . get (b"retro_api_version\0") . map (| sym | * sym) ; let retro_get_system_info = __library . get (b"retro_get_system_info\0") . map (| sym | * sym) ; let retro_get_system_av_info = __library . get (b"retro_get_system_av_info\0") . map (| sym | * sym) ; let retro_set_controller_port_device = __library . get (b"retro_set_controller_port_device\0") . map (| sym | * sym) ; let retro_reset = __library . get (b"retro_reset\0") . map (| sym | * sym) ; let retro_run = __library . get (b"retro_run\0") . map (| sym | * sym) ; let retro_serialize_size = __library . get (b"retro_serialize_size\0") . map (| sym | * sym) ; let retro_serialize = __library . get (b"retro_serialize\0") . map (| sym | * sym) ; let retro_unserialize = __library . get (b"retro_unserialize\0") . map (| sym | * sym) ; let retro_cheat_reset = __library . get (b"retro_cheat_reset\0") . map (| sym | * sym) ; let retro_cheat_set = __library . get (b"retro_cheat_set\0") . map (| sym | * sym) ; let retro_load_game = __library . get (b"retro_load_game\0") . map (| sym | * sym) ; let retro_load_game_special = __library . get (b"retro_load_game_special\0") . map (| sym | * sym) ; let retro_unload_game = __library . get (b"retro_unload_game\0") . map (| sym | * sym) ; let retro_get_region = __library . get (b"retro_get_region\0") . map (| sym | * sym) ; let retro_get_memory_data = __library . get (b"retro_get_memory_data\0") . map (| sym | * sym) ; let retro_get_memory_size = __library . get (b"retro_get_memory_size\0") . map (| sym | * sym) ; Ok (LibretroAPI { __library , retro_set_environment , retro_set_video_refresh , retro_set_audio_sample , retro_set_audio_sample_batch , retro_set_input_poll , retro_set_input_state , retro_init , retro_deinit , retro_api_version , retro_get_system_info , retro_get_system_av_info , retro_set_controller_port_device , retro_reset , retro_run , retro_serialize_size , retro_serialize , retro_unserialize , retro_cheat_reset , retro_cheat_set , retro_load_game , retro_load_game_special , retro_unload_game , retro_get_region , retro_get_memory_data , retro_get_memory_size }) }... [INFO] [stdout] | ----------- --------- --------------------- ----------------------- ---------------------- ---------------------------- -------------------- --------------------- ---------- ------------ ----------------- --------------------- ------------------------ -------------------------------- ----------- --------- -------------------- --------------- ----------------- ----------------- --------------- --------------- ----------------------- ----------------- ---------------- --------------------- --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | | | [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `street-fighter-ai-reloaded` (lib test) due to 3 previous errors; 12 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f9ae590c168138a94ddbeb31a7a6f11e62e15cd22b00ac2451ddb49bb58f8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9ae590c168138a94ddbeb31a7a6f11e62e15cd22b00ac2451ddb49bb58f8da", kill_on_drop: false }` [INFO] [stdout] 5f9ae590c168138a94ddbeb31a7a6f11e62e15cd22b00ac2451ddb49bb58f8da