[INFO] cloning repository https://github.com/qferbs/brain-lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qferbs/brain-lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqferbs%2Fbrain-lambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqferbs%2Fbrain-lambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf0cd07268e323299096a5b77a15653348836342 [INFO] building qferbs/brain-lambda against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqferbs%2Fbrain-lambda" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qferbs/brain-lambda on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qferbs/brain-lambda [INFO] finished tweaking git repo https://github.com/qferbs/brain-lambda [INFO] tweaked toml for git repo https://github.com/qferbs/brain-lambda written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qferbs/brain-lambda 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c83fb3fb6f4245b738aa094ac9ae1f33c1a17392a7f6087eb533884547ba6217 [INFO] running `Command { std: "docker" "start" "-a" "c83fb3fb6f4245b738aa094ac9ae1f33c1a17392a7f6087eb533884547ba6217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c83fb3fb6f4245b738aa094ac9ae1f33c1a17392a7f6087eb533884547ba6217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83fb3fb6f4245b738aa094ac9ae1f33c1a17392a7f6087eb533884547ba6217", kill_on_drop: false }` [INFO] [stdout] c83fb3fb6f4245b738aa094ac9ae1f33c1a17392a7f6087eb533884547ba6217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef73fc385dd696a46310d30faa769c82e1c28640ab4ab9918cd2ab8f5ca33be7 [INFO] running `Command { std: "docker" "start" "-a" "ef73fc385dd696a46310d30faa769c82e1c28640ab4ab9918cd2ab8f5ca33be7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling brainfuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/compile.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | fn compile(expr: Expression) -> Result<(), CompilationError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_bf` and `zero` are never used [INFO] [stdout] --> src/brainfuck_ops.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Register { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 8 | /// Returns a BF string of commands to switch to this register. [INFO] [stdout] 9 | pub fn to_bf(&self, cur_reg: &mut Register) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn zero(&self, cur_reg: &mut Register) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_equals` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn bf_equals( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_not_equals` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn bf_not_equals( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_equality` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn bf_equality( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_equals_const` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn bf_equals_const( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_not_equals_const` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn bf_not_equals_const( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_equality_const` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn bf_equality_const( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_expand_const` is never used [INFO] [stdout] --> src/brainfuck_ops.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn bf_expand_const(c: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compile.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn compile(expr: Expression) -> Result<(), CompilationError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TokenError(pub String); [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TokenError` 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/errors.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ParsingError(pub String); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParsingError` 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/errors.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CompilationError(pub String); [INFO] [stdout] | ---------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CompilationError` 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: constant `FILE_PATH` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const FILE_PATH: &str = "./brainfuck-compiler/bf-gen-exp.b"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRAINFUCK_CHARS` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BRAINFUCK_CHARS: [char; 9] = ['>', '<', '+', '-', '[', ']', '.', ',', '!']; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPECIAL_CHARS` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SPECIAL_CHARS: [char; 10] = ['>', '<', '+', '-', '[', ']', '.', ',', '!', 'r']; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_and_run_augmented_brainfuck` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn compile_and_run_augmented_brainfuck(program: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_str_track` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn push_str_track(string: &mut String, cur_reg: &mut i32, new_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_debug_annotation` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn parse_debug_annotation(lit: &str, cur_reg: &mut i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "ef73fc385dd696a46310d30faa769c82e1c28640ab4ab9918cd2ab8f5ca33be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef73fc385dd696a46310d30faa769c82e1c28640ab4ab9918cd2ab8f5ca33be7", kill_on_drop: false }` [INFO] [stdout] ef73fc385dd696a46310d30faa769c82e1c28640ab4ab9918cd2ab8f5ca33be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5a719e38a0b88c1a6a9afc718c1aa54f156c8b1d293b482812489bfa31480b [INFO] running `Command { std: "docker" "start" "-a" "ab5a719e38a0b88c1a6a9afc718c1aa54f156c8b1d293b482812489bfa31480b", kill_on_drop: false }` [INFO] [stderr] Compiling brainfuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/compile.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | fn compile(expr: Expression) -> Result<(), CompilationError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compile.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn compile(expr: Expression) -> Result<(), CompilationError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TokenError(pub String); [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TokenError` 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/errors.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ParsingError(pub String); [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParsingError` 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/errors.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CompilationError(pub String); [INFO] [stdout] | ---------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `CompilationError` 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: constant `FILE_PATH` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const FILE_PATH: &str = "./brainfuck-compiler/bf-gen-exp.b"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRAINFUCK_CHARS` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BRAINFUCK_CHARS: [char; 9] = ['>', '<', '+', '-', '[', ']', '.', ',', '!']; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPECIAL_CHARS` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SPECIAL_CHARS: [char; 10] = ['>', '<', '+', '-', '[', ']', '.', ',', '!', 'r']; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_and_run_augmented_brainfuck` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn compile_and_run_augmented_brainfuck(program: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_str_track` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn push_str_track(string: &mut String, cur_reg: &mut i32, new_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_debug_annotation` is never used [INFO] [stdout] --> src/utils/compile_debug.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn parse_debug_annotation(lit: &str, cur_reg: &mut i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "ab5a719e38a0b88c1a6a9afc718c1aa54f156c8b1d293b482812489bfa31480b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5a719e38a0b88c1a6a9afc718c1aa54f156c8b1d293b482812489bfa31480b", kill_on_drop: false }` [INFO] [stdout] ab5a719e38a0b88c1a6a9afc718c1aa54f156c8b1d293b482812489bfa31480b