[INFO] cloning repository https://github.com/mpatajac/jillc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpatajac/jillc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpatajac%2Fjillc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpatajac%2Fjillc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62662564ff800840fc90e23c0d4ce83c1703a80f [INFO] checking mpatajac/jillc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpatajac%2Fjillc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpatajac/jillc 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/mpatajac/jillc [INFO] finished tweaking git repo https://github.com/mpatajac/jillc [INFO] tweaked toml for git repo https://github.com/mpatajac/jillc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mpatajac/jillc 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 354017e14c5500151ef9c0cf01d0295bb8495d29e498d292fd5ab70ad4397191 [INFO] running `Command { std: "docker" "start" "-a" "354017e14c5500151ef9c0cf01d0295bb8495d29e498d292fd5ab70ad4397191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "354017e14c5500151ef9c0cf01d0295bb8495d29e498d292fd5ab70ad4397191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354017e14c5500151ef9c0cf01d0295bb8495d29e498d292fd5ab70ad4397191", kill_on_drop: false }` [INFO] [stdout] 354017e14c5500151ef9c0cf01d0295bb8495d29e498d292fd5ab70ad4397191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ed6fbc3641e4a5880d8e853cf041a3d74ed4f022a1ff53c3ad98c110d3a546fb [INFO] running `Command { std: "docker" "start" "-a" "ed6fbc3641e4a5880d8e853cf041a3d74ed4f022a1ff53c3ad98c110d3a546fb", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.16 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking jillc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `JillProgram` is never constructed [INFO] [stdout] --> src/common/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JillProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModule` is never constructed [INFO] [stdout] --> src/common/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JillModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModuleContent` is never constructed [INFO] [stdout] --> src/common/ast.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JillModuleContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModuleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillVariable` is never constructed [INFO] [stdout] --> src/common/ast.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct JillVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunction` is never constructed [INFO] [stdout] --> src/common/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct JillFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillType` is never constructed [INFO] [stdout] --> src/common/ast.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct JillType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillTypeVariant` is never constructed [INFO] [stdout] --> src/common/ast.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct JillTypeVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillTypeVariant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillExpression` is never used [INFO] [stdout] --> src/common/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum JillExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionBody` is never constructed [INFO] [stdout] --> src/common/ast.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct JillFunctionBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionReference` is never constructed [INFO] [stdout] --> src/common/ast.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct JillFunctionReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionCall` is never constructed [INFO] [stdout] --> src/common/ast.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct JillFunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillLiteral` is never used [INFO] [stdout] --> src/common/ast.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum JillLiteral { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillIdentifier` is never constructed [INFO] [stdout] --> src/common/ast.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct JillIdentifier(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillIdentifier` 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: function `check_root_path` is never used [INFO] [stdout] --> src/fileio.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn check_root_path(root_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path`, `file_path`, and `content` are never read [INFO] [stdout] --> src/fileio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SourceFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | src_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content` and `module_name` are never used [INFO] [stdout] --> src/fileio.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | impl SourceFile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 47 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn module_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_src_exists` is never used [INFO] [stdout] --> src/fileio.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_src_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `setup` and `collect_source_files` are never used [INFO] [stdout] --> src/fileio.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl SourceDir { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn setup(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn collect_source_files(dir: &PathBuf, collected: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFile` is never constructed [INFO] [stdout] --> src/fileio.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct OutputFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fileio.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 169 | impl OutputFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 170 | pub const fn new(name: String, content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/fileio.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn generate(root_path: &Path, output_file: OutputFile) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_bin_dir_exists` is never used [INFO] [stdout] --> src/fileio.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn ensure_bin_dir_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JillParseError` is never used [INFO] [stdout] --> src/parser.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type JillParseError = Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_module(source_file: &SourceFile) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parser() -> impl Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillProgram` is never constructed [INFO] [stdout] --> src/common/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JillProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModule` is never constructed [INFO] [stdout] --> src/common/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JillModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModuleContent` is never constructed [INFO] [stdout] --> src/common/ast.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JillModuleContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModuleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillVariable` is never constructed [INFO] [stdout] --> src/common/ast.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct JillVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunction` is never constructed [INFO] [stdout] --> src/common/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct JillFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillType` is never constructed [INFO] [stdout] --> src/common/ast.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct JillType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillTypeVariant` is never constructed [INFO] [stdout] --> src/common/ast.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct JillTypeVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillTypeVariant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillExpression` is never used [INFO] [stdout] --> src/common/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum JillExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionBody` is never constructed [INFO] [stdout] --> src/common/ast.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct JillFunctionBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionReference` is never constructed [INFO] [stdout] --> src/common/ast.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct JillFunctionReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionCall` is never constructed [INFO] [stdout] --> src/common/ast.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct JillFunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillLiteral` is never used [INFO] [stdout] --> src/common/ast.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum JillLiteral { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillIdentifier` is never constructed [INFO] [stdout] --> src/common/ast.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct JillIdentifier(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillIdentifier` 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: function `check_root_path` is never used [INFO] [stdout] --> src/fileio.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn check_root_path(root_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path`, `file_path`, and `content` are never read [INFO] [stdout] --> src/fileio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SourceFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | src_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content` and `module_name` are never used [INFO] [stdout] --> src/fileio.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | impl SourceFile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 47 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn module_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_src_exists` is never used [INFO] [stdout] --> src/fileio.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_src_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `setup` and `collect_source_files` are never used [INFO] [stdout] --> src/fileio.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl SourceDir { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn setup(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn collect_source_files(dir: &PathBuf, collected: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFile` is never constructed [INFO] [stdout] --> src/fileio.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct OutputFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fileio.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 169 | impl OutputFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 170 | pub const fn new(name: String, content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/fileio.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn generate(root_path: &Path, output_file: OutputFile) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_bin_dir_exists` is never used [INFO] [stdout] --> src/fileio.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn ensure_bin_dir_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JillParseError` is never used [INFO] [stdout] --> src/parser.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type JillParseError = Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_module(source_file: &SourceFile) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parser() -> impl Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `Command { std: "docker" "inspect" "ed6fbc3641e4a5880d8e853cf041a3d74ed4f022a1ff53c3ad98c110d3a546fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6fbc3641e4a5880d8e853cf041a3d74ed4f022a1ff53c3ad98c110d3a546fb", kill_on_drop: false }` [INFO] [stdout] ed6fbc3641e4a5880d8e853cf041a3d74ed4f022a1ff53c3ad98c110d3a546fb [INFO] checking mpatajac/jillc 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%2Fmpatajac%2Fjillc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpatajac/jillc 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/mpatajac/jillc [INFO] finished tweaking git repo https://github.com/mpatajac/jillc [INFO] tweaked toml for git repo https://github.com/mpatajac/jillc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mpatajac/jillc 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ac61e272e3ebdc784c4db06e413d436efee5134059ad042bb61dfb223f93904f [INFO] running `Command { std: "docker" "start" "-a" "ac61e272e3ebdc784c4db06e413d436efee5134059ad042bb61dfb223f93904f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac61e272e3ebdc784c4db06e413d436efee5134059ad042bb61dfb223f93904f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac61e272e3ebdc784c4db06e413d436efee5134059ad042bb61dfb223f93904f", kill_on_drop: false }` [INFO] [stdout] ac61e272e3ebdc784c4db06e413d436efee5134059ad042bb61dfb223f93904f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 71ccd2a515ad7d0855929d91d182143a69acfa5dd6bbde340b746d445fb3c3a6 [INFO] running `Command { std: "docker" "start" "-a" "71ccd2a515ad7d0855929d91d182143a69acfa5dd6bbde340b746d445fb3c3a6", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.16 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking jillc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `JillProgram` is never constructed [INFO] [stdout] --> src/common/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JillProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModule` is never constructed [INFO] [stdout] --> src/common/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JillModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModuleContent` is never constructed [INFO] [stdout] --> src/common/ast.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JillModuleContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModuleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillVariable` is never constructed [INFO] [stdout] --> src/common/ast.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct JillVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunction` is never constructed [INFO] [stdout] --> src/common/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct JillFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillType` is never constructed [INFO] [stdout] --> src/common/ast.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct JillType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillTypeVariant` is never constructed [INFO] [stdout] --> src/common/ast.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct JillTypeVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillTypeVariant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillExpression` is never used [INFO] [stdout] --> src/common/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum JillExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionBody` is never constructed [INFO] [stdout] --> src/common/ast.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct JillFunctionBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionReference` is never constructed [INFO] [stdout] --> src/common/ast.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct JillFunctionReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionCall` is never constructed [INFO] [stdout] --> src/common/ast.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct JillFunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillLiteral` is never used [INFO] [stdout] --> src/common/ast.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum JillLiteral { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillIdentifier` is never constructed [INFO] [stdout] --> src/common/ast.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct JillIdentifier(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillIdentifier` 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: function `check_root_path` is never used [INFO] [stdout] --> src/fileio.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn check_root_path(root_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path`, `file_path`, and `content` are never read [INFO] [stdout] --> src/fileio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SourceFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | src_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content` and `module_name` are never used [INFO] [stdout] --> src/fileio.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | impl SourceFile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 47 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn module_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_src_exists` is never used [INFO] [stdout] --> src/fileio.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_src_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `setup` and `collect_source_files` are never used [INFO] [stdout] --> src/fileio.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl SourceDir { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn setup(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn collect_source_files(dir: &PathBuf, collected: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFile` is never constructed [INFO] [stdout] --> src/fileio.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct OutputFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fileio.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 169 | impl OutputFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 170 | pub const fn new(name: String, content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/fileio.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn generate(root_path: &Path, output_file: OutputFile) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_bin_dir_exists` is never used [INFO] [stdout] --> src/fileio.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn ensure_bin_dir_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JillParseError` is never used [INFO] [stdout] --> src/parser.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type JillParseError = Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_module(source_file: &SourceFile) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parser() -> impl Parser { [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/fileio.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 142 | let read_result = fs::read_to_string(&file_path); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let source_file_result = read_result.map(|content| SourceFile { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Some((file_path, source_file_result)) [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] --> src/parser.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 48 | let expression = recursive(|expression| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let function_call = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | / literal [INFO] [stdout] 101 | | .or(function_call.map(JillExpression::FunctionCall)) [INFO] [stdout] 102 | | .or(function_reference.map(JillExpression::FunctionReference)) [INFO] [stdout] 103 | | .or(variable_name.map(JillExpression::VariableName)) [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] --> src/parser.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 48 | let expression = recursive(|expression| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let function = recursive(|function| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let function_body = function [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / text::keyword("fn") [INFO] [stdout] 131 | | .ignore_then(identifier) [INFO] [stdout] 132 | | .then(identifier.repeated()) [INFO] [stdout] 133 | | .then_ignore(just('=')) [INFO] [stdout] 134 | | .then(function_body) [INFO] [stdout] 135 | | .padded() [INFO] [stdout] 136 | | .padded_by(comments) [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; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jillc` (bin "jillc") due to 4 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `JillProgram` is never constructed [INFO] [stdout] --> src/common/ast.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct JillProgram { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModule` is never constructed [INFO] [stdout] --> src/common/ast.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JillModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillModuleContent` is never constructed [INFO] [stdout] --> src/common/ast.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct JillModuleContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillModuleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillVariable` is never constructed [INFO] [stdout] --> src/common/ast.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct JillVariable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunction` is never constructed [INFO] [stdout] --> src/common/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct JillFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillType` is never constructed [INFO] [stdout] --> src/common/ast.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct JillType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillTypeVariant` is never constructed [INFO] [stdout] --> src/common/ast.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct JillTypeVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillTypeVariant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillExpression` is never used [INFO] [stdout] --> src/common/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum JillExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionBody` is never constructed [INFO] [stdout] --> src/common/ast.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct JillFunctionBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionReference` is never constructed [INFO] [stdout] --> src/common/ast.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct JillFunctionReference { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionReference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillFunctionCall` is never constructed [INFO] [stdout] --> src/common/ast.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct JillFunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillFunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JillLiteral` is never used [INFO] [stdout] --> src/common/ast.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum JillLiteral { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JillIdentifier` is never constructed [INFO] [stdout] --> src/common/ast.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct JillIdentifier(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JillIdentifier` 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: function `check_root_path` is never used [INFO] [stdout] --> src/fileio.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn check_root_path(root_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `src_path`, `file_path`, and `content` are never read [INFO] [stdout] --> src/fileio.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SourceFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | src_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content` and `module_name` are never used [INFO] [stdout] --> src/fileio.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 46 | impl SourceFile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 47 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn module_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_src_exists` is never used [INFO] [stdout] --> src/fileio.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn check_src_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `setup` and `collect_source_files` are never used [INFO] [stdout] --> src/fileio.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl SourceDir { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn setup(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn collect_source_files(dir: &PathBuf, collected: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputFile` is never constructed [INFO] [stdout] --> src/fileio.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct OutputFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fileio.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 169 | impl OutputFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 170 | pub const fn new(name: String, content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/fileio.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn generate(root_path: &Path, output_file: OutputFile) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_bin_dir_exists` is never used [INFO] [stdout] --> src/fileio.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn ensure_bin_dir_exists(root_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JillParseError` is never used [INFO] [stdout] --> src/parser.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type JillParseError = Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_module(source_file: &SourceFile) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parser() -> impl Parser { [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/fileio.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 142 | let read_result = fs::read_to_string(&file_path); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let source_file_result = read_result.map(|content| SourceFile { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Some((file_path, source_file_result)) [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] --> src/parser.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 48 | let expression = recursive(|expression| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let function_call = { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | / literal [INFO] [stdout] 101 | | .or(function_call.map(JillExpression::FunctionCall)) [INFO] [stdout] 102 | | .or(function_reference.map(JillExpression::FunctionReference)) [INFO] [stdout] 103 | | .or(variable_name.map(JillExpression::VariableName)) [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] --> src/parser.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 48 | let expression = recursive(|expression| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let function = recursive(|function| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let function_body = function [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | / text::keyword("fn") [INFO] [stdout] 131 | | .ignore_then(identifier) [INFO] [stdout] 132 | | .then(identifier.repeated()) [INFO] [stdout] 133 | | .then_ignore(just('=')) [INFO] [stdout] 134 | | .then(function_body) [INFO] [stdout] 135 | | .padded() [INFO] [stdout] 136 | | .padded_by(comments) [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; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jillc` (bin "jillc" test) due to 4 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "71ccd2a515ad7d0855929d91d182143a69acfa5dd6bbde340b746d445fb3c3a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ccd2a515ad7d0855929d91d182143a69acfa5dd6bbde340b746d445fb3c3a6", kill_on_drop: false }` [INFO] [stdout] 71ccd2a515ad7d0855929d91d182143a69acfa5dd6bbde340b746d445fb3c3a6