[INFO] cloning repository https://github.com/xfix/smw-mwl-file-joiner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xfix/smw-mwl-file-joiner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsmw-mwl-file-joiner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsmw-mwl-file-joiner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7e85080723d70952c7cf2182e6946e38708b8af [INFO] checking xfix/smw-mwl-file-joiner against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfix%2Fsmw-mwl-file-joiner" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/smw-mwl-file-joiner 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/xfix/smw-mwl-file-joiner [INFO] finished tweaking git repo https://github.com/xfix/smw-mwl-file-joiner [INFO] tweaked toml for git repo https://github.com/xfix/smw-mwl-file-joiner written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xfix/smw-mwl-file-joiner 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.4 [INFO] [stderr] Downloaded cc v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 964c472ec33d4d70bb2bd24a9dd5972cca939945785b3215ea1df54aa4661a48 [INFO] running `Command { std: "docker" "start" "-a" "964c472ec33d4d70bb2bd24a9dd5972cca939945785b3215ea1df54aa4661a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "964c472ec33d4d70bb2bd24a9dd5972cca939945785b3215ea1df54aa4661a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964c472ec33d4d70bb2bd24a9dd5972cca939945785b3215ea1df54aa4661a48", kill_on_drop: false }` [INFO] [stdout] 964c472ec33d4d70bb2bd24a9dd5972cca939945785b3215ea1df54aa4661a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 530fe3b9526d3be8e23b17ff387037003ac63d72254b1cff573229ac4a6aa369 [INFO] running `Command { std: "docker" "start" "-a" "530fe3b9526d3be8e23b17ff387037003ac63d72254b1cff573229ac4a6aa369", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.4 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking smw-mwl-file-joiner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/entry.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use map16::{Rectangle, Tile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/entry.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use map16::{Rectangle, Tile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder` and `LE` [INFO] [stdout] --> src/entry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LE}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder` and `LE` [INFO] [stdout] --> src/entry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LE}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for dir_entry in fs::read_dir("../entries").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = Entry::new(&mut database); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `current_number` are never read [INFO] [stdout] --> src/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | current_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_number` is never used [INFO] [stdout] --> src/cache.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cache { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fg`, `bg`, `exgfx`, `current_secondary`, `current_regular`, and `current_sublevel` are never read [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | fg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | bg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | exgfx: Cache>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | current_secondary: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_regular: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_sublevel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exgfx_number`, `tile_number`, `tile_number_for_rectangle`, `next_regular`, and `next_sublevel` are never used [INFO] [stdout] --> src/db.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn exgfx_number(&mut self, exgfx: Vec) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn tile_number(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tile_number_for_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn next_regular(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next_sublevel(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `exgfx`, and `tiles` are never read [INFO] [stdout] --> src/entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | db: &'a mut Database, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | exgfx: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/level.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_block`, and `read_level_number` are never used [INFO] [stdout] --> src/level.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new(bytes: &[u8]) -> Level { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn read_block(&self, position: usize) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read_level_number(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `next`, `tiles`, `rectangles`, and `big_tiles` are never read [INFO] [stdout] --> src/map16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Optimizer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | next: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | rectangles: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | big_tiles: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_tile`, `assign_rectangle`, and `is_rectangle_allowed` are never used [INFO] [stdout] --> src/map16.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Optimizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn assign_tile(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn assign_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn is_rectangle_allowed(&self, rectangle: &Rectangle, next: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map16.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(tile: [u8; 8], behaviour: u16) -> Tile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `height` are never used [INFO] [stdout] --> src/map16.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new(tiles: Vec, width: u8) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn height(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for dir_entry in fs::read_dir("../entries").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = Entry::new(&mut database); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `current_number` are never read [INFO] [stdout] --> src/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | current_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_number` is never used [INFO] [stdout] --> src/cache.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cache { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fg`, `bg`, `exgfx`, `current_secondary`, `current_regular`, and `current_sublevel` are never read [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | fg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | bg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | exgfx: Cache>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | current_secondary: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_regular: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_sublevel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exgfx_number`, `tile_number`, `tile_number_for_rectangle`, `next_regular`, and `next_sublevel` are never used [INFO] [stdout] --> src/db.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn exgfx_number(&mut self, exgfx: Vec) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn tile_number(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tile_number_for_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn next_regular(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next_sublevel(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `exgfx`, and `tiles` are never read [INFO] [stdout] --> src/entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | db: &'a mut Database, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | exgfx: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/level.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_block`, and `read_level_number` are never used [INFO] [stdout] --> src/level.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new(bytes: &[u8]) -> Level { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn read_block(&self, position: usize) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read_level_number(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "530fe3b9526d3be8e23b17ff387037003ac63d72254b1cff573229ac4a6aa369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530fe3b9526d3be8e23b17ff387037003ac63d72254b1cff573229ac4a6aa369", kill_on_drop: false }` [INFO] [stdout] 530fe3b9526d3be8e23b17ff387037003ac63d72254b1cff573229ac4a6aa369 [INFO] checking xfix/smw-mwl-file-joiner 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%2Fxfix%2Fsmw-mwl-file-joiner" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfix/smw-mwl-file-joiner 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/xfix/smw-mwl-file-joiner [INFO] finished tweaking git repo https://github.com/xfix/smw-mwl-file-joiner [INFO] tweaked toml for git repo https://github.com/xfix/smw-mwl-file-joiner written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xfix/smw-mwl-file-joiner 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ce20f0bed101aaa7ee54e161694fac9937824cc853cddfd8b92981d0a2c93631 [INFO] running `Command { std: "docker" "start" "-a" "ce20f0bed101aaa7ee54e161694fac9937824cc853cddfd8b92981d0a2c93631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce20f0bed101aaa7ee54e161694fac9937824cc853cddfd8b92981d0a2c93631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce20f0bed101aaa7ee54e161694fac9937824cc853cddfd8b92981d0a2c93631", kill_on_drop: false }` [INFO] [stdout] ce20f0bed101aaa7ee54e161694fac9937824cc853cddfd8b92981d0a2c93631 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] be9567e13eab8c9f616855f21d3c4a4403f16606cfe20147f3f5fad08a86b7de [INFO] running `Command { std: "docker" "start" "-a" "be9567e13eab8c9f616855f21d3c4a4403f16606cfe20147f3f5fad08a86b7de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.4 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking smw-mwl-file-joiner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/entry.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use map16::{Rectangle, Tile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder` and `LE` [INFO] [stdout] --> src/entry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LE}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/entry.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use map16::{Rectangle, Tile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder` and `LE` [INFO] [stdout] --> src/entry.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LE}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for dir_entry in fs::read_dir("../entries").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = Entry::new(&mut database); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `current_number` are never read [INFO] [stdout] --> src/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | current_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_number` is never used [INFO] [stdout] --> src/cache.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cache { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fg`, `bg`, `exgfx`, `current_secondary`, `current_regular`, and `current_sublevel` are never read [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | fg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | bg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | exgfx: Cache>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | current_secondary: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_regular: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_sublevel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exgfx_number`, `tile_number`, `tile_number_for_rectangle`, `next_regular`, and `next_sublevel` are never used [INFO] [stdout] --> src/db.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn exgfx_number(&mut self, exgfx: Vec) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn tile_number(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tile_number_for_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn next_regular(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next_sublevel(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `exgfx`, and `tiles` are never read [INFO] [stdout] --> src/entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | db: &'a mut Database, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | exgfx: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/level.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_block`, and `read_level_number` are never used [INFO] [stdout] --> src/level.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new(bytes: &[u8]) -> Level { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn read_block(&self, position: usize) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read_level_number(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `next`, `tiles`, `rectangles`, and `big_tiles` are never read [INFO] [stdout] --> src/map16.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Optimizer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | next: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | rectangles: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | big_tiles: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_tile`, `assign_rectangle`, and `is_rectangle_allowed` are never used [INFO] [stdout] --> src/map16.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Optimizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn assign_tile(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn assign_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn is_rectangle_allowed(&self, rectangle: &Rectangle, next: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map16.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(tile: [u8; 8], behaviour: u16) -> Tile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `height` are never used [INFO] [stdout] --> src/map16.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new(tiles: Vec, width: u8) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn height(&self) -> u8 { [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/cache.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let current_number = &mut self.current_number; [INFO] [stdout] 19 | *self.cache.entry(elem).or_insert_with(|| { [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: unused variable: `dir_entry` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for dir_entry in fs::read_dir("../entries").unwrap() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = Entry::new(&mut database); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `current_number` are never read [INFO] [stdout] --> src/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cache { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | cache: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | current_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_number` is never used [INFO] [stdout] --> src/cache.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cache { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fg`, `bg`, `exgfx`, `current_secondary`, `current_regular`, and `current_sublevel` are never read [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | fg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | bg: Optimizer, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | exgfx: Cache>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | current_secondary: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | current_regular: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_sublevel: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exgfx_number`, `tile_number`, `tile_number_for_rectangle`, `next_regular`, and `next_sublevel` are never used [INFO] [stdout] --> src/db.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn exgfx_number(&mut self, exgfx: Vec) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn tile_number(&mut self, tile: Tile) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tile_number_for_rectangle(&mut self, rectangle: Rectangle) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn next_regular(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next_sublevel(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `exgfx`, and `tiles` are never read [INFO] [stdout] --> src/entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Entry<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | db: &'a mut Database, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | exgfx: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | tiles: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/level.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_block`, and `read_level_number` are never used [INFO] [stdout] --> src/level.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new(bytes: &[u8]) -> Level { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn read_block(&self, position: usize) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn read_level_number(&self) -> u16 { [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/cache.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_number(&mut self, elem: T) -> u16 { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let current_number = &mut self.current_number; [INFO] [stdout] 19 | *self.cache.entry(elem).or_insert_with(|| { [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: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smw-mwl-file-joiner` (bin "smw-mwl-file-joiner") due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smw-mwl-file-joiner` (bin "smw-mwl-file-joiner" test) due to 2 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be9567e13eab8c9f616855f21d3c4a4403f16606cfe20147f3f5fad08a86b7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9567e13eab8c9f616855f21d3c4a4403f16606cfe20147f3f5fad08a86b7de", kill_on_drop: false }` [INFO] [stdout] be9567e13eab8c9f616855f21d3c4a4403f16606cfe20147f3f5fad08a86b7de