[INFO] cloning repository https://github.com/ohayouarmaan/pen-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohayouarmaan/pen-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohayouarmaan%2Fpen-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohayouarmaan%2Fpen-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c79840f62fc4d371d944eacd5c1db2abbfe3fe1 [INFO] checking ohayouarmaan/pen-script against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohayouarmaan%2Fpen-script" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ohayouarmaan/pen-script on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ohayouarmaan/pen-script [INFO] finished tweaking git repo https://github.com/ohayouarmaan/pen-script [INFO] tweaked toml for git repo https://github.com/ohayouarmaan/pen-script written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ohayouarmaan/pen-script 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee044c1dd0c29eed83d6c4283c9e48353e6557d3639f5582a1816f33ce9afa44 [INFO] running `Command { std: "docker" "start" "-a" "ee044c1dd0c29eed83d6c4283c9e48353e6557d3639f5582a1816f33ce9afa44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee044c1dd0c29eed83d6c4283c9e48353e6557d3639f5582a1816f33ce9afa44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee044c1dd0c29eed83d6c4283c9e48353e6557d3639f5582a1816f33ce9afa44", kill_on_drop: false }` [INFO] [stdout] ee044c1dd0c29eed83d6c4283c9e48353e6557d3639f5582a1816f33ce9afa44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2433965f5c3f94f72a1f8915d9d0caca619c68bf3f51597bd4b3fa5650fb9395 [INFO] running `Command { std: "docker" "start" "-a" "2433965f5c3f94f72a1f8915d9d0caca619c68bf3f51597bd4b3fa5650fb9395", kill_on_drop: false }` [INFO] [stderr] Checking pen-script v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/nodes.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/nodes.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `index`, and `lexeme` are never read [INFO] [stdout] --> src/lexer/tokens.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Token<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 42 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub lexeme: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | BinOp(Box>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 5 - BinOp(Box>), [INFO] [stdout] 5 + BinOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Litvalue(LiteralValue), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 6 - Litvalue(LiteralValue), [INFO] [stdout] 6 + Litvalue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | UnaryOp(UnaryOperation<'a>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 7 - UnaryOp(UnaryOperation<'a>), [INFO] [stdout] 7 + UnaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/nodes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BinaryOperation<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | //todo: think about the fields required in a binop [INFO] [stdout] 13 | pub left: Box>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub operator: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub right: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `right` are never read [INFO] [stdout] --> src/parser/nodes.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnaryOperation<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | //todo: think about the fields required in a binop [INFO] [stdout] 21 | pub operator: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub right: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperation` 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 `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | PenNumber(f32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has a derived impl for the trait `Debug`, but this is 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] 27 - PenNumber(f32), [INFO] [stdout] 27 + PenNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PenString` is never constructed [INFO] [stdout] --> src/parser/nodes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum LiteralValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 27 | PenNumber(f32), [INFO] [stdout] 28 | PenString(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line`, `index`, and `lexeme` are never read [INFO] [stdout] --> src/lexer/tokens.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Token<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 42 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub lexeme: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | BinOp(Box>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 5 - BinOp(Box>), [INFO] [stdout] 5 + BinOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Litvalue(LiteralValue), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 6 - Litvalue(LiteralValue), [INFO] [stdout] 6 + Litvalue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | UnaryOp(UnaryOperation<'a>), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is 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] 7 - UnaryOp(UnaryOperation<'a>), [INFO] [stdout] 7 + UnaryOp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/parser/nodes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BinaryOperation<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | //todo: think about the fields required in a binop [INFO] [stdout] 13 | pub left: Box>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub operator: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub right: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `right` are never read [INFO] [stdout] --> src/parser/nodes.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnaryOperation<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | //todo: think about the fields required in a binop [INFO] [stdout] 21 | pub operator: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub right: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperation` 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 `0` is never read [INFO] [stdout] --> src/parser/nodes.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | PenNumber(f32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has a derived impl for the trait `Debug`, but this is 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] 27 - PenNumber(f32), [INFO] [stdout] 27 + PenNumber(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PenString` is never constructed [INFO] [stdout] --> src/parser/nodes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum LiteralValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 27 | PenNumber(f32), [INFO] [stdout] 28 | PenString(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "2433965f5c3f94f72a1f8915d9d0caca619c68bf3f51597bd4b3fa5650fb9395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2433965f5c3f94f72a1f8915d9d0caca619c68bf3f51597bd4b3fa5650fb9395", kill_on_drop: false }` [INFO] [stdout] 2433965f5c3f94f72a1f8915d9d0caca619c68bf3f51597bd4b3fa5650fb9395