[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] testing talpalang/talpa against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalpalang%2Ftalpa" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/talpalang/talpa on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f41ec111677b9007fdb4a20f1a7d4463ead8f11f0478a86bc413a96e7890a1e6 [INFO] running `Command { std: "docker" "start" "-a" "f41ec111677b9007fdb4a20f1a7d4463ead8f11f0478a86bc413a96e7890a1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f41ec111677b9007fdb4a20f1a7d4463ead8f11f0478a86bc413a96e7890a1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41ec111677b9007fdb4a20f1a7d4463ead8f11f0478a86bc413a96e7890a1e6", kill_on_drop: false }` [INFO] [stdout] f41ec111677b9007fdb4a20f1a7d4463ead8f11f0478a86bc413a96e7890a1e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72266d2ec3f1bab0ada11764a899c33600210f19db8516778d1fc8460579fe0d [INFO] running `Command { std: "docker" "start" "-a" "72266d2ec3f1bab0ada11764a899c33600210f19db8516778d1fc8460579fe0d", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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(Enum), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "72266d2ec3f1bab0ada11764a899c33600210f19db8516778d1fc8460579fe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72266d2ec3f1bab0ada11764a899c33600210f19db8516778d1fc8460579fe0d", kill_on_drop: false }` [INFO] [stdout] 72266d2ec3f1bab0ada11764a899c33600210f19db8516778d1fc8460579fe0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0a4f72ed43b671ee3c60541ac8bdfbe64294208748ec8841ae9ef12a31d59f [INFO] running `Command { std: "docker" "start" "-a" "8b0a4f72ed43b671ee3c60541ac8bdfbe64294208748ec8841ae9ef12a31d59f", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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(Enum), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "8b0a4f72ed43b671ee3c60541ac8bdfbe64294208748ec8841ae9ef12a31d59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0a4f72ed43b671ee3c60541ac8bdfbe64294208748ec8841ae9ef12a31d59f", kill_on_drop: false }` [INFO] [stdout] 8b0a4f72ed43b671ee3c60541ac8bdfbe64294208748ec8841ae9ef12a31d59f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1e541819e2a2d2b622cffa768ef35a8b90cb57ffa2cdb15ee0e0cddb8e50e18 [INFO] running `Command { std: "docker" "start" "-a" "a1e541819e2a2d2b622cffa768ef35a8b90cb57ffa2cdb15ee0e0cddb8e50e18", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Enum` [INFO] [stderr] --> src/compiler/target/mod.rs:11:95 [INFO] [stderr] | [INFO] [stderr] 11 | Action, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, Actions, Boolean, Enum, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ActionAssigment` and `IfCheckAndBody` [INFO] [stderr] --> src/compiler/tokenize/mod.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | Action, ActionAssigment, ActionFor, ActionFunctionCall, ActionIf, ActionType, ActionWhile, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | IfCheckAndBody, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `AddToAnylizeResults` is never used [INFO] [stderr] --> src/compiler/anylize/mod.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | trait AddToAnylizeResults { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `file` is never read [INFO] [stderr] --> src/compiler/anylize/mod.rs:104:3 [INFO] [stderr] | [INFO] [stderr] 103 | pub struct AnilizedTokens { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 104 | file: File, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnilizedTokens` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stderr] --> src/compiler/anylize/mod.rs:115:7 [INFO] [stderr] | [INFO] [stderr] 114 | struct SimpleAnilizedTokens<'a> { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 115 | pub functions: &'a HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 116 | pub vars: &'a HashMap, [INFO] [stderr] | ^^^^ [INFO] [stderr] 117 | pub structs: &'a HashMap, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 118 | pub enums: &'a HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 119 | pub types: &'a HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 120 | pub imports: &'a HashMap, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleAnilizedTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `comments` is never read [INFO] [stderr] --> src/compiler/target/builder.rs:168:7 [INFO] [stderr] | [INFO] [stderr] 166 | pub struct LangBuilder { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 167 | pub tabs_or_spaces: TabsOrSpaces, [INFO] [stderr] 168 | pub comments: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `functions`, `vars`, `structs`, `enums`, `types`, and `imports` are never read [INFO] [stderr] --> src/compiler/tokenize/globals.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 25 | struct SimpleTokenizer<'a> { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 26 | pub functions: &'a Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 27 | pub vars: &'a Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | pub structs: &'a Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 29 | pub enums: &'a Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | pub types: &'a Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 31 | pub imports: &'a Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleTokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/compiler/tokenize/numbers.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Number { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 7 | pub type_: NumberType, [INFO] [stderr] 8 | pub location: CodeLocation, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Number` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/compiler/tokenize/strings.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct String_ { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 7 | pub location: CodeLocation, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `String_` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `location` is never read [INFO] [stderr] --> src/compiler/tokenize/types.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Type { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 10 | pub location: CodeLocation, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/tokenize/types.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | Enum(Enum), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TypeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 49 - Enum(Enum), [INFO] [stderr] 49 + Enum(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `data_type` is never read [INFO] [stderr] --> src/compiler/tokenize/variable.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Variable { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 16 | pub var_type: VarType, [INFO] [stderr] 17 | pub data_type: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `talpa` (bin "talpa" test) generated 12 warnings (run `cargo fix --bin "talpa" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/talpa-dd4bce93b83a875e) [INFO] [stdout] [INFO] [stdout] running 107 tests [INFO] [stdout] test compiler::anylize::tests::comments::test_comment_direct_eof_1 ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comment_direct_eof_3 ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comment_single_line ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comment_multi_line ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comments_in_combination_with_functions ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_multi_line_comment_direct_eof_3 ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_multi_line_comment_direct_eof_1 ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comments_inside_of_function ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_field ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_multiple_fields_equal_names ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_simple_field ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_multiple_fields ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_multiple_fields_invalid_names ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_multiple_enums_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_arg_invalid_name_warning ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_enum_with_multiple_simple_fields ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_multiple_simple_enums ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_invalid_enum_name ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_arg ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_invalid_inline_enum_in_global ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_args_multiple_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_args_multiple_invalid_names_warnings ... ok [INFO] [stdout] test compiler::anylize::tests::enums::test_simple_enum ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_call_without_args ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_call_with_args ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_result ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_functions_empty ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_functions_empty_equal_name_fail ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_advanced_global_type_1 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_global_type_invalid_name_warning ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_invalid_function_name ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_advanced_global_type_2 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_advanced_global_type_3 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_advanced_global_type_4 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_multiple_simple_global_types ... ok [INFO] [stdout] test compiler::anylize::tests::general::test_empty ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_if ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_multiple_global_types_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_if_names ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_if_else_if ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_invalid_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_invalid_if ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_if_else_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_invalid_if_else_if ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_wired_if ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_invalid_if_else_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_wired_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_wired_if_else_if ... ok [INFO] [stdout] test compiler::anylize::tests::ifs::test_wired_if_else_if_else ... ok [INFO] [stdout] test compiler::anylize::tests::imports::multiple_import ... ok [INFO] [stdout] test compiler::anylize::tests::imports::simple_import ... ok [INFO] [stdout] test compiler::anylize::tests::imports::simple_import_with_something_after ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_break ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_break_outside_of_loop_fail ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_simple_global_type_1 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_simple_global_type_2 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_simple_invalid_global_type_1 ... ok [INFO] [stdout] test compiler::anylize::tests::global_types::test_simple_invalid_global_type_2 ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_continue ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_continue_outside_of_loop_fail ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_for_incorrect_args_1 ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_for_incorrect_args_2 ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_for_incorrect_args_3 ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_loop_unreachable_code_warning_return ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_for_no_args ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_incorrect_while_no_args ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_multiple_simple_fors ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_loop_incorrect_args ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_multiple_simple_whiles ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_loop_unreachable_code_warning_break ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_loop_unreachable_code_warning_continue ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_multiple_simple_loops ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_simple_for ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_simple_while ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_simple_for_names ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_simple_loop ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_invalid_inline_struct_in_global ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_multiple_simple_structs ... ok [INFO] [stdout] test compiler::anylize::tests::loops::test_while_incorrect_args ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_multiple_structs_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_invalid_struct_data ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_multiple_simple_fields ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_inner_struct_1 ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_inner_struct_2 ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_inner_struct_3 ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_multiple_fields_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_simple_field ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_duplicated_vars_fail_2 ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_multiple_variable_equal_names_fail ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_undecleared_var_fail ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable_global_let_fails ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable_invalid_name_warning ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_simple_struct ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable_starts_with_number_fails ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_invalid_name_warning ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable_strings_with_backslashes ... ok [INFO] [stdout] test compiler::anylize::tests::structs::test_struct_with_field_invalid_name_warning ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_duplicated_vars_fail_1 ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable_string_with_spaces ... ok [INFO] [stdout] test compiler::anylize::tests::variables::test_variable ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_multi_line_comment_direct_eof_2 ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_empty ... ok [INFO] [stdout] test compiler::anylize::tests::general::fail_random_chars ... ok [INFO] [stdout] test compiler::anylize::tests::comments::test_comment_direct_eof_2 ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_arg_and_result ... ok [INFO] [stdout] test compiler::anylize::tests::functions::test_function_with_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 107 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1e541819e2a2d2b622cffa768ef35a8b90cb57ffa2cdb15ee0e0cddb8e50e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e541819e2a2d2b622cffa768ef35a8b90cb57ffa2cdb15ee0e0cddb8e50e18", kill_on_drop: false }` [INFO] [stdout] a1e541819e2a2d2b622cffa768ef35a8b90cb57ffa2cdb15ee0e0cddb8e50e18