[INFO] cloning repository https://github.com/VirgileHenry/bolognese [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VirgileHenry/bolognese" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVirgileHenry%2Fbolognese", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVirgileHenry%2Fbolognese'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4f857a7a0052dbd62b8b40474a404131afb75be [INFO] checking VirgileHenry/bolognese against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVirgileHenry%2Fbolognese" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VirgileHenry/bolognese [INFO] finished tweaking git repo https://github.com/VirgileHenry/bolognese [INFO] tweaked toml for git repo https://github.com/VirgileHenry/bolognese written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VirgileHenry/bolognese on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VirgileHenry/bolognese 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940 [INFO] running `Command { std: "docker" "start" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking bolognaise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/quantic.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/quantic.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/grid.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let size = collapsed_building.size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/grid.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let offset = collapsed_building_origin + other_position; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/grid.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let size = collapsed_building.size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/grid.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let offset = collapsed_building_origin + other_position; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_square` is never used [INFO] [stdout] --> src/common.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Size { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn bounding_square(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/common.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `contains` are never used [INFO] [stdout] --> src/common.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(top_left: Position, size: Size) -> Rect { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn contains(&self, pos: Position) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `North`, `East`, `South`, and `West` are never constructed [INFO] [stdout] --> src/factorio/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Orientation { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input` and `Output` are never constructed [INFO] [stdout] --> src/factorio/common.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/factorio/tile.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/grid.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tile<'lib> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | building: &'lib library::Building, [INFO] [stdout] 9 | properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Orientation`, `Direction`, `Recipe`, `Item`, and `Liquid` are never constructed [INFO] [stdout] --> src/library/building.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum BuildingPropertyValue { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 12 | Orientation(crate::factorio::Orientation), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | Direction(crate::factorio::Direction), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Recipe(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Item(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Liquid(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingPropertyValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/library/building.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Building { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | name: String, [INFO] [stdout] 22 | properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `properties` is never used [INFO] [stdout] --> src/library/building.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Building { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn properties(&self) -> &[BuildingPropertyKind] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/library/item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | kind: crate::factorio::ItemKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_OF_FILE` is never used [INFO] [stdout] --> src/library/parser.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const END_OF_FILE: u8 = 0x03; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRACKET_OPEN` is never used [INFO] [stdout] --> src/library/parser.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BRACKET_OPEN: u8 = 0x5B; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRACKET_CLOSED` is never used [INFO] [stdout] --> src/library/parser.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BRACKET_CLOSED: u8 = 0x5D; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMA` is never used [INFO] [stdout] --> src/library/parser.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COMMA: u8 = 0x2C; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParserToken` is never used [INFO] [stdout] --> src/library/parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ParserToken { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/library/parser.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParserToken { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | pub fn kind(&self) -> ParserTokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParserTokenKind` is never used [INFO] [stdout] --> src/library/parser.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ParserTokenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/library/parser.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/library/parser.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | pub fn from_file(path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expect_section`, `iter_seq`, `tick`, `consume_whitespaces_comments`, and `read_litteral` are never used [INFO] [stdout] --> src/library/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 64 | pub fn expect_section(&mut self, expected: &'static str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn iter_seq( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn consume_whitespaces_comments(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn read_litteral(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserIterSeq` is never constructed [INFO] [stdout] --> src/library/parser.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct ParserIterSeq<'a, const N: usize> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/library/recipe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Recipe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | time: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `time` is never used [INFO] [stdout] --> src/library/recipe.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Recipe { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn time(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_square` is never used [INFO] [stdout] --> src/common.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Size { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn bounding_square(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/common.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `contains` are never used [INFO] [stdout] --> src/common.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(top_left: Position, size: Size) -> Rect { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn contains(&self, pos: Position) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `North`, `East`, `South`, and `West` are never constructed [INFO] [stdout] --> src/factorio/common.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Orientation { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | South, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orientation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Input` and `Output` are never constructed [INFO] [stdout] --> src/factorio/common.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Output, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/factorio/tile.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/grid.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tile<'lib> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | building: &'lib library::Building, [INFO] [stdout] 9 | properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Orientation`, `Direction`, `Recipe`, `Item`, and `Liquid` are never constructed [INFO] [stdout] --> src/library/building.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum BuildingPropertyValue { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 12 | Orientation(crate::factorio::Orientation), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | Direction(crate::factorio::Direction), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Recipe(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Item(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Liquid(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingPropertyValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/library/building.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Building { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | name: String, [INFO] [stdout] 22 | properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `properties` is never used [INFO] [stdout] --> src/library/building.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Building { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn properties(&self) -> &[BuildingPropertyKind] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/library/item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] 4 | kind: crate::factorio::ItemKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_OF_FILE` is never used [INFO] [stdout] --> src/library/parser.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const END_OF_FILE: u8 = 0x03; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABULATION` is never used [INFO] [stdout] --> src/library/parser.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const TABULATION: u8 = 0x09; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEW_LINE` is never used [INFO] [stdout] --> src/library/parser.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const NEW_LINE: u8 = 0x0A; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARRIAGE_RETURN` is never used [INFO] [stdout] --> src/library/parser.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CARRIAGE_RETURN: u8 = 0x0D; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPACE` is never used [INFO] [stdout] --> src/library/parser.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SPACE: u8 = 0x20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HASHTAG` is never used [INFO] [stdout] --> src/library/parser.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const HASHTAG: u8 = 0x23; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIT_MAJ_START` is never used [INFO] [stdout] --> src/library/parser.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const LIT_MAJ_START: u8 = 0x41; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIT_MAJ_END` is never used [INFO] [stdout] --> src/library/parser.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LIT_MAJ_END: u8 = 0x5B; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIT_MIN_START` is never used [INFO] [stdout] --> src/library/parser.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const LIT_MIN_START: u8 = 0x61; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIT_MIN_END` is never used [INFO] [stdout] --> src/library/parser.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LIT_MIN_END: u8 = 0x7B; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRACKET_OPEN` is never used [INFO] [stdout] --> src/library/parser.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const BRACKET_OPEN: u8 = 0x5B; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRACKET_CLOSED` is never used [INFO] [stdout] --> src/library/parser.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const BRACKET_CLOSED: u8 = 0x5D; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMA` is never used [INFO] [stdout] --> src/library/parser.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COMMA: u8 = 0x2C; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParserToken` is never used [INFO] [stdout] --> src/library/parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ParserToken { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/library/parser.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParserToken { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 27 | pub fn kind(&self) -> ParserTokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParserTokenKind` is never used [INFO] [stdout] --> src/library/parser.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ParserTokenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/library/parser.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/library/parser.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | pub fn from_file(path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expect_section`, `iter_seq`, `tick`, `consume_whitespaces_comments`, and `read_litteral` are never used [INFO] [stdout] --> src/library/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 64 | pub fn expect_section(&mut self, expected: &'static str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn iter_seq( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn consume_whitespaces_comments(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn read_litteral(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserIterSeq` is never constructed [INFO] [stdout] --> src/library/parser.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct ParserIterSeq<'a, const N: usize> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_newline` is never used [INFO] [stdout] --> src/library/parser.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn is_newline(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_space` is never used [INFO] [stdout] --> src/library/parser.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn is_space(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_comment_start` is never used [INFO] [stdout] --> src/library/parser.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn is_comment_start(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_litteral` is never used [INFO] [stdout] --> src/library/parser.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn is_litteral(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/library/recipe.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Recipe { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | time: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipe` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `time` is never used [INFO] [stdout] --> src/library/recipe.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Recipe { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn time(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940", kill_on_drop: false }` [INFO] [stdout] e0f8c7605120aad0e753d03be830483334c61b27e8a43ce733142e4ec2ed2940