[INFO] cloning repository https://github.com/talpalang/talpa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/talpalang/talpa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalpalang%2Ftalpa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalpalang%2Ftalpa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0da21ff9f54a16bb3cc368478eef78984cffd63 [INFO] checking talpalang/talpa against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalpalang%2Ftalpa" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talpalang/talpa 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/talpalang/talpa [INFO] finished tweaking git repo https://github.com/talpalang/talpa [INFO] tweaked toml for git repo https://github.com/talpalang/talpa written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/talpalang/talpa 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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e61195e0a35f9e6345d28c6054322f1fa4132924c33d28811e065273d050bd3 [INFO] running `Command { std: "docker" "start" "-a" "6e61195e0a35f9e6345d28c6054322f1fa4132924c33d28811e065273d050bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e61195e0a35f9e6345d28c6054322f1fa4132924c33d28811e065273d050bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e61195e0a35f9e6345d28c6054322f1fa4132924c33d28811e065273d050bd3", kill_on_drop: false }` [INFO] [stdout] 6e61195e0a35f9e6345d28c6054322f1fa4132924c33d28811e065273d050bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33dd12c55a4f828b49701d8f18030883e80fa42addbf6c8ef64d23fbe9eff4ab [INFO] running `Command { std: "docker" "start" "-a" "33dd12c55a4f828b49701d8f18030883e80fa42addbf6c8ef64d23fbe9eff4ab", kill_on_drop: false }` [INFO] [stderr] Checking talpa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Enum` [INFO] [stdout] --> src/compiler/target/mod.rs:11:95 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, Actions, Boolean, Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionAssigment` and `IfCheckAndBody` [INFO] [stdout] --> src/compiler/tokenize/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Action, ActionAssigment, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | IfCheckAndBody, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Enum` [INFO] [stdout] --> src/compiler/target/mod.rs:11:95 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, Actions, Boolean, Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionAssigment` and `IfCheckAndBody` [INFO] [stdout] --> src/compiler/tokenize/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Action, ActionAssigment, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | IfCheckAndBody, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddToAnylizeResults` is never used [INFO] [stdout] --> src/compiler/anylize/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait AddToAnylizeResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AnilizedTokens { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 104 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnilizedTokens` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 114 | struct SimpleAnilizedTokens<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 115 | pub functions: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 116 | pub vars: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub structs: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub enums: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | pub types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 120 | pub imports: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAnilizedTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comments` is never read [INFO] [stdout] --> src/compiler/target/builder.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LangBuilder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 167 | pub tabs_or_spaces: TabsOrSpaces, [INFO] [stdout] 168 | pub comments: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/tokenize/globals.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 25 | struct SimpleTokenizer<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub functions: &'a Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub vars: &'a Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub structs: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub enums: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub types: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub imports: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleTokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/numbers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub type_: NumberType, [INFO] [stdout] 8 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/strings.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct String_ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `String_` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: field `0` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/compiler/tokenize/variable.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub var_type: VarType, [INFO] [stdout] 17 | pub data_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddToAnylizeResults` is never used [INFO] [stdout] --> src/compiler/anylize/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait AddToAnylizeResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AnilizedTokens { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 104 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnilizedTokens` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 114 | struct SimpleAnilizedTokens<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 115 | pub functions: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 116 | pub vars: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub structs: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub enums: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | pub types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 120 | pub imports: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAnilizedTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comments` is never read [INFO] [stdout] --> src/compiler/target/builder.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LangBuilder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 167 | pub tabs_or_spaces: TabsOrSpaces, [INFO] [stdout] 168 | pub comments: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/tokenize/globals.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 25 | struct SimpleTokenizer<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub functions: &'a Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub vars: &'a Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub structs: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub enums: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub types: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub imports: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleTokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/numbers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub type_: NumberType, [INFO] [stdout] 8 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/strings.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct String_ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `String_` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: field `0` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/compiler/tokenize/variable.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub var_type: VarType, [INFO] [stdout] 17 | pub data_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "33dd12c55a4f828b49701d8f18030883e80fa42addbf6c8ef64d23fbe9eff4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33dd12c55a4f828b49701d8f18030883e80fa42addbf6c8ef64d23fbe9eff4ab", kill_on_drop: false }` [INFO] [stdout] 33dd12c55a4f828b49701d8f18030883e80fa42addbf6c8ef64d23fbe9eff4ab [INFO] checking talpalang/talpa 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%2Ftalpalang%2Ftalpa" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talpalang/talpa 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/talpalang/talpa [INFO] finished tweaking git repo https://github.com/talpalang/talpa [INFO] tweaked toml for git repo https://github.com/talpalang/talpa written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/talpalang/talpa already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3abc9bfd45a1faf1231a356cfff9be8ab8eb24ea4e193151341326404c70e747 [INFO] running `Command { std: "docker" "start" "-a" "3abc9bfd45a1faf1231a356cfff9be8ab8eb24ea4e193151341326404c70e747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3abc9bfd45a1faf1231a356cfff9be8ab8eb24ea4e193151341326404c70e747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abc9bfd45a1faf1231a356cfff9be8ab8eb24ea4e193151341326404c70e747", kill_on_drop: false }` [INFO] [stdout] 3abc9bfd45a1faf1231a356cfff9be8ab8eb24ea4e193151341326404c70e747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b5b2e2abb72ec61f3db9ad3d64e2d29d5a63aca7fe9fdd59c7517706b88abfa [INFO] running `Command { std: "docker" "start" "-a" "8b5b2e2abb72ec61f3db9ad3d64e2d29d5a63aca7fe9fdd59c7517706b88abfa", kill_on_drop: false }` [INFO] [stderr] Checking talpa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Enum` [INFO] [stdout] --> src/compiler/target/mod.rs:11:95 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, Actions, Boolean, Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionAssigment` and `IfCheckAndBody` [INFO] [stdout] --> src/compiler/tokenize/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Action, ActionAssigment, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | IfCheckAndBody, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Enum` [INFO] [stdout] --> src/compiler/target/mod.rs:11:95 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, Actions, Boolean, Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionAssigment` and `IfCheckAndBody` [INFO] [stdout] --> src/compiler/tokenize/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Action, ActionAssigment, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | IfCheckAndBody, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AddToAnylizeResults` is never used [INFO] [stdout] --> src/compiler/anylize/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait AddToAnylizeResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AnilizedTokens { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 104 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnilizedTokens` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 114 | struct SimpleAnilizedTokens<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 115 | pub functions: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 116 | pub vars: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub structs: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub enums: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | pub types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 120 | pub imports: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAnilizedTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comments` is never read [INFO] [stdout] --> src/compiler/target/builder.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LangBuilder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 167 | pub tabs_or_spaces: TabsOrSpaces, [INFO] [stdout] 168 | pub comments: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/tokenize/globals.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 25 | struct SimpleTokenizer<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub functions: &'a Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub vars: &'a Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub structs: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub enums: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub types: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub imports: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleTokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/numbers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub type_: NumberType, [INFO] [stdout] 8 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/strings.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct String_ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `String_` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: field `0` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/compiler/tokenize/variable.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub var_type: VarType, [INFO] [stdout] 17 | pub data_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/compiler/tokenize/action.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 473 | let if_ = parse_if_check_and_body(self.t)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 476 | let mut else_ifs: Vec = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | let else_body = if must_parse_else { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | Ok(ParseActionState::If(ActionIf { [INFO] [stdout] | ________^ [INFO] [stdout] 537 | | if_, [INFO] [stdout] 538 | | else_ifs, [INFO] [stdout] 539 | | else_body, [INFO] [stdout] 540 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/action.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 548 | let loop_based_on = match loop_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | let actions = parse_actions(self.t)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 588 | [INFO] [stdout] 589 | Ok(match loop_type { [INFO] [stdout] | ________^ [INFO] [stdout] 590 | | LoopType::For => ParseActionState::For(ActionFor { [INFO] [stdout] 591 | | actions, [INFO] [stdout] 592 | | list: Box::new(loop_based_on.unwrap()), [INFO] [stdout] ... | [INFO] [stdout] 599 | | LoopType::Loop => ParseActionState::Loop(actions), [INFO] [stdout] 600 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/action.rs:629:6 [INFO] [stdout] | [INFO] [stdout] 621 | let check = ParseAction::start(t, true, ActionToExpect::Assignment("{"))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 628 | let body = parse_actions(t)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 629 | Ok(IfCheckAndBody { [INFO] [stdout] | ______^ [INFO] [stdout] 630 | | check: Box::new(check), [INFO] [stdout] 631 | | body, [INFO] [stdout] 632 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/function.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 73 | let mut args: Vec<(String, Type)> = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let mut res: Option = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let body = parse_actions(t)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(Function { [INFO] [stdout] | ______^ [INFO] [stdout] 131 | | location, [INFO] [stdout] 132 | | name, [INFO] [stdout] 133 | | args, [INFO] [stdout] 134 | | res, [INFO] [stdout] 135 | | body, [INFO] [stdout] 136 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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/compiler/tokenize/types.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 241 | let type_ = parse_type(t, false)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | [INFO] [stdout] 243 | Ok(GlobalType { [INFO] [stdout] | ______^ [INFO] [stdout] 244 | | location, [INFO] [stdout] 245 | | name, [INFO] [stdout] 246 | | type_, [INFO] [stdout] 247 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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/compiler/tokenize/variable.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 47 | let mut data_type: Option = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let action = ParseAction::start(t, false, ActionToExpect::Assignment(""))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | Ok(Variable { [INFO] [stdout] | ______^ [INFO] [stdout] 97 | | location, [INFO] [stdout] 98 | | var_type, [INFO] [stdout] 99 | | data_type, [INFO] [stdout] 100 | | name: name.to_string(t)?, [INFO] [stdout] 101 | | action: Box::new(action), [INFO] [stdout] 102 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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 6 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `talpa` (bin "talpa") due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `AddToAnylizeResults` is never used [INFO] [stdout] --> src/compiler/anylize/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait AddToAnylizeResults { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct AnilizedTokens { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 104 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnilizedTokens` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/anylize/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 114 | struct SimpleAnilizedTokens<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 115 | pub functions: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 116 | pub vars: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | pub structs: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub enums: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | pub types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 120 | pub imports: &'a HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAnilizedTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comments` is never read [INFO] [stdout] --> src/compiler/target/builder.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LangBuilder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 167 | pub tabs_or_spaces: TabsOrSpaces, [INFO] [stdout] 168 | pub comments: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stdout] --> src/compiler/tokenize/globals.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 25 | struct SimpleTokenizer<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 26 | pub functions: &'a Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub vars: &'a Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub structs: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub enums: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub types: &'a Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub imports: &'a Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleTokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/numbers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub type_: NumberType, [INFO] [stdout] 8 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/strings.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct String_ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `String_` 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: field `location` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pub location: CodeLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: field `0` is never read [INFO] [stdout] --> src/compiler/tokenize/types.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_type` is never read [INFO] [stdout] --> src/compiler/tokenize/variable.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub var_type: VarType, [INFO] [stdout] 17 | pub data_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/compiler/tokenize/action.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 473 | let if_ = parse_if_check_and_body(self.t)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 476 | let mut else_ifs: Vec = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | let else_body = if must_parse_else { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | Ok(ParseActionState::If(ActionIf { [INFO] [stdout] | ________^ [INFO] [stdout] 537 | | if_, [INFO] [stdout] 538 | | else_ifs, [INFO] [stdout] 539 | | else_body, [INFO] [stdout] 540 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/action.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 548 | let loop_based_on = match loop_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | let actions = parse_actions(self.t)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 588 | [INFO] [stdout] 589 | Ok(match loop_type { [INFO] [stdout] | ________^ [INFO] [stdout] 590 | | LoopType::For => ParseActionState::For(ActionFor { [INFO] [stdout] 591 | | actions, [INFO] [stdout] 592 | | list: Box::new(loop_based_on.unwrap()), [INFO] [stdout] ... | [INFO] [stdout] 599 | | LoopType::Loop => ParseActionState::Loop(actions), [INFO] [stdout] 600 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/action.rs:629:6 [INFO] [stdout] | [INFO] [stdout] 621 | let check = ParseAction::start(t, true, ActionToExpect::Assignment("{"))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 628 | let body = parse_actions(t)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 629 | Ok(IfCheckAndBody { [INFO] [stdout] | ______^ [INFO] [stdout] 630 | | check: Box::new(check), [INFO] [stdout] 631 | | body, [INFO] [stdout] 632 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/compiler/tokenize/function.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 73 | let mut args: Vec<(String, Type)> = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let mut res: Option = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let body = parse_actions(t)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | [INFO] [stdout] 130 | Ok(Function { [INFO] [stdout] | ______^ [INFO] [stdout] 131 | | location, [INFO] [stdout] 132 | | name, [INFO] [stdout] 133 | | args, [INFO] [stdout] 134 | | res, [INFO] [stdout] 135 | | body, [INFO] [stdout] 136 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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/compiler/tokenize/types.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 241 | let type_ = parse_type(t, false)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | [INFO] [stdout] 243 | Ok(GlobalType { [INFO] [stdout] | ______^ [INFO] [stdout] 244 | | location, [INFO] [stdout] 245 | | name, [INFO] [stdout] 246 | | type_, [INFO] [stdout] 247 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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/compiler/tokenize/variable.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 47 | let mut data_type: Option = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let action = ParseAction::start(t, false, ActionToExpect::Assignment(""))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | Ok(Variable { [INFO] [stdout] | ______^ [INFO] [stdout] 97 | | location, [INFO] [stdout] 98 | | var_type, [INFO] [stdout] 99 | | data_type, [INFO] [stdout] 100 | | name: name.to_string(t)?, [INFO] [stdout] 101 | | action: Box::new(action), [INFO] [stdout] 102 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___| [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 6 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `talpa` (bin "talpa" test) due to 7 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b5b2e2abb72ec61f3db9ad3d64e2d29d5a63aca7fe9fdd59c7517706b88abfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5b2e2abb72ec61f3db9ad3d64e2d29d5a63aca7fe9fdd59c7517706b88abfa", kill_on_drop: false }` [INFO] [stdout] 8b5b2e2abb72ec61f3db9ad3d64e2d29d5a63aca7fe9fdd59c7517706b88abfa