[INFO] cloning repository https://github.com/propbreakerfpv/plang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/propbreakerfpv/plang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fplang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fplang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71b78daff3bb71ad89c907935c76400a8996526d [INFO] checking propbreakerfpv/plang against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fplang" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/propbreakerfpv/plang [INFO] finished tweaking git repo https://github.com/propbreakerfpv/plang [INFO] tweaked toml for git repo https://github.com/propbreakerfpv/plang written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/propbreakerfpv/plang on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/propbreakerfpv/plang 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db22e86c94e561f26fae6f0d546d039db7516b026d890c39670a0fb86b4ca653 [INFO] running `Command { std: "docker" "start" "-a" "db22e86c94e561f26fae6f0d546d039db7516b026d890c39670a0fb86b4ca653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db22e86c94e561f26fae6f0d546d039db7516b026d890c39670a0fb86b4ca653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db22e86c94e561f26fae6f0d546d039db7516b026d890c39670a0fb86b4ca653", kill_on_drop: false }` [INFO] [stdout] db22e86c94e561f26fae6f0d546d039db7516b026d890c39670a0fb86b4ca653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f8aefbd04b219eee7341a4af0276bc3b52130ece7e65adca0e87280b533c29c [INFO] running `Command { std: "docker" "start" "-a" "6f8aefbd04b219eee7341a4af0276bc3b52130ece7e65adca0e87280b533c29c", kill_on_drop: false }` [INFO] [stderr] Checking plang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wat::get_exports` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::compile, parser::parse, wat::get_exports}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wat::get_exports` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{compiler::compile, parser::parse, wat::get_exports}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/compiler.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fmt::Display, fs, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElseIf` [INFO] [stdout] --> src/compiler.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Ast, Bop, Constant, ElseIf, Expression, Function, If, Import, TypeConstr, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/compiler.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, fmt::Display, fs, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElseIf` [INFO] [stdout] --> src/compiler.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::{Ast, Bop, Constant, ElseIf, Expression, Function, If, Import, TypeConstr, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_ident` is never used [INFO] [stdout] --> src/token.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_ident(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_let` is never used [INFO] [stdout] --> src/parser.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn parse_let(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/compiler.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 38 | ast: Vec, [INFO] [stdout] 39 | indent: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/compiler.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn indent(amount: i32) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryOperation` is never constructed [INFO] [stdout] --> src/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | UnaryOperation(Uop, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enum` and `Let` are never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Enum(Enum), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Let(Let), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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: fields `name`, `tp`, `type_infered`, and `value` are never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Let { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub tp: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | /// possibly not nessesary [INFO] [stdout] 37 | pub type_infered: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` 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 `tp` is never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 59 | pub name: String, [INFO] [stdout] 60 | pub tp: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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/ast.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | F32(f32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] 95 - F32(f32), [INFO] [stdout] 95 + F32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Var(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] 98 - Var(String), [INFO] [stdout] 98 + Var(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Eq` is never constructed [INFO] [stdout] --> src/ast.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum Bop { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 114 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bop` 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: method `is_ident` is never used [INFO] [stdout] --> src/token.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn is_ident(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_let` is never used [INFO] [stdout] --> src/parser.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn parse_let(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/compiler.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 38 | ast: Vec, [INFO] [stdout] 39 | indent: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/compiler.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn indent(amount: i32) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnaryOperation` is never constructed [INFO] [stdout] --> src/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | UnaryOperation(Uop, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enum` and `Let` are never constructed [INFO] [stdout] --> src/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Enum(Enum), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Let(Let), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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: fields `name`, `tp`, `type_infered`, and `value` are never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Let { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub tp: Type, [INFO] [stdout] | ^^ [INFO] [stdout] 36 | /// possibly not nessesary [INFO] [stdout] 37 | pub type_infered: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub value: Expression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` 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 `tp` is never read [INFO] [stdout] --> src/ast.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Arg { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 59 | pub name: String, [INFO] [stdout] 60 | pub tp: Type, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arg` 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/ast.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | F32(f32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] 95 - F32(f32), [INFO] [stdout] 95 + F32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Var(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] 98 - Var(String), [INFO] [stdout] 98 + Var(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Eq` is never constructed [INFO] [stdout] --> src/ast.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum Bop { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 114 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bop` 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 0.15s [INFO] running `Command { std: "docker" "inspect" "6f8aefbd04b219eee7341a4af0276bc3b52130ece7e65adca0e87280b533c29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8aefbd04b219eee7341a4af0276bc3b52130ece7e65adca0e87280b533c29c", kill_on_drop: false }` [INFO] [stdout] 6f8aefbd04b219eee7341a4af0276bc3b52130ece7e65adca0e87280b533c29c