[INFO] cloning repository https://github.com/stainsatin/jxtd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stainsatin/jxtd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstainsatin%2Fjxtd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstainsatin%2Fjxtd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab6b1bc996d235332aba0b59be7698e555f673c2 [INFO] checking stainsatin/jxtd against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstainsatin%2Fjxtd" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 6% (952/15717) Updating files: 7% (1101/15717) Updating files: 8% (1258/15717) Updating files: 9% (1415/15717) Updating files: 10% (1572/15717) Updating files: 11% (1729/15717) Updating files: 12% (1887/15717) Updating files: 13% (2044/15717) Updating files: 14% (2201/15717) Updating files: 15% (2358/15717) Updating files: 16% (2515/15717) Updating files: 17% (2672/15717) Updating files: 18% (2830/15717) Updating files: 19% (2987/15717) Updating files: 20% (3144/15717) Updating files: 21% (3301/15717) Updating files: 22% (3458/15717) Updating files: 23% (3615/15717) Updating files: 24% (3773/15717) Updating files: 25% (3930/15717) Updating files: 26% (4087/15717) Updating files: 27% (4244/15717) Updating files: 28% (4401/15717) Updating files: 29% (4558/15717) Updating files: 30% (4716/15717) Updating files: 31% (4873/15717) Updating files: 32% (5030/15717) Updating files: 33% (5187/15717) Updating files: 34% (5344/15717) Updating files: 35% (5501/15717) Updating files: 36% (5659/15717) Updating files: 37% (5816/15717) Updating files: 38% (5973/15717) Updating files: 39% (6130/15717) Updating files: 40% (6287/15717) Updating files: 41% (6444/15717) Updating files: 42% (6602/15717) Updating files: 43% (6759/15717) Updating files: 44% (6916/15717) Updating files: 45% (7073/15717) Updating files: 46% (7230/15717) Updating files: 47% (7387/15717) Updating files: 48% (7545/15717) Updating files: 48% (7641/15717) Updating files: 49% (7702/15717) Updating files: 50% (7859/15717) Updating files: 51% (8016/15717) Updating files: 52% (8173/15717) Updating files: 53% (8331/15717) Updating files: 54% (8488/15717) Updating files: 55% (8645/15717) Updating files: 56% (8802/15717) Updating files: 57% (8959/15717) Updating files: 58% (9116/15717) Updating files: 59% (9274/15717) Updating files: 60% (9431/15717) Updating files: 61% (9588/15717) Updating files: 62% (9745/15717) Updating files: 63% (9902/15717) Updating files: 64% (10059/15717) Updating files: 65% (10217/15717) Updating files: 66% (10374/15717) Updating files: 67% (10531/15717) Updating files: 68% (10688/15717) Updating files: 69% (10845/15717) Updating files: 70% (11002/15717) Updating files: 71% (11160/15717) Updating files: 72% (11317/15717) Updating files: 73% (11474/15717) Updating files: 74% (11631/15717) Updating files: 75% (11788/15717) Updating files: 76% (11945/15717) Updating files: 77% (12103/15717) Updating files: 78% (12260/15717) Updating files: 79% (12417/15717) Updating files: 80% (12574/15717) Updating files: 81% (12731/15717) Updating files: 82% (12888/15717) Updating files: 83% (13046/15717) Updating files: 84% (13203/15717) Updating files: 85% (13360/15717) Updating files: 86% (13517/15717) Updating files: 87% (13674/15717) Updating files: 88% (13831/15717) Updating files: 89% (13989/15717) Updating files: 90% (14146/15717) Updating files: 91% (14303/15717) Updating files: 92% (14460/15717) Updating files: 93% (14617/15717) Updating files: 94% (14774/15717) Updating files: 95% (14932/15717) Updating files: 96% (15089/15717) Updating files: 97% (15246/15717) Updating files: 98% (15403/15717) Updating files: 99% (15560/15717) Updating files: 100% (15717/15717) Updating files: 100% (15717/15717), done. [INFO] validating manifest of git repo https://github.com/stainsatin/jxtd 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/stainsatin/jxtd [INFO] finished tweaking git repo https://github.com/stainsatin/jxtd [INFO] tweaked toml for git repo https://github.com/stainsatin/jxtd written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stainsatin/jxtd 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a1bd29120ed9bb2c25ced774f1790e04e91452cb7e6d9b2a22207544bd1a0b7b [INFO] running `Command { std: "docker" "start" "-a" "a1bd29120ed9bb2c25ced774f1790e04e91452cb7e6d9b2a22207544bd1a0b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1bd29120ed9bb2c25ced774f1790e04e91452cb7e6d9b2a22207544bd1a0b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bd29120ed9bb2c25ced774f1790e04e91452cb7e6d9b2a22207544bd1a0b7b", kill_on_drop: false }` [INFO] [stdout] a1bd29120ed9bb2c25ced774f1790e04e91452cb7e6d9b2a22207544bd1a0b7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 06f690ba730aaeb52feaf2f0ed2b779e95be930079bb10d75e039f0ffb8b8bfb [INFO] running `Command { std: "docker" "start" "-a" "06f690ba730aaeb52feaf2f0ed2b779e95be930079bb10d75e039f0ffb8b8bfb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking renob v0.1.0 (/opt/rustwide/workdir/renob) [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking engug v0.1.0 (/opt/rustwide/workdir/engug) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:63:105 [INFO] [stdout] | [INFO] [stdout] 63 | self.file.write_all(&((sections.len()+1) as u8).to_le_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:59:109 [INFO] [stdout] | [INFO] [stdout] 59 | self.file.write_all(&((sections.len()+1) as u8).to_be_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:63:105 [INFO] [stdout] | [INFO] [stdout] 63 | self.file.write_all(&((sections.len()+1) as u8).to_le_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:59:109 [INFO] [stdout] | [INFO] [stdout] 59 | self.file.write_all(&((sections.len()+1) as u8).to_be_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataset` [INFO] [stdout] --> engug/src/writer.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let dataset = data.strings.join(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_len` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let name_len:u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_offset` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let name_offset:u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_len` is never read [INFO] [stdout] --> engug/src/writer.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | name_len = *len; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_offset` is never read [INFO] [stdout] --> engug/src/writer.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | name_offset = *offset; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engug/src/writer.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let mut value_offset = match value { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entry` is never used [INFO] [stdout] --> engug/src/ir.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Section { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_entry(&self, key: &str) -> Option>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdcParser` is never constructed [INFO] [stdout] --> engug/src/parser.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EdcParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse` are never used [INFO] [stdout] --> engug/src/parser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EdcParser { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn parse(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section` is never used [INFO] [stdout] --> engug/src/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_section(input: &[u8]) -> IResult<&[u8], crate::ir::Section> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section_name` is never used [INFO] [stdout] --> engug/src/parser.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn parse_section_name(input: &[u8]) -> IResult<&[u8], &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_property` is never used [INFO] [stdout] --> engug/src/parser.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn parse_property(input: &[u8]) -> IResult<&[u8], (String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> engug/src/parser.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn check(section:&mut crate::ir::Section,keys:Vec)->bool{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtParser` is never constructed [INFO] [stdout] --> engug/src/parser.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct EdtParser{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtHeader` is never constructed [INFO] [stdout] --> engug/src/parser.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | struct EdtHeader{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtSectionEntry` is never constructed [INFO] [stdout] --> engug/src/parser.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | struct EdtSectionEntry{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtSectionHeader` is never constructed [INFO] [stdout] --> engug/src/parser.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | struct EdtSectionHeader{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtData` is never constructed [INFO] [stdout] --> engug/src/parser.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | struct EdtData{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtEntry` is never constructed [INFO] [stdout] --> engug/src/parser.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | struct EdtEntry{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> engug/src/parser.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 355 | impl EdtParser{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | fn header_parser(header: &[u8]) -> IResult<&[u8] ,EdtHeader>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn section_entry_parser(section_entry:&[u8]) -> IResult<&[u8] ,EdtSectionEntry>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | fn section_header_parser(section_header:&[u8] ,is_big_endian:bool) -> IResult<&[u8] ,EdtSectionHeader>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | fn data_parser(data:&[u8]) -> IResult<&[u8] ,EdtData>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn section_parser<'a>(entry:&'a[u8] ,data_section:&'a[u8] ,is_big_endian:bool) -> IResult<&'a[u8] ,EdtEntry>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn new(path: &str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn parse(&self) -> Result, Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtWriter` is never constructed [INFO] [stdout] --> engug/src/writer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EdtWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `write_header`, `write_section_header`, and `write_section` are never used [INFO] [stdout] --> engug/src/writer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl EdtWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(path: &str,is_big_endian:bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn write(&mut self, sections: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn write_header(&mut self, sections: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn write_section_header(&mut self, sections: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn write_section(&mut self, sections: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataset` [INFO] [stdout] --> engug/src/writer.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let dataset = data.strings.join(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_len` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let name_len:u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_offset` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let name_offset:u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_len` is never read [INFO] [stdout] --> engug/src/writer.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | name_len = *len; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_offset` is never read [INFO] [stdout] --> engug/src/writer.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | name_offset = *offset; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engug/src/writer.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let mut value_offset = match value { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking dadga v0.1.0 (/opt/rustwide/workdir/dadga) [INFO] [stdout] warning: struct `FsAdapter` is never constructed [INFO] [stdout] --> dadga/src/adapter.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FsAdapter{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> dadga/src/adapter.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl FsAdapter{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(root: &str, client: bool) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn read_file(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn read_persistent(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn create_task(&mut self, taskid: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn task_done(&mut self, taskid: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn read_task_file(&self, taskid: &str, path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn write_file(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn write_file_exclusive(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub async fn write_file_append(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn write_persistent(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub async fn write_persistent_exclusive(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn write_persistent_append(&self, path: &str, content: &[u8]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn write_task_file(&self, taskid: &str, path: &str, content: &[u8]) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn write_task_file_exclusive(&self, taskid: &str, path: &str, content: &[u8]) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub async fn write_task_file_append(&self, taskid: &str, path: &str, content: &[u8]) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub async fn remove_file(&self, path: &str) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn remove_persistent(&self, path: &str) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn remove_task_file(&self, taskid: &str, path: &str) -> Result<(), ioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn persistent_to_runtime(&self, persistent: &str, taskid: &str, task_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn runtime_to_persistent(&self, persistent: &str, taskid: &str, task_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "06f690ba730aaeb52feaf2f0ed2b779e95be930079bb10d75e039f0ffb8b8bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f690ba730aaeb52feaf2f0ed2b779e95be930079bb10d75e039f0ffb8b8bfb", kill_on_drop: false }` [INFO] [stdout] 06f690ba730aaeb52feaf2f0ed2b779e95be930079bb10d75e039f0ffb8b8bfb [INFO] checking stainsatin/jxtd 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%2Fstainsatin%2Fjxtd" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 5% (910/15717) Updating files: 6% (944/15717) Updating files: 7% (1101/15717) Updating files: 8% (1258/15717) Updating files: 9% (1415/15717) Updating files: 10% (1572/15717) Updating files: 11% (1729/15717) Updating files: 12% (1887/15717) Updating files: 13% (2044/15717) Updating files: 14% (2201/15717) Updating files: 15% (2358/15717) Updating files: 16% (2515/15717) Updating files: 17% (2672/15717) Updating files: 18% (2830/15717) Updating files: 19% (2987/15717) Updating files: 20% (3144/15717) Updating files: 21% (3301/15717) Updating files: 22% (3458/15717) Updating files: 23% (3615/15717) Updating files: 24% (3773/15717) Updating files: 25% (3930/15717) Updating files: 26% (4087/15717) Updating files: 27% (4244/15717) Updating files: 28% (4401/15717) Updating files: 29% (4558/15717) Updating files: 30% (4716/15717) Updating files: 31% (4873/15717) Updating files: 32% (5030/15717) Updating files: 33% (5187/15717) Updating files: 34% (5344/15717) Updating files: 35% (5501/15717) Updating files: 36% (5659/15717) Updating files: 37% (5816/15717) Updating files: 38% (5973/15717) Updating files: 39% (6130/15717) Updating files: 40% (6287/15717) Updating files: 41% (6444/15717) Updating files: 42% (6602/15717) Updating files: 43% (6759/15717) Updating files: 44% (6916/15717) Updating files: 45% (7073/15717) Updating files: 46% (7230/15717) Updating files: 47% (7387/15717) Updating files: 48% (7545/15717) Updating files: 48% (7667/15717) Updating files: 49% (7702/15717) Updating files: 50% (7859/15717) Updating files: 51% (8016/15717) Updating files: 52% (8173/15717) Updating files: 53% (8331/15717) Updating files: 54% (8488/15717) Updating files: 55% (8645/15717) Updating files: 56% (8802/15717) Updating files: 57% (8959/15717) Updating files: 58% (9116/15717) Updating files: 59% (9274/15717) Updating files: 60% (9431/15717) Updating files: 61% (9588/15717) Updating files: 62% (9745/15717) Updating files: 63% (9902/15717) Updating files: 64% (10059/15717) Updating files: 65% (10217/15717) Updating files: 66% (10374/15717) Updating files: 67% (10531/15717) Updating files: 68% (10688/15717) Updating files: 69% (10845/15717) Updating files: 70% (11002/15717) Updating files: 71% (11160/15717) Updating files: 72% (11317/15717) Updating files: 73% (11474/15717) Updating files: 74% (11631/15717) Updating files: 75% (11788/15717) Updating files: 76% (11945/15717) Updating files: 77% (12103/15717) Updating files: 78% (12260/15717) Updating files: 79% (12417/15717) Updating files: 80% (12574/15717) Updating files: 81% (12731/15717) Updating files: 82% (12888/15717) Updating files: 83% (13046/15717) Updating files: 84% (13203/15717) Updating files: 85% (13360/15717) Updating files: 86% (13517/15717) Updating files: 87% (13674/15717) Updating files: 88% (13831/15717) Updating files: 89% (13989/15717) Updating files: 90% (14146/15717) Updating files: 91% (14303/15717) Updating files: 92% (14460/15717) Updating files: 93% (14617/15717) Updating files: 94% (14774/15717) Updating files: 95% (14932/15717) Updating files: 96% (15089/15717) Updating files: 97% (15246/15717) Updating files: 98% (15403/15717) Updating files: 99% (15560/15717) Updating files: 100% (15717/15717) Updating files: 100% (15717/15717), done. [INFO] validating manifest of git repo https://github.com/stainsatin/jxtd 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/stainsatin/jxtd [INFO] finished tweaking git repo https://github.com/stainsatin/jxtd [INFO] tweaked toml for git repo https://github.com/stainsatin/jxtd written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stainsatin/jxtd 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc458398e2225cc7c9a930583ba460e746b88a49f12aa0533541cb0a8d619a95 [INFO] running `Command { std: "docker" "start" "-a" "cc458398e2225cc7c9a930583ba460e746b88a49f12aa0533541cb0a8d619a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc458398e2225cc7c9a930583ba460e746b88a49f12aa0533541cb0a8d619a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc458398e2225cc7c9a930583ba460e746b88a49f12aa0533541cb0a8d619a95", kill_on_drop: false }` [INFO] [stdout] cc458398e2225cc7c9a930583ba460e746b88a49f12aa0533541cb0a8d619a95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 3ac81fd4a1793c45e4b8b000c4b019d284c8c6f612ef09b94e1e65e526977c81 [INFO] running `Command { std: "docker" "start" "-a" "3ac81fd4a1793c45e4b8b000c4b019d284c8c6f612ef09b94e1e65e526977c81", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking renob v0.1.0 (/opt/rustwide/workdir/renob) [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking engug v0.1.0 (/opt/rustwide/workdir/engug) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:63:105 [INFO] [stdout] | [INFO] [stdout] 63 | self.file.write_all(&((sections.len()+1) as u8).to_le_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:59:109 [INFO] [stdout] | [INFO] [stdout] 59 | self.file.write_all(&((sections.len()+1) as u8).to_be_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:63:105 [INFO] [stdout] | [INFO] [stdout] 63 | self.file.write_all(&((sections.len()+1) as u8).to_le_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> engug/src/writer.rs:59:109 [INFO] [stdout] | [INFO] [stdout] 59 | self.file.write_all(&((sections.len()+1) as u8).to_be_bytes()).expect("Failed to write header");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataset` [INFO] [stdout] --> engug/src/writer.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let dataset = data.strings.join(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_len` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let name_len:u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_offset` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let name_offset:u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_len` is never read [INFO] [stdout] --> engug/src/writer.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | name_len = *len; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_offset` is never read [INFO] [stdout] --> engug/src/writer.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | name_offset = *offset; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engug/src/writer.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let mut value_offset = match value { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entry` is never used [INFO] [stdout] --> engug/src/ir.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Section { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_entry(&self, key: &str) -> Option>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdcParser` is never constructed [INFO] [stdout] --> engug/src/parser.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EdcParser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse` are never used [INFO] [stdout] --> engug/src/parser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl EdcParser { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn parse(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section` is never used [INFO] [stdout] --> engug/src/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_section(input: &[u8]) -> IResult<&[u8], crate::ir::Section> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_section_name` is never used [INFO] [stdout] --> engug/src/parser.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn parse_section_name(input: &[u8]) -> IResult<&[u8], &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_property` is never used [INFO] [stdout] --> engug/src/parser.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn parse_property(input: &[u8]) -> IResult<&[u8], (String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> engug/src/parser.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn check(section:&mut crate::ir::Section,keys:Vec)->bool{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtParser` is never constructed [INFO] [stdout] --> engug/src/parser.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct EdtParser{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtHeader` is never constructed [INFO] [stdout] --> engug/src/parser.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | struct EdtHeader{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtSectionEntry` is never constructed [INFO] [stdout] --> engug/src/parser.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | struct EdtSectionEntry{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtSectionHeader` is never constructed [INFO] [stdout] --> engug/src/parser.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | struct EdtSectionHeader{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtData` is never constructed [INFO] [stdout] --> engug/src/parser.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | struct EdtData{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtEntry` is never constructed [INFO] [stdout] --> engug/src/parser.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | struct EdtEntry{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> engug/src/parser.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 355 | impl EdtParser{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 358 | fn header_parser(header: &[u8]) -> IResult<&[u8] ,EdtHeader>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn section_entry_parser(section_entry:&[u8]) -> IResult<&[u8] ,EdtSectionEntry>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | fn section_header_parser(section_header:&[u8] ,is_big_endian:bool) -> IResult<&[u8] ,EdtSectionHeader>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | fn data_parser(data:&[u8]) -> IResult<&[u8] ,EdtData>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | fn section_parser<'a>(entry:&'a[u8] ,data_section:&'a[u8] ,is_big_endian:bool) -> IResult<&'a[u8] ,EdtEntry>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn new(path: &str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn parse(&self) -> Result, Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdtWriter` is never constructed [INFO] [stdout] --> engug/src/writer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EdtWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write`, `write_header`, `write_section_header`, and `write_section` are never used [INFO] [stdout] --> engug/src/writer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl EdtWriter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(path: &str,is_big_endian:bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn write(&mut self, sections: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn write_header(&mut self, sections: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn write_section_header(&mut self, sections: &Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn write_section(&mut self, sections: &Vec){ [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] --> engug/src/ir.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|v| match v.to_owned().try_into() { [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] --> engug/src/parser.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 408 | let (section_header ,entry) = nom::multi::count(Self::section_entry_parser, count)(section_header).expect("Error occurred when tr... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | Ok((section_header ,EdtSectionHeader {count:Bytes::copy_from_slice(section_count), [INFO] [stdout] | ____________^ [INFO] [stdout] 410 | | entry:entry})) [INFO] [stdout] | |_______________________________________________________________^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> engug/src/parser.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 455 | let (entry ,key) = Self::data_parser(entry).expect("Error occurred when try to parse the key of the section"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | let (entry ,value) = Self::data_parser(entry).expect("Error occurred when try to parse the value of the section"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | Ok((entry ,EdtEntry{key: name, [INFO] [stdout] | ____________^ [INFO] [stdout] 470 | | value: value})) [INFO] [stdout] | |_______________________________________^ [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 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engug` (lib) due to 4 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `dataset` [INFO] [stdout] --> engug/src/writer.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let dataset = data.strings.join(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_len` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let name_len:u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_offset` is assigned to, but never used [INFO] [stdout] --> engug/src/writer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let name_offset:u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_len` is never read [INFO] [stdout] --> engug/src/writer.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | name_len = *len; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name_offset` is never read [INFO] [stdout] --> engug/src/writer.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | name_offset = *offset; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> engug/src/writer.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let mut value_offset = match value { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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] --> engug/src/ir.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|v| match v.to_owned().try_into() { [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] --> engug/src/parser.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 408 | let (section_header ,entry) = nom::multi::count(Self::section_entry_parser, count)(section_header).expect("Error occurred when tr... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | Ok((section_header ,EdtSectionHeader {count:Bytes::copy_from_slice(section_count), [INFO] [stdout] | ____________^ [INFO] [stdout] 410 | | entry:entry})) [INFO] [stdout] | |_______________________________________________________________^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> engug/src/parser.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 455 | let (entry ,key) = Self::data_parser(entry).expect("Error occurred when try to parse the key of the section"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | let (entry ,value) = Self::data_parser(entry).expect("Error occurred when try to parse the value of the section"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 469 | Ok((entry ,EdtEntry{key: name, [INFO] [stdout] | ____________^ [INFO] [stdout] 470 | | value: value})) [INFO] [stdout] | |_______________________________________^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> engug/src/parser.rs:650:20 [INFO] [stdout] | [INFO] [stdout] 627 | let mut section_header = BytesMut::with_capacity(0); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | let section_count = Bytes::copy_from_slice(&b"\x00\x00\x00\x00\x00\x00\x00\x03"[..]); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 633 | let mut expect_section_entry = Vec::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 650 | assert_eq!(EdtParser::section_header_parser(section_header.as_bytes() ,true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> engug/src/parser.rs:651:20 [INFO] [stdout] | [INFO] [stdout] 627 | let mut section_header = BytesMut::with_capacity(0); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | let section_count = Bytes::copy_from_slice(&b"\x00\x00\x00\x00\x00\x00\x00\x03"[..]); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 633 | let mut expect_section_entry = Vec::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 651 | / Ok((&b""[..] ,EdtSectionHeader{count:section_count, [INFO] [stdout] 652 | | entry:expect_section_entry}))) [INFO] [stdout] | |________________________________________________________________________^ [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 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engug` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ac81fd4a1793c45e4b8b000c4b019d284c8c6f612ef09b94e1e65e526977c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac81fd4a1793c45e4b8b000c4b019d284c8c6f612ef09b94e1e65e526977c81", kill_on_drop: false }` [INFO] [stdout] 3ac81fd4a1793c45e4b8b000c4b019d284c8c6f612ef09b94e1e65e526977c81