[INFO] cloning repository https://github.com/benzenma123/FSOL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benzenma123/FSOL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzenma123%2FFSOL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzenma123%2FFSOL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f61ef4a918910a7bec2b39ec520796fead20633 [INFO] checking benzenma123/FSOL against try#901d6c1c62d7c61e05469e996c297476078ee06b for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenzenma123%2FFSOL" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/benzenma123/FSOL [INFO] finished tweaking git repo https://github.com/benzenma123/FSOL [INFO] tweaked toml for git repo https://github.com/benzenma123/FSOL written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/benzenma123/FSOL on toolchain 901d6c1c62d7c61e05469e996c297476078ee06b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/benzenma123/FSOL 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" "+901d6c1c62d7c61e05469e996c297476078ee06b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee [INFO] running `Command { std: "docker" "start" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking fsol_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Hash` is never constructed [INFO] [stdout] --> src/lexer.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Hash, // # (comment start) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/lexer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct TokenWithSpan { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] 63 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenWithSpan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/parser.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 108 | condition: Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InspArm` 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 `condition` is never read [INFO] [stdout] --> src/parser.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 112 | condition: Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InspArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qualifier`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/parser.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Condition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 122 | pub qualifier: Option, // "all" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 123 | pub lhs: String, // "load" [INFO] [stdout] | ^^^ [INFO] [stdout] 124 | pub rhs: String, // "true" / "false" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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 `arg` is never read [INFO] [stdout] --> src/parser.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct CommandMapping { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub arg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandMapping` 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: method `peek_next` is never used [INFO] [stdout] --> src/parser.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn peek_next(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_ast` is never used [INFO] [stdout] --> src/parser.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn print_ast(program: &Program) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/parser.rs:652:4 [INFO] [stdout] | [INFO] [stdout] 652 | fn indent(level: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_function` is never used [INFO] [stdout] --> src/parser.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | fn print_function(f: &FunctionBlock, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_statement` is never used [INFO] [stdout] --> src/parser.rs:663:4 [INFO] [stdout] | [INFO] [stdout] 663 | fn print_statement(stmt: &Statement, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen_insp_arm` is never used [INFO] [stdout] --> src/codegen.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl CodeGen { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | fn gen_insp_arm(&mut self, _arm: &InspArm) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hash` is never constructed [INFO] [stdout] --> src/lexer.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Hash, // # (comment start) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/lexer.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct TokenWithSpan { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 62 | pub token: Token, [INFO] [stdout] 63 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenWithSpan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `condition` and `body` are never read [INFO] [stdout] --> src/parser.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | If { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 108 | condition: Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InspArm` 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 `condition` is never read [INFO] [stdout] --> src/parser.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | ElseIf { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 112 | condition: Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InspArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qualifier`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/parser.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Condition { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 122 | pub qualifier: Option, // "all" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 123 | pub lhs: String, // "load" [INFO] [stdout] | ^^^ [INFO] [stdout] 124 | pub rhs: String, // "true" / "false" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` 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 `arg` is never read [INFO] [stdout] --> src/parser.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct CommandMapping { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub arg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandMapping` 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: method `peek_next` is never used [INFO] [stdout] --> src/parser.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn peek_next(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_ast` is never used [INFO] [stdout] --> src/parser.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn print_ast(program: &Program) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/parser.rs:652:4 [INFO] [stdout] | [INFO] [stdout] 652 | fn indent(level: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_function` is never used [INFO] [stdout] --> src/parser.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | fn print_function(f: &FunctionBlock, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_statement` is never used [INFO] [stdout] --> src/parser.rs:663:4 [INFO] [stdout] | [INFO] [stdout] 663 | fn print_statement(stmt: &Statement, level: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen_insp_arm` is never used [INFO] [stdout] --> src/codegen.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl CodeGen { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 385 | fn gen_insp_arm(&mut self, _arm: &InspArm) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee", kill_on_drop: false }` [INFO] [stdout] 631391940ccf94e42ea10dab9589112a9e3bcc45d726206141679e45a84b92ee