[INFO] cloning repository https://github.com/QQ3646/SInterpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QQ3646/SInterpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQQ3646%2FSInterpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQQ3646%2FSInterpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5b8fcc165f87c1dcefc60d14f94a9ea3f70e86b [INFO] checking QQ3646/SInterpreter against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQQ3646%2FSInterpreter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QQ3646/SInterpreter on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QQ3646/SInterpreter [INFO] finished tweaking git repo https://github.com/QQ3646/SInterpreter [INFO] tweaked toml for git repo https://github.com/QQ3646/SInterpreter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/QQ3646/SInterpreter 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de4a54398117f4337f27510ca2a93dd3c98b8eb6c16d21dc2ceaefa748c3e827 [INFO] running `Command { std: "docker" "start" "-a" "de4a54398117f4337f27510ca2a93dd3c98b8eb6c16d21dc2ceaefa748c3e827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de4a54398117f4337f27510ca2a93dd3c98b8eb6c16d21dc2ceaefa748c3e827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4a54398117f4337f27510ca2a93dd3c98b8eb6c16d21dc2ceaefa748c3e827", kill_on_drop: false }` [INFO] [stdout] de4a54398117f4337f27510ca2a93dd3c98b8eb6c16d21dc2ceaefa748c3e827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c43c6b0384eaea3eeeb8d3095bd812b3c293147c2668ea72c7eef45da5f736 [INFO] running `Command { std: "docker" "start" "-a" "e2c43c6b0384eaea3eeeb8d3095bd812b3c293147c2668ea72c7eef45da5f736", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking sinterpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/libs/lex.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | use crate::libs::lex::LiteralValue::{Nil, Number, String}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NUMBER` [INFO] [stdout] --> src/libs/lex.rs:458:68 [INFO] [stdout] | [INFO] [stdout] 458 | use crate::libs::lex::TokenType::{EOF, EQUAL, IDENTIFIER, LET, NUMBER, SEMICOLON, STRING}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/libs/interpreter.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn visit_binary(&mut self, binary: &Expr) -> Object { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grouping` [INFO] [stdout] --> src/libs/interpreter.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn visit_grouping(&mut self, grouping: &Expr) -> Object { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/libs/interpreter.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn visit_literal(&mut self, literal: &Expr) -> Object { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary` [INFO] [stdout] --> src/libs/interpreter.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn visit_unary(&mut self, unary: &Expr) -> Object { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_unary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOR` is never constructed [INFO] [stdout] --> src/libs/lex.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | FOR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/libs/lex.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 96 | fn new(token_type: TokenType, literal: LiteralValue, line: usize, lexeme: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync` is never used [INFO] [stdout] --> src/libs/parser.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/libs/interpreter.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/libs/interpreter.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn visit_binary(&mut self, binary: &Expr) -> Object { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grouping` [INFO] [stdout] --> src/libs/interpreter.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn visit_grouping(&mut self, grouping: &Expr) -> Object { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/libs/interpreter.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn visit_literal(&mut self, literal: &Expr) -> Object { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unary` [INFO] [stdout] --> src/libs/interpreter.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn visit_unary(&mut self, unary: &Expr) -> Object { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_unary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOR` is never constructed [INFO] [stdout] --> src/libs/lex.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | FOR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync` is never used [INFO] [stdout] --> src/libs/parser.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | fn sync(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/libs/interpreter.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "e2c43c6b0384eaea3eeeb8d3095bd812b3c293147c2668ea72c7eef45da5f736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c43c6b0384eaea3eeeb8d3095bd812b3c293147c2668ea72c7eef45da5f736", kill_on_drop: false }` [INFO] [stdout] e2c43c6b0384eaea3eeeb8d3095bd812b3c293147c2668ea72c7eef45da5f736