[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 master#f9515fdd5aa132e27d9b580a35b27f4b453251c1 for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fplang" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/propbreakerfpv/plang on toolchain f9515fdd5aa132e27d9b580a35b27f4b453251c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking propbreakerfpv/plang against try#71235522a9cf955f6b7ff56c0bfb2651ecd0180b for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpropbreakerfpv%2Fplang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/propbreakerfpv/plang on toolchain 71235522a9cf955f6b7ff56c0bfb2651ecd0180b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05857658cfffb2a0524cef95242059378d2298a5c7cf94e64ce30dc3a7884f16 [INFO] running `Command { std: "docker" "start" "-a" "05857658cfffb2a0524cef95242059378d2298a5c7cf94e64ce30dc3a7884f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05857658cfffb2a0524cef95242059378d2298a5c7cf94e64ce30dc3a7884f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05857658cfffb2a0524cef95242059378d2298a5c7cf94e64ce30dc3a7884f16", kill_on_drop: false }` [INFO] [stdout] 05857658cfffb2a0524cef95242059378d2298a5c7cf94e64ce30dc3a7884f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e766b72c6fc51a9c60eec252f922c31736b1af1de71d8efebf6ebc44631bcc0d [INFO] running `Command { std: "docker" "start" "-a" "e766b72c6fc51a9c60eec252f922c31736b1af1de71d8efebf6ebc44631bcc0d", 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)]` 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: `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)]` 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: 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] = note: `#[warn(dead_code)]` on by default [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] 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(()), [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] 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(()), [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: 13 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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] 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(()), [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] 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(()), [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "e766b72c6fc51a9c60eec252f922c31736b1af1de71d8efebf6ebc44631bcc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e766b72c6fc51a9c60eec252f922c31736b1af1de71d8efebf6ebc44631bcc0d", kill_on_drop: false }` [INFO] [stdout] e766b72c6fc51a9c60eec252f922c31736b1af1de71d8efebf6ebc44631bcc0d