[INFO] cloning repository https://github.com/bajzc/yamc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bajzc/yamc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajzc%2Fyamc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajzc%2Fyamc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f43db5eb9643d5e5a098c1b2159c74e00871e85 [INFO] testing bajzc/yamc against master#198328ad7960b1bece0dc48496bff6c62dd5d339 for pr-149852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajzc%2Fyamc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bajzc/yamc [INFO] finished tweaking git repo https://github.com/bajzc/yamc [INFO] tweaked toml for git repo https://github.com/bajzc/yamc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bajzc/yamc on toolchain 198328ad7960b1bece0dc48496bff6c62dd5d339 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bajzc/yamc 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" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 601b1f9f3600e00193272c1184c16f52d32ed6cbfe91f55e90bf74f4956aac4a [INFO] running `Command { std: "docker" "start" "-a" "601b1f9f3600e00193272c1184c16f52d32ed6cbfe91f55e90bf74f4956aac4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "601b1f9f3600e00193272c1184c16f52d32ed6cbfe91f55e90bf74f4956aac4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601b1f9f3600e00193272c1184c16f52d32ed6cbfe91f55e90bf74f4956aac4a", kill_on_drop: false }` [INFO] [stdout] 601b1f9f3600e00193272c1184c16f52d32ed6cbfe91f55e90bf74f4956aac4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3e14ff55db9c4ade8c3ad388d241d5dec51fd6028156b90488dbc7712fca5a8 [INFO] running `Command { std: "docker" "start" "-a" "c3e14ff55db9c4ade8c3ad388d241d5dec51fd6028156b90488dbc7712fca5a8", kill_on_drop: false }` [INFO] [stderr] Compiling matrix_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `line_count` is assigned to, but never used [INFO] [stdout] --> src/lexer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut line_count: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_line_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `line_count` is never read [INFO] [stdout] --> src/lexer.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | line_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/matrix.rs:405:18 [INFO] [stdout] | [INFO] [stdout] 405 | fn div(self, rhs: &Matrix) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Matrix(MatrixError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 11 - Matrix(MatrixError), [INFO] [stdout] 11 + Matrix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | UnparsedInput(Box<[Token]>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 12 - UnparsedInput(Box<[Token]>), [INFO] [stdout] 12 + UnparsedInput(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | CannotParseOn(Box<[Token]>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 14 - CannotParseOn(Box<[Token]>), [INFO] [stdout] 14 + CannotParseOn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownException(Box<[Token]>), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 15 - UnknownException(Box<[Token]>), [INFO] [stdout] 15 + UnknownException(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | Exception(Token, Box<[Token]>), [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Exception(Token, Box<[Token]>), [INFO] [stdout] 16 + Exception((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownCharacter(char), [INFO] [stdout] | ---------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 17 - UnknownCharacter(char), [INFO] [stdout] 17 + UnknownCharacter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | FunctionNotDefined(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 19 - FunctionNotDefined(String), [INFO] [stdout] 19 + FunctionNotDefined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "c3e14ff55db9c4ade8c3ad388d241d5dec51fd6028156b90488dbc7712fca5a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e14ff55db9c4ade8c3ad388d241d5dec51fd6028156b90488dbc7712fca5a8", kill_on_drop: false }` [INFO] [stdout] c3e14ff55db9c4ade8c3ad388d241d5dec51fd6028156b90488dbc7712fca5a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0115bbcc81a98c8f5b47e267726ea01aac5c79c42dff3c5364a0577fc502bdb9 [INFO] running `Command { std: "docker" "start" "-a" "0115bbcc81a98c8f5b47e267726ea01aac5c79c42dff3c5364a0577fc502bdb9", kill_on_drop: false }` [INFO] [stderr] Compiling matrix_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `line_count` is assigned to, but never used [INFO] [stdout] --> src/lexer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut line_count: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_line_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `line_count` is never read [INFO] [stdout] --> src/lexer.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | line_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/matrix.rs:405:18 [INFO] [stdout] | [INFO] [stdout] 405 | fn div(self, rhs: &Matrix) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Matrix(MatrixError), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 11 - Matrix(MatrixError), [INFO] [stdout] 11 + Matrix(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | UnparsedInput(Box<[Token]>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 12 - UnparsedInput(Box<[Token]>), [INFO] [stdout] 12 + UnparsedInput(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | CannotParseOn(Box<[Token]>), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 14 - CannotParseOn(Box<[Token]>), [INFO] [stdout] 14 + CannotParseOn(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | UnknownException(Box<[Token]>), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 15 - UnknownException(Box<[Token]>), [INFO] [stdout] 15 + UnknownException(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/error.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | Exception(Token, Box<[Token]>), [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Exception(Token, Box<[Token]>), [INFO] [stdout] 16 + Exception((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownCharacter(char), [INFO] [stdout] | ---------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 17 - UnknownCharacter(char), [INFO] [stdout] 17 + UnknownCharacter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | FunctionNotDefined(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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] 19 - FunctionNotDefined(String), [INFO] [stdout] 19 + FunctionNotDefined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "0115bbcc81a98c8f5b47e267726ea01aac5c79c42dff3c5364a0577fc502bdb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0115bbcc81a98c8f5b47e267726ea01aac5c79c42dff3c5364a0577fc502bdb9", kill_on_drop: false }` [INFO] [stdout] 0115bbcc81a98c8f5b47e267726ea01aac5c79c42dff3c5364a0577fc502bdb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+198328ad7960b1bece0dc48496bff6c62dd5d339" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80a1e4f17be44aab9399f8cafb59999e6450d0d9413214aaaf6990b9a968742b [INFO] running `Command { std: "docker" "start" "-a" "80a1e4f17be44aab9399f8cafb59999e6450d0d9413214aaaf6990b9a968742b", kill_on_drop: false }` [INFO] [stderr] warning: variable `line_count` is assigned to, but never used [INFO] [stderr] --> src/lexer.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let mut line_count: i32 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_line_count` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `line_count` is never read [INFO] [stderr] --> src/lexer.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | line_count += 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/matrix.rs:405:18 [INFO] [stderr] | [INFO] [stderr] 405 | fn div(self, rhs: &Matrix) -> Self::Output { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | Matrix(MatrixError), [INFO] [stderr] | ------ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 11 - Matrix(MatrixError), [INFO] [stderr] 11 + Matrix(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | UnparsedInput(Box<[Token]>), [INFO] [stderr] | ------------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is 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] 12 - UnparsedInput(Box<[Token]>), [INFO] [stderr] 12 + UnparsedInput(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | CannotParseOn(Box<[Token]>), [INFO] [stderr] | ------------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is 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] 14 - CannotParseOn(Box<[Token]>), [INFO] [stderr] 14 + CannotParseOn(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | UnknownException(Box<[Token]>), [INFO] [stderr] | ---------------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is 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] 15 - UnknownException(Box<[Token]>), [INFO] [stderr] 15 + UnknownException(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/error.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | Exception(Token, Box<[Token]>), [INFO] [stderr] | --------- ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 16 - Exception(Token, Box<[Token]>), [INFO] [stderr] 16 + Exception((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | UnknownCharacter(char), [INFO] [stderr] | ---------------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is 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] 17 - UnknownCharacter(char), [INFO] [stderr] 17 + UnknownCharacter(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | FunctionNotDefined(String), [INFO] [stderr] | ------------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is 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] 19 - FunctionNotDefined(String), [INFO] [stderr] 19 + FunctionNotDefined(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `matrix_calculator` (bin "matrix_calculator" test) generated 10 warnings (run `cargo fix --bin "matrix_calculator" -p matrix_calculator --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/matrix_calculator-d3d668552d3d32f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80a1e4f17be44aab9399f8cafb59999e6450d0d9413214aaaf6990b9a968742b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a1e4f17be44aab9399f8cafb59999e6450d0d9413214aaaf6990b9a968742b", kill_on_drop: false }` [INFO] [stdout] 80a1e4f17be44aab9399f8cafb59999e6450d0d9413214aaaf6990b9a968742b