[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] checking qferbs/brain-lambda against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqferbs%2Fbrain-lambda" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qferbs/brain-lambda on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-5-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1dd4ea063c21d88b1bb5cd337d837d6266864dc25f564f52c1c321da38e3d92 [INFO] running `Command { std: "docker" "start" "-a" "f1dd4ea063c21d88b1bb5cd337d837d6266864dc25f564f52c1c321da38e3d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1dd4ea063c21d88b1bb5cd337d837d6266864dc25f564f52c1c321da38e3d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1dd4ea063c21d88b1bb5cd337d837d6266864dc25f564f52c1c321da38e3d92", kill_on_drop: false }` [INFO] [stdout] f1dd4ea063c21d88b1bb5cd337d837d6266864dc25f564f52c1c321da38e3d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4396237435aff6171cf092fc86b697c4c97444d861a9846874f6e4d648f93bdf [INFO] running `Command { std: "docker" "start" "-a" "4396237435aff6171cf092fc86b697c4c97444d861a9846874f6e4d648f93bdf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking 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: 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] [stdout] warning: 19 warnings emitted [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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "4396237435aff6171cf092fc86b697c4c97444d861a9846874f6e4d648f93bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4396237435aff6171cf092fc86b697c4c97444d861a9846874f6e4d648f93bdf", kill_on_drop: false }` [INFO] [stdout] 4396237435aff6171cf092fc86b697c4c97444d861a9846874f6e4d648f93bdf [INFO] checking qferbs/brain-lambda against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqferbs%2Fbrain-lambda" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qferbs/brain-lambda on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-5-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f03159a12ce215998432efb6428d063837aee22f32d4a549bd57599d84db7018 [INFO] running `Command { std: "docker" "start" "-a" "f03159a12ce215998432efb6428d063837aee22f32d4a549bd57599d84db7018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f03159a12ce215998432efb6428d063837aee22f32d4a549bd57599d84db7018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03159a12ce215998432efb6428d063837aee22f32d4a549bd57599d84db7018", kill_on_drop: false }` [INFO] [stdout] f03159a12ce215998432efb6428d063837aee22f32d4a549bd57599d84db7018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e889bfec544e28c8622337935f4365851442db0650f88d0e6ef6ba25553472a7 [INFO] running `Command { std: "docker" "start" "-a" "e889bfec544e28c8622337935f4365851442db0650f88d0e6ef6ba25553472a7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking 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: 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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 88 | tokens: Box + 'a>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ) -> Result>, ParsingError> { [INFO] [stdout] 90 | parse_tree(Rc::new(RefCell::new(tokens)), &Token::Expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 214 | func_args: Expression<'a, u32>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | ) -> Result, ParsingError> { [INFO] [stdout] 216 | Ok(match func_args { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | Expression::FuncArgs(args) => args, [INFO] [stdout] 218 | | // to account for possibility of single arg [INFO] [stdout] 219 | | Expression::Variable(arg) => Box::new([arg]), [INFO] [stdout] 220 | | _ => return Err(ParsingError("Illegal function arguments.".to_string())), [INFO] [stdout] 221 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(value: V, children: Vec>) -> Tree { [INFO] [stdout] | -------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | children: children.into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck") due to 4 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 88 | tokens: Box + 'a>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ) -> Result>, ParsingError> { [INFO] [stdout] 90 | parse_tree(Rc::new(RefCell::new(tokens)), &Token::Expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 214 | func_args: Expression<'a, u32>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | ) -> Result, ParsingError> { [INFO] [stdout] 216 | Ok(match func_args { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | Expression::FuncArgs(args) => args, [INFO] [stdout] 218 | | // to account for possibility of single arg [INFO] [stdout] 219 | | Expression::Variable(arg) => Box::new([arg]), [INFO] [stdout] 220 | | _ => return Err(ParsingError("Illegal function arguments.".to_string())), [INFO] [stdout] 221 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(value: V, children: Vec>) -> Tree { [INFO] [stdout] | -------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | children: children.into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck" test) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e889bfec544e28c8622337935f4365851442db0650f88d0e6ef6ba25553472a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e889bfec544e28c8622337935f4365851442db0650f88d0e6ef6ba25553472a7", kill_on_drop: false }` [INFO] [stdout] e889bfec544e28c8622337935f4365851442db0650f88d0e6ef6ba25553472a7